“I am troubled now.”
… harks to the scene in the garden of Gethsemane in the other gospels where Jesus was troubled to the point of sweating blood.
“Yet what should I say? ‘Father, save me from this hour’? But it was for this purpose that I came to this hour. Father, glorify your name.”
… I don’t think Jesus meant here that his purpose in coming here was to die but rather, his purpose was to glorify God. I read somewhere that the meaning of the expression “to glorigy” is “to reveal the hidden excellence and worth of …”. Jesus came here to show us what God is like, to reveal him to us. His death was the authentication of his message … he held nothing back, so we would believe the truth.