Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_ph.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_ph,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|volume.medium.h|volume.medium.p",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_ph") translateModel(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_ph,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|volume.medium.h|volume.medium.p",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_ph") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009593/0.0009593, allocations: 97.3 kB / 15.69 MB, free: 480 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001017/0.001017, allocations: 177.4 kB / 16.57 MB, free: 6.852 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.368/1.368, allocations: 205.4 MB / 222.7 MB, free: 5.664 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.3937/0.3937, allocations: 43.54 MB / 314.5 MB, free: 8.82 MB / 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.0005223/0.0005227, allocations: 14.19 kB / 383.9 MB, free: 8.035 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.139/0.1395, allocations: 58.86 MB / 442.8 MB, free: 13.07 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_ph): time 0.2785/0.4181, allocations: 33.12 MB / 475.9 MB, free: 31.76 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.01935/0.4375, allocations: 17.2 MB / 493.1 MB, free: 19.79 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00112/0.4386, allocations: 21.91 kB / 493.1 MB, free: 19.78 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001174/0.4398, allocations: 391.6 kB / 493.5 MB, free: 19.56 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01274/0.4526, allocations: 3.998 MB / 497.5 MB, free: 17.58 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.006276/0.4589, allocations: 2.098 MB / 499.6 MB, free: 16.44 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.002004/0.4609, allocations: 1.161 MB / 0.489 GB, free: 15.86 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000654/0.4616, allocations: 417.1 kB / 0.4894 GB, free: 15.71 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01111/0.4727, allocations: 6.292 MB / 0.4955 GB, free: 14.84 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01447/0.4872, allocations: 8.764 MB / 0.5041 GB, free: 13.96 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002332/0.4875, allocations: 36.97 kB / 0.5041 GB, free: 13.96 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01524/0.5027, allocations: 7.188 MB / 0.5112 GB, free: 10.31 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000388/0.5031, allocations: 227.4 kB / 0.5114 GB, free: 10.09 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004161/0.5036, allocations: 185.3 kB / 0.5116 GB, free: 9.902 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.007635/0.5112, allocations: 3.453 MB / 0.5149 GB, free: 6.445 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.507e-06/0.5112, allocations: 0 / 0.5149 GB, free: 6.445 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.795e-06/0.5112, allocations: 0 / 0.5149 GB, free: 6.445 MB / 382.1 MB Notification: Performance of Transformations before backend: time 9.839e-06/0.5112, allocations: 0 / 0.5149 GB, free: 6.445 MB / 382.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.003734/0.515, allocations: 1.539 MB / 0.5164 GB, free: 4.859 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.495e-05/0.515, allocations: 12.02 kB / 0.5164 GB, free: 4.848 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001897/0.5169, allocations: 318.7 kB / 0.5167 GB, free: 4.535 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007117/0.5177, allocations: 0.5355 MB / 0.5173 GB, free: 3.961 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001028/0.5178, allocations: 112.7 kB / 0.5174 GB, free: 3.836 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.247e-05/0.5179, allocations: 71.92 kB / 0.5174 GB, free: 3.766 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002116/0.52, allocations: 1.204 MB / 0.5186 GB, free: 2.461 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.733e-05/0.52, allocations: 10 kB / 0.5186 GB, free: 2.453 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.394e-05/0.5201, allocations: 31.94 kB / 0.5187 GB, free: 2.422 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.085e-05/0.5202, allocations: 41.3 kB / 0.5187 GB, free: 2.383 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002112/0.5223, allocations: 1.063 MB / 0.5197 GB, free: 1.32 MB / 382.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.005923/0.5282, allocations: 5.617 MB / 0.5252 GB, free: 11.33 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002222/0.5304, allocations: 0.8018 MB / 0.526 GB, free: 10.51 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.03078/0.5612, allocations: 15.98 MB / 0.5416 GB, free: 8.664 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.517e-05/0.5613, allocations: 47.22 kB / 0.5417 GB, free: 8.609 MB / 414.1 MB Notification: Performance of pre-optimization done (n=45): time 2.084e-06/0.5613, allocations: 0 / 0.5417 GB, free: 8.609 MB / 414.1 MB Notification: Performance of matching and sorting (n=49): time 0.006762/0.5681, allocations: 2.378 MB / 0.544 GB, free: 6.18 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.399e-05/0.5682, allocations: 158.7 kB / 0.5441 GB, free: 5.988 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007085/0.5689, allocations: 0.6093 MB / 0.5447 GB, free: 5.371 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 4.802e-05/0.569, allocations: 33.7 kB / 0.5448 GB, free: 5.332 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002668/0.5693, allocations: 391.3 kB / 0.5451 GB, free: 4.941 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001699/0.5694, allocations: 169.6 kB / 0.5453 GB, free: 4.773 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.494e-05/0.5695, allocations: 16 kB / 0.5453 GB, free: 4.758 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0002245/0.5697, allocations: 374.8 kB / 0.5457 GB, free: 4.383 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006498/0.5704, allocations: 293.8 kB / 0.5459 GB, free: 4.094 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007926/0.5712, allocations: 0.6083 MB / 0.5465 GB, free: 3.332 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000695/0.5719, allocations: 388.5 kB / 0.5469 GB, free: 2.949 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.417e-06/0.5719, allocations: 0 / 0.5469 GB, free: 2.949 MB / 414.1 MB Notification: Performance of matching and sorting (n=96) (initialization): time 0.0018/0.5737, allocations: 0.9836 MB / 0.5479 GB, free: 1.953 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.283e-05/0.5737, allocations: 8.969 kB / 0.5479 GB, free: 1.945 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.541e-05/0.5738, allocations: 12 kB / 0.5479 GB, free: 1.934 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003077/0.5741, allocations: 76.77 kB / 0.548 GB, free: 1.855 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001268/0.5754, allocations: 303.6 kB / 0.5483 GB, free: 1.559 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00166/0.577, allocations: 1.984 MB / 0.5502 GB, free: 15.42 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007214/0.5778, allocations: 79.89 kB / 0.5503 GB, free: 15.34 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.252e-05/0.5778, allocations: 43.98 kB / 0.5503 GB, free: 15.3 MB / 430.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 47 * Number of states: 0 () * Number of discrete variables: 10 (volume.heatTransfer.states[1].phase,fixedMassFlowRate.medium.phase,ambient.medium.phase,volume.regularFlow[1],volume.regularFlow[2],volume.inFlow[2],volume.inFlow[1],shortPipe.flowModel.states[2].phase,shortPipe.flowModel.states[1].phase,ambient.state.phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (95): * Single equations (assignments): 93 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 1} Notification: Performance of prepare postOptimizeDAE: time 0.000424/0.5783, allocations: 277.4 kB / 0.5506 GB, free: 15.02 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001315/0.5784, allocations: 72.31 kB / 0.5506 GB, free: 14.95 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003201/0.5816, allocations: 2.609 MB / 0.5532 GB, free: 12.33 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.18e-05/0.5817, allocations: 31.95 kB / 0.5532 GB, free: 12.3 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.354e-06/0.5817, allocations: 4 kB / 0.5532 GB, free: 12.29 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.705e-06/0.5817, allocations: 3.984 kB / 0.5532 GB, free: 12.29 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004607/0.5863, allocations: 3.799 MB / 0.5569 GB, free: 8.414 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.628e-06/0.5863, allocations: 0 / 0.5569 GB, free: 8.414 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001132/0.5875, allocations: 243.7 kB / 0.5572 GB, free: 8.176 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004052/0.5879, allocations: 84.78 kB / 0.5573 GB, free: 8.09 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.683e-05/0.5879, allocations: 12 kB / 0.5573 GB, free: 8.078 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001582/0.5895, allocations: 2.011 MB / 0.5592 GB, free: 5.91 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.665e-06/0.5895, allocations: 0 / 0.5592 GB, free: 5.91 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003131/0.5927, allocations: 2.387 MB / 0.5616 GB, free: 3.496 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005272/0.5932, allocations: 330.9 kB / 0.5619 GB, free: 3.152 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001019/0.5933, allocations: 12 kB / 0.5619 GB, free: 3.141 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005074/0.5938, allocations: 60.55 kB / 0.5619 GB, free: 3.082 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001223/0.594, allocations: 48.48 kB / 0.562 GB, free: 3.035 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.341e-05/0.594, allocations: 27.92 kB / 0.562 GB, free: 3.008 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0007468/0.5948, allocations: 0.5498 MB / 0.5626 GB, free: 2.453 MB / 430.1 MB Notification: Performance of sort global known variables: time 2.936e-06/0.5948, allocations: 0 / 0.5626 GB, free: 2.453 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.00375/0.5985, allocations: 1.097 MB / 0.5636 GB, free: 1.355 MB / 430.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 2 (volume.medium.p,volume.medium.h) * Number of discrete variables: 21 ($cse2.region3boundary,$cse3.region3boundary,$cse4.phase,$cse4.region,$cse5.phase,$cse5.region,$cse6.phase,$cse6.region,$cse7.phase,$cse7.region,$cse8.phase,$cse8.region,$cse11.phase,$cse11.region,$cse13.phase,$cse13.region,$cse14.phase,$cse14.region,volume.heatTransfer.states[1].phase,fixedMassFlowRate.medium.phase,ambient.medium.phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (58): * Single equations (assignments): 46 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 10 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 1} Notification: Performance of Backend phase and start with SimCode phase: time 0.004069/0.6026, allocations: 1.227 MB / 0.5648 GB, free: 136 kB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.002581/0.6052, allocations: 1.108 MB / 0.5659 GB, free: 15.03 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 5.08e-06/0.6052, allocations: 0 / 0.5659 GB, free: 15.03 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001456/0.6067, allocations: 0.8168 MB / 0.5667 GB, free: 14.21 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001956/0.6087, allocations: 367.8 kB / 0.5671 GB, free: 13.86 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004801/0.6135, allocations: 3.037 MB / 0.57 GB, free: 10.79 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009479/0.6145, allocations: 1.185 MB / 0.5712 GB, free: 9.57 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0009849/0.6155, allocations: 438 kB / 0.5716 GB, free: 9.137 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001738/0.6156, allocations: 67.44 kB / 0.5717 GB, free: 9.07 MB / 446.1 MB Notification: Performance of SimCode: time 7.91e-07/0.6156, allocations: 0 / 0.5717 GB, free: 9.07 MB / 446.1 MB Notification: Performance of Templates: time 0.06333/0.679, allocations: 46.05 MB / 0.6166 GB, free: 11.02 MB / 494.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_ph.makefile Environment - environmentSimulation: (rm -f ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_ph.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_ph.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_ph.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_ph.sim & ./ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_ph -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_ph.pipe 2>&1) Environment - environmentSimulation: diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_ph_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_ph/WaterIF97_ph.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_ph.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches