Argentina's Diego Schwartzman, a former world number eight, ended his professional tennis career on Thursday with a bruising defeat by Spain's Pedro Martinez in the second round of the Argentina Open.