The Spaniard came through a topsy-turvy tussle 6-2 3-6 6-3 3-6 6-4 in more than three-and-a-half hours to set up a clash with in-form Radek Stepanek