Two types of chaos in non-linear mechanics