Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Water.IdealSteam.conf.json loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: translateModel(Modelica.Media.Examples.Tests.MediaTestModels.Water.IdealSteam,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|volume.medium.T|volume.medium.p",fileNamePrefix="Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Water.IdealSteam") translateModel(Modelica.Media.Examples.Tests.MediaTestModels.Water.IdealSteam,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|volume.medium.T|volume.medium.p",fileNamePrefix="Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Water.IdealSteam") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001403/0.001403, allocations: 178.5 kB / 17.36 MB, free: 4.324 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.392/1.392, allocations: 205.6 MB / 223.7 MB, free: 8.965 MB / 186.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007377/0.0007376, allocations: 86.42 kB / 272.1 MB, free: 8.141 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002548/0.0002551, allocations: 8 kB / 329 MB, free: 15.07 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2097/0.21, allocations: 47.57 MB / 376.6 MB, free: 45.61 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.Tests.MediaTestModels.Water.IdealSteam): time 0.3343/0.5444, allocations: 166 MB / 0.5299 GB, free: 10.99 MB / 394.7 MB Notification: Performance of NFInst.instExpressions: time 0.00344/0.5479, allocations: 3.905 MB / 0.5337 GB, free: 9.863 MB / 394.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000237/0.5481, allocations: 8.656 kB / 0.5337 GB, free: 9.859 MB / 394.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004695/0.5486, allocations: 142.6 kB / 0.5339 GB, free: 9.855 MB / 394.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0007865/0.5494, allocations: 386.6 kB / 0.5342 GB, free: 9.836 MB / 394.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000743/0.5501, allocations: 308.1 kB / 0.5345 GB, free: 9.824 MB / 394.7 MB Notification: Performance of NFFlatten.flatten: time 0.001269/0.5514, allocations: 1.352 MB / 0.5358 GB, free: 9.82 MB / 394.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001671/0.5516, allocations: 66.95 kB / 0.5359 GB, free: 9.812 MB / 394.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001716/0.5533, allocations: 0.7316 MB / 0.5366 GB, free: 9.785 MB / 394.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000355/0.5537, allocations: 291.4 kB / 0.5369 GB, free: 9.777 MB / 394.7 MB Notification: Performance of NFPackage.collectConstants: time 4.638e-05/0.5537, allocations: 14.09 kB / 0.5369 GB, free: 9.777 MB / 394.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003173/0.5541, allocations: 107.5 kB / 0.537 GB, free: 9.773 MB / 394.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001153/0.5542, allocations: 75.06 kB / 0.5371 GB, free: 9.773 MB / 394.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002451/0.5544, allocations: 200.8 kB / 0.5373 GB, free: 9.742 MB / 394.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0006188/0.5551, allocations: 0.4937 MB / 0.5378 GB, free: 9.715 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.302e-06/0.5551, allocations: 0 / 0.5378 GB, free: 9.715 MB / 394.7 MB Notification: Performance of FrontEnd: time 3.857e-06/0.5551, allocations: 0.7031 kB / 0.5378 GB, free: 9.715 MB / 394.7 MB Notification: Performance of Transformations before backend: time 7.194e-06/0.5551, allocations: 0 / 0.5378 GB, free: 9.715 MB / 394.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 60 * Number of variables: 60 Notification: Performance of Generate backend data structure: time 0.0008995/0.556, allocations: 0.525 MB / 0.5383 GB, free: 9.277 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.995e-05/0.5561, allocations: 8.031 kB / 0.5383 GB, free: 9.277 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002805/0.5564, allocations: 44.16 kB / 0.5383 GB, free: 9.262 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003479/0.5567, allocations: 287.7 kB / 0.5386 GB, free: 9.035 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.012e-05/0.5567, allocations: 18.38 kB / 0.5386 GB, free: 9.035 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.903e-05/0.5568, allocations: 23.84 kB / 0.5386 GB, free: 9.035 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004839/0.5573, allocations: 318.8 kB / 0.5389 GB, free: 8.934 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.434e-05/0.5573, allocations: 0.5156 kB / 0.5389 GB, free: 8.934 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.268e-05/0.5573, allocations: 13.84 kB / 0.539 GB, free: 8.93 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.214e-06/0.5573, allocations: 9.406 kB / 0.539 GB, free: 8.93 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003089/0.5577, allocations: 201.6 kB / 0.5392 GB, free: 8.93 MB / 394.7 MB 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.001753/0.5594, allocations: 1.587 MB / 0.5407 GB, free: 7.738 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002869/0.5597, allocations: 167.9 kB / 0.5409 GB, free: 7.715 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001336/0.5599, allocations: 108.4 kB / 0.541 GB, free: 7.695 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.904e-05/0.5599, allocations: 5.781 kB / 0.541 GB, free: 7.695 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.366e-05/0.5599, allocations: 41.34 kB / 0.541 GB, free: 7.656 MB / 394.7 MB Notification: Performance of pre-optimization done (n=22): time 1.193e-06/0.5599, allocations: 0 / 0.541 GB, free: 7.656 MB / 394.7 MB Warning: Some equations could not be differentiated for following variables having attribute stateSelect=StateSelect.prefer. They will be treated as if they had stateSelect=StateSelect.default ======================================== 1: volume.medium.T Please use -d=bltdump for more information. Notification: Performance of matching and sorting (n=27): time 0.004813/0.5648, allocations: 1.622 MB / 0.5426 GB, free: 6.922 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.516e-05/0.5648, allocations: 54.72 kB / 0.5427 GB, free: 6.859 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00024/0.5651, allocations: 251 kB / 0.5429 GB, free: 6.75 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 2.82e-05/0.5651, allocations: 34.02 kB / 0.5429 GB, free: 6.715 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001057/0.5652, allocations: 177.9 kB / 0.5431 GB, free: 6.59 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.419e-05/0.5653, allocations: 96.58 kB / 0.5432 GB, free: 6.531 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.806e-05/0.5653, allocations: 9.25 kB / 0.5432 GB, free: 6.531 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.000117/0.5654, allocations: 333.2 kB / 0.5435 GB, free: 6.219 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001409/0.5656, allocations: 93.7 kB / 0.5436 GB, free: 6.211 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001888/0.5658, allocations: 191.7 kB / 0.5438 GB, free: 6.082 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003406/0.5661, allocations: 303 kB / 0.5441 GB, free: 5.953 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.845e-06/0.5661, allocations: 3.938 kB / 0.5441 GB, free: 5.949 MB / 394.7 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0005325/0.5667, allocations: 390.5 kB / 0.5444 GB, free: 5.855 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.371e-05/0.5667, allocations: 8 kB / 0.5445 GB, free: 5.855 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.062e-05/0.5667, allocations: 11.11 kB / 0.5445 GB, free: 5.848 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001879/0.5669, allocations: 73.61 kB / 0.5445 GB, free: 5.82 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003179/0.5672, allocations: 90.17 kB / 0.5446 GB, free: 5.805 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001208/0.5684, allocations: 1.861 MB / 0.5464 GB, free: 3.988 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002077/0.5687, allocations: 14.5 kB / 0.5465 GB, free: 3.988 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.629e-05/0.5687, allocations: 38.64 kB / 0.5465 GB, free: 3.984 MB / 394.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 14 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (40): * Single equations (assignments): 38 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * 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): 2 systems {(1,1), (1,1)} Notification: Performance of prepare postOptimizeDAE: time 0.0001506/0.5689, allocations: 161.2 kB / 0.5466 GB, free: 3.863 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.205e-05/0.5689, allocations: 29.81 kB / 0.5467 GB, free: 3.848 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008603/0.5698, allocations: 443.7 kB / 0.5471 GB, free: 3.68 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.176e-06/0.5698, allocations: 3.281 kB / 0.5471 GB, free: 3.68 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.564e-06/0.5698, allocations: 0 / 0.5471 GB, free: 3.68 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.000457/0.5703, allocations: 0.5588 MB / 0.5476 GB, free: 3.211 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008412/0.5712, allocations: 0.7344 MB / 0.5484 GB, free: 2.781 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.274e-06/0.5712, allocations: 0 / 0.5484 GB, free: 2.781 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002878/0.5715, allocations: 76.42 kB / 0.5484 GB, free: 2.766 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.312e-05/0.5715, allocations: 20.59 kB / 0.5485 GB, free: 2.754 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.404e-05/0.5716, allocations: 15.39 kB / 0.5485 GB, free: 2.75 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007107/0.5723, allocations: 1.278 MB / 0.5497 GB, free: 1.477 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.148e-06/0.5723, allocations: 3.984 kB / 0.5497 GB, free: 1.473 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005497/0.5729, allocations: 479 kB / 0.5502 GB, free: 1.266 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.181e-05/0.5729, allocations: 107.6 kB / 0.5503 GB, free: 1.152 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.607e-05/0.573, allocations: 8.406 kB / 0.5503 GB, free: 1.152 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002343/0.5732, allocations: 16.55 kB / 0.5503 GB, free: 1.148 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.088e-05/0.5733, allocations: 24.08 kB / 0.5503 GB, free: 1.141 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.903e-05/0.5733, allocations: 32.17 kB / 0.5504 GB, free: 1.133 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0001563/0.5735, allocations: 190.3 kB / 0.5505 GB, free: 1.035 MB / 394.7 MB Notification: Performance of sort global known variables: time 1.21e-07/0.5735, allocations: 3.641 kB / 0.5505 GB, free: 1.035 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0004243/0.5739, allocations: 125.6 kB / 0.5507 GB, free: 1.027 MB / 394.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 (26): * Single equations (assignments): 25 * 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): 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.0003448/0.5743, allocations: 162.9 kB / 0.5508 GB, free: 0.9102 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.000567/0.5749, allocations: 375.1 kB / 0.5512 GB, free: 0.7656 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 2.825e-06/0.5749, allocations: 0.8125 kB / 0.5512 GB, free: 0.7656 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002458/0.5751, allocations: 232.9 kB / 0.5514 GB, free: 0.6367 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008591/0.576, allocations: 161.1 kB / 0.5516 GB, free: 0.5781 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001018/0.577, allocations: 0.8549 MB / 0.5524 GB, free: 8 kB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002929/0.5773, allocations: 0.764 MB / 0.5531 GB, free: 15.27 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0005319/0.5779, allocations: 123.3 kB / 0.5533 GB, free: 15.21 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001954/0.5781, allocations: 63.17 kB / 0.5533 GB, free: 15.19 MB / 410.7 MB Notification: Performance of SimCode: time 2.3e-07/0.5781, allocations: 0 / 0.5533 GB, free: 15.19 MB / 410.7 MB Notification: Performance of Templates: time 0.01243/0.5905, allocations: 8.413 MB / 0.5615 GB, free: 10.96 MB / 410.7 MB make -j1 -f Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Water.IdealSteam.makefile (rm -f Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Water.IdealSteam.pipe ; mkfifo Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Water.IdealSteam.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Water.IdealSteam.pipe >> ../files/Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Water.IdealSteam.sim & ./Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Water.IdealSteam -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Water.IdealSteam.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Water.IdealSteam_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Media/Examples/Tests/MediaTestModels/Water/IdealSteam/IdealSteam.csv","../files/Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Water.IdealSteam.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches