Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_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 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 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 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_3.2.3_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_3.2.3_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.001673/0.001673, allocations: 116.9 kB / 17.08 MB, free: 5.984 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.002097/0.002097, allocations: 198.9 kB / 18.01 MB, free: 5.07 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 3.056/3.056, allocations: 205.1 MB / 223.9 MB, free: 12.28 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.4153/0.4153, allocations: 43.52 MB / 314.8 MB, free: 460 kB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002841/0.002841, allocations: 67.89 kB / 442.5 MB, free: 5.633 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1665/0.1694, allocations: 57.78 MB / 0.4886 GB, free: 11.78 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_pT): time 0.07291/0.2424, allocations: 39.04 MB / 0.5267 GB, free: 4.586 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.4119/0.6543, allocations: 20.14 MB / 0.5464 GB, free: 3.363 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001345/0.6557, allocations: 18.19 kB / 0.5464 GB, free: 3.363 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002341/0.6581, allocations: 446.7 kB / 0.5468 GB, free: 3.355 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.02951/0.6877, allocations: 5.109 MB / 0.5518 GB, free: 3.012 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01407/0.7018, allocations: 2.556 MB / 0.5543 GB, free: 2.527 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.004915/0.7067, allocations: 1.966 MB / 0.5562 GB, free: 2.176 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00148/0.7083, allocations: 489.4 kB / 0.5567 GB, free: 2.109 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01589/0.7242, allocations: 4.146 MB / 0.5607 GB, free: 0.9609 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01953/0.7438, allocations: 5.416 MB / 0.566 GB, free: 15.02 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0005444/0.7444, allocations: 67.75 kB / 0.5661 GB, free: 15.02 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.02924/0.7736, allocations: 7.235 MB / 0.5731 GB, free: 11.84 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0008343/0.7745, allocations: 279.2 kB / 0.5734 GB, free: 11.66 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001297/0.7759, allocations: 446.5 kB / 0.5738 GB, free: 11.39 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01837/0.7943, allocations: 4.961 MB / 0.5787 GB, free: 8.434 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.886e-06/0.7943, allocations: 0 / 0.5787 GB, free: 8.434 MB / 430.1 MB Notification: Performance of FrontEnd: time 2.655e-06/0.7943, allocations: 0 / 0.5787 GB, free: 8.434 MB / 430.1 MB Notification: Performance of Transformations before backend: time 5.368e-05/0.7944, allocations: 0 / 0.5787 GB, free: 8.434 MB / 430.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.00785/0.8023, allocations: 1.628 MB / 0.5803 GB, free: 7.297 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.115e-05/0.8023, allocations: 8 kB / 0.5803 GB, free: 7.297 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002789/0.8051, allocations: 218.1 kB / 0.5805 GB, free: 7.207 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001808/0.807, allocations: 0.5706 MB / 0.581 GB, free: 6.742 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003077/0.8073, allocations: 111.7 kB / 0.5811 GB, free: 6.66 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002262/0.8075, allocations: 56.44 kB / 0.5812 GB, free: 6.641 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003429/0.811, allocations: 1.078 MB / 0.5822 GB, free: 5.48 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.567e-05/0.8111, allocations: 3.938 kB / 0.5823 GB, free: 5.477 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001602/0.8112, allocations: 31.62 kB / 0.5823 GB, free: 5.449 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.333e-05/0.8113, allocations: 44.98 kB / 0.5823 GB, free: 5.406 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002669/0.814, allocations: 0.8193 MB / 0.5831 GB, free: 4.59 MB / 430.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.01043/0.8245, allocations: 5.551 MB / 0.5885 GB, free: 14.72 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002139/0.8266, allocations: 0.5296 MB / 0.5891 GB, free: 14.17 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005619/0.8272, allocations: 222 kB / 0.5893 GB, free: 13.95 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.1057/0.933, allocations: 47.66 MB / 0.6358 GB, free: 8.699 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.58e-05/0.9331, allocations: 50.53 kB / 0.6359 GB, free: 8.641 MB / 494.1 MB Notification: Performance of pre-optimization done (n=39): time 2.725e-06/0.9331, allocations: 0 / 0.6359 GB, free: 8.641 MB / 494.1 MB Notification: Performance of matching and sorting (n=44): time 0.007451/0.9406, allocations: 2.12 MB / 0.6379 GB, free: 6.465 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001205/0.9408, allocations: 195.8 kB / 0.6381 GB, free: 6.23 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009503/0.9417, allocations: 0.6367 MB / 0.6387 GB, free: 5.594 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 6.558e-05/0.9418, allocations: 33.7 kB / 0.6388 GB, free: 5.555 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003345/0.9421, allocations: 399.4 kB / 0.6392 GB, free: 5.164 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001562/0.9423, allocations: 164.1 kB / 0.6393 GB, free: 5.004 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000246/0.9426, allocations: 158.5 kB / 0.6395 GB, free: 4.84 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001909/0.9428, allocations: 386.7 kB / 0.6398 GB, free: 4.453 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004176/0.9432, allocations: 229.9 kB / 0.6401 GB, free: 4.23 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007015/0.9439, allocations: 0.5938 MB / 0.6406 GB, free: 3.461 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001165/0.9451, allocations: 0.8599 MB / 0.6415 GB, free: 2.438 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.231e-05/0.9451, allocations: 4 kB / 0.6415 GB, free: 2.434 MB / 494.1 MB Notification: Performance of matching and sorting (n=96) (initialization): time 0.001559/0.9467, allocations: 0.8999 MB / 0.6424 GB, free: 1.523 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.749e-05/0.9467, allocations: 12 kB / 0.6424 GB, free: 1.512 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.894e-05/0.9467, allocations: 12 kB / 0.6424 GB, free: 1.5 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003601/0.9504, allocations: 268.5 kB / 0.6426 GB, free: 1.234 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001229/0.9516, allocations: 287.8 kB / 0.6429 GB, free: 0.9531 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002361/0.954, allocations: 2.114 MB / 0.645 GB, free: 14.68 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006942/0.9547, allocations: 28 kB / 0.645 GB, free: 14.65 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.029e-05/0.9548, allocations: 48.11 kB / 0.645 GB, free: 14.61 MB / 0.4981 GB 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.0004949/0.9553, allocations: 281.3 kB / 0.6453 GB, free: 14.32 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002411/0.9555, allocations: 71.16 kB / 0.6454 GB, free: 14.25 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002627/0.9582, allocations: 1.992 MB / 0.6473 GB, free: 12.24 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.733e-05/0.9582, allocations: 35.91 kB / 0.6474 GB, free: 12.21 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.476e-06/0.9582, allocations: 0 / 0.6474 GB, free: 12.21 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.177e-05/0.9583, allocations: 8.062 kB / 0.6474 GB, free: 12.2 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004065/0.9623, allocations: 2.992 MB / 0.6503 GB, free: 9.148 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.541e-06/0.9623, allocations: 0 / 0.6503 GB, free: 9.148 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009878/0.9633, allocations: 187.8 kB / 0.6505 GB, free: 8.965 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001801/0.9652, allocations: 299.8 kB / 0.6508 GB, free: 8.668 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.705e-05/0.9652, allocations: 20 kB / 0.6508 GB, free: 8.648 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001824/0.9671, allocations: 2.176 MB / 0.6529 GB, free: 6.309 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.435e-06/0.9671, allocations: 0 / 0.6529 GB, free: 6.309 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002278/0.9694, allocations: 1.941 MB / 0.6548 GB, free: 4.34 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004401/0.9698, allocations: 227.6 kB / 0.655 GB, free: 4.098 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001934/0.97, allocations: 27.69 kB / 0.655 GB, free: 4.07 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005143/0.9705, allocations: 16 kB / 0.6551 GB, free: 4.055 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.459e-05/0.9706, allocations: 36.33 kB / 0.6551 GB, free: 4.02 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.871e-05/0.9707, allocations: 24.05 kB / 0.6551 GB, free: 3.996 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0008369/0.9715, allocations: 0.5732 MB / 0.6557 GB, free: 3.434 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.5e-07/0.9715, allocations: 0 / 0.6557 GB, free: 3.434 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.004081/0.9756, allocations: 1.082 MB / 0.6567 GB, free: 2.352 MB / 0.4981 GB 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.005939/0.9816, allocations: 1.193 MB / 0.6579 GB, free: 1.25 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.002183/0.9838, allocations: 0.9089 MB / 0.6588 GB, free: 356 kB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 6.552e-06/0.9838, allocations: 0 / 0.6588 GB, free: 356 kB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.00131/0.9851, allocations: 0.6322 MB / 0.6594 GB, free: 15.71 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00218/0.9873, allocations: 406.4 kB / 0.6598 GB, free: 15.32 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003566/0.9909, allocations: 2.174 MB / 0.6619 GB, free: 13.12 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007978/0.9917, allocations: 1.085 MB / 0.663 GB, free: 12 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001971/0.9919, allocations: 67.42 kB / 0.663 GB, free: 11.94 MB / 0.5137 GB Notification: Performance of SimCode: time 6.62e-07/0.9919, allocations: 0 / 0.663 GB, free: 11.94 MB / 0.5137 GB Notification: Performance of Templates: time 0.05603/1.048, allocations: 37.34 MB / 0.6995 GB, free: 6.566 MB / 0.545 GB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_pT.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_pT.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_pT.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_pT.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_pT.sim & ./ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_pT -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_pT.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_pT_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Media/TestsWithFluid/MediaTestModels/Water/WaterIF97_pT/WaterIF97_pT.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_pT.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches