Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_pT.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.WaterIF97_pT,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.WaterIF97_pT") translateModel(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_pT,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.WaterIF97_pT") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001468/0.001468, allocations: 110.1 kB / 18.3 MB, free: 4.84 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.001935/0.001934, allocations: 199.3 kB / 19.23 MB, free: 3.914 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.592/1.592, allocations: 222.9 MB / 242.9 MB, free: 15.19 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.1993/0.1993, allocations: 44.17 MB / 337.3 MB, free: 2.773 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001193/0.001193, allocations: 61.03 kB / 409.1 MB, free: 27.25 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1012/0.1024, allocations: 60.83 MB / 469.9 MB, free: 14.39 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_pT): time 0.03705/0.1395, allocations: 39.02 MB / 0.497 GB, free: 7.227 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.2058/0.3454, allocations: 20.15 MB / 0.5167 GB, free: 10.58 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006848/0.3461, allocations: 17.81 kB / 0.5167 GB, free: 10.58 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001134/0.3473, allocations: 446.4 kB / 0.5171 GB, free: 10.57 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01334/0.3606, allocations: 5.117 MB / 0.5221 GB, free: 10.43 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00702/0.3677, allocations: 2.562 MB / 0.5246 GB, free: 10.09 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.002442/0.3701, allocations: 1.965 MB / 0.5266 GB, free: 9.742 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000672/0.3708, allocations: 484.6 kB / 0.527 GB, free: 9.672 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.008994/0.3798, allocations: 4.142 MB / 0.5311 GB, free: 8.289 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01035/0.3902, allocations: 5.419 MB / 0.5364 GB, free: 5.848 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002537/0.3905, allocations: 65.72 kB / 0.5364 GB, free: 5.848 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01286/0.4033, allocations: 7.08 MB / 0.5433 GB, free: 2.41 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0004402/0.4038, allocations: 274.2 kB / 0.5436 GB, free: 2.23 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006492/0.4045, allocations: 453.4 kB / 0.544 GB, free: 1.961 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01025/0.4147, allocations: 4.956 MB / 0.5489 GB, free: 13.59 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.308e-06/0.4148, allocations: 0 / 0.5489 GB, free: 13.59 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.084e-06/0.4148, allocations: 0 / 0.5489 GB, free: 13.59 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.163e-05/0.4148, allocations: 0 / 0.5489 GB, free: 13.59 MB / 398.1 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.003978/0.4188, allocations: 1.63 MB / 0.5505 GB, free: 11.92 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.613e-05/0.4189, allocations: 12.03 kB / 0.5505 GB, free: 11.91 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001474/0.4203, allocations: 227.3 kB / 0.5507 GB, free: 11.69 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008229/0.4212, allocations: 0.5331 MB / 0.5512 GB, free: 11.12 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001119/0.4213, allocations: 113.3 kB / 0.5513 GB, free: 11 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.531e-05/0.4214, allocations: 63.19 kB / 0.5514 GB, free: 10.95 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001865/0.4233, allocations: 1.077 MB / 0.5524 GB, free: 9.777 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.507e-05/0.4233, allocations: 7.938 kB / 0.5524 GB, free: 9.77 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.196e-05/0.4234, allocations: 28 kB / 0.5525 GB, free: 9.742 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.887e-05/0.4235, allocations: 48.92 kB / 0.5525 GB, free: 9.695 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001679/0.4251, allocations: 0.8232 MB / 0.5533 GB, free: 8.875 MB / 398.1 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.005948/0.4311, allocations: 5.562 MB / 0.5588 GB, free: 2.984 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001231/0.4324, allocations: 0.527 MB / 0.5593 GB, free: 2.43 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003334/0.4327, allocations: 215.2 kB / 0.5595 GB, free: 2.211 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.09953/0.5322, allocations: 47.46 MB / 0.6058 GB, free: 13.16 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.913e-05/0.5323, allocations: 38.56 kB / 0.6059 GB, free: 13.11 MB / 462.1 MB Notification: Performance of pre-optimization done (n=39): time 2.395e-06/0.5323, allocations: 4 kB / 0.6059 GB, free: 13.11 MB / 462.1 MB Notification: Performance of matching and sorting (n=44): time 0.006407/0.5388, allocations: 2.127 MB / 0.6079 GB, free: 10.92 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.583e-05/0.5389, allocations: 195.8 kB / 0.6081 GB, free: 10.69 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007633/0.5396, allocations: 0.6405 MB / 0.6088 GB, free: 10.05 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 5.004e-05/0.5397, allocations: 41.77 kB / 0.6088 GB, free: 10 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002688/0.54, allocations: 392.7 kB / 0.6092 GB, free: 9.617 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001302/0.5401, allocations: 164.8 kB / 0.6093 GB, free: 9.457 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002147/0.5403, allocations: 158.5 kB / 0.6095 GB, free: 9.297 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.000153/0.5405, allocations: 378.8 kB / 0.6098 GB, free: 8.918 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003896/0.5409, allocations: 229.9 kB / 0.6101 GB, free: 8.691 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006499/0.5416, allocations: 0.5938 MB / 0.6106 GB, free: 7.926 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001052/0.5426, allocations: 0.8638 MB / 0.6115 GB, free: 6.898 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.55e-06/0.5426, allocations: 4 kB / 0.6115 GB, free: 6.895 MB / 462.1 MB Notification: Performance of matching and sorting (n=96) (initialization): time 0.001428/0.5441, allocations: 0.8998 MB / 0.6124 GB, free: 5.984 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.043e-05/0.5441, allocations: 11.94 kB / 0.6124 GB, free: 5.973 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.584e-05/0.5441, allocations: 12 kB / 0.6124 GB, free: 5.961 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003356/0.5475, allocations: 269 kB / 0.6126 GB, free: 5.695 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001217/0.5487, allocations: 283.5 kB / 0.6129 GB, free: 5.418 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001704/0.5504, allocations: 2.121 MB / 0.615 GB, free: 3.137 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000501/0.5509, allocations: 28 kB / 0.615 GB, free: 3.109 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.743e-05/0.551, allocations: 47.98 kB / 0.6151 GB, free: 3.062 MB / 462.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 53 * Number of states: 0 () * Number of discrete variables: 10 (volume.regularFlow[1],volume.regularFlow[2],volume.inFlow[2],volume.inFlow[1],volume.medium.phase,shortPipe.flowModel.states[2].phase,shortPipe.flowModel.states[1].phase,ambient.state.phase,ambient.medium.phase,fixedMassFlowRate.medium.phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (94): * Single equations (assignments): 92 * 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 {(2,1)} Notification: Performance of prepare postOptimizeDAE: time 0.0003788/0.5514, allocations: 273.4 kB / 0.6153 GB, free: 2.785 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001597/0.5516, allocations: 71.16 kB / 0.6154 GB, free: 2.715 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002274/0.5539, allocations: 2.014 MB / 0.6174 GB, free: 0.6875 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.223e-05/0.5539, allocations: 27.91 kB / 0.6174 GB, free: 0.6602 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.547e-06/0.5539, allocations: 4 kB / 0.6174 GB, free: 0.6562 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.965e-06/0.5539, allocations: 3.984 kB / 0.6174 GB, free: 0.6523 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00334/0.5573, allocations: 2.993 MB / 0.6203 GB, free: 13.6 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.18e-06/0.5573, allocations: 0 / 0.6203 GB, free: 13.6 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009547/0.5582, allocations: 183.8 kB / 0.6205 GB, free: 13.42 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001774/0.56, allocations: 303.8 kB / 0.6208 GB, free: 13.12 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.659e-05/0.5601, allocations: 15.98 kB / 0.6208 GB, free: 13.11 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001683/0.5618, allocations: 2.183 MB / 0.6229 GB, free: 10.76 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.764e-06/0.5618, allocations: 0 / 0.6229 GB, free: 10.76 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002187/0.564, allocations: 1.94 MB / 0.6248 GB, free: 8.797 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003121/0.5643, allocations: 235.5 kB / 0.625 GB, free: 8.547 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001125/0.5644, allocations: 27.69 kB / 0.6251 GB, free: 8.52 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004212/0.5649, allocations: 15.98 kB / 0.6251 GB, free: 8.504 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.825e-05/0.5649, allocations: 40.39 kB / 0.6251 GB, free: 8.461 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.502e-05/0.565, allocations: 16 kB / 0.6251 GB, free: 8.445 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.0007126/0.5657, allocations: 0.5732 MB / 0.6257 GB, free: 7.883 MB / 478.1 MB Notification: Performance of sort global known variables: time 1e-07/0.5657, allocations: 0 / 0.6257 GB, free: 7.883 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.003171/0.5689, allocations: 1.089 MB / 0.6268 GB, free: 6.793 MB / 478.1 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: 12 ($cse3.phase,$cse3.region,$cse4.phase,$cse4.region,$cse5.phase,$cse5.region,$cse6.phase,$cse6.region,$cse8.phase,$cse8.region,$cse9.phase,$cse9.region) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (48): * Single equations (assignments): 40 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 6 * 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 {(2,1)} Notification: Performance of Backend phase and start with SimCode phase: time 0.004058/0.573, allocations: 1.201 MB / 0.6279 GB, free: 5.691 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.002405/0.5754, allocations: 0.9864 MB / 0.6289 GB, free: 4.707 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 6.202e-06/0.5754, allocations: 4.812 kB / 0.6289 GB, free: 4.703 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001198/0.5766, allocations: 0.6319 MB / 0.6295 GB, free: 4.074 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002142/0.5788, allocations: 400 kB / 0.6299 GB, free: 3.695 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003087/0.5819, allocations: 2.2 MB / 0.632 GB, free: 1.473 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006519/0.5825, allocations: 1.09 MB / 0.6331 GB, free: 364 kB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001603/0.5827, allocations: 67.44 kB / 0.6332 GB, free: 296 kB / 478.1 MB Notification: Performance of SimCode: time 3.91e-07/0.5827, allocations: 4 kB / 0.6332 GB, free: 292 kB / 478.1 MB Notification: Performance of Templates: time 0.04748/0.6302, allocations: 37.19 MB / 0.6695 GB, free: 11.14 MB / 0.5137 GB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_pT.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_pT.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_pT.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_pT.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_pT.sim & ./ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_pT -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_pT.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_pT_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Media/TestsWithFluid/MediaTestModels/Water/WaterIF97_pT/WaterIF97_pT.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_pT.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches