That is true but I was talking about kinetic energy.
http://en.wikipedia.org/wiki/Inelastic_collision
An inelastic collision, in contrast to an elastic collision, is a collision in which kinetic energy is not conserved.
In collisions of macroscopic bodies, some kinetic energy is turned into vibrational energy of the atoms, causing a heating effect, and the bodies are deformed.