Failed
simulation_libraries_msl32.Modelica.Fluid.Examples.Tanks.TanksWithOverflow.mos (from (result.xml))
Stacktrace
Output mismatch (see stdout for details)
Standard Output
+ Modelica.Fluid.Examples.Tanks.TanksWithOverflow ... equation mismatch [time: 23] ==== Log C:\Users\adrpo33\AppData\Local\Temp/omc-rtest-adrpo33/simulation/libraries/msl32/Modelica.Fluid.Examples.Tanks.TanksWithOverflow.mos_temp9746/log-Modelica.Fluid.Examples.Tanks.TanksWithOverflow.mos "true " "" OpenModelicaModelTesting.Kind.SimpleSimulation Modelica.Fluid.Examples.Tanks.TanksWithOverflow {"upperTank.level","upperTank.medium.h","lowerTank.level","lowerTank.medium.h"} Simulation options: startTime = 0.0, stopTime = 25000.0, numberOfIntervals = 5000, tolerance = 1e-6, method = 'dassl', fileNamePrefix = 'Modelica.Fluid.Examples.Tanks.TanksWithOverflow', options = '', outputFormat = 'mat', variableFilter = 'time|upperTank.level|upperTank.medium.h|lowerTank.level|lowerTank.medium.h', cflags = '', simflags = ' -abortSlowSimulation -alarm=360 -emit_protected' Result file: Modelica.Fluid.Examples.Tanks.TanksWithOverflow_res.mat Messages: LOG_ASSERT | warning | [Modelica 3.2.1+maint.om/Media/package.mo:5259:7-5259:55:writable] | | | | The following assertion has been violated at time 0.000000 | | | | ((overflow.flowModel.states[1].p >= 0.0 and overflow.flowModel.states[1].p <= 1e8)) --> "Variable violating min/max constraint: 0.0 <= overflow.flowModel.states[1].p <= 1e8, has value: -93465.5" LOG_SUCCESS | info | The initialization finished successfully with 3 homotopy steps. LOG_ASSERT | info | [Modelica 3.2.1+maint.om/Fluid/Interfaces.mo:15:5-15:79:writable] | | | | The following assertion has been violated at time 0.325054 | | | | ((lowerTank.ports[2].p >= 0.0 and lowerTank.ports[2].p <= 1e8)) --> "Variable violating min/max constraint: 0.0 <= lowerTank.ports[2].p <= 1e8, has value: -229899" LOG_SUCCESS | info | The simulation finished successfully. "true " "" '' Equation mismatch: diff says: --- "C:\\Users\\adrpo33\\AppData\\Local\\Temp/omc-rtest-adrpo33/simulation/libraries/msl32/Modelica.Fluid.Examples.Tanks.TanksWithOverflow.mos_temp9746/equations-expected"2024-06-19 19:28:04.433105800 +0200 +++ "C:\\Users\\adrpo33\\AppData\\Local\\Temp/omc-rtest-adrpo33/simulation/libraries/msl32/Modelica.Fluid.Examples.Tanks.TanksWithOverflow.mos_temp9746/equations-got"2024-06-19 19:28:27.083108700 +0200 @@ -9,12 +9,12 @@ Messages: LOG_ASSERT | warning | [Modelica 3.2.1+maint.om/Media/package.mo:5259:7-5259:55:writable] | | | | The following assertion has been violated at time 0.000000 | | | | ((overflow.flowModel.states[1].p >= 0.0 and overflow.flowModel.states[1].p <= 1e8)) --> "Variable violating min/max constraint: 0.0 <= overflow.flowModel.states[1].p <= 1e8, has value: -93465.5" LOG_SUCCESS | info | The initialization finished successfully with 3 homotopy steps. LOG_ASSERT | info | [Modelica 3.2.1+maint.om/Fluid/Interfaces.mo:15:5-15:79:writable] -| | | | The following assertion has been violated at time 0.325042 -| | | | ((lowerTank.ports[2].p >= 0.0 and lowerTank.ports[2].p <= 1e8)) --> "Variable violating min/max constraint: 0.0 <= lowerTank.ports[2].p <= 1e8, has value: -419515" +| | | | The following assertion has been violated at time 0.325054 +| | | | ((lowerTank.ports[2].p >= 0.0 and lowerTank.ports[2].p <= 1e8)) --> "Variable violating min/max constraint: 0.0 <= lowerTank.ports[2].p <= 1e8, has value: -229899" LOG_SUCCESS | info | The simulation finished successfully. "true " "" '' Equation mismatch: omc-diff says: ----Line 15: Integer -419515 != -229899 == 1 out of 1 tests failed [simulation/libraries/msl32/Modelica.Fluid.Examples.Tanks.TanksWithOverflow.mos_temp9746, time: 23]