Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.IdealSteam.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.002021/0.002021, allocations: 111.1 kB / 20.44 MB, free: 1.352 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001958/0.001958, allocations: 213.3 kB / 23.73 MB, free: 4.531 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.516/1.516, allocations: 230.6 MB / 257.5 MB, free: 7.793 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2239/0.2239, allocations: 44.94 MB / 358.8 MB, free: 6.066 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.IdealSteam,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Media_TestsWithFluid_MediaTestModels_Water_IdealSteam",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.IdealSteam,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Media_TestsWithFluid_MediaTestModels_Water_IdealSteam",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: ModelicaTest requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.003454/0.003454, allocations: 67.91 kB / 0.493 GB, free: 10.53 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3657/0.3691, allocations: 65.47 MB / 0.557 GB, free: 7.355 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.IdealSteam): time 0.2045/0.5736, allocations: 154.7 MB / 0.708 GB, free: 12.31 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.00839/0.582, allocations: 4.928 MB / 0.7128 GB, free: 7.367 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007891/0.5828, allocations: 27.75 kB / 0.7128 GB, free: 7.34 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.0009197/0.5837, allocations: 302 kB / 0.7131 GB, free: 7.043 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.003693/0.5874, allocations: 1.372 MB / 0.7145 GB, free: 5.668 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.002842/0.5902, allocations: 1.059 MB / 0.7155 GB, free: 4.613 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.002352/0.5926, allocations: 1.867 MB / 0.7173 GB, free: 2.738 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006549/0.5932, allocations: 401.5 kB / 0.7177 GB, free: 2.344 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00244/0.5957, allocations: 1.109 MB / 0.7188 GB, free: 1.23 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001353/0.597, allocations: 0.7783 MB / 0.7196 GB, free: 460 kB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 0.0001245/0.5972, allocations: 60 kB / 0.7196 GB, free: 400 kB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001366/0.5985, allocations: 0.5462 MB / 0.7201 GB, free: 15.84 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0003007/0.5988, allocations: 271.2 kB / 0.7204 GB, free: 15.58 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0003827/0.5992, allocations: 330.6 kB / 0.7207 GB, free: 15.25 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.001905/0.6011, allocations: 1.308 MB / 0.722 GB, free: 13.94 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 4.018e-06/0.6011, allocations: 0 / 0.722 GB, free: 13.94 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.854e-06/0.6011, allocations: 0 / 0.722 GB, free: 13.94 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 1.205e-05/0.6011, allocations: 4 kB / 0.722 GB, free: 13.94 MB / 0.5606 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 130 * Number of variables: 130 Notification: Performance of Generate backend data structure: time 0.002241/0.6034, allocations: 1.041 MB / 0.723 GB, free: 12.86 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 4.03e-05/0.6034, allocations: 12.03 kB / 0.723 GB, free: 12.85 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001321/0.6035, allocations: 102.5 kB / 0.7231 GB, free: 12.74 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000801/0.6043, allocations: 143.3 kB / 0.7233 GB, free: 12.6 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000968/0.6053, allocations: 473.5 kB / 0.7237 GB, free: 12.11 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001496/0.6055, allocations: 151.8 kB / 0.7239 GB, free: 11.94 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.928e-05/0.6056, allocations: 47.98 kB / 0.7239 GB, free: 11.89 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001475/0.607, allocations: 1.144 MB / 0.725 GB, free: 10.59 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.568e-05/0.6071, allocations: 11.88 kB / 0.725 GB, free: 10.58 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.924e-05/0.6071, allocations: 20 kB / 0.7251 GB, free: 10.56 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.903e-05/0.6072, allocations: 44.91 kB / 0.7251 GB, free: 10.52 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001105/0.6083, allocations: 0.6165 MB / 0.7257 GB, free: 9.902 MB / 0.5606 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004543/0.6128, allocations: 3.305 MB / 0.7289 GB, free: 6.469 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006083/0.6134, allocations: 335.6 kB / 0.7292 GB, free: 6.133 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002794/0.6137, allocations: 161.3 kB / 0.7294 GB, free: 5.973 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 8.626e-05/0.6138, allocations: 16.27 kB / 0.7294 GB, free: 5.957 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.649e-05/0.6138, allocations: 38.84 kB / 0.7295 GB, free: 5.91 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=34): time 2.234e-06/0.6138, allocations: 4 kB / 0.7295 GB, free: 5.906 MB / 0.5606 GB Notification: Performance of matching and sorting (n=39): time 0.005572/0.6194, allocations: 1.608 MB / 0.731 GB, free: 4.242 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.976e-05/0.6195, allocations: 132.5 kB / 0.7312 GB, free: 4.082 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007643/0.6203, allocations: 0.6327 MB / 0.7318 GB, free: 3.438 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 4.891e-05/0.6203, allocations: 33.7 kB / 0.7318 GB, free: 3.398 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003019/0.6206, allocations: 371.8 kB / 0.7322 GB, free: 3.031 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001431/0.6208, allocations: 154.7 kB / 0.7323 GB, free: 2.879 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002288/0.621, allocations: 158.6 kB / 0.7325 GB, free: 2.719 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0002207/0.6212, allocations: 374.8 kB / 0.7328 GB, free: 2.344 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003758/0.6216, allocations: 209.8 kB / 0.733 GB, free: 2.137 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006596/0.6223, allocations: 0.5839 MB / 0.7336 GB, free: 1.383 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001072/0.6233, allocations: 0.7563 MB / 0.7343 GB, free: 500 kB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.309e-06/0.6233, allocations: 4 kB / 0.7343 GB, free: 496 kB / 0.5606 GB Notification: Performance of matching and sorting (n=85) (initialization): time 0.238/0.8613, allocations: 0.8675 MB / 0.7352 GB, free: 177.9 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 3.31e-05/0.8614, allocations: 13.03 kB / 0.7352 GB, free: 177.9 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.593e-05/0.8614, allocations: 10.31 kB / 0.7352 GB, free: 177.9 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001518/0.8629, allocations: 317 kB / 0.7355 GB, free: 177.9 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004619/0.8634, allocations: 122 kB / 0.7356 GB, free: 177.9 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001181/0.8645, allocations: 0.9265 MB / 0.7365 GB, free: 177.4 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000612/0.8652, allocations: 30.12 kB / 0.7366 GB, free: 177.4 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001502/0.8653, allocations: 67.78 kB / 0.7366 GB, free: 177.4 MB / 0.5606 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 45 * Number of states: 0 () * Number of discrete variables: 4 (volume.regularFlow[1],volume.regularFlow[2],volume.inFlow[2],volume.inFlow[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (67): * Single equations (assignments): 66 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(2,17)} Notification: Performance of prepare postOptimizeDAE: time 0.0003881/0.8657, allocations: 244.4 kB / 0.7368 GB, free: 177.2 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001408/0.8658, allocations: 72.12 kB / 0.7369 GB, free: 177.2 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001669/0.8675, allocations: 0.8721 MB / 0.7378 GB, free: 176.9 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.571e-06/0.8675, allocations: 3.844 kB / 0.7378 GB, free: 176.9 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.061e-06/0.8675, allocations: 0 / 0.7378 GB, free: 176.9 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.933e-06/0.8675, allocations: 2.156 kB / 0.7378 GB, free: 176.9 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001708/0.8692, allocations: 1.141 MB / 0.7389 GB, free: 176.3 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.869e-06/0.8692, allocations: 3.562 kB / 0.7389 GB, free: 176.3 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009368/0.8702, allocations: 211.2 kB / 0.7391 GB, free: 176.3 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.353e-05/0.8703, allocations: 25.67 kB / 0.7391 GB, free: 176.3 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.616e-05/0.8703, allocations: 18.83 kB / 0.7391 GB, free: 176.3 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001375/0.8717, allocations: 2.677 MB / 0.7417 GB, free: 173.7 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.776e-06/0.8717, allocations: 8.344 kB / 0.7418 GB, free: 173.7 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001041/0.8727, allocations: 0.8218 MB / 0.7426 GB, free: 173.3 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002734/0.873, allocations: 113.3 kB / 0.7427 GB, free: 173.2 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.275e-05/0.8731, allocations: 22.27 kB / 0.7427 GB, free: 173.2 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003559/0.8734, allocations: 15.22 kB / 0.7427 GB, free: 173.2 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.975e-05/0.8735, allocations: 39.16 kB / 0.7427 GB, free: 173.2 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.5e-05/0.8736, allocations: 44.58 kB / 0.7428 GB, free: 173.2 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0004254/0.874, allocations: 440.4 kB / 0.7432 GB, free: 172.9 MB / 0.5606 GB Notification: Performance of sort global known variables: time 8e-08/0.874, allocations: 0 / 0.7432 GB, free: 172.9 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0008307/0.8748, allocations: 259.3 kB / 0.7435 GB, free: 172.6 MB / 0.5606 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 2 (volume.medium.p,volume.medium.T) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (39): * Single equations (assignments): 37 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 1 system {1} * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.001586/0.8764, allocations: 1.537 MB / 0.745 GB, free: 171.2 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0009833/0.8774, allocations: 0.5339 MB / 0.7455 GB, free: 170.8 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 3.406e-06/0.8774, allocations: 0 / 0.7455 GB, free: 170.8 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0008259/0.8782, allocations: 411.7 kB / 0.7459 GB, free: 170.3 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001534/0.8798, allocations: 369.3 kB / 0.7462 GB, free: 170 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006808/0.8866, allocations: 6.336 MB / 0.7524 GB, free: 163.4 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002323/0.8868, allocations: 340.4 kB / 0.7527 GB, free: 163 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.0008915/0.8877, allocations: 471 kB / 0.7532 GB, free: 162.5 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004029/0.8881, allocations: 279.3 kB / 0.7534 GB, free: 162.3 MB / 0.5606 GB Notification: Performance of SimCode: time 9.82e-07/0.8881, allocations: 4 kB / 0.7535 GB, free: 162.3 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05371/0.9418, allocations: 25.64 MB / 0.7785 GB, free: 137 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.7/14.64, allocations: 3.375 kB / 0.7785 GB, free: 137 MB / 0.5606 GB " [Timeout remaining time 645] (rm -f ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.IdealSteam.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.IdealSteam.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.IdealSteam.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.IdealSteam.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.IdealSteam_res.csv --start-time 0 --stop-time 1.01 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.000201919 ModelicaTest_4_0_0_ModelicaTest_Media_TestsWithFluid_MediaTestModels_Water_IdealSteam.fmu > ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.IdealSteam.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.IdealSteam_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Media/TestsWithFluid/MediaTestModels/Water/IdealSteam/IdealSteam.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.IdealSteam.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 18.032820521853864]