Haven't flown Casablanca - Madrid, but flew easyJet Marrakech - Madrid a few years ago, on time with no problems. In general I have never experienced a cancellation or significant delay with easyJet; I would go ahead and book it the day before your flight home.