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.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) 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.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.IdealSteam,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|volume.medium.T|volume.medium.p",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.IdealSteam") translateModel(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.IdealSteam,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|volume.medium.T|volume.medium.p",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.IdealSteam") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001512/0.001512, allocations: 105.5 kB / 18.45 MB, free: 4.602 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001599/0.001599, allocations: 184.3 kB / 19.39 MB, free: 3.68 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.399/1.399, allocations: 222.9 MB / 243.1 MB, free: 15.07 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2388/0.2388, allocations: 44.18 MB / 337.4 MB, free: 2.66 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001389/0.001389, allocations: 55.91 kB / 471.2 MB, free: 13.14 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3262/0.3276, allocations: 60.84 MB / 0.5196 GB, free: 3.609 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.IdealSteam): time 0.1889/0.5165, allocations: 175.2 MB / 0.6907 GB, free: 12.14 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.00956/0.5261, allocations: 5.344 MB / 0.6959 GB, free: 6.773 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001107/0.5273, allocations: 19.88 kB / 0.696 GB, free: 6.754 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.001341/0.5287, allocations: 317.9 kB / 0.6963 GB, free: 6.441 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.004377/0.5331, allocations: 1.35 MB / 0.6976 GB, free: 5.094 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.002922/0.536, allocations: 1.059 MB / 0.6986 GB, free: 4.039 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.002386/0.5384, allocations: 1.848 MB / 0.7004 GB, free: 2.184 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009051/0.5394, allocations: 461.3 kB / 0.7009 GB, free: 1.73 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002331/0.5417, allocations: 1.094 MB / 0.7019 GB, free: 0.6328 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001558/0.5433, allocations: 0.7433 MB / 0.7027 GB, free: 15.89 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 0.0002573/0.5436, allocations: 60 kB / 0.7027 GB, free: 15.83 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001877/0.5454, allocations: 0.6203 MB / 0.7033 GB, free: 15.21 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0003846/0.5458, allocations: 263.2 kB / 0.7036 GB, free: 14.95 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0006615/0.5465, allocations: 406.2 kB / 0.704 GB, free: 14.55 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.002267/0.5488, allocations: 1.301 MB / 0.7052 GB, free: 13.25 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 4.128e-06/0.5488, allocations: 0 / 0.7052 GB, free: 13.25 MB / 0.5606 GB Notification: Performance of FrontEnd: time 2.385e-06/0.5488, allocations: 0 / 0.7052 GB, free: 13.25 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 2.701e-05/0.5488, allocations: 0 / 0.7052 GB, free: 13.25 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.002837/0.5517, allocations: 1.095 MB / 0.7063 GB, free: 12.1 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 4.676e-05/0.5517, allocations: 8.031 kB / 0.7063 GB, free: 12.09 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009321/0.5527, allocations: 143 kB / 0.7064 GB, free: 11.95 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001008/0.5537, allocations: 0.5391 MB / 0.707 GB, free: 11.37 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001175/0.5538, allocations: 100.4 kB / 0.7071 GB, free: 11.26 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.766e-05/0.5539, allocations: 48 kB / 0.7071 GB, free: 11.21 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001381/0.5553, allocations: 0.8136 MB / 0.7079 GB, free: 10.32 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.249e-05/0.5554, allocations: 7.938 kB / 0.7079 GB, free: 10.32 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.861e-05/0.5555, allocations: 27.94 kB / 0.7079 GB, free: 10.29 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.018e-05/0.5555, allocations: 36.98 kB / 0.708 GB, free: 10.25 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001113/0.5566, allocations: 0.6205 MB / 0.7086 GB, free: 9.629 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.005011/0.5617, allocations: 3.957 MB / 0.7124 GB, free: 5.414 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006033/0.5623, allocations: 363.5 kB / 0.7128 GB, free: 5.051 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002799/0.5626, allocations: 169.3 kB / 0.713 GB, free: 4.883 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001221/0.5627, allocations: 97.36 kB / 0.713 GB, free: 4.77 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.194e-05/0.5628, allocations: 38.84 kB / 0.7131 GB, free: 4.723 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=34): time 2.925e-06/0.5628, allocations: 0 / 0.7131 GB, free: 4.723 MB / 0.5606 GB Notification: Performance of matching and sorting (n=39): time 0.005971/0.5688, allocations: 1.664 MB / 0.7147 GB, free: 2.984 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.278e-05/0.5689, allocations: 132.5 kB / 0.7148 GB, free: 2.824 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008896/0.5698, allocations: 0.6133 MB / 0.7154 GB, free: 2.203 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 6.682e-05/0.5698, allocations: 33.69 kB / 0.7155 GB, free: 2.164 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003101/0.5702, allocations: 366.8 kB / 0.7158 GB, free: 1.801 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001357/0.5703, allocations: 142.1 kB / 0.716 GB, free: 1.66 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002512/0.5706, allocations: 158.5 kB / 0.7161 GB, free: 1.5 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001889/0.5708, allocations: 374.8 kB / 0.7165 GB, free: 1.125 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004115/0.5712, allocations: 205.9 kB / 0.7167 GB, free: 0.9258 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006277/0.5718, allocations: 0.5163 MB / 0.7172 GB, free: 268 kB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.2913/0.8631, allocations: 0.745 MB / 0.7179 GB, free: 189.5 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.488e-05/0.8631, allocations: 2.969 kB / 0.7179 GB, free: 189.5 MB / 0.5606 GB Notification: Performance of matching and sorting (n=85) (initialization): time 0.001992/0.8651, allocations: 0.8842 MB / 0.7188 GB, free: 189.3 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 2.38e-05/0.8652, allocations: 8.219 kB / 0.7188 GB, free: 189.3 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.914e-05/0.8652, allocations: 19.14 kB / 0.7188 GB, free: 189.3 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001443/0.8667, allocations: 304.7 kB / 0.7191 GB, free: 189.3 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004642/0.8671, allocations: 126.9 kB / 0.7192 GB, free: 189.3 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001026/0.8682, allocations: 0.9271 MB / 0.7201 GB, free: 188.6 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005318/0.8687, allocations: 28.56 kB / 0.7201 GB, free: 188.6 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.181e-05/0.8688, allocations: 68.33 kB / 0.7202 GB, free: 188.6 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.0003427/0.8692, allocations: 252 kB / 0.7204 GB, free: 188.4 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001238/0.8693, allocations: 70.66 kB / 0.7205 GB, free: 188.4 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001557/0.8709, allocations: 0.8588 MB / 0.7213 GB, free: 188.2 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.585e-06/0.8709, allocations: 1.312 kB / 0.7213 GB, free: 188.2 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.705e-06/0.8709, allocations: 4.484 kB / 0.7213 GB, free: 188.2 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002658/0.8712, allocations: 184.3 kB / 0.7215 GB, free: 188 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001085/0.8713, allocations: 8.922 kB / 0.7215 GB, free: 188 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003524/0.8716, allocations: 18.28 kB / 0.7215 GB, free: 188 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.914e-05/0.8717, allocations: 38.98 kB / 0.7216 GB, free: 188 MB / 0.5606 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001583/0.8733, allocations: 0.6364 MB / 0.7222 GB, free: 187.8 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.001099/0.8744, allocations: 0.812 MB / 0.723 GB, free: 187.3 MB / 0.5606 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0002923/0.8747, allocations: 186.1 kB / 0.7232 GB, free: 187.3 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0005417/0.8753, allocations: 432.6 kB / 0.7236 GB, free: 187.1 MB / 0.5606 GB Notification: Performance of Backend: time 3.3e-07/0.8753, allocations: 3.719 kB / 0.7236 GB, free: 187.1 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.002189/0.8775, allocations: 0.7553 MB / 0.7243 GB, free: 186.9 MB / 0.5606 GB Notification: Performance of SimCode: time 0.002861/0.8804, allocations: 1.925 MB / 0.7262 GB, free: 185.7 MB / 0.5606 GB Notification: Performance of Templates: time 0.02755/0.908, allocations: 18.43 MB / 0.7442 GB, free: 174.1 MB / 0.5606 GB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.IdealSteam.makefile (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 & ./ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.IdealSteam -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.IdealSteam.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.IdealSteam_res.mat","/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) Reference file matches