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.0008424/0.0008427, allocations: 94.78 kB / 18.01 MB, free: 5.738 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.0009667/0.0009668, allocations: 175.2 kB / 18.91 MB, free: 4.871 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.318/1.318, allocations: 223.3 MB / 243 MB, free: 96 kB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.194/0.194, allocations: 44.24 MB / 338.3 MB, free: 2.629 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003235/0.0003236, allocations: 9.5 kB / 411 MB, free: 27.28 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1049/0.1052, allocations: 61.93 MB / 472.9 MB, free: 13.32 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_pT): time 0.04149/0.1467, allocations: 39.4 MB / 0.5003 GB, free: 5.785 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.2267/0.3735, allocations: 20.91 MB / 0.5207 GB, free: 11.51 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001079/0.3746, allocations: 25.86 kB / 0.5208 GB, free: 11.51 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001411/0.376, allocations: 393.5 kB / 0.5211 GB, free: 11.5 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01368/0.3897, allocations: 4.185 MB / 0.5252 GB, free: 11.18 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.007745/0.3975, allocations: 2.232 MB / 0.5274 GB, free: 10.82 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.003363/0.4009, allocations: 2.82 MB / 0.5302 GB, free: 10.5 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0009068/0.4018, allocations: 423.4 kB / 0.5306 GB, free: 10.43 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00852/0.4103, allocations: 4.029 MB / 0.5345 GB, free: 8.941 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.009419/0.4198, allocations: 5.448 MB / 0.5398 GB, free: 6.477 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003064/0.4201, allocations: 34.41 kB / 0.5399 GB, free: 6.477 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0131/0.4332, allocations: 7.114 MB / 0.5468 GB, free: 3.234 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003967/0.4337, allocations: 249.1 kB / 0.547 GB, free: 3.082 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000631/0.4343, allocations: 445.2 kB / 0.5475 GB, free: 2.812 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005454/0.4398, allocations: 3.406 MB / 0.5508 GB, free: 15.82 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.569e-06/0.4398, allocations: 3.938 kB / 0.5508 GB, free: 15.82 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.354e-06/0.4398, allocations: 0 / 0.5508 GB, free: 15.82 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.466e-05/0.4399, allocations: 0 / 0.5508 GB, free: 15.82 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.00422/0.4441, allocations: 1.458 MB / 0.5522 GB, free: 14.32 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.601e-05/0.4441, allocations: 19.95 kB / 0.5522 GB, free: 14.3 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001481/0.4456, allocations: 223.3 kB / 0.5524 GB, free: 14.09 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008727/0.4465, allocations: 0.54 MB / 0.553 GB, free: 13.52 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000123/0.4466, allocations: 112 kB / 0.5531 GB, free: 13.4 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.842e-05/0.4468, allocations: 60.38 kB / 0.5531 GB, free: 13.34 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001992/0.4488, allocations: 1.074 MB / 0.5542 GB, free: 12.17 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.488e-05/0.4488, allocations: 3.938 kB / 0.5542 GB, free: 12.17 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.669e-05/0.4489, allocations: 24 kB / 0.5542 GB, free: 12.14 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.443e-05/0.4489, allocations: 52.97 kB / 0.5543 GB, free: 12.09 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00173/0.4507, allocations: 0.8193 MB / 0.5551 GB, free: 11.27 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.006286/0.457, allocations: 5.561 MB / 0.5605 GB, free: 5.387 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001251/0.4583, allocations: 0.5349 MB / 0.561 GB, free: 4.824 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003189/0.4586, allocations: 206.5 kB / 0.5612 GB, free: 4.613 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.09721/0.5558, allocations: 47.88 MB / 0.608 GB, free: 15.14 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.279e-05/0.5559, allocations: 39.38 kB / 0.608 GB, free: 15.1 MB / 462.1 MB Notification: Performance of pre-optimization done (n=39): time 2.455e-06/0.5559, allocations: 0 / 0.608 GB, free: 15.1 MB / 462.1 MB Notification: Performance of matching and sorting (n=44): time 0.006539/0.5624, allocations: 2.145 MB / 0.6101 GB, free: 12.89 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001005/0.5626, allocations: 191.9 kB / 0.6103 GB, free: 12.66 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008101/0.5634, allocations: 0.6445 MB / 0.6109 GB, free: 12.02 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 4.991e-05/0.5635, allocations: 33.7 kB / 0.611 GB, free: 11.98 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002934/0.5638, allocations: 398.3 kB / 0.6113 GB, free: 11.59 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001502/0.5639, allocations: 168.8 kB / 0.6115 GB, free: 11.43 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001033/0.564, allocations: 73.61 kB / 0.6116 GB, free: 11.35 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001569/0.5642, allocations: 374.8 kB / 0.6119 GB, free: 10.97 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004081/0.5646, allocations: 233.9 kB / 0.6121 GB, free: 10.74 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00063/0.5652, allocations: 0.59 MB / 0.6127 GB, free: 9.98 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001104/0.5664, allocations: 0.8676 MB / 0.6136 GB, free: 8.949 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.584e-06/0.5664, allocations: 4 kB / 0.6136 GB, free: 8.945 MB / 462.1 MB Notification: Performance of matching and sorting (n=96) (initialization): time 0.001529/0.5679, allocations: 0.8956 MB / 0.6144 GB, free: 8.039 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.208e-05/0.5679, allocations: 8 kB / 0.6145 GB, free: 8.031 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.662e-05/0.568, allocations: 12 kB / 0.6145 GB, free: 8.02 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003347/0.5713, allocations: 277.3 kB / 0.6147 GB, free: 7.746 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001216/0.5726, allocations: 279.6 kB / 0.615 GB, free: 7.473 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001793/0.5744, allocations: 2.026 MB / 0.617 GB, free: 5.293 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006735/0.5751, allocations: 52.03 kB / 0.617 GB, free: 5.242 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.791e-05/0.5751, allocations: 47.52 kB / 0.6171 GB, free: 5.199 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.0004415/0.5756, allocations: 277.9 kB / 0.6173 GB, free: 4.918 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000192/0.5758, allocations: 71.16 kB / 0.6174 GB, free: 4.848 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002402/0.5782, allocations: 2.024 MB / 0.6194 GB, free: 2.809 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.5e-05/0.5782, allocations: 19.97 kB / 0.6194 GB, free: 2.789 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.326e-06/0.5783, allocations: 0 / 0.6194 GB, free: 2.789 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.265e-06/0.5783, allocations: 3.984 kB / 0.6194 GB, free: 2.785 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003538/0.5818, allocations: 3 MB / 0.6223 GB, free: 15.73 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.773e-06/0.5818, allocations: 4 kB / 0.6223 GB, free: 15.73 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009151/0.5828, allocations: 183.8 kB / 0.6225 GB, free: 15.55 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001803/0.5846, allocations: 303.9 kB / 0.6228 GB, free: 15.25 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.042e-05/0.5846, allocations: 19.92 kB / 0.6228 GB, free: 15.23 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001633/0.5863, allocations: 2.077 MB / 0.6248 GB, free: 12.99 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.023e-06/0.5863, allocations: 4.062 kB / 0.6249 GB, free: 12.98 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002207/0.5885, allocations: 1.947 MB / 0.6268 GB, free: 11.02 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004847/0.589, allocations: 287.4 kB / 0.627 GB, free: 10.71 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000144/0.5892, allocations: 12 kB / 0.627 GB, free: 10.7 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005537/0.5897, allocations: 35.89 kB / 0.6271 GB, free: 10.67 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.244e-05/0.5898, allocations: 36.33 kB / 0.6271 GB, free: 10.63 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.004e-05/0.5899, allocations: 23.92 kB / 0.6271 GB, free: 10.61 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.0007795/0.5907, allocations: 0.5693 MB / 0.6277 GB, free: 10.04 MB / 478.1 MB Notification: Performance of sort global known variables: time 1.8e-07/0.5907, allocations: 4 kB / 0.6277 GB, free: 10.04 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.003418/0.5941, allocations: 1.085 MB / 0.6288 GB, free: 8.953 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.005198/0.5993, allocations: 1.198 MB / 0.6299 GB, free: 7.855 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.002125/0.6015, allocations: 0.909 MB / 0.6308 GB, free: 6.949 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 7.585e-06/0.6015, allocations: 4 kB / 0.6308 GB, free: 6.945 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001307/0.6028, allocations: 0.6321 MB / 0.6314 GB, free: 6.316 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002592/0.6054, allocations: 380.9 kB / 0.6318 GB, free: 5.945 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003829/0.6093, allocations: 2.669 MB / 0.6344 GB, free: 3.242 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007736/0.6101, allocations: 1.093 MB / 0.6355 GB, free: 2.125 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002061/0.6103, allocations: 67.44 kB / 0.6355 GB, free: 2.059 MB / 478.1 MB Notification: Performance of SimCode: time 8.42e-07/0.6103, allocations: 3.938 kB / 0.6355 GB, free: 2.055 MB / 478.1 MB Notification: Performance of Templates: time 0.0517/0.662, allocations: 37.06 MB / 0.6717 GB, free: 13.02 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