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.001307/0.001307, allocations: 109.3 kB / 16.41 MB, free: 6.488 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.001384/0.001384, allocations: 185.5 kB / 17.34 MB, free: 5.766 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.531/1.531, allocations: 205.1 MB / 223.2 MB, free: 12.23 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.2114/0.2114, allocations: 43.52 MB / 314.1 MB, free: 472 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.001387/0.001387, allocations: 75.91 kB / 441.8 MB, free: 5.66 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1167/0.1181, allocations: 57.78 MB / 499.6 MB, free: 11.8 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_pT): time 0.04047/0.1586, allocations: 39.04 MB / 0.526 GB, free: 4.613 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.342/0.5007, allocations: 20.15 MB / 0.5457 GB, free: 3.395 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001157/0.5019, allocations: 22.88 kB / 0.5457 GB, free: 3.391 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001205/0.5032, allocations: 442 kB / 0.5461 GB, free: 3.383 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.02193/0.5251, allocations: 5.129 MB / 0.5512 GB, free: 3.039 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00962/0.5348, allocations: 2.561 MB / 0.5537 GB, free: 2.555 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.003538/0.5383, allocations: 1.969 MB / 0.5556 GB, free: 2.203 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007433/0.5391, allocations: 487.6 kB / 0.556 GB, free: 2.145 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01109/0.5502, allocations: 4.151 MB / 0.5601 GB, free: 0.9922 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01293/0.5632, allocations: 5.416 MB / 0.5654 GB, free: 15.05 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003404/0.5636, allocations: 67.34 kB / 0.5654 GB, free: 15.05 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.02022/0.5838, allocations: 7.232 MB / 0.5725 GB, free: 11.85 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0005969/0.5844, allocations: 282.6 kB / 0.5728 GB, free: 11.66 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0009107/0.5853, allocations: 444.4 kB / 0.5732 GB, free: 11.4 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01655/0.6019, allocations: 4.959 MB / 0.578 GB, free: 8.445 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.614e-06/0.602, allocations: 3.156 kB / 0.578 GB, free: 8.445 MB / 430.1 MB Notification: Performance of FrontEnd: time 2.094e-06/0.602, allocations: 4 kB / 0.5781 GB, free: 8.441 MB / 430.1 MB Notification: Performance of Transformations before backend: time 1.78e-05/0.602, allocations: 0 / 0.5781 GB, free: 8.441 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.005531/0.6075, allocations: 1.622 MB / 0.5796 GB, free: 7.309 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.049e-05/0.6076, allocations: 9.969 kB / 0.5796 GB, free: 7.309 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001468/0.6091, allocations: 225.2 kB / 0.5799 GB, free: 7.211 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009335/0.61, allocations: 0.5625 MB / 0.5804 GB, free: 6.754 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001271/0.6101, allocations: 112.2 kB / 0.5805 GB, free: 6.668 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.466e-05/0.6103, allocations: 55.22 kB / 0.5806 GB, free: 6.652 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001924/0.6122, allocations: 1.082 MB / 0.5816 GB, free: 5.492 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.587e-05/0.6122, allocations: 7.938 kB / 0.5816 GB, free: 5.484 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.786e-05/0.6123, allocations: 28 kB / 0.5817 GB, free: 5.457 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.776e-05/0.6124, allocations: 36.98 kB / 0.5817 GB, free: 5.422 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001673/0.6141, allocations: 0.831 MB / 0.5825 GB, free: 4.594 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.006165/0.6202, allocations: 5.544 MB / 0.5879 GB, free: 14.73 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001346/0.6216, allocations: 0.5309 MB / 0.5884 GB, free: 14.17 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003396/0.6219, allocations: 211.7 kB / 0.5886 GB, free: 13.96 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.1048/0.7267, allocations: 47.67 MB / 0.6352 GB, free: 8.703 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.813e-05/0.7268, allocations: 45.94 kB / 0.6352 GB, free: 8.652 MB / 494.1 MB Notification: Performance of pre-optimization done (n=39): time 2.225e-06/0.7268, allocations: 0 / 0.6352 GB, free: 8.652 MB / 494.1 MB Notification: Performance of matching and sorting (n=44): time 0.00689/0.7337, allocations: 2.117 MB / 0.6373 GB, free: 6.477 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001058/0.7339, allocations: 195.9 kB / 0.6375 GB, free: 6.242 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008283/0.7347, allocations: 0.6445 MB / 0.6381 GB, free: 5.598 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 4.741e-05/0.7348, allocations: 33.7 kB / 0.6382 GB, free: 5.559 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002928/0.7351, allocations: 396.9 kB / 0.6385 GB, free: 5.172 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001277/0.7352, allocations: 162.9 kB / 0.6387 GB, free: 5.012 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002159/0.7354, allocations: 154.5 kB / 0.6388 GB, free: 4.852 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001935/0.7356, allocations: 386.8 kB / 0.6392 GB, free: 4.465 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004079/0.736, allocations: 233.9 kB / 0.6394 GB, free: 4.238 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000715/0.7368, allocations: 0.586 MB / 0.64 GB, free: 3.477 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001277/0.7381, allocations: 0.8638 MB / 0.6408 GB, free: 2.449 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.658e-06/0.7381, allocations: 4 kB / 0.6408 GB, free: 2.445 MB / 494.1 MB Notification: Performance of matching and sorting (n=96) (initialization): time 0.001483/0.7396, allocations: 0.9009 MB / 0.6417 GB, free: 1.535 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.233e-05/0.7396, allocations: 11.59 kB / 0.6417 GB, free: 1.527 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.444e-05/0.7396, allocations: 15.94 kB / 0.6418 GB, free: 1.512 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003384/0.743, allocations: 276.5 kB / 0.642 GB, free: 1.238 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001374/0.7444, allocations: 283.5 kB / 0.6423 GB, free: 0.9609 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00244/0.7469, allocations: 2.116 MB / 0.6444 GB, free: 14.69 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008004/0.7477, allocations: 36.86 kB / 0.6444 GB, free: 14.65 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.335e-05/0.7478, allocations: 36.09 kB / 0.6444 GB, free: 14.62 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.0006542/0.7484, allocations: 277.4 kB / 0.6447 GB, free: 14.34 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002695/0.7487, allocations: 75.22 kB / 0.6448 GB, free: 14.26 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003693/0.7524, allocations: 2.003 MB / 0.6467 GB, free: 12.24 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.965e-05/0.7525, allocations: 23.91 kB / 0.6467 GB, free: 12.22 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.903e-06/0.7525, allocations: 0.875 kB / 0.6467 GB, free: 12.22 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.519e-05/0.7525, allocations: 7.984 kB / 0.6467 GB, free: 12.21 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00575/0.7583, allocations: 2.994 MB / 0.6497 GB, free: 9.156 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.121e-05/0.7583, allocations: 4 kB / 0.6497 GB, free: 9.152 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001422/0.7598, allocations: 179.8 kB / 0.6498 GB, free: 8.977 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002461/0.7623, allocations: 303.8 kB / 0.6501 GB, free: 8.676 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.831e-05/0.7624, allocations: 17.11 kB / 0.6502 GB, free: 8.66 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002609/0.765, allocations: 2.176 MB / 0.6523 GB, free: 6.32 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.876e-06/0.765, allocations: 0 / 0.6523 GB, free: 6.32 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003604/0.7686, allocations: 1.937 MB / 0.6542 GB, free: 4.355 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006346/0.7693, allocations: 235.7 kB / 0.6544 GB, free: 4.105 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003098/0.7696, allocations: 31.69 kB / 0.6544 GB, free: 4.074 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006497/0.7703, allocations: 11.98 kB / 0.6544 GB, free: 4.062 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001162/0.7704, allocations: 32.39 kB / 0.6545 GB, free: 4.031 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.669e-05/0.7705, allocations: 16 kB / 0.6545 GB, free: 4.016 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.00121/0.7717, allocations: 0.5771 MB / 0.655 GB, free: 3.449 MB / 0.4981 GB Notification: Performance of sort global known variables: time 3.1e-07/0.7717, allocations: 0 / 0.655 GB, free: 3.449 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.006728/0.7784, allocations: 1.085 MB / 0.6561 GB, free: 2.363 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.008594/0.7871, allocations: 1.197 MB / 0.6573 GB, free: 1.258 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.003654/0.7908, allocations: 0.9208 MB / 0.6582 GB, free: 352 kB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 8.386e-06/0.7908, allocations: 3.938 kB / 0.6582 GB, free: 348 kB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.002254/0.7931, allocations: 0.6386 MB / 0.6588 GB, free: 15.7 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003978/0.7971, allocations: 407.4 kB / 0.6592 GB, free: 15.31 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005613/0.8027, allocations: 2.12 MB / 0.6613 GB, free: 13.16 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001426/0.8042, allocations: 1.097 MB / 0.6623 GB, free: 12.04 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.001273/0.8055, allocations: 342.2 kB / 0.6627 GB, free: 11.7 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002469/0.8057, allocations: 63.42 kB / 0.6627 GB, free: 11.64 MB / 0.5137 GB Notification: Performance of SimCode: time 8.82e-07/0.8057, allocations: 0 / 0.6627 GB, free: 11.64 MB / 0.5137 GB Notification: Performance of Templates: time 0.08165/0.8874, allocations: 45.47 MB / 0.7071 GB, free: 14.16 MB / 0.5606 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/jenkins/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/jenkins/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