Opened 11 years ago

Closed 9 years ago

Last modified 8 years ago

#2415 closed defect (wontfix)

Windows Linux differences in msl32

Reported by: cschubert Owned by: probably noone
Priority: blocker Milestone: 1.9.4
Component: Backend Version: trunk
Keywords: Windows Linux differences Cc: lochel, wbraun, sjoelund.se, adrpo

Description

Hi,

we currently have three differences between Windows and Linux:

  • Modelica.Fluid.Examples.InverseParameterization Linux complains two times fewer about an assert while solving a nonlinear system -> I would ignore that
  • Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMS_Start It gives "Files Equal" under Windows but "Files not equal" under Linux
  • Modelica.Mechanics.MultiBody.Examples.Constraints.RevoluteConstraint fails to translate under Linux but gives "Files Equal" under Windows.

I would disable the last two tests for now. But someone should look into it as soon as possible.

Change History (13)

comment:1 Changed 11 years ago by adrpo

I did fixed all these tests. At least TEST_CLANG seems to be 100% again.
We'll see about TEST later on.

I had to change the matching algorithm for RevoluteConstraint to make it work in Linux.
I reported RevoluteConstraint issue in #2405.

Cheers,
Adrian Pop/

comment:2 Changed 11 years ago by sjoelund.se

Modelica.Fluid.Examples.InverseParameterization Linux complains two times fewer about an assert while solving a nonlinear system -> I would ignore that

I would make it so we don't spam that message so much (in ThermoPower there is one model that sends this messages so much the log is 57MB)

Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMS_Start It gives "Files Equal" under Windows but "Files not equal" under Linux

What is the error tolerance? Sometimes the error is quite small.

comment:3 Changed 11 years ago by adrpo

For Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMS_Start.mos the file in subversion that you commited had "Files not equal". I updated it with running the model in Linux and that gave "Files Equal!". So I think you have these reversed somehow (maybe it fails in Windows and works in Linux?).

comment:4 Changed 11 years ago by cschubert

Yeah, you're right, I mixed it up.
I would also agree with Martin. The warning on

|                 | |       | | While solving non-linear system an assert was called.
|                 | |       | | The non-linear solver tries to solve the problem that could take some time.
|                 | |       | | It could help to provide better start-values for the iteration variables.
|                 | |       | | For more information simulate with -lv LOG_NLS

is not helpful for an end-user, sine I would not know what to do about it.
It would only be interesting to know if the simulation terminates due to nonlinear solver failure, that asserts have occured.
Nevertheless, this output may be printed if the -lv=... option is used to debug the simulation.

comment:5 Changed 10 years ago by lochel

Modelica.Mechanics.MultiBody.Examples.Constraints.RevoluteConstraint is working fine.

comment:6 Changed 10 years ago by lochel

Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMS_Start produces "Files Equal" for Windows and Linux.

comment:7 Changed 10 years ago by lochel

Modelica.Fluid.Examples.InverseParameterization produces "Files Equal" on Windows and Linux, but it still generates different warnings for both operating systems.

comment:8 Changed 10 years ago by sjoelund.se

  • Milestone changed from 1.9.1 to 1.9.2

This ticket was not closed for 1.9.1, which has now been released. It was batch modified for milestone 1.9.2 (but maybe an empty milestone was more appropriate; feel free to change it).

comment:9 Changed 10 years ago by sjoelund.se

  • Milestone changed from 1.9.2 to 1.9.3

Milestone changed to 1.9.3 since 1.9.2 was released.

comment:10 Changed 9 years ago by sjoelund.se

  • Milestone changed from 1.9.3 to 1.9.4

Moved to new milestone 1.9.4

comment:11 Changed 9 years ago by adrpo

  • Resolution set to wontfix
  • Status changed from new to closed

The test results are the same but the warnings about NLS convergence are not.

comment:12 Changed 8 years ago by sjoelund.se

  • Milestone changed from 1.9.4 to 1.9.4-1.9.x

Milestone renamed

comment:13 Changed 8 years ago by sjoelund.se

  • Milestone changed from 1.9.4-1.9.x to 1.9.4

Milestone renamed

Note: See TracTickets for help on using tickets.