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_pT.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.001329/0.001329, allocations: 106 kB / 21.18 MB, free: 0.6992 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.001406/0.001406, allocations: 181.2 kB / 24.46 MB, free: 4.062 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.479/1.479, allocations: 207.6 MB / 235.2 MB, free: 10.02 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_pT,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|volume.medium.T|volume.medium.p",fileNamePrefix="Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Water.WaterIF97_pT")
translateModel(Modelica.Media.Examples.Tests.MediaTestModels.Water.WaterIF97_pT,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|volume.medium.T|volume.medium.p",fileNamePrefix="Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Water.WaterIF97_pT") [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.001943/0.001943, allocations: 47.92 kB / 347.7 MB, free: 9.539 MB / 286.1 MB
Notification: Performance of FrontEnd - Absyn->SCode: time 0.2798/0.2818, allocations: 49.16 MB / 396.8 MB, free: 9.527 MB / 318.1 MB
Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.Tests.MediaTestModels.Water.WaterIF97_pT): time 0.03456/0.3163, allocations: 33.03 MB / 429.9 MB, free: 0.7188 MB / 334.1 MB
Notification: Performance of NFInst.instExpressions: time 0.0219/0.3382, allocations: 15.86 MB / 445.7 MB, free: 2.41 MB / 350.1 MB
Notification: Performance of NFInst.updateImplicitVariability: time 0.000354/0.3386, allocations: 7.938 kB / 445.7 MB, free: 2.402 MB / 350.1 MB
Notification: Performance of NFTyping.typeComponents: time 0.0009351/0.3395, allocations: 274.4 kB / 446 MB, free: 2.133 MB / 350.1 MB
Notification: Performance of NFTyping.typeBindings: time 0.0008652/0.3404, allocations: 365.9 kB / 446.4 MB, free: 1.773 MB / 350.1 MB
Notification: Performance of NFTyping.typeClassSections: time 0.01995/0.3603, allocations: 5.803 MB / 452.2 MB, free: 11.95 MB / 366.1 MB
Notification: Performance of NFFlatten.flatten: time 0.001562/0.3619, allocations: 0.9932 MB / 453.2 MB, free: 10.95 MB / 366.1 MB
Notification: Performance of NFFlatten.resolveConnections: time 0.0002147/0.3621, allocations: 89.09 kB / 453.3 MB, free: 10.86 MB / 366.1 MB
Notification: Performance of NFEvalConstants.evaluate: time 0.005155/0.3673, allocations: 2.197 MB / 455.5 MB, free: 8.641 MB / 366.1 MB
Notification: Performance of NFSimplifyModel.simplify: time 0.000475/0.3677, allocations: 310.8 kB / 455.8 MB, free: 8.336 MB / 366.1 MB
Notification: Performance of NFPackage.collectConstants: time 5.499e-05/0.3678, allocations: 36 kB / 455.8 MB, free: 8.301 MB / 366.1 MB
Notification: Performance of NFFlatten.collectFunctions: time 0.007379/0.3752, allocations: 3.617 MB / 459.4 MB, free: 4.68 MB / 366.1 MB
Notification: Performance of NFScalarize.scalarize: time 0.0001685/0.3753, allocations: 107.6 kB / 459.5 MB, free: 4.574 MB / 366.1 MB
Notification: Performance of NFVerifyModel.verify: time 0.0002864/0.3756, allocations: 223.1 kB / 459.7 MB, free: 4.355 MB / 366.1 MB
Notification: Performance of NFConvertDAE.convert: time 0.003813/0.3794, allocations: 2.358 MB / 462.1 MB, free: 1.992 MB / 366.1 MB
Notification: Performance of FrontEnd - DAE generated: time 4.398e-06/0.3795, allocations: 0 / 462.1 MB, free: 1.992 MB / 366.1 MB
Notification: Performance of FrontEnd: time 1.844e-06/0.3795, allocations: 0 / 462.1 MB, free: 1.992 MB / 366.1 MB
Notification: Performance of Transformations before backend: time 7.695e-06/0.3795, allocations: 0 / 462.1 MB, free: 1.992 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.001702/0.3812, allocations: 0.7614 MB / 462.8 MB, free: 1.199 MB / 366.1 MB
Notification: Performance of prepare preOptimizeDAE: time 4.005e-05/0.3812, allocations: 15.98 kB / 462.9 MB, free: 1.184 MB / 366.1 MB
Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00076/0.382, allocations: 92.58 kB / 463 MB, free: 1.094 MB / 366.1 MB
Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004591/0.3824, allocations: 238 kB / 463.2 MB, free: 0.8359 MB / 366.1 MB
Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.112e-05/0.3825, allocations: 28.97 kB / 463.2 MB, free: 0.8086 MB / 366.1 MB
Notification: Performance of preOpt expandDerOperator (simulation): time 6.441e-05/0.3825, allocations: 32.36 kB / 463.2 MB, free: 0.7773 MB / 366.1 MB
Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009012/0.3834, allocations: 450.3 kB / 463.7 MB, free: 296 kB / 366.1 MB
Notification: Performance of preOpt findStateOrder (simulation): time 2.237e-05/0.3835, allocations: 4 kB / 463.7 MB, free: 292 kB / 366.1 MB
Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.038e-05/0.3835, allocations: 20 kB / 463.7 MB, free: 272 kB / 366.1 MB
Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.271e-05/0.3835, allocations: 8 kB / 463.7 MB, free: 264 kB / 366.1 MB
Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006449/0.3841, allocations: 318.2 kB / 464 MB, free: 15.95 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.003001/0.3871, allocations: 2.512 MB / 466.5 MB, free: 13.21 MB / 382.1 MB
Notification: Performance of preOpt comSubExp (simulation): time 0.0005659/0.3877, allocations: 246.5 kB / 466.8 MB, free: 12.96 MB / 382.1 MB
Notification: Performance of preOpt resolveLoops (simulation): time 0.0001727/0.3879, allocations: 104.8 kB / 466.9 MB, free: 12.86 MB / 382.1 MB
Notification: Performance of preOpt evalFunc (simulation): time 0.02933/0.4172, allocations: 8.307 MB / 475.2 MB, free: 4.543 MB / 382.1 MB
Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.33e-05/0.4173, allocations: 38.56 kB / 475.2 MB, free: 4.496 MB / 382.1 MB
Notification: Performance of pre-optimization done (n=25): time 2.064e-06/0.4173, allocations: 0 / 475.2 MB, free: 4.496 MB / 382.1 MB
Notification: Performance of matching and sorting (n=30): time 0.004669/0.422, allocations: 1.151 MB / 476.4 MB, free: 3.305 MB / 382.1 MB
Notification: Performance of inlineWhenForInitialization (initialization): time 4.109e-05/0.422, allocations: 59.41 kB / 476.4 MB, free: 3.234 MB / 382.1 MB
Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003162/0.4223, allocations: 269.8 kB / 476.7 MB, free: 2.961 MB / 382.1 MB
Notification: Performance of collectPreVariables (initialization): time 3.122e-05/0.4223, allocations: 29.7 kB / 476.7 MB, free: 2.926 MB / 382.1 MB
Notification: Performance of collectInitialEqns (initialization): time 0.0001513/0.4225, allocations: 196.4 kB / 476.9 MB, free: 2.73 MB / 382.1 MB
Notification: Performance of collectInitialBindings (initialization): time 0.0001022/0.4226, allocations: 119 kB / 477 MB, free: 2.613 MB / 382.1 MB
Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001151/0.4227, allocations: 78.08 kB / 477.1 MB, free: 2.531 MB / 382.1 MB
Notification: Performance of setup shared object (initialization): time 0.0001706/0.4229, allocations: 338.8 kB / 477.4 MB, free: 2.191 MB / 382.1 MB
Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001893/0.4231, allocations: 100.8 kB / 477.5 MB, free: 2.094 MB / 382.1 MB
Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003013/0.4234, allocations: 222.9 kB / 477.8 MB, free: 1.82 MB / 382.1 MB
Notification: Performance of analyzeInitialSystem (initialization): time 0.0005268/0.4239, allocations: 362.3 kB / 478.1 MB, free: 1.414 MB / 382.1 MB
Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.613e-06/0.4239, allocations: 4 kB / 478.1 MB, free: 1.41 MB / 382.1 MB
Notification: Performance of matching and sorting (n=48) (initialization): time 0.0008219/0.4247, allocations: 431.1 kB / 478.5 MB, free: 0.9766 MB / 382.1 MB
Notification: Performance of prepare postOptimizeDAE: time 2.342e-05/0.4247, allocations: 16.05 kB / 478.6 MB, free: 0.9609 MB / 382.1 MB
Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.277e-05/0.4248, allocations: 8 kB / 478.6 MB, free: 0.9531 MB / 382.1 MB
Notification: Performance of postOpt tearingSystem (initialization): time 0.003198/0.428, allocations: 257.4 kB / 478.8 MB, free: 0.6953 MB / 382.1 MB
Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003229/0.4283, allocations: 87.77 kB / 478.9 MB, free: 0.6094 MB / 382.1 MB
Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001801/0.4301, allocations: 1.874 MB / 480.8 MB, free: 14.59 MB / 398.1 MB
Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002231/0.4303, allocations: 16 kB / 480.8 MB, free: 14.58 MB / 398.1 MB
Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.861e-05/0.4303, allocations: 15.98 kB / 480.8 MB, free: 14.56 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): 43
 * Array equations: 0
 * Algorithm blocks: 0
 * Record equations: 0
 * When equations: 0
 * If-equations: 0
 * Equation systems (not torn): 0
 * Torn equation systems: 2
 * 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): 2 systems
   {(2,1), (1,1)}
Notification: Performance of prepare postOptimizeDAE: time 0.0002207/0.4306, allocations: 166.1 kB / 481 MB, free: 14.39 MB / 398.1 MB
Notification: Performance of postOpt lateInlineFunction (simulation): time 7.602e-05/0.4306, allocations: 31.81 kB / 481 MB, free: 14.36 MB / 398.1 MB
Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001248/0.4319, allocations: 0.9818 MB / 482 MB, free: 13.37 MB / 398.1 MB
Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.758e-06/0.4319, allocations: 4 kB / 482 MB, free: 13.37 MB / 398.1 MB
Notification: Performance of postOpt constantLinearSystem (simulation): time 3.697e-06/0.4319, allocations: 3.984 kB / 482 MB, free: 13.36 MB / 398.1 MB
Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001126/0.433, allocations: 1.141 MB / 483.1 MB, free: 12.13 MB / 398.1 MB
Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002019/0.435, allocations: 1.601 MB / 484.7 MB, free: 10.46 MB / 398.1 MB
Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.895e-06/0.435, allocations: 4 kB / 484.7 MB, free: 10.46 MB / 398.1 MB
Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002113/0.4353, allocations: 47.91 kB / 484.8 MB, free: 10.41 MB / 398.1 MB
Notification: Performance of postOpt tearingSystem (simulation): time 0.001799/0.4371, allocations: 295.9 kB / 485.1 MB, free: 10.12 MB / 398.1 MB
Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.061e-05/0.4371, allocations: 4 kB / 485.1 MB, free: 10.12 MB / 398.1 MB
Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006314/0.4377, allocations: 0.685 MB / 485.8 MB, free: 9.406 MB / 398.1 MB
Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.292e-06/0.4377, allocations: 3.938 kB / 485.8 MB, free: 9.402 MB / 398.1 MB
Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001302/0.439, allocations: 0.9846 MB / 486.7 MB, free: 8.402 MB / 398.1 MB
Notification: Performance of postOpt removeConstants (simulation): time 7.542e-05/0.4391, allocations: 35.73 kB / 486.8 MB, free: 8.367 MB / 398.1 MB
Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.169e-05/0.4391, allocations: 15.89 kB / 486.8 MB, free: 8.352 MB / 398.1 MB
Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000184/0.4393, allocations: 8 kB / 486.8 MB, free: 8.344 MB / 398.1 MB
Notification: Performance of postOpt findZeroCrossings (simulation): time 4.56e-05/0.4394, allocations: 19.95 kB / 486.8 MB, free: 8.324 MB / 398.1 MB
Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.541e-05/0.4394, allocations: 12 kB / 486.8 MB, free: 8.312 MB / 398.1 MB
Notification: Performance of sorting global known variables: time 0.0002882/0.4397, allocations: 239 kB / 487.1 MB, free: 8.074 MB / 398.1 MB
Notification: Performance of sort global known variables: time 9e-08/0.4397, allocations: 0 / 487.1 MB, free: 8.074 MB / 398.1 MB
Notification: Performance of remove unused functions: time 0.00153/0.4412, allocations: 0.4916 MB / 487.6 MB, free: 7.582 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.T)
 * 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 (30):
 * Single equations (assignments): 27
 * 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
   {(2,1)}
Notification: Performance of Backend phase and start with SimCode phase: time 0.001731/0.4429, allocations: 0.5181 MB / 488.1 MB, free: 7.051 MB / 398.1 MB
Notification: Performance of simCode: created initialization part: time 0.001086/0.444, allocations: 0.5108 MB / 488.6 MB, free: 6.527 MB / 398.1 MB
Notification: Performance of simCode: created event and clocks part: time 3.868e-06/0.444, allocations: 4 kB / 488.6 MB, free: 6.523 MB / 398.1 MB
Notification: Performance of simCode: created simulation system equations: time 0.0004792/0.4445, allocations: 280.3 kB / 488.9 MB, free: 6.25 MB / 398.1 MB
Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001023/0.4455, allocations: 192.6 kB / 489.1 MB, free: 6.062 MB / 398.1 MB
Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001647/0.4472, allocations: 1.02 MB / 490.1 MB, free: 5.012 MB / 398.1 MB
Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004639/0.4476, allocations: 0.8167 MB / 490.9 MB, free: 4.168 MB / 398.1 MB
Notification: Performance of simCode: alias equations: time 0.0003248/0.448, allocations: 115.1 kB / 491 MB, free: 4.059 MB / 398.1 MB
Notification: Performance of simCode: all other stuff during SimCode phase: time 7.324e-05/0.448, allocations: 35.42 kB / 491 MB, free: 4.027 MB / 398.1 MB
Notification: Performance of SimCode: time 7.91e-07/0.448, allocations: 0 / 491 MB, free: 4.027 MB / 398.1 MB
Notification: Performance of Templates: time 0.03145/0.4795, allocations: 19.32 MB / 0.4984 GB, free: 0.6641 MB / 414.1 MB
"
[Timeout remaining time 660]
make -j1 -f Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Water.WaterIF97_pT.makefile [Timeout 660]
(rm -f Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Water.WaterIF97_pT.pipe ; mkfifo Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Water.WaterIF97_pT.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Water.WaterIF97_pT.pipe >> ../files/Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Water.WaterIF97_pT.sim & ./Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Water.WaterIF97_pT  -abortSlowSimulation -alarm=480  -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Water.WaterIF97_pT.pipe 2>&1) [Timeout 480]
diffSimulationResults("Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Water.WaterIF97_pT_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_pT/WaterIF97_pT.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Water.WaterIF97_pT.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: 5.4567598309367895]