Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0-beta.om_Modelica.Media.Examples.ReferenceAir.MoistAir1.conf.json
loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180]
"Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001304/0.001304, allocations: 106.5 kB / 21.23 MB, free: 0.6562 MB / 14.72 MB
"
[Timeout remaining time 180]
loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180]
"Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001447/0.001447, allocations: 213.2 kB / 24.54 MB, free: 4.016 MB / 14.72 MB
"
[Timeout remaining time 180]
loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo", uses=false) [Timeout 180]
"Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo): time 1.459/1.459, allocations: 230.6 MB / 258.3 MB, free: 8.047 MB / 206.1 MB
"
[Timeout remaining time 178]
Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo)
Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo)
Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo)
Running command: translateModel(Modelica.Media.Examples.ReferenceAir.MoistAir1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|volume.medium.T|volume.medium.Xi.1.|volume.medium.p",fileNamePrefix="Modelica_4.1.0-beta.om_Modelica.Media.Examples.ReferenceAir.MoistAir1")
translateModel(Modelica.Media.Examples.ReferenceAir.MoistAir1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|volume.medium.T|volume.medium.Xi.1.|volume.medium.p",fileNamePrefix="Modelica_4.1.0-beta.om_Modelica.Media.Examples.ReferenceAir.MoistAir1") [Timeout 660]
"Warning: Requested package Modelica of version trunk, but this package was already loaded with version 4.1.0. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions.
Warning: Requested package Complex of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions.
Warning: Requested package ModelicaServices of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions.
Notification: Performance of FrontEnd - loaded program: time 0.002015/0.002015, allocations: 68.77 kB / 379 MB, free: 2.645 MB / 302.1 MB
Notification: Performance of FrontEnd - Absyn->SCode: time 0.2222/0.2242, allocations: 53.37 MB / 432.4 MB, free: 6.953 MB / 334.1 MB
Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.ReferenceAir.MoistAir1): time 0.06063/0.2848, allocations: 51.17 MB / 483.6 MB, free: 3.609 MB / 382.1 MB
Notification: Performance of NFInst.instExpressions: time 0.006877/0.2917, allocations: 5.238 MB / 488.8 MB, free: 14.36 MB / 398.1 MB
Notification: Performance of NFInst.updateImplicitVariability: time 0.0002016/0.2919, allocations: 7.938 kB / 488.8 MB, free: 14.35 MB / 398.1 MB
Notification: Performance of NFTyping.typeComponents: time 0.0007451/0.2926, allocations: 258.6 kB / 489.1 MB, free: 14.09 MB / 398.1 MB
Notification: Performance of NFTyping.typeBindings: time 0.0006737/0.2933, allocations: 373.9 kB / 489.4 MB, free: 13.73 MB / 398.1 MB
Notification: Performance of NFTyping.typeClassSections: time 0.01718/0.3105, allocations: 7.205 MB / 496.7 MB, free: 6.523 MB / 398.1 MB
Notification: Performance of NFFlatten.flatten: time 0.001466/0.312, allocations: 1.115 MB / 497.8 MB, free: 5.406 MB / 398.1 MB
Notification: Performance of NFFlatten.resolveConnections: time 0.0002255/0.3122, allocations: 102.6 kB / 497.9 MB, free: 5.301 MB / 398.1 MB
Notification: Performance of NFEvalConstants.evaluate: time 0.006646/0.3188, allocations: 3.607 MB / 0.4897 GB, free: 1.688 MB / 398.1 MB
Notification: Performance of NFSimplifyModel.simplify: time 0.0006045/0.3194, allocations: 426.6 kB / 0.4901 GB, free: 1.27 MB / 398.1 MB
Notification: Performance of NFPackage.collectConstants: time 9.292e-05/0.3195, allocations: 56 kB / 0.4902 GB, free: 1.215 MB / 398.1 MB
Notification: Performance of NFFlatten.collectFunctions: time 0.01776/0.3373, allocations: 10.18 MB / 0.5001 GB, free: 7.02 MB / 414.1 MB
Notification: Performance of NFScalarize.scalarize: time 0.0003395/0.3376, allocations: 231.4 kB / 0.5003 GB, free: 6.793 MB / 414.1 MB
Notification: Performance of NFVerifyModel.verify: time 0.0004387/0.3381, allocations: 310.8 kB / 0.5006 GB, free: 6.488 MB / 414.1 MB
Notification: Performance of NFConvertDAE.convert: time 0.01053/0.3486, allocations: 5.538 MB / 0.506 GB, free: 0.9375 MB / 414.1 MB
Notification: Performance of FrontEnd - DAE generated: time 4.108e-06/0.3486, allocations: 4 kB / 0.5061 GB, free: 0.9336 MB / 414.1 MB
Notification: Performance of FrontEnd: time 1.102e-06/0.3486, allocations: 0 / 0.5061 GB, free: 0.9336 MB / 414.1 MB
Notification: Performance of Transformations before backend: time 8.916e-06/0.3486, allocations: 0 / 0.5061 GB, free: 0.9336 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: 107
 * Number of variables: 107
Notification: Performance of Generate backend data structure: time 0.002986/0.3516, allocations: 1.323 MB / 0.5073 GB, free: 15.57 MB / 430.1 MB
Notification: Performance of prepare preOptimizeDAE: time 3.351e-05/0.3516, allocations: 12.03 kB / 0.5074 GB, free: 15.56 MB / 430.1 MB
Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003364/0.352, allocations: 67.66 kB / 0.5074 GB, free: 15.5 MB / 430.1 MB
Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005102/0.3525, allocations: 301.3 kB / 0.5077 GB, free: 15.18 MB / 430.1 MB
Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.779e-05/0.3525, allocations: 33 kB / 0.5077 GB, free: 15.14 MB / 430.1 MB
Notification: Performance of preOpt expandDerOperator (simulation): time 8.445e-05/0.3526, allocations: 40 kB / 0.5078 GB, free: 15.11 MB / 430.1 MB
Notification: Performance of preOpt clockPartitioning (simulation): time 0.001339/0.3539, allocations: 0.592 MB / 0.5084 GB, free: 14.51 MB / 430.1 MB
Notification: Performance of preOpt findStateOrder (simulation): time 2.002e-05/0.354, allocations: 4 kB / 0.5084 GB, free: 14.5 MB / 430.1 MB
Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.732e-05/0.354, allocations: 20 kB / 0.5084 GB, free: 14.48 MB / 430.1 MB
Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.461e-05/0.354, allocations: 12 kB / 0.5084 GB, free: 14.47 MB / 430.1 MB
Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00147/0.3555, allocations: 0.7495 MB / 0.5091 GB, free: 13.72 MB / 430.1 MB
Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01319/0.3687, allocations: 4.172 MB / 0.5132 GB, free: 9.406 MB / 430.1 MB
Notification: Performance of preOpt comSubExp (simulation): time 0.001307/0.37, allocations: 0.5086 MB / 0.5137 GB, free: 8.887 MB / 430.1 MB
Notification: Performance of preOpt resolveLoops (simulation): time 0.0003946/0.3704, allocations: 243.4 kB / 0.5139 GB, free: 8.648 MB / 430.1 MB
Notification: Performance of preOpt evalFunc (simulation): time 0.01088/0.3813, allocations: 2.545 MB / 0.5164 GB, free: 6.102 MB / 430.1 MB
Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.129e-05/0.3813, allocations: 39 kB / 0.5164 GB, free: 6.055 MB / 430.1 MB
Notification: Performance of pre-optimization done (n=50): time 2.094e-06/0.3813, allocations: 0 / 0.5164 GB, free: 6.055 MB / 430.1 MB
Notification: Performance of matching and sorting (n=55): time 0.005873/0.3872, allocations: 1.893 MB / 0.5183 GB, free: 4.121 MB / 430.1 MB
Notification: Performance of inlineWhenForInitialization (initialization): time 5.431e-05/0.3873, allocations: 63.89 kB / 0.5184 GB, free: 4.047 MB / 430.1 MB
Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004025/0.3877, allocations: 320.2 kB / 0.5187 GB, free: 3.727 MB / 430.1 MB
Notification: Performance of collectPreVariables (initialization): time 5.667e-05/0.3877, allocations: 37.7 kB / 0.5187 GB, free: 3.684 MB / 430.1 MB
Notification: Performance of collectInitialEqns (initialization): time 0.0001569/0.3879, allocations: 204.7 kB / 0.5189 GB, free: 3.48 MB / 430.1 MB
Notification: Performance of collectInitialBindings (initialization): time 0.0001634/0.388, allocations: 198.3 kB / 0.5191 GB, free: 3.285 MB / 430.1 MB
Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001944/0.3882, allocations: 118.3 kB / 0.5192 GB, free: 3.164 MB / 430.1 MB
Notification: Performance of setup shared object (initialization): time 0.0001697/0.3884, allocations: 346.8 kB / 0.5195 GB, free: 2.816 MB / 430.1 MB
Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004164/0.3888, allocations: 241.2 kB / 0.5198 GB, free: 2.582 MB / 430.1 MB
Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006928/0.3895, allocations: 336.3 kB / 0.5201 GB, free: 2.223 MB / 430.1 MB
Notification: Performance of analyzeInitialSystem (initialization): time 0.001264/0.3908, allocations: 0.6034 MB / 0.5207 GB, free: 1.586 MB / 430.1 MB
Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.044e-06/0.3908, allocations: 0 / 0.5207 GB, free: 1.586 MB / 430.1 MB
Notification: Performance of matching and sorting (n=70) (initialization): time 0.001933/0.3927, allocations: 0.7559 MB / 0.5214 GB, free: 0.8164 MB / 430.1 MB
Notification: Performance of prepare postOptimizeDAE: time 2.037e-05/0.3927, allocations: 11.94 kB / 0.5214 GB, free: 0.8047 MB / 430.1 MB
Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.923e-06/0.3927, allocations: 0 / 0.5214 GB, free: 0.8047 MB / 430.1 MB
Notification: Performance of postOpt tearingSystem (initialization): time 0.0004989/0.3932, allocations: 102.5 kB / 0.5215 GB, free: 0.6953 MB / 430.1 MB
Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005338/0.3938, allocations: 123.8 kB / 0.5216 GB, free: 0.5742 MB / 430.1 MB
Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00286/0.3966, allocations: 3.273 MB / 0.5248 GB, free: 13.05 MB / 446.1 MB
Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003221/0.3969, allocations: 16 kB / 0.5248 GB, free: 13.03 MB / 446.1 MB
Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.039e-05/0.397, allocations: 32.06 kB / 0.5249 GB, free: 13 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 (67):
 * Single equations (assignments): 64
 * Array equations: 0
 * Algorithm blocks: 0
 * Record equations: 0
 * When equations: 0
 * If-equations: 0
 * Equation systems (not torn): 1
 * 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): 1 system
   {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.0003138/0.3973, allocations: 201.6 kB / 0.5251 GB, free: 12.79 MB / 446.1 MB
Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003081/0.3976, allocations: 47.77 kB / 0.5251 GB, free: 12.75 MB / 446.1 MB
Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00173/0.3994, allocations: 0.8074 MB / 0.5259 GB, free: 11.9 MB / 446.1 MB
Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.073e-06/0.3994, allocations: 7.938 kB / 0.5259 GB, free: 11.89 MB / 446.1 MB
Notification: Performance of postOpt constantLinearSystem (simulation): time 2.785e-06/0.3994, allocations: 4 kB / 0.5259 GB, free: 11.89 MB / 446.1 MB
Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001252/0.4006, allocations: 0.7635 MB / 0.5267 GB, free: 11.06 MB / 446.1 MB
Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00226/0.4029, allocations: 1.277 MB / 0.5279 GB, free: 9.719 MB / 446.1 MB
Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.861e-06/0.4029, allocations: 4 kB / 0.5279 GB, free: 9.715 MB / 446.1 MB
Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000475/0.4034, allocations: 95.89 kB / 0.528 GB, free: 9.621 MB / 446.1 MB
Notification: Performance of postOpt tearingSystem (simulation): time 0.0009582/0.4043, allocations: 152.7 kB / 0.5281 GB, free: 9.469 MB / 446.1 MB
Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.215e-05/0.4044, allocations: 19.92 kB / 0.5282 GB, free: 9.449 MB / 446.1 MB
Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000479/0.4049, allocations: 0.6445 MB / 0.5288 GB, free: 8.781 MB / 446.1 MB
Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.362e-06/0.4049, allocations: 0 / 0.5288 GB, free: 8.781 MB / 446.1 MB
Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001803/0.4067, allocations: 0.9093 MB / 0.5297 GB, free: 7.848 MB / 446.1 MB
Notification: Performance of postOpt removeConstants (simulation): time 9.007e-05/0.4068, allocations: 39.8 kB / 0.5297 GB, free: 7.809 MB / 446.1 MB
Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.196e-05/0.4068, allocations: 12 kB / 0.5297 GB, free: 7.797 MB / 446.1 MB
Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004008/0.4072, allocations: 23.98 kB / 0.5298 GB, free: 7.773 MB / 446.1 MB
Notification: Performance of postOpt findZeroCrossings (simulation): time 6.628e-05/0.4073, allocations: 36.36 kB / 0.5298 GB, free: 7.738 MB / 446.1 MB
Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.258e-05/0.4074, allocations: 31.98 kB / 0.5298 GB, free: 7.707 MB / 446.1 MB
Notification: Performance of sorting global known variables: time 0.0003056/0.4077, allocations: 255 kB / 0.5301 GB, free: 7.461 MB / 446.1 MB
Notification: Performance of sort global known variables: time 8.1e-08/0.4077, allocations: 0 / 0.5301 GB, free: 7.461 MB / 446.1 MB
Notification: Performance of remove unused functions: time 0.003392/0.4111, allocations: 1.333 MB / 0.5314 GB, free: 6.125 MB / 446.1 MB
Notification: Model statistics after passing the back-end for simulation:
 * Number of independent subsystems: 3
 * Number of states: 3 (volume.medium.p,volume.medium.Xi[1],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 (51):
 * Single equations (assignments): 50
 * Array equations: 0
 * Algorithm blocks: 0
 * Record equations: 0
 * When equations: 0
 * If-equations: 0
 * Equation systems (not torn): 1
 * 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): 1 system
   {2}
 * Without analytic Jacobian (size): 0 systems
Notification: Performance of Backend phase and start with SimCode phase: time 0.004985/0.416, allocations: 1.702 MB / 0.533 GB, free: 4.41 MB / 446.1 MB
Notification: Performance of simCode: created initialization part: time 0.001637/0.4177, allocations: 0.7762 MB / 0.5338 GB, free: 3.605 MB / 446.1 MB
Notification: Performance of simCode: created event and clocks part: time 6.052e-06/0.4177, allocations: 4 kB / 0.5338 GB, free: 3.602 MB / 446.1 MB
Notification: Performance of simCode: created simulation system equations: time 0.0005794/0.4183, allocations: 279.9 kB / 0.5341 GB, free: 3.328 MB / 446.1 MB
Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001406/0.4197, allocations: 280.8 kB / 0.5343 GB, free: 3.055 MB / 446.1 MB
Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002018/0.4217, allocations: 1.116 MB / 0.5354 GB, free: 1.902 MB / 446.1 MB
Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004841/0.4222, allocations: 0.8442 MB / 0.5362 GB, free: 1.027 MB / 446.1 MB
Notification: Performance of simCode: alias equations: time 0.0005284/0.4227, allocations: 140.3 kB / 0.5364 GB, free: 0.8867 MB / 446.1 MB
Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001545/0.4229, allocations: 55.42 kB / 0.5364 GB, free: 0.8359 MB / 446.1 MB
Notification: Performance of SimCode: time 6.71e-07/0.4229, allocations: 3.938 kB / 0.5364 GB, free: 0.832 MB / 446.1 MB
Notification: Performance of Templates: time 0.2266/0.6495, allocations: 45.62 MB / 0.581 GB, free: 69.78 MB / 446.1 MB
"
[Timeout remaining time 659]
make -j1 -f Modelica_4.1.0-beta.om_Modelica.Media.Examples.ReferenceAir.MoistAir1.makefile [Timeout 660]
(rm -f Modelica_4.1.0-beta.om_Modelica.Media.Examples.ReferenceAir.MoistAir1.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Media.Examples.ReferenceAir.MoistAir1.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Media.Examples.ReferenceAir.MoistAir1.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Media.Examples.ReferenceAir.MoistAir1.sim & ./Modelica_4.1.0-beta.om_Modelica.Media.Examples.ReferenceAir.MoistAir1  -abortSlowSimulation -alarm=480  -emit_protected -lv LOG_STATS > Modelica_4.1.0-beta.om_Modelica.Media.Examples.ReferenceAir.MoistAir1.pipe 2>&1) [Timeout 480]
diffSimulationResults("Modelica_4.1.0-beta.om_Modelica.Media.Examples.ReferenceAir.MoistAir1_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Media/Examples/ReferenceAir/MoistAir1/MoistAir1.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0-beta.om_Modelica.Media.Examples.ReferenceAir.MoistAir1.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: 13.074808108620346]