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.001199/0.001199, allocations: 111.1 kB / 16.41 MB, free: 6.484 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.001372/0.001372, allocations: 189.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.448/1.448, 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.2056/0.2056, allocations: 43.53 MB / 314.1 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.002414/0.002414, allocations: 59.91 kB / 441.8 MB, free: 5.645 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.151/0.1535, allocations: 57.8 MB / 499.6 MB, free: 11.77 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_pT): time 0.04762/0.2012, allocations: 39.03 MB / 0.526 GB, free: 4.59 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.3221/0.5233, allocations: 20.14 MB / 0.5457 GB, free: 3.355 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001443/0.5248, allocations: 26.03 kB / 0.5457 GB, free: 3.352 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001778/0.5267, allocations: 449 kB / 0.5461 GB, free: 3.344 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.02055/0.5472, allocations: 5.13 MB / 0.5511 GB, free: 3.004 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.009207/0.5564, allocations: 2.557 MB / 0.5536 GB, free: 2.523 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.003088/0.5596, allocations: 1.971 MB / 0.5556 GB, free: 2.172 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001002/0.5606, allocations: 491 kB / 0.556 GB, free: 2.109 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0122/0.5728, allocations: 4.149 MB / 0.5601 GB, free: 0.957 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01273/0.5856, allocations: 5.421 MB / 0.5654 GB, free: 15 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003771/0.586, allocations: 66.44 kB / 0.5654 GB, free: 15 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01945/0.6055, allocations: 7.235 MB / 0.5725 GB, free: 11.82 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0006267/0.6061, allocations: 278.7 kB / 0.5728 GB, free: 11.63 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0009466/0.6071, allocations: 448.6 kB / 0.5732 GB, free: 11.37 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01788/0.625, allocations: 4.958 MB / 0.578 GB, free: 8.41 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.219e-05/0.6251, allocations: 0 / 0.578 GB, free: 8.41 MB / 430.1 MB Notification: Performance of FrontEnd: time 3.026e-06/0.6251, allocations: 4 kB / 0.5781 GB, free: 8.406 MB / 430.1 MB Notification: Performance of Transformations before backend: time 6.275e-05/0.6252, allocations: 0 / 0.5781 GB, free: 8.406 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.006691/0.6319, allocations: 1.619 MB / 0.5796 GB, free: 7.277 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.119e-05/0.6319, allocations: 11.34 kB / 0.5796 GB, free: 7.277 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001528/0.6335, allocations: 218.7 kB / 0.5799 GB, free: 7.184 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001075/0.6345, allocations: 0.5655 MB / 0.5804 GB, free: 6.727 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001475/0.6347, allocations: 115.9 kB / 0.5805 GB, free: 6.637 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001218/0.6348, allocations: 63.17 kB / 0.5806 GB, free: 6.602 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00198/0.6368, allocations: 1.073 MB / 0.5816 GB, free: 5.434 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.892e-05/0.6369, allocations: 7.922 kB / 0.5816 GB, free: 5.426 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.98e-05/0.6369, allocations: 31.62 kB / 0.5817 GB, free: 5.398 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.728e-05/0.637, allocations: 40.98 kB / 0.5817 GB, free: 5.359 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001664/0.6387, allocations: 0.8232 MB / 0.5825 GB, free: 4.539 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.006589/0.6453, allocations: 5.546 MB / 0.5879 GB, free: 14.68 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001424/0.6467, allocations: 0.5344 MB / 0.5884 GB, free: 14.12 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003461/0.6471, allocations: 214.2 kB / 0.5886 GB, free: 13.9 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.1002/0.7473, allocations: 47.66 MB / 0.6352 GB, free: 8.648 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.648e-05/0.7475, allocations: 38.56 kB / 0.6352 GB, free: 8.602 MB / 494.1 MB Notification: Performance of pre-optimization done (n=39): time 6.131e-06/0.7475, allocations: 3.984 kB / 0.6352 GB, free: 8.598 MB / 494.1 MB Notification: Performance of matching and sorting (n=44): time 0.01005/0.7575, allocations: 2.116 MB / 0.6373 GB, free: 6.426 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001183/0.7577, allocations: 203.8 kB / 0.6375 GB, free: 6.184 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001038/0.7588, allocations: 0.6406 MB / 0.6381 GB, free: 5.543 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 5.933e-05/0.7588, allocations: 37.64 kB / 0.6382 GB, free: 5.5 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003293/0.7592, allocations: 395.1 kB / 0.6385 GB, free: 5.113 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001494/0.7593, allocations: 164.2 kB / 0.6387 GB, free: 4.953 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002583/0.7596, allocations: 154.5 kB / 0.6388 GB, free: 4.793 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0002194/0.7598, allocations: 386.8 kB / 0.6392 GB, free: 4.406 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000411/0.7602, allocations: 229.9 kB / 0.6394 GB, free: 4.184 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000685/0.7609, allocations: 0.5899 MB / 0.64 GB, free: 3.418 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001095/0.762, allocations: 0.8638 MB / 0.6408 GB, free: 2.391 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.71e-06/0.7621, allocations: 7.938 kB / 0.6409 GB, free: 2.383 MB / 494.1 MB Notification: Performance of matching and sorting (n=96) (initialization): time 0.001751/0.7638, allocations: 0.8915 MB / 0.6417 GB, free: 1.48 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.662e-05/0.7639, allocations: 19.53 kB / 0.6417 GB, free: 1.465 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.795e-05/0.7639, allocations: 12 kB / 0.6418 GB, free: 1.453 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003201/0.7671, allocations: 268.5 kB / 0.642 GB, free: 1.188 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00118/0.7683, allocations: 283.5 kB / 0.6423 GB, free: 0.9102 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0019/0.7702, allocations: 2.122 MB / 0.6444 GB, free: 14.63 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005491/0.7708, allocations: 28.62 kB / 0.6444 GB, free: 14.6 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.924e-05/0.7708, allocations: 44 kB / 0.6444 GB, free: 14.56 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.0003927/0.7712, allocations: 273.4 kB / 0.6447 GB, free: 14.28 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000161/0.7714, allocations: 75.22 kB / 0.6448 GB, free: 14.21 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002238/0.7736, allocations: 1.996 MB / 0.6467 GB, free: 12.2 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.496e-05/0.7737, allocations: 35.89 kB / 0.6467 GB, free: 12.16 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.114e-06/0.7737, allocations: 0 / 0.6467 GB, free: 12.16 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.761e-06/0.7737, allocations: 96 / 0.6467 GB, free: 12.16 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003462/0.7772, allocations: 3.002 MB / 0.6497 GB, free: 9.102 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.669e-06/0.7772, allocations: 0 / 0.6497 GB, free: 9.102 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009252/0.7781, allocations: 187.8 kB / 0.6498 GB, free: 8.918 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001686/0.7798, allocations: 303.8 kB / 0.6501 GB, free: 8.617 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.633e-05/0.7799, allocations: 12 kB / 0.6501 GB, free: 8.605 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002225/0.7821, allocations: 2.176 MB / 0.6523 GB, free: 6.266 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.364e-06/0.7821, allocations: 0 / 0.6523 GB, free: 6.266 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002348/0.7845, allocations: 1.941 MB / 0.6542 GB, free: 4.297 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003835/0.7849, allocations: 235.7 kB / 0.6544 GB, free: 4.047 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001584/0.785, allocations: 27.69 kB / 0.6544 GB, free: 4.02 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004251/0.7855, allocations: 16 kB / 0.6544 GB, free: 4.004 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.249e-05/0.7856, allocations: 32.39 kB / 0.6545 GB, free: 3.973 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.16e-05/0.7856, allocations: 19.98 kB / 0.6545 GB, free: 3.953 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0008728/0.7865, allocations: 0.5693 MB / 0.655 GB, free: 3.395 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.71e-07/0.7865, allocations: 0 / 0.655 GB, free: 3.395 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.004331/0.7908, allocations: 1.085 MB / 0.6561 GB, free: 2.309 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.004317/0.7952, allocations: 1.199 MB / 0.6573 GB, free: 1.203 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.002151/0.7973, allocations: 0.9207 MB / 0.6582 GB, free: 296 kB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 6.492e-06/0.7974, allocations: 4 kB / 0.6582 GB, free: 292 kB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.001249/0.7986, allocations: 0.6358 MB / 0.6588 GB, free: 15.65 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001958/0.8006, allocations: 406.4 kB / 0.6592 GB, free: 15.25 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003028/0.8036, allocations: 2.122 MB / 0.6613 GB, free: 13.11 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000668/0.8043, allocations: 1.097 MB / 0.6623 GB, free: 11.98 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.0007419/0.8051, allocations: 354.2 kB / 0.6627 GB, free: 11.63 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001514/0.8052, allocations: 55.44 kB / 0.6627 GB, free: 11.58 MB / 0.5137 GB Notification: Performance of SimCode: time 6.31e-07/0.8052, allocations: 0 / 0.6627 GB, free: 11.58 MB / 0.5137 GB Notification: Performance of Templates: time 0.06419/0.8694, allocations: 45.47 MB / 0.7071 GB, free: 14.11 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