Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.LinearFluid.LinearColdWater.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.001347/0.001347, 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.00147/0.00147, 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.491/1.491, 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.LinearFluid.LinearColdWater,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.LinearFluid.LinearColdWater")
translateModel(Modelica.Media.Examples.Tests.MediaTestModels.LinearFluid.LinearColdWater,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.LinearFluid.LinearColdWater") [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.001831/0.001831, allocations: 55.91 kB / 347.7 MB, free: 9.625 MB / 286.1 MB
Notification: Performance of FrontEnd - Absyn->SCode: time 0.3185/0.3204, allocations: 49.16 MB / 396.8 MB, free: 9.516 MB / 318.1 MB
Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.Tests.MediaTestModels.LinearFluid.LinearColdWater): time 0.01931/0.3397, allocations: 16.1 MB / 413 MB, free: 14.05 MB / 334.1 MB
Notification: Performance of NFInst.instExpressions: time 0.003814/0.3435, allocations: 1.93 MB / 414.9 MB, free: 12.68 MB / 334.1 MB
Notification: Performance of NFInst.updateImplicitVariability: time 0.0002389/0.3437, allocations: 8.156 kB / 414.9 MB, free: 12.67 MB / 334.1 MB
Notification: Performance of NFTyping.typeComponents: time 0.0007562/0.3445, allocations: 169.8 kB / 415.1 MB, free: 12.53 MB / 334.1 MB
Notification: Performance of NFTyping.typeBindings: time 0.000869/0.3454, allocations: 319.7 kB / 415.4 MB, free: 12.27 MB / 334.1 MB
Notification: Performance of NFTyping.typeClassSections: time 0.000956/0.3463, allocations: 292.2 kB / 415.7 MB, free: 12.04 MB / 334.1 MB
Notification: Performance of NFFlatten.flatten: time 0.001335/0.3476, allocations: 0.8561 MB / 416.5 MB, free: 11.56 MB / 334.1 MB
Notification: Performance of NFFlatten.resolveConnections: time 0.000253/0.3479, allocations: 81.86 kB / 416.6 MB, free: 11.5 MB / 334.1 MB
Notification: Performance of NFEvalConstants.evaluate: time 0.001634/0.3495, allocations: 0.5273 MB / 417.1 MB, free: 11.18 MB / 334.1 MB
Notification: Performance of NFSimplifyModel.simplify: time 0.0005759/0.3501, allocations: 286.6 kB / 417.4 MB, free: 11.02 MB / 334.1 MB
Notification: Performance of NFPackage.collectConstants: time 8.336e-05/0.3502, allocations: 28.72 kB / 417.4 MB, free: 11.02 MB / 334.1 MB
Notification: Performance of NFFlatten.collectFunctions: time 0.0001981/0.3504, allocations: 38.44 kB / 417.5 MB, free: 11.01 MB / 334.1 MB
Notification: Performance of NFScalarize.scalarize: time 0.0001592/0.3506, allocations: 99.02 kB / 417.6 MB, free: 10.93 MB / 334.1 MB
Notification: Performance of NFVerifyModel.verify: time 0.0003066/0.3509, allocations: 182.4 kB / 417.7 MB, free: 10.83 MB / 334.1 MB
Notification: Performance of NFConvertDAE.convert: time 0.0006785/0.3515, allocations: 441.9 kB / 418.2 MB, free: 10.53 MB / 334.1 MB
Notification: Performance of FrontEnd - DAE generated: time 5.811e-06/0.3515, allocations: 3.938 kB / 418.2 MB, free: 10.53 MB / 334.1 MB
Notification: Performance of FrontEnd: time 2.675e-06/0.3515, allocations: 1.344 kB / 418.2 MB, free: 10.53 MB / 334.1 MB
Notification: Performance of Transformations before backend: time 8.786e-06/0.3516, allocations: 0 / 418.2 MB, free: 10.53 MB / 334.1 MB
Notification: Model statistics after passing the front-end and creating the data structures used by the back-end:
 * Number of equations: 60
 * Number of variables: 60
Notification: Performance of Generate backend data structure: time 0.001154/0.3527, allocations: 0.5134 MB / 418.7 MB, free: 10.09 MB / 334.1 MB
Notification: Performance of prepare preOptimizeDAE: time 5.581e-05/0.3528, allocations: 13.61 kB / 418.7 MB, free: 10.09 MB / 334.1 MB
Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003626/0.3531, allocations: 44.61 kB / 418.7 MB, free: 10.07 MB / 334.1 MB
Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005779/0.3537, allocations: 218.5 kB / 419 MB, free: 9.867 MB / 334.1 MB
Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.206e-05/0.3537, allocations: 22.28 kB / 419 MB, free: 9.855 MB / 334.1 MB
Notification: Performance of preOpt expandDerOperator (simulation): time 5.817e-05/0.3538, allocations: 28.38 kB / 419 MB, free: 9.844 MB / 334.1 MB
Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005373/0.3543, allocations: 305.1 kB / 419.3 MB, free: 9.621 MB / 334.1 MB
Notification: Performance of preOpt findStateOrder (simulation): time 1.762e-05/0.3543, allocations: 2.688 kB / 419.3 MB, free: 9.621 MB / 334.1 MB
Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.706e-05/0.3544, allocations: 11.72 kB / 419.3 MB, free: 9.613 MB / 334.1 MB
Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.151e-05/0.3544, allocations: 4.688 kB / 419.3 MB, free: 9.613 MB / 334.1 MB
Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004025/0.3548, allocations: 205 kB / 419.5 MB, free: 9.512 MB / 334.1 MB
Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002071/0.3569, allocations: 1.398 MB / 420.9 MB, free: 8.191 MB / 334.1 MB
Notification: Performance of preOpt comSubExp (simulation): time 0.0003767/0.3572, allocations: 175.5 kB / 421.1 MB, free: 8.09 MB / 334.1 MB
Notification: Performance of preOpt resolveLoops (simulation): time 0.0001627/0.3574, allocations: 81.89 kB / 421.2 MB, free: 8.047 MB / 334.1 MB
Notification: Performance of preOpt evalFunc (simulation): time 2.71e-05/0.3574, allocations: 2.219 kB / 421.2 MB, free: 8.047 MB / 334.1 MB
Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.011e-05/0.3575, allocations: 36.66 kB / 421.2 MB, free: 8.004 MB / 334.1 MB
Notification: Performance of pre-optimization done (n=21): time 1.764e-06/0.3575, allocations: 0 / 421.2 MB, free: 8.004 MB / 334.1 MB
Notification: Performance of matching and sorting (n=26): time 0.002794/0.3603, allocations: 0.853 MB / 422.1 MB, free: 7.469 MB / 334.1 MB
Notification: Performance of inlineWhenForInitialization (initialization): time 5.622e-05/0.3603, allocations: 54.31 kB / 422.1 MB, free: 7.406 MB / 334.1 MB
Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000367/0.3607, allocations: 265.7 kB / 422.4 MB, free: 7.223 MB / 334.1 MB
Notification: Performance of collectPreVariables (initialization): time 4.012e-05/0.3607, allocations: 30.89 kB / 422.4 MB, free: 7.188 MB / 334.1 MB
Notification: Performance of collectInitialEqns (initialization): time 0.0001613/0.3609, allocations: 186.6 kB / 422.6 MB, free: 7.016 MB / 334.1 MB
Notification: Performance of collectInitialBindings (initialization): time 9.362e-05/0.361, allocations: 102.2 kB / 422.7 MB, free: 6.926 MB / 334.1 MB
Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001097/0.3611, allocations: 57.64 kB / 422.7 MB, free: 6.887 MB / 334.1 MB
Notification: Performance of setup shared object (initialization): time 0.0001589/0.3613, allocations: 341.1 kB / 423.1 MB, free: 6.551 MB / 334.1 MB
Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001639/0.3614, allocations: 83.22 kB / 423.2 MB, free: 6.512 MB / 334.1 MB
Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002379/0.3617, allocations: 183 kB / 423.3 MB, free: 6.348 MB / 334.1 MB
Notification: Performance of analyzeInitialSystem (initialization): time 0.0004567/0.3621, allocations: 279.4 kB / 423.6 MB, free: 6.137 MB / 334.1 MB
Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.723e-06/0.3621, allocations: 5.094 kB / 423.6 MB, free: 6.133 MB / 334.1 MB
Notification: Performance of matching and sorting (n=42) (initialization): time 0.0008068/0.3629, allocations: 385.7 kB / 424 MB, free: 5.914 MB / 334.1 MB
Notification: Performance of prepare postOptimizeDAE: time 2.487e-05/0.363, allocations: 6.469 kB / 424 MB, free: 5.914 MB / 334.1 MB
Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.237e-05/0.363, allocations: 7.375 kB / 424 MB, free: 5.91 MB / 334.1 MB
Notification: Performance of postOpt tearingSystem (initialization): time 0.0002897/0.3633, allocations: 56.42 kB / 424.1 MB, free: 5.875 MB / 334.1 MB
Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003149/0.3636, allocations: 72.59 kB / 424.1 MB, free: 5.855 MB / 334.1 MB
Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002757/0.3663, allocations: 2.676 MB / 426.8 MB, free: 3.152 MB / 334.1 MB
Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002788/0.3666, allocations: 12.16 kB / 426.8 MB, free: 3.145 MB / 334.1 MB
Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.945e-05/0.3666, allocations: 14.88 kB / 426.8 MB, free: 3.141 MB / 334.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: 0 ()
 * Number of discrete states: 0 ()
 * Number of clocked states: 0 ()
 * Top-level inputs: 0
Notification: Strong component statistics for initialization (39):
 * Single equations (assignments): 37
 * 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): 1 system
   {(1,2,100.0%)}
 * Non-linear torn systems (#iteration vars, #inner vars): 1 system
   {(1,1)}
Notification: Performance of prepare postOptimizeDAE: time 0.0001999/0.3668, allocations: 157.6 kB / 427 MB, free: 2.992 MB / 334.1 MB
Notification: Performance of postOpt lateInlineFunction (simulation): time 7.258e-05/0.3669, allocations: 29.48 kB / 427 MB, free: 2.977 MB / 334.1 MB
Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.546e-05/0.367, allocations: 37.36 kB / 427.1 MB, free: 2.949 MB / 334.1 MB
Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.945e-06/0.367, allocations: 2.188 kB / 427.1 MB, free: 2.949 MB / 334.1 MB
Notification: Performance of postOpt constantLinearSystem (simulation): time 6.602e-06/0.367, allocations: 1.156 kB / 427.1 MB, free: 2.949 MB / 334.1 MB
Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0007793/0.3678, allocations: 0.5699 MB / 427.6 MB, free: 2.391 MB / 334.1 MB
Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001224/0.369, allocations: 0.6671 MB / 428.3 MB, free: 1.848 MB / 334.1 MB
Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.727e-06/0.369, allocations: 1.594 kB / 428.3 MB, free: 1.848 MB / 334.1 MB
Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002181/0.3692, allocations: 45.88 kB / 428.3 MB, free: 1.836 MB / 334.1 MB
Notification: Performance of postOpt tearingSystem (simulation): time 0.0002508/0.3695, allocations: 52.11 kB / 428.4 MB, free: 1.801 MB / 334.1 MB
Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.548e-05/0.3695, allocations: 10.67 kB / 428.4 MB, free: 1.793 MB / 334.1 MB
Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001346/0.3708, allocations: 1.388 MB / 429.8 MB, free: 416 kB / 334.1 MB
Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.353e-06/0.3709, allocations: 0 / 429.8 MB, free: 416 kB / 334.1 MB
Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008118/0.3717, allocations: 477.2 kB / 430.3 MB, free: 84 kB / 334.1 MB
Notification: Performance of postOpt removeConstants (simulation): time 6.353e-05/0.3717, allocations: 23.19 kB / 430.3 MB, free: 68 kB / 334.1 MB
Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.927e-05/0.3718, allocations: 6.5 kB / 430.3 MB, free: 64 kB / 334.1 MB
Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002169/0.372, allocations: 9.094 kB / 430.3 MB, free: 56 kB / 334.1 MB
Notification: Performance of postOpt findZeroCrossings (simulation): time 4.68e-05/0.372, allocations: 19.28 kB / 430.3 MB, free: 44 kB / 334.1 MB
Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.491e-05/0.3721, allocations: 9.609 kB / 430.3 MB, free: 40 kB / 334.1 MB
Notification: Performance of sorting global known variables: time 0.0002395/0.3723, allocations: 188.7 kB / 430.5 MB, free: 15.91 MB / 350.1 MB
Notification: Performance of sort global known variables: time 8e-08/0.3723, allocations: 0 / 430.5 MB, free: 15.91 MB / 350.1 MB
Notification: Performance of remove unused functions: time 0.0005143/0.3728, allocations: 85.62 kB / 430.6 MB, free: 15.9 MB / 350.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.T)
 * Number of discrete variables: 0 ()
 * Number of discrete states: 0 ()
 * Number of clocked states: 0 ()
 * Top-level inputs: 0
Notification: Strong component statistics for simulation (24):
 * Single equations (assignments): 23
 * Array equations: 0
 * Algorithm blocks: 0
 * Record equations: 0
 * 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): 1 system
   {(1,2,100.0%)}
 * Non-linear torn systems (#iteration vars, #inner vars): 0 systems
Notification: Performance of Backend phase and start with SimCode phase: time 0.0001627/0.373, allocations: 113.4 kB / 430.7 MB, free: 15.79 MB / 350.1 MB
Notification: Performance of simCode: created initialization part: time 0.0008806/0.3739, allocations: 467.2 kB / 431.2 MB, free: 15.45 MB / 350.1 MB
Notification: Performance of simCode: created event and clocks part: time 2.875e-06/0.3739, allocations: 0 / 431.2 MB, free: 15.45 MB / 350.1 MB
Notification: Performance of simCode: created simulation system equations: time 0.0004164/0.3743, allocations: 226.6 kB / 431.4 MB, free: 15.28 MB / 350.1 MB
Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009826/0.3753, allocations: 164.9 kB / 431.5 MB, free: 15.19 MB / 350.1 MB
Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00165/0.3769, allocations: 0.6938 MB / 432.2 MB, free: 14.71 MB / 350.1 MB
Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004277/0.3773, allocations: 0.7652 MB / 433 MB, free: 13.97 MB / 350.1 MB
Notification: Performance of simCode: alias equations: time 0.0002575/0.3776, allocations: 50.14 kB / 433 MB, free: 13.95 MB / 350.1 MB
Notification: Performance of simCode: all other stuff during SimCode phase: time 8.517e-05/0.3777, allocations: 30.08 kB / 433.1 MB, free: 13.93 MB / 350.1 MB
Notification: Performance of SimCode: time 7.61e-07/0.3777, allocations: 0 / 433.1 MB, free: 13.93 MB / 350.1 MB
Notification: Performance of Templates: time 0.01256/0.3902, allocations: 5.976 MB / 439.1 MB, free: 8.148 MB / 350.1 MB
"
[Timeout remaining time 660]
make -j1 -f Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.LinearFluid.LinearColdWater.makefile [Timeout 660]
(rm -f Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.LinearFluid.LinearColdWater.pipe ; mkfifo Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.LinearFluid.LinearColdWater.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.LinearFluid.LinearColdWater.pipe >> ../files/Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.LinearFluid.LinearColdWater.sim & ./Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.LinearFluid.LinearColdWater  -abortSlowSimulation -alarm=480  -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.LinearFluid.LinearColdWater.pipe 2>&1) [Timeout 480]
diffSimulationResults("Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.LinearFluid.LinearColdWater_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Media/Examples/Tests/MediaTestModels/LinearFluid/LinearColdWater/LinearColdWater.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.LinearFluid.LinearColdWater.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: 4.865534972399473]