Model for humpback relaxation oscillations