Alcaraz into semis after record-setting marathon