Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0-beta.om_Modelica.Media.Examples.ReferenceAir.MoistAir.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.001578/0.001578, 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.001727/0.001727, 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.464/1.464, allocations: 230.6 MB / 258.3 MB, free: 8.07 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.MoistAir,tolerance=1e-05,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|medium.T|medium.p",fileNamePrefix="Modelica_4.1.0-beta.om_Modelica.Media.Examples.ReferenceAir.MoistAir")
translateModel(Modelica.Media.Examples.ReferenceAir.MoistAir,tolerance=1e-05,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|medium.T|medium.p",fileNamePrefix="Modelica_4.1.0-beta.om_Modelica.Media.Examples.ReferenceAir.MoistAir") [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.001988/0.001988, allocations: 68.75 kB / 379 MB, free: 2.668 MB / 302.1 MB
Notification: Performance of FrontEnd - Absyn->SCode: time 0.2396/0.2416, allocations: 53.37 MB / 432.4 MB, free: 6.961 MB / 334.1 MB
Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.ReferenceAir.MoistAir): time 0.03856/0.2802, allocations: 26.88 MB / 459.3 MB, free: 11.99 MB / 366.1 MB
Notification: Performance of NFInst.instExpressions: time 0.003285/0.2835, allocations: 2.266 MB / 461.6 MB, free: 9.715 MB / 366.1 MB
Notification: Performance of NFInst.updateImplicitVariability: time 9.138e-05/0.2835, allocations: 0 / 461.6 MB, free: 9.715 MB / 366.1 MB
Notification: Performance of NFTyping.typeComponents: time 0.0003674/0.2839, allocations: 63.62 kB / 461.6 MB, free: 9.652 MB / 366.1 MB
Notification: Performance of NFTyping.typeBindings: time 0.0005071/0.2844, allocations: 175 kB / 461.8 MB, free: 9.48 MB / 366.1 MB
Notification: Performance of NFTyping.typeClassSections: time 0.01616/0.3006, allocations: 6.583 MB / 468.4 MB, free: 2.898 MB / 366.1 MB
Notification: Performance of NFFlatten.flatten: time 0.0005506/0.3011, allocations: 334.7 kB / 468.7 MB, free: 2.57 MB / 366.1 MB
Notification: Performance of NFFlatten.resolveConnections: time 5.205e-05/0.3012, allocations: 9.734 kB / 468.7 MB, free: 2.562 MB / 366.1 MB
Notification: Performance of NFEvalConstants.evaluate: time 0.0002631/0.3014, allocations: 143.5 kB / 468.9 MB, free: 2.422 MB / 366.1 MB
Notification: Performance of NFSimplifyModel.simplify: time 0.0002459/0.3017, allocations: 139.5 kB / 469 MB, free: 2.285 MB / 366.1 MB
Notification: Performance of NFPackage.collectConstants: time 3.057e-05/0.3017, allocations: 12 kB / 469 MB, free: 2.273 MB / 366.1 MB
Notification: Performance of NFFlatten.collectFunctions: time 0.01775/0.3195, allocations: 9.709 MB / 478.7 MB, free: 8.551 MB / 382.1 MB
Notification: Performance of NFScalarize.scalarize: time 0.0001338/0.3196, allocations: 63.86 kB / 478.8 MB, free: 8.488 MB / 382.1 MB
Notification: Performance of NFVerifyModel.verify: time 0.0001714/0.3198, allocations: 107.6 kB / 478.9 MB, free: 8.383 MB / 382.1 MB
Notification: Performance of NFConvertDAE.convert: time 0.0114/0.3312, allocations: 4.74 MB / 483.6 MB, free: 3.633 MB / 382.1 MB
Notification: Performance of FrontEnd - DAE generated: time 4.929e-06/0.3312, allocations: 0 / 483.6 MB, free: 3.633 MB / 382.1 MB
Notification: Performance of FrontEnd: time 1.633e-06/0.3312, allocations: 0 / 483.6 MB, free: 3.633 MB / 382.1 MB
Notification: Performance of Transformations before backend: time 1.292e-05/0.3312, allocations: 0 / 483.6 MB, free: 3.633 MB / 382.1 MB
Notification: Model statistics after passing the front-end and creating the data structures used by the back-end:
 * Number of equations: 40
 * Number of variables: 40
Notification: Performance of Generate backend data structure: time 0.003505/0.3347, allocations: 1.105 MB / 484.7 MB, free: 2.488 MB / 382.1 MB
Notification: Performance of prepare preOptimizeDAE: time 3.984e-05/0.3347, allocations: 8.031 kB / 484.7 MB, free: 2.48 MB / 382.1 MB
Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001608/0.3349, allocations: 28.2 kB / 484.8 MB, free: 2.453 MB / 382.1 MB
Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002605/0.3352, allocations: 168.9 kB / 484.9 MB, free: 2.262 MB / 382.1 MB
Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.035e-05/0.3352, allocations: 12.33 kB / 484.9 MB, free: 2.25 MB / 382.1 MB
Notification: Performance of preOpt expandDerOperator (simulation): time 5.159e-05/0.3352, allocations: 19.95 kB / 485 MB, free: 2.23 MB / 382.1 MB
Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007424/0.336, allocations: 297.3 kB / 485.2 MB, free: 1.93 MB / 382.1 MB
Notification: Performance of preOpt findStateOrder (simulation): time 1.46e-05/0.336, allocations: 3.938 kB / 485.2 MB, free: 1.926 MB / 382.1 MB
Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.076e-05/0.336, allocations: 4 kB / 485.2 MB, free: 1.922 MB / 382.1 MB
Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.993e-05/0.336, allocations: 15.94 kB / 485.3 MB, free: 1.906 MB / 382.1 MB
Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008102/0.3369, allocations: 307.8 kB / 485.6 MB, free: 1.605 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.00161/0.3385, allocations: 0.8043 MB / 486.4 MB, free: 0.7266 MB / 382.1 MB
Notification: Performance of preOpt comSubExp (simulation): time 0.000735/0.3392, allocations: 233.2 kB / 486.6 MB, free: 492 kB / 382.1 MB
Notification: Performance of preOpt resolveLoops (simulation): time 0.0003176/0.3395, allocations: 133.6 kB / 486.7 MB, free: 352 kB / 382.1 MB
Notification: Performance of preOpt evalFunc (simulation): time 0.01153/0.351, allocations: 2.671 MB / 489.4 MB, free: 13.67 MB / 398.1 MB
Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.666e-05/0.3511, allocations: 38.56 kB / 489.4 MB, free: 13.62 MB / 398.1 MB
Notification: Performance of pre-optimization done (n=29): time 4.248e-06/0.3511, allocations: 3.984 kB / 489.4 MB, free: 13.62 MB / 398.1 MB
Notification: Performance of matching and sorting (n=36): time 0.003005/0.3541, allocations: 0.7089 MB / 490.1 MB, free: 12.91 MB / 398.1 MB
Notification: Performance of inlineWhenForInitialization (initialization): time 5.734e-05/0.3542, allocations: 81.11 kB / 490.2 MB, free: 12.81 MB / 398.1 MB
Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001638/0.3543, allocations: 141.8 kB / 490.4 MB, free: 12.66 MB / 398.1 MB
Notification: Performance of collectPreVariables (initialization): time 4.093e-05/0.3544, allocations: 29.7 kB / 490.4 MB, free: 12.63 MB / 398.1 MB
Notification: Performance of collectInitialEqns (initialization): time 8.259e-05/0.3544, allocations: 116.9 kB / 490.5 MB, free: 12.51 MB / 398.1 MB
Notification: Performance of collectInitialBindings (initialization): time 0.0001356/0.3546, allocations: 138.8 kB / 490.6 MB, free: 12.38 MB / 398.1 MB
Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001309/0.3547, allocations: 73.64 kB / 490.7 MB, free: 12.3 MB / 398.1 MB
Notification: Performance of setup shared object (initialization): time 0.0001711/0.3549, allocations: 334.8 kB / 491 MB, free: 11.96 MB / 398.1 MB
Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003943/0.3553, allocations: 135.8 kB / 491.2 MB, free: 11.83 MB / 398.1 MB
Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005215/0.3558, allocations: 215.6 kB / 491.4 MB, free: 11.59 MB / 398.1 MB
Notification: Performance of analyzeInitialSystem (initialization): time 0.0009742/0.3568, allocations: 361.4 kB / 491.7 MB, free: 11.21 MB / 398.1 MB
Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.716e-06/0.3568, allocations: 0 / 491.7 MB, free: 11.21 MB / 398.1 MB
Notification: Performance of matching and sorting (n=43) (initialization): time 0.001227/0.358, allocations: 427.7 kB / 492.2 MB, free: 10.79 MB / 398.1 MB
Notification: Performance of prepare postOptimizeDAE: time 2.134e-05/0.358, allocations: 8 kB / 492.2 MB, free: 10.79 MB / 398.1 MB
Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.384e-06/0.358, allocations: 0 / 492.2 MB, free: 10.79 MB / 398.1 MB
Notification: Performance of postOpt tearingSystem (initialization): time 2.309e-05/0.358, allocations: 7.938 kB / 492.2 MB, free: 10.78 MB / 398.1 MB
Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004945/0.3585, allocations: 91.86 kB / 492.3 MB, free: 10.69 MB / 398.1 MB
Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.398e-06/0.3586, allocations: 0 / 492.3 MB, free: 10.69 MB / 398.1 MB
Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003045/0.3589, allocations: 24.17 kB / 492.3 MB, free: 10.66 MB / 398.1 MB
Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.094e-05/0.3589, allocations: 27.92 kB / 492.3 MB, free: 10.64 MB / 398.1 MB
Notification: Model statistics after passing the back-end for initialization:
 * Number of independent subsystems: 9
 * 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 (43):
 * 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: 0
 * Mixed (continuous/discrete) equation systems: 0
Notification: Performance of prepare postOptimizeDAE: time 0.0001558/0.3591, allocations: 137.7 kB / 492.4 MB, free: 10.49 MB / 398.1 MB
Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001468/0.3592, allocations: 23.86 kB / 492.5 MB, free: 10.47 MB / 398.1 MB
Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000519/0.3597, allocations: 198.7 kB / 492.7 MB, free: 10.27 MB / 398.1 MB
Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.082e-06/0.3597, allocations: 4 kB / 492.7 MB, free: 10.26 MB / 398.1 MB
Notification: Performance of postOpt constantLinearSystem (simulation): time 7.174e-06/0.3597, allocations: 3.984 kB / 492.7 MB, free: 10.26 MB / 398.1 MB
Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.659e-06/0.3597, allocations: 0 / 492.7 MB, free: 10.26 MB / 398.1 MB
Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001884/0.3616, allocations: 0.7548 MB / 493.4 MB, free: 9.438 MB / 398.1 MB
Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.831e-06/0.3616, allocations: 4 kB / 493.4 MB, free: 9.434 MB / 398.1 MB
Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004423/0.3621, allocations: 80.03 kB / 493.5 MB, free: 9.355 MB / 398.1 MB
Notification: Performance of postOpt tearingSystem (simulation): time 7.814e-06/0.3621, allocations: 4 kB / 493.5 MB, free: 9.352 MB / 398.1 MB
Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.371e-05/0.3621, allocations: 15.94 kB / 493.5 MB, free: 9.336 MB / 398.1 MB
Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.192e-06/0.3621, allocations: 4 kB / 493.5 MB, free: 9.332 MB / 398.1 MB
Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.717e-06/0.3621, allocations: 3.938 kB / 493.5 MB, free: 9.328 MB / 398.1 MB
Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00161/0.3637, allocations: 0.7185 MB / 494.3 MB, free: 8.574 MB / 398.1 MB
Notification: Performance of postOpt removeConstants (simulation): time 0.0001242/0.3639, allocations: 47.83 kB / 494.3 MB, free: 8.527 MB / 398.1 MB
Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.773e-05/0.3639, allocations: 11.98 kB / 494.3 MB, free: 8.516 MB / 398.1 MB
Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000369/0.3643, allocations: 23.98 kB / 494.3 MB, free: 8.492 MB / 398.1 MB
Notification: Performance of postOpt findZeroCrossings (simulation): time 5.564e-05/0.3643, allocations: 35.89 kB / 494.4 MB, free: 8.457 MB / 398.1 MB
Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.032e-05/0.3644, allocations: 19.98 kB / 494.4 MB, free: 8.438 MB / 398.1 MB
Notification: Performance of sorting global known variables: time 9.778e-05/0.3645, allocations: 109.8 kB / 494.5 MB, free: 8.332 MB / 398.1 MB
Notification: Performance of sort global known variables: time 7e-08/0.3645, allocations: 0 / 494.5 MB, free: 8.332 MB / 398.1 MB
Notification: Performance of remove unused functions: time 0.002529/0.367, allocations: 0.9628 MB / 495.5 MB, free: 7.367 MB / 398.1 MB
Notification: Model statistics after passing the back-end for simulation:
 * Number of independent subsystems: 7
 * Number of states: 2 (medium.p,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 (37):
 * 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: 0
 * Mixed (continuous/discrete) equation systems: 0
Notification: Performance of Backend phase and start with SimCode phase: time 0.003681/0.3707, allocations: 1.25 MB / 496.7 MB, free: 6.102 MB / 398.1 MB
Notification: Performance of simCode: created initialization part: time 0.001058/0.3717, allocations: 324 kB / 497 MB, free: 5.785 MB / 398.1 MB
Notification: Performance of simCode: created event and clocks part: time 3.196e-06/0.3717, allocations: 4 kB / 497 MB, free: 5.781 MB / 398.1 MB
Notification: Performance of simCode: created simulation system equations: time 0.0004825/0.3722, allocations: 175.2 kB / 497.2 MB, free: 5.613 MB / 398.1 MB
Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007294/0.373, allocations: 103 kB / 497.3 MB, free: 5.516 MB / 398.1 MB
Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001471/0.3744, allocations: 0.6218 MB / 497.9 MB, free: 4.852 MB / 398.1 MB
Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004103/0.3748, allocations: 0.7606 MB / 498.7 MB, free: 4.066 MB / 398.1 MB
Notification: Performance of simCode: alias equations: time 0.0003443/0.3752, allocations: 86.16 kB / 498.8 MB, free: 3.984 MB / 398.1 MB
Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001567/0.3753, allocations: 39.42 kB / 498.8 MB, free: 3.945 MB / 398.1 MB
Notification: Performance of SimCode: time 4.11e-07/0.3753, allocations: 0 / 498.8 MB, free: 3.945 MB / 398.1 MB
Notification: Performance of Templates: time 0.04504/0.4204, allocations: 30.16 MB / 0.5166 GB, free: 5.812 MB / 430.1 MB
"
[Timeout remaining time 660]
make -j1 -f Modelica_4.1.0-beta.om_Modelica.Media.Examples.ReferenceAir.MoistAir.makefile [Timeout 660]
(rm -f Modelica_4.1.0-beta.om_Modelica.Media.Examples.ReferenceAir.MoistAir.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Media.Examples.ReferenceAir.MoistAir.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Media.Examples.ReferenceAir.MoistAir.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Media.Examples.ReferenceAir.MoistAir.sim & ./Modelica_4.1.0-beta.om_Modelica.Media.Examples.ReferenceAir.MoistAir  -abortSlowSimulation -alarm=480  -emit_protected -lv LOG_STATS > Modelica_4.1.0-beta.om_Modelica.Media.Examples.ReferenceAir.MoistAir.pipe 2>&1) [Timeout 480]
diffSimulationResults("Modelica_4.1.0-beta.om_Modelica.Media.Examples.ReferenceAir.MoistAir_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Media/Examples/ReferenceAir/MoistAir/MoistAir.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0-beta.om_Modelica.Media.Examples.ReferenceAir.MoistAir.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: 6.145086628384888]