Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Remove signals too close to zero in MultiBody reference files #10

Closed
wants to merge 2 commits into from

Conversation

casella
Copy link

@casella casella commented Jun 18, 2024

In modelica/ModelicaStandardLibrary#4341 some regressions between 4.0.0 and 4.1.0 were reported, which were due to reference signals being very close to zero. The CSV compare tool cannot reliably test them, since it asks, e.g., for a precision of 1e-14 in a component of a quaternion that has order of magnitude 1. Unfortunately, there is currently no means to specify a reference magnitude for such signals, so the only way to avoid spurious regressions, also in the future, is to remove those signals.

…r multi-body systems, because the CSV compare tool cannot reliably test them
Copy link
Member

@beutlich beutlich left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Ideally, the comparisonSignals.txt are updated in the MSL (being the SSoT) and then copied here for reference once the results are generated.

@casella
Copy link
Author

casella commented Jun 18, 2024

You are right, sorry. This process is really awfully complicated, if you don't do it every other day... 😅

@casella
Copy link
Author

casella commented Jun 18, 2024

Done properly in modelica/ModelicaStandardLibrary#4420

@casella casella closed this Jun 18, 2024
@casella casella deleted the fix-mechanics-zeros branch June 18, 2024 16:51
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants