Automatic detection of spring faults during assembly of reciprocating compressors