Robust flocking for non-identical second-order nonlinear multi-agent systems