Real Madrid used up all five of their substitutions in the second half as they introduced fresh legs into the game.