Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.MoistAir2.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.001757/0.001757, allocations: 106 kB / 21.18 MB, free: 0.707 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.001847/0.001847, allocations: 185.3 kB / 24.47 MB, free: 4.074 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.448/1.448, 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.ReferenceAir.MoistAir2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|volume.medium.T|volume.medium.Xi.1.|volume.medium.p|volume1.medium.T|volume1.medium.Xi.1.|volume1.medium.p",fileNamePrefix="Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.MoistAir2")
translateModel(Modelica.Media.Examples.ReferenceAir.MoistAir2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|volume.medium.T|volume.medium.Xi.1.|volume.medium.p|volume1.medium.T|volume1.medium.Xi.1.|volume1.medium.p",fileNamePrefix="Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.MoistAir2") [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.001714/0.001714, allocations: 52.2 kB / 347.7 MB, free: 9.559 MB / 286.1 MB
Notification: Performance of FrontEnd - Absyn->SCode: time 0.2385/0.2402, allocations: 49.16 MB / 396.8 MB, free: 9.523 MB / 318.1 MB
Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.ReferenceAir.MoistAir2): time 0.07226/0.3125, allocations: 66.41 MB / 463.2 MB, free: 0.8164 MB / 366.1 MB
Notification: Performance of NFInst.instExpressions: time 0.007613/0.3201, allocations: 5.507 MB / 468.7 MB, free: 11.29 MB / 382.1 MB
Notification: Performance of NFInst.updateImplicitVariability: time 0.0003727/0.3204, allocations: 15.88 kB / 468.7 MB, free: 11.28 MB / 382.1 MB
Notification: Performance of NFTyping.typeComponents: time 0.0009974/0.3214, allocations: 362 kB / 469.1 MB, free: 10.92 MB / 382.1 MB
Notification: Performance of NFTyping.typeBindings: time 0.0009413/0.3224, allocations: 0.5127 MB / 469.6 MB, free: 10.41 MB / 382.1 MB
Notification: Performance of NFTyping.typeClassSections: time 0.01973/0.3421, allocations: 7.155 MB / 476.8 MB, free: 3.234 MB / 382.1 MB
Notification: Performance of NFFlatten.flatten: time 0.002283/0.3444, allocations: 1.579 MB / 478.3 MB, free: 1.648 MB / 382.1 MB
Notification: Performance of NFFlatten.resolveConnections: time 0.0003053/0.3447, allocations: 145.4 kB / 478.5 MB, free: 1.492 MB / 382.1 MB
Notification: Performance of NFEvalConstants.evaluate: time 0.001002/0.3457, allocations: 0.6386 MB / 479.1 MB, free: 0.8516 MB / 382.1 MB
Notification: Performance of NFSimplifyModel.simplify: time 0.0008442/0.3466, allocations: 0.6112 MB / 479.7 MB, free: 244 kB / 382.1 MB
Notification: Performance of NFPackage.collectConstants: time 0.0001274/0.3467, allocations: 80 kB / 479.8 MB, free: 164 kB / 382.1 MB
Notification: Performance of NFFlatten.collectFunctions: time 0.01937/0.366, allocations: 10.34 MB / 490.2 MB, free: 5.809 MB / 398.1 MB
Notification: Performance of NFScalarize.scalarize: time 0.0004928/0.3665, allocations: 335.1 kB / 490.5 MB, free: 5.48 MB / 398.1 MB
Notification: Performance of NFVerifyModel.verify: time 0.0006129/0.3672, allocations: 438.5 kB / 490.9 MB, free: 5.051 MB / 398.1 MB
Notification: Performance of NFConvertDAE.convert: time 0.01355/0.3807, allocations: 5.927 MB / 496.8 MB, free: 15.11 MB / 414.1 MB
Notification: Performance of FrontEnd - DAE generated: time 4.108e-06/0.3807, allocations: 3.938 kB / 496.8 MB, free: 15.11 MB / 414.1 MB
Notification: Performance of FrontEnd: time 1.142e-06/0.3807, allocations: 0 / 496.8 MB, free: 15.11 MB / 414.1 MB
Notification: Performance of Transformations before backend: time 1.327e-05/0.3807, allocations: 4 kB / 496.8 MB, free: 15.1 MB / 414.1 MB
Notification: Model statistics after passing the front-end and creating the data structures used by the back-end:
 * Number of equations: 154
 * Number of variables: 154
Notification: Performance of Generate backend data structure: time 0.003722/0.3844, allocations: 1.522 MB / 498.4 MB, free: 13.54 MB / 414.1 MB
Notification: Performance of prepare preOptimizeDAE: time 4.075e-05/0.3845, allocations: 15.98 kB / 498.4 MB, free: 13.53 MB / 414.1 MB
Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004319/0.3849, allocations: 87.5 kB / 498.5 MB, free: 13.44 MB / 414.1 MB
Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006607/0.3856, allocations: 391.1 kB / 498.8 MB, free: 13.04 MB / 414.1 MB
Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.261e-05/0.3856, allocations: 53.3 kB / 498.9 MB, free: 12.98 MB / 414.1 MB
Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001048/0.3857, allocations: 60 kB / 499 MB, free: 12.93 MB / 414.1 MB
Notification: Performance of preOpt clockPartitioning (simulation): time 0.001831/0.3876, allocations: 0.8185 MB / 499.8 MB, free: 12.1 MB / 414.1 MB
Notification: Performance of preOpt findStateOrder (simulation): time 2.253e-05/0.3876, allocations: 0 / 499.8 MB, free: 12.1 MB / 414.1 MB
Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.413e-05/0.3876, allocations: 28 kB / 499.8 MB, free: 12.07 MB / 414.1 MB
Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.803e-05/0.3877, allocations: 16 kB / 499.8 MB, free: 12.05 MB / 414.1 MB
Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001987/0.3897, allocations: 1.036 MB / 0.4891 GB, free: 11.02 MB / 414.1 MB
Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01669/0.4064, allocations: 4.973 MB / 0.494 GB, free: 5.832 MB / 414.1 MB
Notification: Performance of preOpt comSubExp (simulation): time 0.002552/0.4089, allocations: 0.7103 MB / 0.4947 GB, free: 5.113 MB / 414.1 MB
Notification: Performance of preOpt resolveLoops (simulation): time 0.0008934/0.4098, allocations: 383 kB / 0.495 GB, free: 4.738 MB / 414.1 MB
Notification: Performance of preOpt evalFunc (simulation): time 0.0145/0.4243, allocations: 2.627 MB / 0.4976 GB, free: 2.109 MB / 414.1 MB
Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.565e-05/0.4244, allocations: 43.22 kB / 0.4976 GB, free: 2.059 MB / 414.1 MB
Notification: Performance of pre-optimization done (n=78): time 3.677e-06/0.4244, allocations: 3.938 kB / 0.4976 GB, free: 2.055 MB / 414.1 MB
Notification: Performance of matching and sorting (n=88): time 0.01486/0.4392, allocations: 3.167 MB / 0.5007 GB, free: 14.85 MB / 430.1 MB
Notification: Performance of inlineWhenForInitialization (initialization): time 6.017e-05/0.4393, allocations: 68.34 kB / 0.5008 GB, free: 14.77 MB / 430.1 MB
Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007558/0.44, allocations: 356.5 kB / 0.5011 GB, free: 14.41 MB / 430.1 MB
Notification: Performance of collectPreVariables (initialization): time 0.0001247/0.4402, allocations: 41.7 kB / 0.5012 GB, free: 14.37 MB / 430.1 MB
Notification: Performance of collectInitialEqns (initialization): time 0.0003179/0.4405, allocations: 241.2 kB / 0.5014 GB, free: 14.13 MB / 430.1 MB
Notification: Performance of collectInitialBindings (initialization): time 0.0003953/0.4409, allocations: 325.2 kB / 0.5017 GB, free: 13.81 MB / 430.1 MB
Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003839/0.4413, allocations: 162.6 kB / 0.5019 GB, free: 13.64 MB / 430.1 MB
Notification: Performance of setup shared object (initialization): time 0.0002253/0.4415, allocations: 362.8 kB / 0.5022 GB, free: 13.28 MB / 430.1 MB
Notification: Performance of preBalanceInitialSystem (initialization): time 0.000927/0.4424, allocations: 373.8 kB / 0.5026 GB, free: 12.91 MB / 430.1 MB
Notification: Performance of partitionIndependentBlocks (initialization): time 0.0016/0.444, allocations: 492.2 kB / 0.503 GB, free: 12.4 MB / 430.1 MB
Notification: Performance of analyzeInitialSystem (initialization): time 0.002878/0.4469, allocations: 0.902 MB / 0.5039 GB, free: 11.47 MB / 430.1 MB
Notification: Performance of solveInitialSystemEqSystem (initialization): time 5e-06/0.4469, allocations: 4 kB / 0.5039 GB, free: 11.46 MB / 430.1 MB
Notification: Performance of matching and sorting (n=106) (initialization): time 0.004347/0.4513, allocations: 1.125 MB / 0.505 GB, free: 10.32 MB / 430.1 MB
Notification: Performance of prepare postOptimizeDAE: time 2.212e-05/0.4513, allocations: 8.281 kB / 0.505 GB, free: 10.31 MB / 430.1 MB
Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.344e-05/0.4513, allocations: 4 kB / 0.505 GB, free: 10.31 MB / 430.1 MB
Notification: Performance of postOpt tearingSystem (initialization): time 0.001228/0.4525, allocations: 163.3 kB / 0.5052 GB, free: 10.14 MB / 430.1 MB
Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00112/0.4536, allocations: 187.7 kB / 0.5054 GB, free: 9.953 MB / 430.1 MB
Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004638/0.4583, allocations: 3.91 MB / 0.5092 GB, free: 5.766 MB / 430.1 MB
Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006081/0.4589, allocations: 20 kB / 0.5092 GB, free: 5.746 MB / 430.1 MB
Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001556/0.459, allocations: 43.98 kB / 0.5093 GB, free: 5.703 MB / 430.1 MB
Notification: Model statistics after passing the back-end for initialization:
 * Number of independent subsystems: 11
 * 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 (102):
 * Single equations (assignments): 98
 * Array equations: 0
 * Algorithm blocks: 0
 * Record equations: 0
 * When equations: 0
 * If-equations: 0
 * Equation systems (not torn): 2
 * 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): 2 systems
   {2, 2}
 * 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.000692/0.4597, allocations: 225.8 kB / 0.5095 GB, free: 5.473 MB / 430.1 MB
Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007071/0.4604, allocations: 63.67 kB / 0.5095 GB, free: 5.41 MB / 430.1 MB
Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003846/0.4643, allocations: 1.277 MB / 0.5108 GB, free: 4.098 MB / 430.1 MB
Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.376e-05/0.4643, allocations: 8 kB / 0.5108 GB, free: 4.09 MB / 430.1 MB
Notification: Performance of postOpt constantLinearSystem (simulation): time 4.558e-06/0.4643, allocations: 0 / 0.5108 GB, free: 4.09 MB / 430.1 MB
Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002985/0.4673, allocations: 1.327 MB / 0.5121 GB, free: 2.633 MB / 430.1 MB
Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0043/0.4716, allocations: 1.932 MB / 0.514 GB, free: 0.6445 MB / 430.1 MB
Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.156e-06/0.4716, allocations: 4 kB / 0.514 GB, free: 0.6406 MB / 430.1 MB
Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007315/0.4723, allocations: 155.8 kB / 0.5141 GB, free: 500 kB / 430.1 MB
Notification: Performance of postOpt tearingSystem (simulation): time 0.00184/0.4742, allocations: 305.2 kB / 0.5144 GB, free: 192 kB / 430.1 MB
Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.783e-05/0.4743, allocations: 27.98 kB / 0.5144 GB, free: 164 kB / 430.1 MB
Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001041/0.4753, allocations: 1.293 MB / 0.5157 GB, free: 14.82 MB / 446.1 MB
Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.833e-06/0.4753, allocations: 0 / 0.5157 GB, free: 14.82 MB / 446.1 MB
Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002876/0.4782, allocations: 1.421 MB / 0.5171 GB, free: 13.37 MB / 446.1 MB
Notification: Performance of postOpt removeConstants (simulation): time 0.0001725/0.4783, allocations: 63.59 kB / 0.5172 GB, free: 13.3 MB / 446.1 MB
Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001082/0.4785, allocations: 16.09 kB / 0.5172 GB, free: 13.29 MB / 446.1 MB
Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000555/0.479, allocations: 31.98 kB / 0.5172 GB, free: 13.26 MB / 446.1 MB
Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001102/0.4791, allocations: 60.89 kB / 0.5173 GB, free: 13.2 MB / 446.1 MB
Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001043/0.4792, allocations: 47.95 kB / 0.5173 GB, free: 13.15 MB / 446.1 MB
Notification: Performance of sorting global known variables: time 0.0003534/0.4796, allocations: 275 kB / 0.5176 GB, free: 12.88 MB / 446.1 MB
Notification: Performance of sort global known variables: time 9e-08/0.4796, allocations: 0 / 0.5176 GB, free: 12.88 MB / 446.1 MB
Notification: Performance of remove unused functions: time 0.003753/0.4833, allocations: 1.407 MB / 0.5189 GB, free: 11.47 MB / 446.1 MB
Notification: Model statistics after passing the back-end for simulation:
 * Number of independent subsystems: 3
 * Number of states: 6 (volume.medium.p,volume.medium.Xi[1],volume.medium.T,volume1.medium.p,volume1.medium.Xi[1],volume1.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 (84):
 * Single equations (assignments): 82
 * Array equations: 0
 * Algorithm blocks: 0
 * Record equations: 0
 * When equations: 0
 * If-equations: 0
 * Equation systems (not torn): 2
 * Torn equation systems: 0
 * 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): 2 systems
   {2, 2}
 * Without analytic Jacobian (size): 0 systems
Notification: Performance of Backend phase and start with SimCode phase: time 0.005994/0.4893, allocations: 1.768 MB / 0.5207 GB, free: 9.691 MB / 446.1 MB
Notification: Performance of simCode: created initialization part: time 0.002322/0.4916, allocations: 1.101 MB / 0.5217 GB, free: 8.555 MB / 446.1 MB
Notification: Performance of simCode: created event and clocks part: time 3.947e-06/0.4916, allocations: 4.062 kB / 0.5217 GB, free: 8.551 MB / 446.1 MB
Notification: Performance of simCode: created simulation system equations: time 0.0009538/0.4926, allocations: 479.2 kB / 0.5222 GB, free: 8.082 MB / 446.1 MB
Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001765/0.4944, allocations: 394 kB / 0.5226 GB, free: 7.688 MB / 446.1 MB
Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003091/0.4975, allocations: 1.673 MB / 0.5242 GB, free: 5.98 MB / 446.1 MB
Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006197/0.4981, allocations: 0.9089 MB / 0.5251 GB, free: 5.047 MB / 446.1 MB
Notification: Performance of simCode: alias equations: time 0.0007561/0.4988, allocations: 209.1 kB / 0.5253 GB, free: 4.84 MB / 446.1 MB
Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002094/0.499, allocations: 75.41 kB / 0.5254 GB, free: 4.77 MB / 446.1 MB
Notification: Performance of SimCode: time 5.71e-07/0.499, allocations: 4 kB / 0.5254 GB, free: 4.766 MB / 446.1 MB
Notification: Performance of Templates: time 0.2357/0.7347, allocations: 52.06 MB / 0.5762 GB, free: 150.2 MB / 478.1 MB
"
[Timeout remaining time 659]
make -j1 -f Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.MoistAir2.makefile [Timeout 660]
(rm -f Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.MoistAir2.pipe ; mkfifo Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.MoistAir2.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.MoistAir2.pipe >> ../files/Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.MoistAir2.sim & ./Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.MoistAir2  -abortSlowSimulation -alarm=480  -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.MoistAir2.pipe 2>&1) [Timeout 480]
diffSimulationResults("Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.MoistAir2_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Media/Examples/ReferenceAir/MoistAir2/MoistAir2.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.MoistAir2.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: 20.448733434081078]