Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Water.WaterIF97OnePhase_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) 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(Modelica.Media.Examples.Tests.MediaTestModels.Water.WaterIF97OnePhase_ph,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|volume.medium.h|volume.medium.p",fileNamePrefix="Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Water.WaterIF97OnePhase_ph") translateModel(Modelica.Media.Examples.Tests.MediaTestModels.Water.WaterIF97OnePhase_ph,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|volume.medium.h|volume.medium.p",fileNamePrefix="Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Water.WaterIF97OnePhase_ph") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001053/0.001053, allocations: 96.12 kB / 16.94 MB, free: 5.977 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.0009597/0.0009596, allocations: 178.8 kB / 17.82 MB, free: 5.652 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.359/1.359, allocations: 205.4 MB / 224 MB, free: 13.15 MB / 190.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.0004631/0.0004632, allocations: 12 kB / 280.8 MB, free: 3.73 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09155/0.09202, allocations: 47.57 MB / 328.3 MB, free: 4.082 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.Tests.MediaTestModels.Water.WaterIF97OnePhase_ph): time 0.03056/0.1226, allocations: 27.27 MB / 355.6 MB, free: 8.734 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.01876/0.1415, allocations: 13.35 MB / 369 MB, free: 11.36 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006625/0.1422, allocations: 11.94 kB / 369 MB, free: 11.35 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001183/0.1434, allocations: 231 kB / 369.2 MB, free: 11.12 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0009317/0.1444, allocations: 247.3 kB / 369.4 MB, free: 10.88 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01598/0.1604, allocations: 4.527 MB / 374 MB, free: 6.34 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.001245/0.1616, allocations: 0.5583 MB / 374.5 MB, free: 5.781 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003173/0.162, allocations: 92.91 kB / 374.6 MB, free: 5.688 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.006638/0.1686, allocations: 3.286 MB / 377.9 MB, free: 2.398 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004434/0.1691, allocations: 191.2 kB / 378.1 MB, free: 2.211 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 8.165e-05/0.1692, allocations: 16 kB / 378.1 MB, free: 2.195 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.1915/0.3607, allocations: 5.925 MB / 384 MB, free: 16.68 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002276/0.361, allocations: 88.94 kB / 384.1 MB, free: 16.68 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002306/0.3612, allocations: 103.5 kB / 384.2 MB, free: 16.65 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.006588/0.3678, allocations: 2.586 MB / 386.8 MB, free: 16.56 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.447e-06/0.3679, allocations: 0 / 386.8 MB, free: 16.56 MB / 318.1 MB Notification: Performance of FrontEnd: time 2.605e-06/0.3679, allocations: 1.094 kB / 386.8 MB, free: 16.56 MB / 318.1 MB Notification: Performance of Transformations before backend: time 6.412e-06/0.3679, allocations: 0 / 386.8 MB, free: 16.56 MB / 318.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 78 * Number of variables: 78 Notification: Performance of Generate backend data structure: time 0.004665/0.3726, allocations: 0.9068 MB / 387.7 MB, free: 15.96 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.442e-05/0.3726, allocations: 11.88 kB / 387.7 MB, free: 15.96 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001459/0.3741, allocations: 156.5 kB / 387.9 MB, free: 15.94 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004022/0.3745, allocations: 314.8 kB / 388.2 MB, free: 15.72 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.871e-05/0.3745, allocations: 25.03 kB / 388.2 MB, free: 15.72 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.371e-05/0.3746, allocations: 31.91 kB / 388.2 MB, free: 15.72 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001315/0.3759, allocations: 0.5188 MB / 388.7 MB, free: 15.61 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.079e-05/0.376, allocations: 1.312 kB / 388.8 MB, free: 15.61 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.8e-05/0.376, allocations: 16.73 kB / 388.8 MB, free: 15.61 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.694e-05/0.376, allocations: 8.125 kB / 388.8 MB, free: 15.61 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005837/0.3766, allocations: 327.2 kB / 389.1 MB, free: 15.61 MB / 318.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.002578/0.3792, allocations: 2.572 MB / 391.7 MB, free: 13.65 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005571/0.3798, allocations: 271.6 kB / 391.9 MB, free: 13.62 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.06321/0.443, allocations: 31.2 MB / 423.1 MB, free: 6.762 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.536e-05/0.4431, allocations: 41.28 kB / 423.2 MB, free: 6.719 MB / 334.1 MB Notification: Performance of pre-optimization done (n=27): time 2.245e-06/0.4431, allocations: 0 / 423.2 MB, free: 6.719 MB / 334.1 MB Notification: Performance of matching and sorting (n=31): time 0.003701/0.4468, allocations: 1.218 MB / 424.4 MB, free: 5.672 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.785e-05/0.4469, allocations: 55.41 kB / 424.4 MB, free: 5.605 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002648/0.4472, allocations: 258.1 kB / 424.7 MB, free: 5.395 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 3.258e-05/0.4472, allocations: 39.94 kB / 424.7 MB, free: 5.355 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001082/0.4473, allocations: 185.8 kB / 424.9 MB, free: 5.199 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.179e-05/0.4474, allocations: 116.1 kB / 425 MB, free: 5.105 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.739e-05/0.4474, allocations: 8.188 kB / 425 MB, free: 5.102 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001182/0.4476, allocations: 336.4 kB / 425.4 MB, free: 4.777 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001437/0.4477, allocations: 95.17 kB / 425.5 MB, free: 4.719 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002182/0.4479, allocations: 210.3 kB / 425.7 MB, free: 4.504 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001931/0.4481, allocations: 129.1 kB / 425.8 MB, free: 4.434 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.634e-06/0.4481, allocations: 0 / 425.8 MB, free: 4.434 MB / 334.1 MB Notification: Performance of matching and sorting (n=47) (initialization): time 0.0006352/0.4488, allocations: 414.9 kB / 426.2 MB, free: 4.141 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.915e-05/0.4488, allocations: 4.5 kB / 426.2 MB, free: 4.137 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.235e-05/0.4488, allocations: 7.953 kB / 426.2 MB, free: 4.129 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002737/0.4491, allocations: 70.34 kB / 426.3 MB, free: 4.07 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003512/0.4495, allocations: 93.41 kB / 426.4 MB, free: 3.992 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00169/0.4512, allocations: 2.434 MB / 428.8 MB, free: 1.473 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00027/0.4515, allocations: 25.52 kB / 428.8 MB, free: 1.453 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.992e-05/0.4515, allocations: 20.12 kB / 428.8 MB, free: 1.438 MB / 334.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 17 * Number of states: 0 () * Number of discrete variables: 3 (ambient.medium.phase,fixedMassFlowRate.medium.phase,volume.medium.phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (45): * Single equations (assignments): 42 * 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: 2 * 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: 2 {1 1,1 1} Notification: Performance of prepare postOptimizeDAE: time 0.0001936/0.4517, allocations: 168.6 kB / 429 MB, free: 1.297 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.263e-05/0.4518, allocations: 29.73 kB / 429 MB, free: 1.27 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001026/0.4528, allocations: 0.8684 MB / 429.9 MB, free: 0.6992 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.121e-05/0.4528, allocations: 7.984 kB / 429.9 MB, free: 0.6914 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.684e-06/0.4528, allocations: 0 / 429.9 MB, free: 0.6914 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0008906/0.4537, allocations: 1.047 MB / 431 MB, free: 15.82 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001674/0.4554, allocations: 1.486 MB / 432.5 MB, free: 14.73 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.459e-06/0.4554, allocations: 0 / 432.5 MB, free: 14.73 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002041/0.4556, allocations: 55.25 kB / 432.5 MB, free: 14.68 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003246/0.456, allocations: 77.61 kB / 432.6 MB, free: 14.62 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.218e-05/0.456, allocations: 15.19 kB / 432.6 MB, free: 14.61 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003258/0.4563, allocations: 0.5858 MB / 433.2 MB, free: 14.04 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.052e-06/0.4564, allocations: 3.188 kB / 433.2 MB, free: 14.04 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008377/0.4572, allocations: 0.8244 MB / 434 MB, free: 13.46 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001107/0.4573, allocations: 133.7 kB / 434.1 MB, free: 13.32 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.151e-05/0.4574, allocations: 9.625 kB / 434.1 MB, free: 13.31 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003491/0.4577, allocations: 43.92 kB / 434.2 MB, free: 13.27 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.486e-05/0.4578, allocations: 15.67 kB / 434.2 MB, free: 13.26 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.314e-05/0.4578, allocations: 14.98 kB / 434.2 MB, free: 13.25 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0002233/0.458, allocations: 235.9 kB / 434.5 MB, free: 13.07 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.042e-06/0.4581, allocations: 8 kB / 434.5 MB, free: 13.06 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.00462/0.4627, allocations: 0.8561 MB / 435.3 MB, free: 12.24 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (volume.medium.p,volume.medium.h) * Number of discrete variables: 4 ($cse2.phase,$cse2.region,$cse3.phase,$cse3.region) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (32): * Single equations (assignments): 29 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 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.007668/0.4704, allocations: 0.9691 MB / 436.3 MB, free: 11.38 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.001117/0.4715, allocations: 473.6 kB / 436.7 MB, free: 11.02 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 3.837e-06/0.4715, allocations: 0 / 436.7 MB, free: 11.02 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003732/0.4719, allocations: 244.5 kB / 437 MB, free: 10.88 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001132/0.4731, allocations: 186.4 kB / 437.2 MB, free: 10.73 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001709/0.4748, allocations: 1.205 MB / 438.4 MB, free: 9.648 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003831/0.4752, allocations: 0.8281 MB / 439.2 MB, free: 8.801 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0004326/0.4756, allocations: 183.9 kB / 439.4 MB, free: 8.629 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.805e-05/0.4757, allocations: 35.42 kB / 439.4 MB, free: 8.594 MB / 350.1 MB Notification: Performance of SimCode: time 5.11e-07/0.4757, allocations: 0 / 439.4 MB, free: 8.594 MB / 350.1 MB Notification: Performance of Templates: time 0.05782/0.5335, allocations: 34.8 MB / 474.2 MB, free: 5.93 MB / 382.1 MB make -j1 -f Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Water.WaterIF97OnePhase_ph.makefile Environment - environmentSimulation: (rm -f Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Water.WaterIF97OnePhase_ph.pipe ; mkfifo Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Water.WaterIF97OnePhase_ph.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Water.WaterIF97OnePhase_ph.pipe >> ../files/Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Water.WaterIF97OnePhase_ph.sim & ./Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Water.WaterIF97OnePhase_ph -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Water.WaterIF97OnePhase_ph.pipe 2>&1) Environment - environmentSimulation: diffSimulationResults("Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Water.WaterIF97OnePhase_ph_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Media/Examples/Tests/MediaTestModels/Water/WaterIF97OnePhase_ph/WaterIF97OnePhase_ph.csv","../files/Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Water.WaterIF97OnePhase_ph.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches