Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97OnePhase_ph.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: translateModel(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97OnePhase_ph,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|volume.medium.h|volume.medium.p",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97OnePhase_ph") translateModel(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97OnePhase_ph,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|volume.medium.h|volume.medium.p",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97OnePhase_ph") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001547/0.001547, allocations: 183 kB / 16.63 MB, free: 5.137 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.354/1.354, allocations: 205.1 MB / 222.5 MB, free: 8.477 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001054/0.001054, allocations: 100.8 kB / 269.9 MB, free: 8.438 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.3358/0.3358, allocations: 43.49 MB / 360.7 MB, free: 51.2 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.001258/0.001258, allocations: 51.91 kB / 429.2 MB, free: 6.375 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1052/0.1065, allocations: 57.77 MB / 487 MB, free: 12.54 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97OnePhase_ph): time 0.2347/0.3412, allocations: 40.26 MB / 0.5149 GB, free: 37.28 MB / 394.7 MB Notification: Performance of NFInst.instExpressions: time 0.02127/0.3625, allocations: 21.24 MB / 0.5357 GB, free: 27.37 MB / 394.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001143/0.3637, allocations: 24.62 kB / 0.5357 GB, free: 27.36 MB / 394.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001038/0.3647, allocations: 397 kB / 0.5361 GB, free: 27.14 MB / 394.7 MB Notification: Performance of NFTyping.typeBindings: time 0.01191/0.3767, allocations: 4.154 MB / 0.5401 GB, free: 25.23 MB / 394.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.005837/0.3826, allocations: 2.24 MB / 0.5423 GB, free: 24 MB / 394.7 MB Notification: Performance of NFFlatten.flatten: time 0.002567/0.3851, allocations: 2.872 MB / 0.5451 GB, free: 23.03 MB / 394.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007175/0.3859, allocations: 426.2 kB / 0.5455 GB, free: 22.88 MB / 394.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.008283/0.3942, allocations: 4.059 MB / 0.5495 GB, free: 21.05 MB / 394.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01127/0.4055, allocations: 5.447 MB / 0.5548 GB, free: 18.62 MB / 394.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0003393/0.4059, allocations: 37.53 kB / 0.5548 GB, free: 18.62 MB / 394.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01756/0.4234, allocations: 7.262 MB / 0.5619 GB, free: 16.76 MB / 394.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0009092/0.4244, allocations: 256.4 kB / 0.5622 GB, free: 16.66 MB / 394.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001323/0.4258, allocations: 432 kB / 0.5626 GB, free: 16.45 MB / 394.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01396/0.4397, allocations: 5.092 MB / 0.5676 GB, free: 13.75 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.727e-06/0.4398, allocations: 0 / 0.5676 GB, free: 13.75 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.142e-06/0.4398, allocations: 0 / 0.5676 GB, free: 13.75 MB / 394.7 MB Notification: Performance of Transformations before backend: time 4.468e-05/0.4398, allocations: 1.156 kB / 0.5676 GB, free: 13.75 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: 160 * Number of variables: 160 Notification: Performance of Generate backend data structure: time 0.005642/0.4455, allocations: 1.658 MB / 0.5692 GB, free: 12.58 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.916e-05/0.4455, allocations: 13.56 kB / 0.5692 GB, free: 12.58 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002191/0.4477, allocations: 307.5 kB / 0.5695 GB, free: 12.45 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009627/0.4487, allocations: 0.5545 MB / 0.57 GB, free: 11.98 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.23e-05/0.4488, allocations: 111.1 kB / 0.5701 GB, free: 11.89 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.919e-05/0.4489, allocations: 61.98 kB / 0.5702 GB, free: 11.87 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00212/0.451, allocations: 1.161 MB / 0.5713 GB, free: 11.05 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.334e-05/0.4511, allocations: 6.688 kB / 0.5713 GB, free: 11.05 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.158e-05/0.4511, allocations: 33.62 kB / 0.5714 GB, free: 11.03 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.265e-05/0.4512, allocations: 44.91 kB / 0.5714 GB, free: 11.02 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001455/0.4527, allocations: 0.8437 MB / 0.5722 GB, free: 10.6 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.0047/0.4574, allocations: 5.502 MB / 0.5776 GB, free: 5.559 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001022/0.4584, allocations: 0.5777 MB / 0.5782 GB, free: 5.238 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002781/0.4587, allocations: 220 kB / 0.5784 GB, free: 5.121 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.09262/0.5513, allocations: 46.21 MB / 0.6235 GB, free: 4.621 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.649e-05/0.5514, allocations: 38.56 kB / 0.6235 GB, free: 4.574 MB / 442.7 MB Notification: Performance of pre-optimization done (n=42): time 3.757e-06/0.5514, allocations: 7.922 kB / 0.6236 GB, free: 4.566 MB / 442.7 MB Notification: Performance of matching and sorting (n=46): time 0.004866/0.5563, allocations: 1.922 MB / 0.6254 GB, free: 2.59 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.8e-05/0.5564, allocations: 170.2 kB / 0.6256 GB, free: 2.387 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006695/0.5571, allocations: 0.6249 MB / 0.6262 GB, free: 1.754 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 4.145e-05/0.5571, allocations: 33.7 kB / 0.6262 GB, free: 1.715 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002348/0.5573, allocations: 391.2 kB / 0.6266 GB, free: 1.324 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000116/0.5575, allocations: 165.7 kB / 0.6268 GB, free: 1.16 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002028/0.5577, allocations: 158.5 kB / 0.6269 GB, free: 0.9961 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0001346/0.5578, allocations: 378.7 kB / 0.6273 GB, free: 0.6172 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003707/0.5582, allocations: 229.9 kB / 0.6275 GB, free: 404 kB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005607/0.5588, allocations: 0.5679 MB / 0.6281 GB, free: 15.66 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009316/0.5597, allocations: 0.8407 MB / 0.6289 GB, free: 14.66 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.347e-06/0.5597, allocations: 0 / 0.6289 GB, free: 14.66 MB / 458.7 MB Notification: Performance of matching and sorting (n=96) (initialization): time 0.001243/0.561, allocations: 0.8713 MB / 0.6297 GB, free: 13.78 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.015e-05/0.561, allocations: 8 kB / 0.6297 GB, free: 13.77 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.186e-05/0.561, allocations: 16.16 kB / 0.6297 GB, free: 13.76 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002507/0.5613, allocations: 60.81 kB / 0.6298 GB, free: 13.7 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001149/0.5624, allocations: 275.6 kB / 0.6301 GB, free: 13.43 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001401/0.5638, allocations: 1.987 MB / 0.632 GB, free: 11.29 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000526/0.5644, allocations: 60.16 kB / 0.6321 GB, free: 11.23 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.853e-05/0.5645, allocations: 36 kB / 0.6321 GB, free: 11.19 MB / 458.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 50 * Number of states: 0 () * Number of discrete variables: 10 (volume.medium.phase,ambient.medium.phase,fixedMassFlowRate.medium.phase,volume.regularFlow[1],volume.regularFlow[2],volume.inFlow[2],volume.inFlow[1],shortPipe.flowModel.states[2].phase,shortPipe.flowModel.states[1].phase,ambient.state.phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (95): * Single equations (assignments): 93 * 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): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,1)} Notification: Performance of prepare postOptimizeDAE: time 0.0003421/0.5648, allocations: 285.3 kB / 0.6324 GB, free: 10.9 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001374/0.5649, allocations: 71.16 kB / 0.6324 GB, free: 10.83 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002309/0.5673, allocations: 2.216 MB / 0.6346 GB, free: 8.609 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.436e-05/0.5673, allocations: 27.95 kB / 0.6346 GB, free: 8.582 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.577e-06/0.5673, allocations: 4 kB / 0.6346 GB, free: 8.578 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.252e-06/0.5673, allocations: 3.984 kB / 0.6346 GB, free: 8.574 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003522/0.5708, allocations: 3.285 MB / 0.6378 GB, free: 5.215 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.158e-06/0.5709, allocations: 0 / 0.6378 GB, free: 5.215 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008869/0.5718, allocations: 187.8 kB / 0.638 GB, free: 5.031 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003135/0.5721, allocations: 96.62 kB / 0.6381 GB, free: 4.934 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.339e-05/0.5721, allocations: 15.98 kB / 0.6381 GB, free: 4.918 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001378/0.5735, allocations: 2.003 MB / 0.6401 GB, free: 2.762 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.563e-06/0.5735, allocations: 0 / 0.6401 GB, free: 2.762 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.3542/0.9277, allocations: 64.98 MB / 0.7035 GB, free: 136.8 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003067/0.9281, allocations: 247.4 kB / 0.7038 GB, free: 136.6 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.131e-05/0.9281, allocations: 26.94 kB / 0.7038 GB, free: 136.6 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005206/0.9287, allocations: 55.88 kB / 0.7039 GB, free: 136.6 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.701e-05/0.9288, allocations: 39.23 kB / 0.7039 GB, free: 136.6 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.369e-05/0.9288, allocations: 27.88 kB / 0.7039 GB, free: 136.5 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.0005571/0.9294, allocations: 0.5082 MB / 0.7044 GB, free: 136.3 MB / 0.4948 GB Notification: Performance of sort global known variables: time 1.11e-07/0.9294, allocations: 0 / 0.7044 GB, free: 136.3 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.01074/0.9401, allocations: 3.741 MB / 0.7081 GB, free: 136.1 MB / 0.4948 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 2 (volume.medium.p,volume.medium.h) * Number of discrete variables: 16 ($cse2.phase,$cse2.region,$cse3.phase,$cse3.region,$cse4.phase,$cse4.region,$cse5.phase,$cse5.region,$cse6.phase,$cse6.region,$cse7.phase,$cse7.region,$cse9.phase,$cse9.region,$cse10.phase,$cse10.region) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (53): * Single equations (assignments): 43 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 8 * 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): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,1)} Notification: Performance of Backend phase and start with SimCode phase: time 0.02083/0.961, allocations: 2.637 MB / 0.7106 GB, free: 135.7 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.001765/0.9628, allocations: 0.9358 MB / 0.7116 GB, free: 135.4 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 5.37e-06/0.9628, allocations: 0.9844 kB / 0.7116 GB, free: 135.4 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.000983/0.9638, allocations: 0.6733 MB / 0.7122 GB, free: 135.1 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002001/0.9658, allocations: 375.2 kB / 0.7126 GB, free: 135.1 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003905/0.9697, allocations: 3.842 MB / 0.7163 GB, free: 132.9 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005997/0.9704, allocations: 1.176 MB / 0.7175 GB, free: 132.1 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 0.001033/0.9714, allocations: 477.6 kB / 0.7179 GB, free: 132.1 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001917/0.9716, allocations: 76.69 kB / 0.718 GB, free: 132.1 MB / 0.4948 GB Notification: Performance of SimCode: time 6.01e-07/0.9716, allocations: 3.594 kB / 0.718 GB, free: 132.1 MB / 0.4948 GB Notification: Performance of Templates: time 0.3636/1.335, allocations: 163.9 MB / 0.8781 GB, free: 138.5 MB / 0.4948 GB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97OnePhase_ph.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97OnePhase_ph.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97OnePhase_ph.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97OnePhase_ph.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97OnePhase_ph.sim & ./ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97OnePhase_ph -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97OnePhase_ph.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97OnePhase_ph_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Media/TestsWithFluid/MediaTestModels/Water/WaterIF97OnePhase_ph/WaterIF97OnePhase_ph.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97OnePhase_ph.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches