Skip to content

Update CSV-compare tool to version 2.1.0 #128

Open

Description

@casella

We just released version 2.1.0 of CSV-compare. This has two new important features to avoid false negative, that we discussed in the MAP-Lib group:

We should update our CI to use this new version, so we avoid false negative in the verification results. This should be done ASAP, so we can do the regression testing for 4.1.0 before we tag the RC version mid-October

Activity

  1. adrpo commented on Sep 25, 2024

    @adrpo
    Member

    Currently we have the C# code translated to the C code at: https://github.com/OpenModelica/OpenModelica/blob/master/OMCompiler/Compiler/runtime/SimulationResultsCmpTubes.c
    so we would need to update that.

    @sjoelund: would it be possible to use mono and run the C# tool to do the diff. I know, is yet another dependency for the testing suite.

  2. sjoelund commented on Sep 25, 2024

    @sjoelund
    Member

    It might be, but the diff tool at least when I translated it didn't have any interface to get the curves and create our own output. It was just those very large reports of multiple HTML files that were produced. You even need to parse the HTML to see if it succeeded or not IIRC.

    The other problem is it might need to be adapted to Linux as well. It had hard-coded \\ for path separators, etc instead of using joinpath-style code.

    It is anyway not a hard dependency, but a Suggests or something for Ubuntu, so it wouldn't need to be installed by everyone.

  3. casella commented on Sep 25, 2024

    @casella
    CollaboratorAuthor

    I think fixing the first issue on the existing codebase (the tube widths) is a no brainer. Thomas applied some refactoring to the C# source code, but I guess it's not really necessary to do that, we just need to change 1e-12 to 1e-3 in a couple places.

    The second issue is a bit harder, I understand the fix by Thomas was non-trivial. Eventually, when we introduce proper annotations to specify a shorter StopTime for verification, it won't be necessary anymore.

    Maybe I can try the first fix myself, then we see what happens?

  4. added theissue type on Sep 3, 2025
  5. self-assigned this
    on Sep 3, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Labels

No labels
No labels

Type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions