Using trace alignments for measuring the similarity between a physical and its digital twin