Consensus analysis of second-order multi-agent systems