a diesel engine decelerates then accelerates