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.001755/0.001755, allocations: 109.3 kB / 18.39 MB, free: 4.629 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.001736/0.001736, allocations: 184.1 kB / 19.33 MB, free: 3.699 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.361/1.361, allocations: 222.9 MB / 243 MB, free: 15.15 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.2089/0.2089, allocations: 44.18 MB / 337.4 MB, free: 2.688 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0013/0.0013, allocations: 64.17 kB / 409.9 MB, free: 26.51 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1106/0.1119, allocations: 60.82 MB / 470.7 MB, free: 13.64 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_pT): time 0.03875/0.1507, allocations: 39.03 MB / 0.4978 GB, free: 6.461 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.257/0.4078, allocations: 20.14 MB / 0.5175 GB, free: 11.2 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009438/0.4088, allocations: 21.91 kB / 0.5175 GB, free: 11.2 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00123/0.4101, allocations: 444 kB / 0.5179 GB, free: 11.2 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01446/0.4245, allocations: 5.121 MB / 0.5229 GB, free: 11.05 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.008075/0.4326, allocations: 2.565 MB / 0.5254 GB, free: 10.61 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.003076/0.4357, allocations: 1.963 MB / 0.5273 GB, free: 10.27 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007985/0.4365, allocations: 490.6 kB / 0.5278 GB, free: 10.2 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01001/0.4466, allocations: 4.138 MB / 0.5318 GB, free: 8.684 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01057/0.4572, allocations: 5.422 MB / 0.5371 GB, free: 6.234 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002495/0.4575, allocations: 66.03 kB / 0.5372 GB, free: 6.234 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01314/0.4706, allocations: 7.242 MB / 0.5443 GB, free: 2.57 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003971/0.471, allocations: 270.7 kB / 0.5445 GB, free: 2.391 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0007196/0.4718, allocations: 448.8 kB / 0.545 GB, free: 2.125 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01115/0.4829, allocations: 4.965 MB / 0.5498 GB, free: 13.5 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.623e-06/0.483, allocations: 0 / 0.5498 GB, free: 13.5 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.344e-06/0.483, allocations: 0 / 0.5498 GB, free: 13.5 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.947e-05/0.483, allocations: 0 / 0.5498 GB, free: 13.5 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.003824/0.4868, allocations: 1.624 MB / 0.5514 GB, free: 11.84 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.748e-05/0.4869, allocations: 8.031 kB / 0.5514 GB, free: 11.83 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00148/0.4884, allocations: 223.8 kB / 0.5516 GB, free: 11.61 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009721/0.4894, allocations: 0.5711 MB / 0.5522 GB, free: 11.01 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001191/0.4895, allocations: 109.3 kB / 0.5523 GB, free: 10.89 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.756e-05/0.4896, allocations: 58.88 kB / 0.5523 GB, free: 10.84 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00187/0.4915, allocations: 1.084 MB / 0.5534 GB, free: 9.664 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.468e-05/0.4915, allocations: 7.938 kB / 0.5534 GB, free: 9.656 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.316e-05/0.4916, allocations: 24 kB / 0.5534 GB, free: 9.633 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.287e-05/0.4917, allocations: 44.98 kB / 0.5535 GB, free: 9.59 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001684/0.4934, allocations: 0.8232 MB / 0.5543 GB, free: 8.77 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.00593/0.4993, allocations: 5.537 MB / 0.5597 GB, free: 2.906 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001303/0.5006, allocations: 0.5349 MB / 0.5602 GB, free: 2.344 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003465/0.501, allocations: 217.5 kB / 0.5604 GB, free: 2.125 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.09177/0.5928, allocations: 47.66 MB / 0.6069 GB, free: 12.87 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.997e-05/0.5928, allocations: 49.5 kB / 0.607 GB, free: 12.82 MB / 462.1 MB Notification: Performance of pre-optimization done (n=39): time 2.525e-06/0.5929, allocations: 0 / 0.607 GB, free: 12.82 MB / 462.1 MB Notification: Performance of matching and sorting (n=44): time 0.00648/0.5993, allocations: 2.128 MB / 0.6091 GB, free: 10.62 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.92e-05/0.5995, allocations: 187.9 kB / 0.6093 GB, free: 10.4 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007915/0.6003, allocations: 0.6367 MB / 0.6099 GB, free: 9.762 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 5.059e-05/0.6003, allocations: 37.7 kB / 0.6099 GB, free: 9.719 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002738/0.6006, allocations: 404.3 kB / 0.6103 GB, free: 9.324 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001366/0.6007, allocations: 161.4 kB / 0.6104 GB, free: 9.168 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002225/0.601, allocations: 162.5 kB / 0.6106 GB, free: 9.004 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001431/0.6011, allocations: 374.8 kB / 0.611 GB, free: 8.629 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003911/0.6015, allocations: 233.9 kB / 0.6112 GB, free: 8.398 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006087/0.6021, allocations: 0.5861 MB / 0.6118 GB, free: 7.641 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001072/0.6032, allocations: 0.8638 MB / 0.6126 GB, free: 6.613 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.015e-06/0.6032, allocations: 4 kB / 0.6126 GB, free: 6.609 MB / 462.1 MB Notification: Performance of matching and sorting (n=96) (initialization): time 0.001432/0.6047, allocations: 0.9 MB / 0.6135 GB, free: 5.699 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.208e-05/0.6047, allocations: 11.98 kB / 0.6135 GB, free: 5.688 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.873e-05/0.6047, allocations: 12 kB / 0.6135 GB, free: 5.676 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003264/0.608, allocations: 264.5 kB / 0.6138 GB, free: 5.414 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001165/0.6092, allocations: 287.7 kB / 0.614 GB, free: 5.137 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001744/0.6109, allocations: 2.117 MB / 0.6161 GB, free: 2.859 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005658/0.6115, allocations: 28 kB / 0.6161 GB, free: 2.832 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.554e-05/0.6116, allocations: 43.98 kB / 0.6162 GB, free: 2.789 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.0004137/0.612, allocations: 279.3 kB / 0.6164 GB, free: 2.508 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001874/0.6122, allocations: 71.16 kB / 0.6165 GB, free: 2.438 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002289/0.6145, allocations: 2.002 MB / 0.6185 GB, free: 432 kB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.168e-05/0.6146, allocations: 27.97 kB / 0.6185 GB, free: 404 kB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.917e-06/0.6146, allocations: 0 / 0.6185 GB, free: 404 kB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.294e-06/0.6146, allocations: 7.922 kB / 0.6185 GB, free: 396 kB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003475/0.6181, allocations: 2.995 MB / 0.6214 GB, free: 13.33 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.32e-06/0.6181, allocations: 0 / 0.6214 GB, free: 13.33 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009023/0.619, allocations: 187.8 kB / 0.6216 GB, free: 13.15 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001721/0.6207, allocations: 299.8 kB / 0.6219 GB, free: 12.85 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.646e-05/0.6208, allocations: 15.98 kB / 0.6219 GB, free: 12.84 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001707/0.6225, allocations: 2.181 MB / 0.624 GB, free: 10.5 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.104e-06/0.6225, allocations: 0 / 0.624 GB, free: 10.5 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002113/0.6246, allocations: 1.937 MB / 0.6259 GB, free: 8.539 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003826/0.625, allocations: 231.5 kB / 0.6261 GB, free: 8.293 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00017/0.6252, allocations: 35.69 kB / 0.6262 GB, free: 8.258 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004905/0.6257, allocations: 15.98 kB / 0.6262 GB, free: 8.242 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.924e-05/0.6258, allocations: 36.33 kB / 0.6262 GB, free: 8.207 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.406e-05/0.6259, allocations: 16.06 kB / 0.6262 GB, free: 8.191 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.0007983/0.6267, allocations: 0.5771 MB / 0.6268 GB, free: 7.625 MB / 478.1 MB Notification: Performance of sort global known variables: time 2.7e-07/0.6267, allocations: 3.938 kB / 0.6268 GB, free: 7.621 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.00304/0.6297, allocations: 1.085 MB / 0.6279 GB, free: 6.535 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.004678/0.6344, allocations: 1.197 MB / 0.629 GB, free: 5.43 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.001991/0.6364, allocations: 0.9245 MB / 0.6299 GB, free: 4.504 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 3.667e-06/0.6364, allocations: 0 / 0.6299 GB, free: 4.504 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001222/0.6377, allocations: 0.6401 MB / 0.6306 GB, free: 3.867 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001947/0.6396, allocations: 398.3 kB / 0.6309 GB, free: 3.492 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003048/0.6427, allocations: 2.131 MB / 0.633 GB, free: 1.34 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006655/0.6434, allocations: 1.09 MB / 0.6341 GB, free: 228 kB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.0007316/0.6441, allocations: 342.3 kB / 0.6344 GB, free: 15.88 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001484/0.6443, allocations: 63.38 kB / 0.6345 GB, free: 15.82 MB / 494.1 MB Notification: Performance of SimCode: time 4.41e-07/0.6443, allocations: 0 / 0.6345 GB, free: 15.82 MB / 494.1 MB Notification: Performance of Templates: time 0.06316/0.7075, allocations: 45.26 MB / 0.6787 GB, free: 2.723 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 -s gbode -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