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.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001971/0.001971, allocations: 102.6 kB / 21.93 MB, free: 5.203 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.002169/0.002169, allocations: 202.2 kB / 25.22 MB, free: 3.141 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.522/1.522, allocations: 207.7 MB / 236.1 MB, free: 9.781 MB / 190.1 MB " [Timeout remaining time 178] 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.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Modelica.Media.Examples.Tests.MediaTestModels.Water.WaterIF97OnePhase_ph,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,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=5002,variableFilter="time|volume.medium.h|volume.medium.p",fileNamePrefix="Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Water.WaterIF97OnePhase_ph") [Timeout 660] "Notification: Modelica requested package Complex of version 3.2.3. Complex 4.1.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.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002064/0.002064, allocations: 59.92 kB / 348.5 MB, free: 9.34 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.271/0.2731, allocations: 49.16 MB / 397.6 MB, free: 9.414 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.Tests.MediaTestModels.Water.WaterIF97OnePhase_ph): time 0.03348/0.3066, allocations: 29.83 MB / 427.5 MB, free: 3.996 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.01965/0.3262, allocations: 14.01 MB / 441.5 MB, free: 7.25 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004687/0.3267, allocations: 7.938 kB / 441.5 MB, free: 7.242 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008892/0.3276, allocations: 238.5 kB / 441.7 MB, free: 7.008 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0008502/0.3284, allocations: 365.9 kB / 442.1 MB, free: 6.648 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01778/0.3462, allocations: 5.731 MB / 447.8 MB, free: 0.9023 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.001592/0.3478, allocations: 1.017 MB / 448.8 MB, free: 15.88 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000236/0.348, allocations: 77.17 kB / 448.9 MB, free: 15.8 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005247/0.3533, allocations: 2.2 MB / 451.1 MB, free: 13.57 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005169/0.3538, allocations: 302.8 kB / 451.4 MB, free: 13.28 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 7.338e-05/0.3539, allocations: 40 kB / 451.4 MB, free: 13.24 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01229/0.3661, allocations: 5.822 MB / 457.3 MB, free: 7.41 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002334/0.3664, allocations: 115.6 kB / 457.4 MB, free: 7.297 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003707/0.3668, allocations: 203.4 kB / 457.6 MB, free: 7.098 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.009685/0.3764, allocations: 3.8 MB / 461.4 MB, free: 3.289 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.298e-06/0.3764, allocations: 0 / 461.4 MB, free: 3.289 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.823e-06/0.3764, allocations: 0 / 461.4 MB, free: 3.289 MB / 366.1 MB Notification: Performance of Transformations before backend: time 1.543e-05/0.3765, allocations: 0 / 461.4 MB, free: 3.289 MB / 366.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.002372/0.3788, allocations: 0.9395 MB / 462.3 MB, free: 2.316 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.525e-05/0.3789, allocations: 11.98 kB / 462.3 MB, free: 2.305 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001366/0.3802, allocations: 156.6 kB / 462.5 MB, free: 2.152 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005752/0.3808, allocations: 257.9 kB / 462.7 MB, free: 1.875 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.672e-05/0.3808, allocations: 32.97 kB / 462.8 MB, free: 1.844 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.673e-05/0.3809, allocations: 28.38 kB / 462.8 MB, free: 1.816 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001406/0.3823, allocations: 0.749 MB / 463.5 MB, free: 0.9727 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.091e-05/0.3823, allocations: 3.938 kB / 463.5 MB, free: 0.9688 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.484e-05/0.3824, allocations: 16 kB / 463.6 MB, free: 0.9531 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.364e-05/0.3824, allocations: 8 kB / 463.6 MB, free: 0.9453 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006458/0.383, allocations: 322.3 kB / 463.9 MB, free: 0.6328 MB / 366.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.002785/0.3858, allocations: 1.673 MB / 465.6 MB, free: 14.89 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006114/0.3864, allocations: 266.8 kB / 465.8 MB, free: 14.62 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000174/0.3866, allocations: 100.8 kB / 465.9 MB, free: 14.52 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.06001/0.4466, allocations: 16.84 MB / 482.8 MB, free: 13.66 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.958e-05/0.4467, allocations: 46.44 kB / 482.8 MB, free: 13.6 MB / 398.1 MB Notification: Performance of pre-optimization done (n=27): time 2.505e-06/0.4467, allocations: 4 kB / 482.8 MB, free: 13.6 MB / 398.1 MB Notification: Performance of matching and sorting (n=31): time 0.003707/0.4504, allocations: 1.057 MB / 483.9 MB, free: 12.5 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.335e-05/0.4504, allocations: 55.41 kB / 483.9 MB, free: 12.43 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002673/0.4507, allocations: 223 kB / 484.1 MB, free: 12.21 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 4.667e-05/0.4507, allocations: 37.64 kB / 484.2 MB, free: 12.16 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001465/0.4509, allocations: 196.3 kB / 484.4 MB, free: 11.96 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.32e-05/0.451, allocations: 115 kB / 484.5 MB, free: 11.85 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000114/0.4511, allocations: 82.08 kB / 484.6 MB, free: 11.77 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001451/0.4512, allocations: 334.8 kB / 484.9 MB, free: 11.43 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001798/0.4514, allocations: 104.8 kB / 485 MB, free: 11.33 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002817/0.4517, allocations: 214.8 kB / 485.2 MB, free: 11.06 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004713/0.4522, allocations: 338.3 kB / 485.5 MB, free: 10.68 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.681e-06/0.4522, allocations: 7.938 kB / 485.5 MB, free: 10.67 MB / 398.1 MB Notification: Performance of matching and sorting (n=47) (initialization): time 0.0007568/0.4529, allocations: 414.8 kB / 485.9 MB, free: 10.25 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.74e-05/0.4529, allocations: 4 kB / 485.9 MB, free: 10.25 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.05e-05/0.4529, allocations: 4 kB / 485.9 MB, free: 10.25 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002964/0.4532, allocations: 62.19 kB / 486 MB, free: 10.18 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003839/0.4536, allocations: 87.89 kB / 486.1 MB, free: 10.09 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001899/0.4555, allocations: 2.398 MB / 488.5 MB, free: 7.551 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002114/0.4557, allocations: 8 kB / 488.5 MB, free: 7.543 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.945e-05/0.4558, allocations: 27.92 kB / 488.5 MB, free: 7.516 MB / 398.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 (not torn): 1 * Torn equation systems: 2 * 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): 2 systems {(1,1), (1,1)} Notification: Performance of prepare postOptimizeDAE: time 0.000251/0.456, allocations: 170 kB / 488.7 MB, free: 7.34 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.825e-05/0.4561, allocations: 27.86 kB / 488.7 MB, free: 7.312 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001188/0.4573, allocations: 0.8943 MB / 489.6 MB, free: 6.402 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.17e-05/0.4573, allocations: 7.984 kB / 489.6 MB, free: 6.395 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.984e-06/0.4573, allocations: 0 / 489.6 MB, free: 6.395 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001029/0.4584, allocations: 1.073 MB / 490.7 MB, free: 5.234 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001794/0.4602, allocations: 1.34 MB / 492 MB, free: 3.852 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.809e-06/0.4602, allocations: 0 / 492 MB, free: 3.852 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002229/0.4604, allocations: 51.91 kB / 492.1 MB, free: 3.801 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003252/0.4607, allocations: 80.75 kB / 492.2 MB, free: 3.719 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.799e-05/0.4607, allocations: 11.92 kB / 492.2 MB, free: 3.707 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000428/0.4612, allocations: 0.5914 MB / 492.8 MB, free: 3.09 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.724e-06/0.4612, allocations: 0 / 492.8 MB, free: 3.09 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001088/0.4623, allocations: 0.8426 MB / 493.6 MB, free: 2.227 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.117e-05/0.4623, allocations: 47.66 kB / 493.7 MB, free: 2.18 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.301e-05/0.4624, allocations: 16.09 kB / 493.7 MB, free: 2.164 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002985/0.4627, allocations: 19.98 kB / 493.7 MB, free: 2.145 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.338e-05/0.4627, allocations: 19.95 kB / 493.7 MB, free: 2.125 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.51e-05/0.4628, allocations: 15.98 kB / 493.7 MB, free: 2.109 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0002312/0.463, allocations: 209.2 kB / 493.9 MB, free: 1.902 MB / 398.1 MB Notification: Performance of sort global known variables: time 9e-08/0.463, allocations: 0 / 493.9 MB, free: 1.902 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.002434/0.4654, allocations: 0.8656 MB / 494.8 MB, free: 1.035 MB / 398.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 (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 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 {(1,1)} Notification: Performance of Backend phase and start with SimCode phase: time 0.004277/0.4697, allocations: 0.9698 MB / 495.8 MB, free: 56 kB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.001061/0.4708, allocations: 484.5 kB / 496.2 MB, free: 15.57 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 3.757e-06/0.4708, allocations: 0 / 496.2 MB, free: 15.57 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004051/0.4712, allocations: 248.3 kB / 496.5 MB, free: 15.32 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009925/0.4722, allocations: 164.4 kB / 496.6 MB, free: 15.16 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001855/0.474, allocations: 1.025 MB / 497.7 MB, free: 14.11 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002295/0.4743, allocations: 217 kB / 497.9 MB, free: 13.87 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.206e-05/0.4743, allocations: 35.44 kB / 497.9 MB, free: 13.84 MB / 414.1 MB Notification: Performance of SimCode: time 7.01e-07/0.4743, allocations: 3.938 kB / 497.9 MB, free: 13.83 MB / 414.1 MB Notification: Performance of Templates: time 0.03709/0.5114, allocations: 22.85 MB / 0.5086 GB, free: 6.945 MB / 430.1 MB " [Timeout remaining time 659] make -j1 -f Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Water.WaterIF97OnePhase_ph.makefile [Timeout 660] (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) [Timeout 480] diffSimulationResults("Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Water.WaterIF97OnePhase_ph_res.mat","/var/lib/jenkins1/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","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Water.WaterIF97OnePhase_ph.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 10.263116949237883]