Question: Here is one sentence: Having people round for dinner was always quite an occasion at our house.
Here is another sentence: It was needed only on special occasions.
Does the occasion mean the same thing in the two sentences?

Answer: the same meaning

Question: Here is one sentence: The material lost 2 inches per yard in shrinkage.
Here is another sentence: Shrinkage is the retail trade's euphemism for shoplifting.
Does the shrinkage mean the same thing in the two sentences?

Answer: different meanings

Question: Here is one sentence: Break down a proof.
Here is another sentence: Break an alibi.
Does the break mean the same thing in the two sentences?

Answer: the same meaning

Question: Here is one sentence: The pain of loneliness.
Here is another sentence: The patient developed severe pain and distension.
Does the pain mean the same thing in the two sentences?

Answer:
different meanings