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

MSL 4.1.0 Reference results Modelica.Electrical.Machines.Examples.SynchronousMachines.SMPM_NoLoad #4363

Closed
maltelenz opened this issue Mar 25, 2024 · 8 comments
Assignees
Labels
LTX ReSim testing framework Issue that addresses testing framework ref-result Issue addresses the reference results
Milestone

Comments

@maltelenz
Copy link
Contributor

maltelenz commented Mar 25, 2024

After #4031 the reference signals for Modelica.Electrical.Machines.Examples.SynchronousMachines.SMPM_NoLoad changed, so we need new reference results.

I also question why the test is not marked red in the report: https://www.ltx.de/download/MA/Compare_MSL_v4.1.0/Compare/Modelica/testrun_report.html

@maltelenz maltelenz added this to the MSL4.1.0 milestone Mar 25, 2024
@maltelenz maltelenz added the ref-result Issue addresses the reference results label Mar 25, 2024
@beutlich
Copy link
Member

I also question why the test is not marked red in the report: https://www.ltx.de/download/MA/Compare_MSL_v4.1.0/Compare/Modelica/testrun_report.html

To answer this question. It is marked as N/A since none of the new signal names

toPolar.y[1]
toPolar.y[2]
hallSensor.y

is available in https://github.com/modelica/MAP-LIB_ReferenceResults/blob/2be1c7e08a39d658b1326607917a0a32749e76e1/Modelica/Electrical/Machines/Examples/SynchronousMachines/SMPM_NoLoad/SMPM_NoLoad.csv

@maltelenz
Copy link
Contributor Author

That sounds serious enough to warrant red coloring, if the reference result doesn't even contain the variables one expects to test...

@beutlich
Copy link
Member

Well, it is neither red nor green, but inclonclusive indicating that the comparison test could not be completed with the data available. There is yellow color also in other places used, e.g., if simulation time exceeds some threshold, I guess.

@beutlich
Copy link
Member

beutlich commented Mar 25, 2024

Well, csv-compare writes a failed marker filer indeed: compare_failed.log whereas the report marks it as UNTESTED:

grafik

@beutlich beutlich added the LTX ReSim testing framework Issue that addresses testing framework label Mar 28, 2024
@MatthiasBSchaefer
Copy link
Contributor

We are only counting failed comparison.
Something, that can not be compared is not a failed comparison.

We can introduce a yellow instead of a gray field for this, if this makes you happy ...

@maltelenz
Copy link
Contributor Author

We can introduce a yellow instead of a gray field for this, if this makes you happy ...

That sounds better than gray. It is a serious issue with the test or regression result that needs solving, so it would be nice if the report can clearly mark it so it stands out.

@GallLeo
Copy link
Contributor

GallLeo commented Oct 21, 2024

Fixed via reference update
modelica/MAP-LIB_ReferenceResults@6db6c50

See also discussion in in /issues/4333

@casella
Copy link
Contributor

casella commented Nov 11, 2024

The test of Modelica.Electrical.Machines.Examples.SynchronousMachines.SMPM_NoLoad on the LTX server now shows green.

@casella casella closed this as completed Nov 11, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
LTX ReSim testing framework Issue that addresses testing framework ref-result Issue addresses the reference results
Projects
None yet
Development

No branches or pull requests

5 participants