Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Water.WaterIF97_ph.conf.json
loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180]
"Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001338/0.001338, allocations: 106 kB / 21.18 MB, free: 0.7188 MB / 14.72 MB
"
[Timeout remaining time 180]
loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180]
"Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001341/0.001341, allocations: 189.3 kB / 24.47 MB, free: 4.094 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.453/1.453, allocations: 207.6 MB / 235.2 MB, free: 10.03 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.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.WaterIF97_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.WaterIF97_ph")
translateModel(Modelica.Media.Examples.Tests.MediaTestModels.Water.WaterIF97_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.WaterIF97_ph") [Timeout 660]
"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.001757/0.001757, allocations: 47.92 kB / 347.7 MB, free: 9.621 MB / 286.1 MB
Notification: Performance of FrontEnd - Absyn->SCode: time 0.2846/0.2864, allocations: 49.16 MB / 396.9 MB, free: 9.5 MB / 318.1 MB
Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.Tests.MediaTestModels.Water.WaterIF97_ph): time 0.03695/0.3233, allocations: 33.03 MB / 429.9 MB, free: 0.6953 MB / 334.1 MB
Notification: Performance of NFInst.instExpressions: time 0.02185/0.3452, allocations: 15.86 MB / 445.7 MB, free: 2.418 MB / 350.1 MB
Notification: Performance of NFInst.updateImplicitVariability: time 0.0004895/0.3456, allocations: 7.938 kB / 445.8 MB, free: 2.41 MB / 350.1 MB
Notification: Performance of NFTyping.typeComponents: time 0.0009767/0.3466, allocations: 270.4 kB / 446 MB, free: 2.145 MB / 350.1 MB
Notification: Performance of NFTyping.typeBindings: time 0.0008368/0.3475, allocations: 369.9 kB / 446.4 MB, free: 1.781 MB / 350.1 MB
Notification: Performance of NFTyping.typeClassSections: time 0.01841/0.3659, allocations: 5.795 MB / 452.2 MB, free: 11.97 MB / 366.1 MB
Notification: Performance of NFFlatten.flatten: time 0.001539/0.3674, allocations: 1.005 MB / 453.2 MB, free: 10.96 MB / 366.1 MB
Notification: Performance of NFFlatten.resolveConnections: time 0.0002301/0.3676, allocations: 89.16 kB / 453.3 MB, free: 10.87 MB / 366.1 MB
Notification: Performance of NFEvalConstants.evaluate: time 0.005117/0.3728, allocations: 2.212 MB / 455.5 MB, free: 8.629 MB / 366.1 MB
Notification: Performance of NFSimplifyModel.simplify: time 0.0005205/0.3733, allocations: 322.8 kB / 455.8 MB, free: 8.312 MB / 366.1 MB
Notification: Performance of NFPackage.collectConstants: time 6.451e-05/0.3733, allocations: 44 kB / 455.8 MB, free: 8.27 MB / 366.1 MB
Notification: Performance of NFFlatten.collectFunctions: time 0.01391/0.3873, allocations: 6.08 MB / 461.9 MB, free: 2.184 MB / 366.1 MB
Notification: Performance of NFScalarize.scalarize: time 0.0002191/0.3875, allocations: 123.5 kB / 462 MB, free: 2.062 MB / 366.1 MB
Notification: Performance of NFVerifyModel.verify: time 0.0004098/0.3879, allocations: 219.2 kB / 462.3 MB, free: 1.848 MB / 366.1 MB
Notification: Performance of NFConvertDAE.convert: time 0.009885/0.3978, allocations: 3.792 MB / 466 MB, free: 14.05 MB / 382.1 MB
Notification: Performance of FrontEnd - DAE generated: time 4.338e-06/0.3978, allocations: 0 / 466 MB, free: 14.05 MB / 382.1 MB
Notification: Performance of FrontEnd: time 8.32e-07/0.3978, allocations: 0 / 466 MB, free: 14.05 MB / 382.1 MB
Notification: Performance of Transformations before backend: time 8.105e-06/0.3978, allocations: 4 kB / 466 MB, free: 14.04 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: 78
 * Number of variables: 78
Notification: Performance of Generate backend data structure: time 0.002674/0.4005, allocations: 0.9707 MB / 467 MB, free: 13.04 MB / 382.1 MB
Notification: Performance of prepare preOptimizeDAE: time 4.335e-05/0.4005, allocations: 15.98 kB / 467 MB, free: 13.02 MB / 382.1 MB
Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001311/0.4018, allocations: 156.6 kB / 467.2 MB, free: 12.87 MB / 382.1 MB
Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005056/0.4023, allocations: 257.9 kB / 467.4 MB, free: 12.59 MB / 382.1 MB
Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.779e-05/0.4024, allocations: 29.03 kB / 467.5 MB, free: 12.57 MB / 382.1 MB
Notification: Performance of preOpt expandDerOperator (simulation): time 6.219e-05/0.4024, allocations: 36.36 kB / 467.5 MB, free: 12.53 MB / 382.1 MB
Notification: Performance of preOpt clockPartitioning (simulation): time 0.001515/0.4039, allocations: 0.5504 MB / 468.1 MB, free: 11.94 MB / 382.1 MB
Notification: Performance of preOpt findStateOrder (simulation): time 1.918e-05/0.404, allocations: 0 / 468.1 MB, free: 11.94 MB / 382.1 MB
Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.318e-05/0.404, allocations: 12 kB / 468.1 MB, free: 11.93 MB / 382.1 MB
Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.207e-05/0.404, allocations: 8 kB / 468.1 MB, free: 11.92 MB / 382.1 MB
Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001546/0.4056, allocations: 0.5097 MB / 468.6 MB, free: 11.41 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.003289/0.4088, allocations: 2.491 MB / 471.1 MB, free: 8.688 MB / 382.1 MB
Notification: Performance of preOpt comSubExp (simulation): time 0.001489/0.4103, allocations: 430.3 kB / 471.5 MB, free: 8.258 MB / 382.1 MB
Notification: Performance of preOpt resolveLoops (simulation): time 0.0004122/0.4107, allocations: 160.8 kB / 471.7 MB, free: 8.098 MB / 382.1 MB
Notification: Performance of preOpt evalFunc (simulation): time 0.0006418/0.4114, allocations: 183.8 kB / 471.8 MB, free: 7.918 MB / 382.1 MB
Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.713e-05/0.4114, allocations: 38.56 kB / 471.9 MB, free: 7.871 MB / 382.1 MB
Notification: Performance of pre-optimization done (n=30): time 1.703e-06/0.4114, allocations: 0 / 471.9 MB, free: 7.871 MB / 382.1 MB
Notification: Performance of matching and sorting (n=34): time 0.004637/0.4161, allocations: 1.367 MB / 473.2 MB, free: 6.465 MB / 382.1 MB
Notification: Performance of inlineWhenForInitialization (initialization): time 5.138e-05/0.4161, allocations: 55.41 kB / 473.3 MB, free: 6.398 MB / 382.1 MB
Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002975/0.4164, allocations: 249 kB / 473.5 MB, free: 6.148 MB / 382.1 MB
Notification: Performance of collectPreVariables (initialization): time 3.711e-05/0.4165, allocations: 33.7 kB / 473.6 MB, free: 6.109 MB / 382.1 MB
Notification: Performance of collectInitialEqns (initialization): time 0.0001453/0.4166, allocations: 184.5 kB / 473.7 MB, free: 5.922 MB / 382.1 MB
Notification: Performance of collectInitialBindings (initialization): time 0.0001026/0.4167, allocations: 119 kB / 473.9 MB, free: 5.805 MB / 382.1 MB
Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001261/0.4168, allocations: 82.08 kB / 473.9 MB, free: 5.719 MB / 382.1 MB
Notification: Performance of setup shared object (initialization): time 0.0001811/0.417, allocations: 338.8 kB / 474.3 MB, free: 5.379 MB / 382.1 MB
Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003936/0.4174, allocations: 140.8 kB / 474.4 MB, free: 5.242 MB / 382.1 MB
Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004687/0.4179, allocations: 239.4 kB / 474.6 MB, free: 4.965 MB / 382.1 MB
Notification: Performance of analyzeInitialSystem (initialization): time 0.0008432/0.4187, allocations: 394.8 kB / 475 MB, free: 4.539 MB / 382.1 MB
Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.987e-06/0.4187, allocations: 4 kB / 475 MB, free: 4.535 MB / 382.1 MB
Notification: Performance of matching and sorting (n=47) (initialization): time 0.001237/0.42, allocations: 0.5038 MB / 475.5 MB, free: 4.016 MB / 382.1 MB
Notification: Performance of prepare postOptimizeDAE: time 2.222e-05/0.42, allocations: 12 kB / 475.5 MB, free: 4.004 MB / 382.1 MB
Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.897e-06/0.42, allocations: 3.938 kB / 475.6 MB, free: 4 MB / 382.1 MB
Notification: Performance of postOpt tearingSystem (initialization): time 0.0004946/0.4205, allocations: 106.5 kB / 475.7 MB, free: 3.887 MB / 382.1 MB
Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003415/0.4208, allocations: 91.77 kB / 475.7 MB, free: 3.797 MB / 382.1 MB
Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002094/0.4229, allocations: 2.403 MB / 478.2 MB, free: 1.23 MB / 382.1 MB
Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002568/0.4232, allocations: 28.17 kB / 478.2 MB, free: 1.203 MB / 382.1 MB
Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.722e-05/0.4232, allocations: 23.98 kB / 478.2 MB, free: 1.18 MB / 382.1 MB
Notification: Model statistics after passing the back-end for initialization:
 * Number of independent subsystems: 13
 * Number of states: 0 ()
 * Number of discrete variables: 3 (fixedMassFlowRate.medium.phase,volume.medium.phase,ambient.medium.phase)
 * Number of discrete states: 0 ()
 * Number of clocked states: 0 ()
 * Top-level inputs: 0
Notification: Strong component statistics for initialization (44):
 * Single equations (assignments): 41
 * Array equations: 0
 * Algorithm blocks: 0
 * Record equations: 0
 * When equations: 0
 * If-equations: 0
 * Equation systems (not torn): 0
 * Torn equation systems: 3
 * 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): 3 systems
   {(1,1), (1,1), (1,1)}
Notification: Performance of prepare postOptimizeDAE: time 0.0002039/0.4234, allocations: 157.7 kB / 478.4 MB, free: 1.016 MB / 382.1 MB
Notification: Performance of postOpt lateInlineFunction (simulation): time 7.691e-05/0.4235, allocations: 35.81 kB / 478.4 MB, free: 0.9805 MB / 382.1 MB
Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002027/0.4255, allocations: 1.367 MB / 479.8 MB, free: 15.6 MB / 398.1 MB
Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.37e-05/0.4255, allocations: 19.97 kB / 479.8 MB, free: 15.58 MB / 398.1 MB
Notification: Performance of postOpt constantLinearSystem (simulation): time 1.904e-06/0.4256, allocations: 0 / 479.8 MB, free: 15.58 MB / 398.1 MB
Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001803/0.4274, allocations: 1.464 MB / 481.2 MB, free: 14.03 MB / 398.1 MB
Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002832/0.4302, allocations: 2.128 MB / 483.4 MB, free: 11.83 MB / 398.1 MB
Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.462e-06/0.4302, allocations: 0 / 483.4 MB, free: 11.83 MB / 398.1 MB
Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000399/0.4306, allocations: 95.92 kB / 483.5 MB, free: 11.73 MB / 398.1 MB
Notification: Performance of postOpt tearingSystem (simulation): time 0.0003501/0.4309, allocations: 76.73 kB / 483.5 MB, free: 11.66 MB / 398.1 MB
Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.679e-05/0.431, allocations: 12 kB / 483.5 MB, free: 11.64 MB / 398.1 MB
Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004333/0.4314, allocations: 0.5991 MB / 484.1 MB, free: 11.02 MB / 398.1 MB
Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.22e-07/0.4314, allocations: 0 / 484.1 MB, free: 11.02 MB / 398.1 MB
Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001902/0.4333, allocations: 1.307 MB / 485.5 MB, free: 9.695 MB / 398.1 MB
Notification: Performance of postOpt removeConstants (simulation): time 8.038e-05/0.4334, allocations: 59.48 kB / 485.5 MB, free: 9.637 MB / 398.1 MB
Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.526e-05/0.4334, allocations: 19.91 kB / 485.5 MB, free: 9.617 MB / 398.1 MB
Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002495/0.4337, allocations: 27.98 kB / 485.6 MB, free: 9.59 MB / 398.1 MB
Notification: Performance of postOpt findZeroCrossings (simulation): time 8.762e-05/0.4338, allocations: 35.92 kB / 485.6 MB, free: 9.555 MB / 398.1 MB
Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.833e-05/0.4338, allocations: 16 kB / 485.6 MB, free: 9.539 MB / 398.1 MB
Notification: Performance of sorting global known variables: time 0.0002586/0.4341, allocations: 235 kB / 485.8 MB, free: 9.312 MB / 398.1 MB
Notification: Performance of sort global known variables: time 8e-08/0.4341, allocations: 0 / 485.8 MB, free: 9.312 MB / 398.1 MB
Notification: Performance of remove unused functions: time 0.002894/0.437, allocations: 0.8618 MB / 486.7 MB, free: 8.449 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: 11 ($cse1.phase,$cse1.region,$cse4.phase,$cse4.region,$cse5.region3boundary,$cse6.region3boundary,$cse7.phase,$cse7.region,volume.medium.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 (38):
 * Single equations (assignments): 32
 * Array equations: 0
 * Algorithm blocks: 0
 * Record equations: 5
 * 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.003408/0.4404, allocations: 0.9814 MB / 487.7 MB, free: 7.453 MB / 398.1 MB
Notification: Performance of simCode: created initialization part: time 0.001442/0.4418, allocations: 0.642 MB / 488.3 MB, free: 6.797 MB / 398.1 MB
Notification: Performance of simCode: created event and clocks part: time 3.427e-06/0.4418, allocations: 0.6875 kB / 488.3 MB, free: 6.797 MB / 398.1 MB
Notification: Performance of simCode: created simulation system equations: time 0.0006877/0.4425, allocations: 386 kB / 488.7 MB, free: 6.422 MB / 398.1 MB
Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001053/0.4436, allocations: 196.8 kB / 488.9 MB, free: 6.23 MB / 398.1 MB
Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002117/0.4457, allocations: 1.287 MB / 490.2 MB, free: 4.914 MB / 398.1 MB
Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005497/0.4462, allocations: 0.8766 MB / 491.1 MB, free: 4.008 MB / 398.1 MB
Notification: Performance of simCode: alias equations: time 0.0003704/0.4466, allocations: 151 kB / 491.2 MB, free: 3.863 MB / 398.1 MB
Notification: Performance of simCode: all other stuff during SimCode phase: time 8.624e-05/0.4467, allocations: 31.44 kB / 491.2 MB, free: 3.832 MB / 398.1 MB
Notification: Performance of SimCode: time 1.031e-06/0.4467, allocations: 0 / 491.2 MB, free: 3.832 MB / 398.1 MB
Notification: Performance of Templates: time 0.05461/0.5013, allocations: 36.4 MB / 0.5153 GB, free: 15.36 MB / 446.1 MB
"
[Timeout remaining time 659]
make -j1 -f Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Water.WaterIF97_ph.makefile [Timeout 660]
(rm -f Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Water.WaterIF97_ph.pipe ; mkfifo Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Water.WaterIF97_ph.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Water.WaterIF97_ph.pipe >> ../files/Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Water.WaterIF97_ph.sim & ./Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Water.WaterIF97_ph  -abortSlowSimulation -alarm=480  -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Water.WaterIF97_ph.pipe 2>&1) [Timeout 480]
diffSimulationResults("Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Water.WaterIF97_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/WaterIF97_ph/WaterIF97_ph.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Water.WaterIF97_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: 7.185301201418042]