Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_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.001307/0.001307, allocations: 109.5 kB / 20.43 MB, free: 1.457 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.6 kB / 23.71 MB, free: 4.695 MB / 14.72 MB
"
[Timeout remaining time 180]
loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180]
"Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.416/1.416, allocations: 225.6 MB / 252.5 MB, free: 13 MB / 206.1 MB
"
[Timeout remaining time 178]
Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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_4.0.0_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_4.0.0_Modelica.Media.Examples.ReferenceAir.MoistAir2") [Timeout 660]
"Notification: Performance of FrontEnd - loaded program: time 0.001572/0.001572, allocations: 43.92 kB / 370.9 MB, free: 9.32 MB / 302.1 MB
Notification: Performance of FrontEnd - Absyn->SCode: time 0.2226/0.2241, allocations: 52.18 MB / 423.1 MB, free: 14.66 MB / 334.1 MB
Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.ReferenceAir.MoistAir2): time 0.07635/0.3005, allocations: 66.25 MB / 489.4 MB, free: 12.18 MB / 398.1 MB
Notification: Performance of NFInst.instExpressions: time 0.007303/0.3078, allocations: 5.5 MB / 494.9 MB, free: 6.656 MB / 398.1 MB
Notification: Performance of NFInst.updateImplicitVariability: time 0.0004144/0.3082, allocations: 11.94 kB / 494.9 MB, free: 6.645 MB / 398.1 MB
Notification: Performance of NFTyping.typeComponents: time 0.001081/0.3093, allocations: 365.9 kB / 495.2 MB, free: 6.285 MB / 398.1 MB
Notification: Performance of NFTyping.typeBindings: time 0.001105/0.3104, allocations: 0.5128 MB / 495.8 MB, free: 5.77 MB / 398.1 MB
Notification: Performance of NFTyping.typeClassSections: time 0.0185/0.3289, allocations: 7.518 MB / 0.4915 GB, free: 14.25 MB / 414.1 MB
Notification: Performance of NFFlatten.flatten: time 0.002133/0.331, allocations: 1.571 MB / 0.493 GB, free: 12.68 MB / 414.1 MB
Notification: Performance of NFFlatten.resolveConnections: time 0.0003076/0.3313, allocations: 161.3 kB / 0.4932 GB, free: 12.51 MB / 414.1 MB
Notification: Performance of NFEvalConstants.evaluate: time 0.0009861/0.3323, allocations: 0.6385 MB / 0.4938 GB, free: 11.87 MB / 414.1 MB
Notification: Performance of NFSimplifyModel.simplify: time 0.0008233/0.3331, allocations: 0.6034 MB / 0.4944 GB, free: 11.27 MB / 414.1 MB
Notification: Performance of NFPackage.collectConstants: time 0.0001448/0.3333, allocations: 84 kB / 0.4945 GB, free: 11.18 MB / 414.1 MB
Notification: Performance of NFFlatten.collectFunctions: time 0.01978/0.3531, allocations: 10.44 MB / 0.5047 GB, free: 0.7266 MB / 414.1 MB
Notification: Performance of NFScalarize.scalarize: time 0.0005907/0.3536, allocations: 331.1 kB / 0.505 GB, free: 412 kB / 414.1 MB
Notification: Performance of NFVerifyModel.verify: time 0.0007935/0.3544, allocations: 438.5 kB / 0.5054 GB, free: 15.97 MB / 430.1 MB
Notification: Performance of NFConvertDAE.convert: time 0.01561/0.37, allocations: 5.958 MB / 0.5112 GB, free: 10 MB / 430.1 MB
Notification: Performance of FrontEnd - DAE generated: time 7.895e-06/0.3701, allocations: 4 kB / 0.5112 GB, free: 9.996 MB / 430.1 MB
Notification: Performance of FrontEnd: time 1.433e-06/0.3701, allocations: 0 / 0.5112 GB, free: 9.996 MB / 430.1 MB
Notification: Performance of Transformations before backend: time 1.366e-05/0.3701, allocations: 0 / 0.5112 GB, free: 9.996 MB / 430.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.004119/0.3742, allocations: 1.529 MB / 0.5127 GB, free: 8.43 MB / 430.1 MB
Notification: Performance of prepare preOptimizeDAE: time 3.684e-05/0.3742, allocations: 8.031 kB / 0.5127 GB, free: 8.422 MB / 430.1 MB
Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004383/0.3747, allocations: 87.56 kB / 0.5128 GB, free: 8.336 MB / 430.1 MB
Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006701/0.3753, allocations: 391.1 kB / 0.5132 GB, free: 7.926 MB / 430.1 MB
Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.373e-05/0.3754, allocations: 49.31 kB / 0.5132 GB, free: 7.879 MB / 430.1 MB
Notification: Performance of preOpt expandDerOperator (simulation): time 0.000106/0.3755, allocations: 64 kB / 0.5133 GB, free: 7.816 MB / 430.1 MB
Notification: Performance of preOpt clockPartitioning (simulation): time 0.001927/0.3774, allocations: 0.8107 MB / 0.5141 GB, free: 6.996 MB / 430.1 MB
Notification: Performance of preOpt findStateOrder (simulation): time 2.673e-05/0.3774, allocations: 8 kB / 0.5141 GB, free: 6.988 MB / 430.1 MB
Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.703e-05/0.3775, allocations: 27.98 kB / 0.5141 GB, free: 6.961 MB / 430.1 MB
Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.477e-05/0.3775, allocations: 19.94 kB / 0.5141 GB, free: 6.941 MB / 430.1 MB
Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001985/0.3795, allocations: 1.036 MB / 0.5151 GB, free: 5.906 MB / 430.1 MB
Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01487/0.3944, allocations: 4.981 MB / 0.52 GB, free: 0.707 MB / 430.1 MB
Notification: Performance of preOpt comSubExp (simulation): time 0.001867/0.3963, allocations: 0.7185 MB / 0.5207 GB, free: 15.98 MB / 446.1 MB
Notification: Performance of preOpt resolveLoops (simulation): time 0.0008871/0.3971, allocations: 382.7 kB / 0.5211 GB, free: 15.61 MB / 446.1 MB
Notification: Performance of preOpt evalFunc (simulation): time 0.01158/0.4087, allocations: 2.612 MB / 0.5236 GB, free: 12.99 MB / 446.1 MB
Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.352e-05/0.4088, allocations: 47.22 kB / 0.5237 GB, free: 12.93 MB / 446.1 MB
Notification: Performance of pre-optimization done (n=78): time 2.404e-06/0.4088, allocations: 0 / 0.5237 GB, free: 12.93 MB / 446.1 MB
Notification: Performance of matching and sorting (n=88): time 0.01038/0.4192, allocations: 3.155 MB / 0.5267 GB, free: 9.754 MB / 446.1 MB
Notification: Performance of inlineWhenForInitialization (initialization): time 5.613e-05/0.4192, allocations: 60.41 kB / 0.5268 GB, free: 9.68 MB / 446.1 MB
Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004676/0.4197, allocations: 360.5 kB / 0.5271 GB, free: 9.324 MB / 446.1 MB
Notification: Performance of collectPreVariables (initialization): time 0.0001093/0.4198, allocations: 49.69 kB / 0.5272 GB, free: 9.27 MB / 446.1 MB
Notification: Performance of collectInitialEqns (initialization): time 0.0001953/0.42, allocations: 245.1 kB / 0.5274 GB, free: 9.027 MB / 446.1 MB
Notification: Performance of collectInitialBindings (initialization): time 0.0002938/0.4203, allocations: 321.2 kB / 0.5277 GB, free: 8.711 MB / 446.1 MB
Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003043/0.4206, allocations: 162.6 kB / 0.5279 GB, free: 8.547 MB / 446.1 MB
Notification: Performance of setup shared object (initialization): time 0.0001925/0.4208, allocations: 358.8 kB / 0.5282 GB, free: 8.188 MB / 446.1 MB
Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006572/0.4214, allocations: 369.8 kB / 0.5286 GB, free: 7.824 MB / 446.1 MB
Notification: Performance of partitionIndependentBlocks (initialization): time 0.001021/0.4224, allocations: 0.4884 MB / 0.5291 GB, free: 7.305 MB / 446.1 MB
Notification: Performance of analyzeInitialSystem (initialization): time 0.001862/0.4243, allocations: 0.8943 MB / 0.5299 GB, free: 6.379 MB / 446.1 MB
Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.627e-06/0.4243, allocations: 0 / 0.5299 GB, free: 6.379 MB / 446.1 MB
Notification: Performance of matching and sorting (n=106) (initialization): time 0.002849/0.4272, allocations: 1.129 MB / 0.531 GB, free: 5.227 MB / 446.1 MB
Notification: Performance of prepare postOptimizeDAE: time 2.521e-05/0.4272, allocations: 4 kB / 0.531 GB, free: 5.223 MB / 446.1 MB
Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.204e-05/0.4272, allocations: 4 kB / 0.531 GB, free: 5.219 MB / 446.1 MB
Notification: Performance of postOpt tearingSystem (initialization): time 0.0008832/0.4281, allocations: 163.6 kB / 0.5312 GB, free: 5.047 MB / 446.1 MB
Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008177/0.4289, allocations: 195.7 kB / 0.5314 GB, free: 4.855 MB / 446.1 MB
Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003473/0.4324, allocations: 3.923 MB / 0.5352 GB, free: 0.6562 MB / 446.1 MB
Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005324/0.4329, allocations: 16 kB / 0.5352 GB, free: 0.6406 MB / 446.1 MB
Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001134/0.433, allocations: 47.97 kB / 0.5353 GB, free: 0.5938 MB / 446.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.0004233/0.4334, allocations: 229.6 kB / 0.5355 GB, free: 368 kB / 446.1 MB
Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004164/0.4339, allocations: 67.62 kB / 0.5356 GB, free: 300 kB / 446.1 MB
Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.1847/0.6185, allocations: 1.277 MB / 0.5368 GB, free: 113.3 MB / 446.1 MB
Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.819e-05/0.6185, allocations: 9.266 kB / 0.5368 GB, free: 113.3 MB / 446.1 MB
Notification: Performance of postOpt constantLinearSystem (simulation): time 4.849e-06/0.6185, allocations: 0.5 kB / 0.5368 GB, free: 113.3 MB / 446.1 MB
Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001769/0.6203, allocations: 1.32 MB / 0.5381 GB, free: 112.4 MB / 446.1 MB
Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003155/0.6235, allocations: 1.933 MB / 0.54 GB, free: 111.5 MB / 446.1 MB
Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.879e-06/0.6235, allocations: 1.281 kB / 0.54 GB, free: 111.5 MB / 446.1 MB
Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007194/0.6242, allocations: 159.3 kB / 0.5401 GB, free: 111.5 MB / 446.1 MB
Notification: Performance of postOpt tearingSystem (simulation): time 0.001756/0.6259, allocations: 295.7 kB / 0.5404 GB, free: 111.5 MB / 446.1 MB
Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.464e-05/0.626, allocations: 35.69 kB / 0.5405 GB, free: 111.5 MB / 446.1 MB
Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005505/0.6266, allocations: 1.282 MB / 0.5417 GB, free: 110.2 MB / 446.1 MB
Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.265e-06/0.6266, allocations: 3.75 kB / 0.5417 GB, free: 110.2 MB / 446.1 MB
Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002198/0.6288, allocations: 1.426 MB / 0.5431 GB, free: 109.6 MB / 446.1 MB
Notification: Performance of postOpt removeConstants (simulation): time 0.0001205/0.6289, allocations: 50.97 kB / 0.5432 GB, free: 109.6 MB / 446.1 MB
Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001005/0.629, allocations: 23.94 kB / 0.5432 GB, free: 109.6 MB / 446.1 MB
Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005508/0.6296, allocations: 28.17 kB / 0.5432 GB, free: 109.6 MB / 446.1 MB
Notification: Performance of postOpt findZeroCrossings (simulation): time 8.345e-05/0.6296, allocations: 56.47 kB / 0.5433 GB, free: 109.6 MB / 446.1 MB
Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.372e-05/0.6297, allocations: 49.33 kB / 0.5433 GB, free: 109.6 MB / 446.1 MB
Notification: Performance of sorting global known variables: time 0.0002655/0.63, allocations: 278.5 kB / 0.5436 GB, free: 109.4 MB / 446.1 MB
Notification: Performance of sort global known variables: time 9e-08/0.63, allocations: 0 / 0.5436 GB, free: 109.4 MB / 446.1 MB
Notification: Performance of remove unused functions: time 0.003259/0.6332, allocations: 1.421 MB / 0.545 GB, free: 109.3 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.005177/0.6384, allocations: 1.744 MB / 0.5467 GB, free: 109.1 MB / 446.1 MB
Notification: Performance of simCode: created initialization part: time 0.001871/0.6403, allocations: 1.108 MB / 0.5477 GB, free: 108.6 MB / 446.1 MB
Notification: Performance of simCode: created event and clocks part: time 4.077e-06/0.6403, allocations: 0 / 0.5477 GB, free: 108.6 MB / 446.1 MB
Notification: Performance of simCode: created simulation system equations: time 0.0007339/0.641, allocations: 475.6 kB / 0.5482 GB, free: 108.4 MB / 446.1 MB
Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001757/0.6428, allocations: 395.1 kB / 0.5486 GB, free: 108.3 MB / 446.1 MB
Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002267/0.6451, allocations: 1.686 MB / 0.5502 GB, free: 107.5 MB / 446.1 MB
Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002561/0.6453, allocations: 0.9119 MB / 0.5511 GB, free: 106.8 MB / 446.1 MB
Notification: Performance of simCode: alias equations: time 0.0005786/0.6459, allocations: 203.3 kB / 0.5513 GB, free: 106.7 MB / 446.1 MB
Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001846/0.6461, allocations: 74.66 kB / 0.5514 GB, free: 106.7 MB / 446.1 MB
Notification: Performance of SimCode: time 8.31e-07/0.6461, allocations: 0 / 0.5514 GB, free: 106.7 MB / 446.1 MB
Notification: Performance of Templates: time 0.04967/0.6957, allocations: 50.64 MB / 0.6008 GB, free: 56.42 MB / 446.1 MB
"
[Timeout remaining time 659]
make -j1 -f Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.MoistAir2.makefile [Timeout 660]
(rm -f Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.MoistAir2.pipe ; mkfifo Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.MoistAir2.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.MoistAir2.pipe >> ../files/Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.MoistAir2.sim & ./Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.MoistAir2  -abortSlowSimulation -alarm=480  -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.MoistAir2.pipe 2>&1) [Timeout 480]
diffSimulationResults("Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.MoistAir2_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Media/Examples/ReferenceAir/MoistAir2/MoistAir2.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_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.863857711665332]