Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.MoistAir.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.001696/0.001696, 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.001821/0.001821, allocations: 182.1 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.427/1.427, allocations: 225.6 MB / 252.5 MB, free: 12.98 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.MoistAir,tolerance=1e-05,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|medium.T|medium.p",fileNamePrefix="Modelica_4.0.0_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.0.0_Modelica.Media.Examples.ReferenceAir.MoistAir") [Timeout 660]
"Notification: Performance of FrontEnd - loaded program: time 0.001531/0.001531, allocations: 52.05 kB / 370.9 MB, free: 9.359 MB / 302.1 MB
Notification: Performance of FrontEnd - Absyn->SCode: time 0.2246/0.2262, allocations: 52.19 MB / 423.1 MB, free: 14.84 MB / 334.1 MB
Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.ReferenceAir.MoistAir): time 0.04658/0.2727, allocations: 26.68 MB / 449.8 MB, free: 4.055 MB / 350.1 MB
Notification: Performance of NFInst.instExpressions: time 0.003328/0.2761, allocations: 2.255 MB / 452 MB, free: 1.793 MB / 350.1 MB
Notification: Performance of NFInst.updateImplicitVariability: time 0.0001166/0.2762, allocations: 0 / 452 MB, free: 1.793 MB / 350.1 MB
Notification: Performance of NFTyping.typeComponents: time 0.0003857/0.2766, allocations: 63.64 kB / 452.1 MB, free: 1.73 MB / 350.1 MB
Notification: Performance of NFTyping.typeBindings: time 0.0004528/0.277, allocations: 151.2 kB / 452.3 MB, free: 1.582 MB / 350.1 MB
Notification: Performance of NFTyping.typeClassSections: time 0.01796/0.295, allocations: 6.568 MB / 458.8 MB, free: 11.01 MB / 366.1 MB
Notification: Performance of NFFlatten.flatten: time 0.0005512/0.2955, allocations: 314.9 kB / 459.1 MB, free: 10.7 MB / 366.1 MB
Notification: Performance of NFFlatten.resolveConnections: time 5.966e-05/0.2956, allocations: 13.28 kB / 459.1 MB, free: 10.69 MB / 366.1 MB
Notification: Performance of NFEvalConstants.evaluate: time 0.0003303/0.2959, allocations: 139.5 kB / 459.3 MB, free: 10.55 MB / 366.1 MB
Notification: Performance of NFSimplifyModel.simplify: time 0.0003029/0.2962, allocations: 127.5 kB / 459.4 MB, free: 10.43 MB / 366.1 MB
Notification: Performance of NFPackage.collectConstants: time 4.944e-05/0.2963, allocations: 8 kB / 459.4 MB, free: 10.42 MB / 366.1 MB
Notification: Performance of NFFlatten.collectFunctions: time 0.01932/0.3156, allocations: 9.682 MB / 469.1 MB, free: 0.7266 MB / 366.1 MB
Notification: Performance of NFScalarize.scalarize: time 0.0001667/0.3158, allocations: 67.8 kB / 469.2 MB, free: 0.6602 MB / 366.1 MB
Notification: Performance of NFVerifyModel.verify: time 0.0001915/0.316, allocations: 91.64 kB / 469.3 MB, free: 0.5703 MB / 366.1 MB
Notification: Performance of NFConvertDAE.convert: time 0.01173/0.3277, allocations: 4.716 MB / 474 MB, free: 11.84 MB / 382.1 MB
Notification: Performance of FrontEnd - DAE generated: time 5.981e-06/0.3277, allocations: 0 / 474 MB, free: 11.84 MB / 382.1 MB
Notification: Performance of FrontEnd: time 1.703e-06/0.3277, allocations: 0 / 474 MB, free: 11.84 MB / 382.1 MB
Notification: Performance of Transformations before backend: time 1.041e-05/0.3277, allocations: 3.938 kB / 474 MB, free: 11.84 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.003709/0.3314, allocations: 1.078 MB / 475.1 MB, free: 10.72 MB / 382.1 MB
Notification: Performance of prepare preOptimizeDAE: time 4.147e-05/0.3315, allocations: 8.031 kB / 475.1 MB, free: 10.71 MB / 382.1 MB
Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001806/0.3316, allocations: 24.59 kB / 475.1 MB, free: 10.69 MB / 382.1 MB
Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003105/0.3319, allocations: 161 kB / 475.2 MB, free: 10.51 MB / 382.1 MB
Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.991e-05/0.332, allocations: 8.328 kB / 475.2 MB, free: 10.5 MB / 382.1 MB
Notification: Performance of preOpt expandDerOperator (simulation): time 7.456e-05/0.332, allocations: 23.98 kB / 475.3 MB, free: 10.48 MB / 382.1 MB
Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007973/0.3328, allocations: 281.4 kB / 475.5 MB, free: 10.19 MB / 382.1 MB
Notification: Performance of preOpt findStateOrder (simulation): time 1.515e-05/0.3329, allocations: 0 / 475.5 MB, free: 10.19 MB / 382.1 MB
Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.746e-05/0.3329, allocations: 12 kB / 475.6 MB, free: 10.18 MB / 382.1 MB
Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.999e-05/0.3329, allocations: 8 kB / 475.6 MB, free: 10.17 MB / 382.1 MB
Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008726/0.3338, allocations: 319.6 kB / 475.9 MB, free: 9.859 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.001608/0.3354, allocations: 0.7885 MB / 476.7 MB, free: 9 MB / 382.1 MB
Notification: Performance of preOpt comSubExp (simulation): time 0.0007931/0.3362, allocations: 237.1 kB / 476.9 MB, free: 8.75 MB / 382.1 MB
Notification: Performance of preOpt resolveLoops (simulation): time 0.0003482/0.3365, allocations: 137.6 kB / 477 MB, free: 8.609 MB / 382.1 MB
Notification: Performance of preOpt evalFunc (simulation): time 0.01197/0.3485, allocations: 2.683 MB / 479.7 MB, free: 5.926 MB / 382.1 MB
Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.272e-05/0.3485, allocations: 42.55 kB / 479.8 MB, free: 5.875 MB / 382.1 MB
Notification: Performance of pre-optimization done (n=29): time 2.314e-06/0.3485, allocations: 4 kB / 479.8 MB, free: 5.871 MB / 382.1 MB
Notification: Performance of matching and sorting (n=36): time 0.003139/0.3517, allocations: 0.6944 MB / 480.5 MB, free: 5.176 MB / 382.1 MB
Notification: Performance of inlineWhenForInitialization (initialization): time 5.661e-05/0.3517, allocations: 85.09 kB / 480.5 MB, free: 5.074 MB / 382.1 MB
Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001489/0.3519, allocations: 122 kB / 480.7 MB, free: 4.945 MB / 382.1 MB
Notification: Performance of collectPreVariables (initialization): time 4.775e-05/0.3519, allocations: 41.7 kB / 480.7 MB, free: 4.898 MB / 382.1 MB
Notification: Performance of collectInitialEqns (initialization): time 7.684e-05/0.352, allocations: 108.9 kB / 480.8 MB, free: 4.789 MB / 382.1 MB
Notification: Performance of collectInitialBindings (initialization): time 0.0001237/0.3521, allocations: 126.9 kB / 480.9 MB, free: 4.664 MB / 382.1 MB
Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001369/0.3523, allocations: 69.64 kB / 481 MB, free: 4.59 MB / 382.1 MB
Notification: Performance of setup shared object (initialization): time 0.0001491/0.3524, allocations: 330.8 kB / 481.3 MB, free: 4.258 MB / 382.1 MB
Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004191/0.3528, allocations: 135.9 kB / 481.5 MB, free: 4.125 MB / 382.1 MB
Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005474/0.3534, allocations: 211.5 kB / 481.7 MB, free: 3.891 MB / 382.1 MB
Notification: Performance of analyzeInitialSystem (initialization): time 0.001017/0.3544, allocations: 367.3 kB / 482 MB, free: 3.508 MB / 382.1 MB
Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.043e-06/0.3544, allocations: 3.938 kB / 482 MB, free: 3.504 MB / 382.1 MB
Notification: Performance of matching and sorting (n=43) (initialization): time 0.00126/0.3557, allocations: 415.2 kB / 482.4 MB, free: 3.094 MB / 382.1 MB
Notification: Performance of prepare postOptimizeDAE: time 1.761e-05/0.3557, allocations: 4 kB / 482.4 MB, free: 3.09 MB / 382.1 MB
Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.05e-05/0.3557, allocations: 7.938 kB / 482.4 MB, free: 3.082 MB / 382.1 MB
Notification: Performance of postOpt tearingSystem (initialization): time 2.084e-05/0.3557, allocations: 4 kB / 482.4 MB, free: 3.078 MB / 382.1 MB
Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005152/0.3562, allocations: 91.81 kB / 482.5 MB, free: 2.988 MB / 382.1 MB
Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.308e-05/0.3563, allocations: 12.16 kB / 482.5 MB, free: 2.977 MB / 382.1 MB
Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003241/0.3566, allocations: 27.91 kB / 482.6 MB, free: 2.949 MB / 382.1 MB
Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.653e-05/0.3566, allocations: 16 kB / 482.6 MB, free: 2.934 MB / 382.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.0001664/0.3568, allocations: 141.8 kB / 482.7 MB, free: 2.785 MB / 382.1 MB
Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001518/0.357, allocations: 19.91 kB / 482.7 MB, free: 2.766 MB / 382.1 MB
Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005151/0.3575, allocations: 190.4 kB / 482.9 MB, free: 2.57 MB / 382.1 MB
Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.029e-05/0.3575, allocations: 7.938 kB / 482.9 MB, free: 2.562 MB / 382.1 MB
Notification: Performance of postOpt constantLinearSystem (simulation): time 5.441e-06/0.3575, allocations: 0 / 482.9 MB, free: 2.562 MB / 382.1 MB
Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.865e-06/0.3575, allocations: 3.984 kB / 482.9 MB, free: 2.559 MB / 382.1 MB
Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001979/0.3595, allocations: 0.7353 MB / 483.7 MB, free: 1.758 MB / 382.1 MB
Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.701e-06/0.3595, allocations: 4 kB / 483.7 MB, free: 1.754 MB / 382.1 MB
Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004754/0.36, allocations: 79.88 kB / 483.8 MB, free: 1.676 MB / 382.1 MB
Notification: Performance of postOpt tearingSystem (simulation): time 9.388e-06/0.36, allocations: 4 kB / 483.8 MB, free: 1.672 MB / 382.1 MB
Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.683e-05/0.36, allocations: 11.98 kB / 483.8 MB, free: 1.66 MB / 382.1 MB
Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.118e-06/0.36, allocations: 7.938 kB / 483.8 MB, free: 1.652 MB / 382.1 MB
Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.904e-06/0.36, allocations: 0 / 483.8 MB, free: 1.652 MB / 382.1 MB
Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001741/0.3618, allocations: 0.7035 MB / 484.5 MB, free: 0.9141 MB / 382.1 MB
Notification: Performance of postOpt removeConstants (simulation): time 0.0001425/0.3619, allocations: 47.83 kB / 484.5 MB, free: 0.8672 MB / 382.1 MB
Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.692e-05/0.362, allocations: 8 kB / 484.5 MB, free: 0.8594 MB / 382.1 MB
Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003837/0.3623, allocations: 24.05 kB / 484.6 MB, free: 0.8359 MB / 382.1 MB
Notification: Performance of postOpt findZeroCrossings (simulation): time 5.92e-05/0.3624, allocations: 31.88 kB / 484.6 MB, free: 0.8047 MB / 382.1 MB
Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.162e-05/0.3624, allocations: 19.98 kB / 484.6 MB, free: 0.7852 MB / 382.1 MB
Notification: Performance of sorting global known variables: time 8.457e-05/0.3625, allocations: 99.2 kB / 484.7 MB, free: 0.6875 MB / 382.1 MB
Notification: Performance of sort global known variables: time 9.1e-08/0.3625, allocations: 0 / 484.7 MB, free: 0.6875 MB / 382.1 MB
Notification: Performance of remove unused functions: time 0.003108/0.3656, allocations: 0.9473 MB / 485.7 MB, free: 15.73 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.005122/0.3708, allocations: 1.257 MB / 486.9 MB, free: 14.47 MB / 398.1 MB
Notification: Performance of simCode: created initialization part: time 0.00125/0.372, allocations: 332 kB / 487.2 MB, free: 14.15 MB / 398.1 MB
Notification: Performance of simCode: created event and clocks part: time 4.058e-06/0.372, allocations: 0 / 487.2 MB, free: 14.15 MB / 398.1 MB
Notification: Performance of simCode: created simulation system equations: time 0.0005402/0.3725, allocations: 176.5 kB / 487.4 MB, free: 13.98 MB / 398.1 MB
Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008305/0.3734, allocations: 99.77 kB / 487.5 MB, free: 13.88 MB / 398.1 MB
Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001587/0.375, allocations: 0.6018 MB / 488.1 MB, free: 13.23 MB / 398.1 MB
Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004106/0.3754, allocations: 0.741 MB / 488.9 MB, free: 12.46 MB / 398.1 MB
Notification: Performance of simCode: alias equations: time 0.000383/0.3758, allocations: 85.89 kB / 488.9 MB, free: 12.38 MB / 398.1 MB
Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001524/0.3759, allocations: 31.42 kB / 489 MB, free: 12.35 MB / 398.1 MB
Notification: Performance of SimCode: time 1.022e-06/0.3759, allocations: 3.938 kB / 489 MB, free: 12.35 MB / 398.1 MB
Notification: Performance of Templates: time 0.04767/0.4236, allocations: 29.71 MB / 0.5065 GB, free: 14.66 MB / 430.1 MB
"
[Timeout remaining time 660]
make -j1 -f Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.MoistAir.makefile [Timeout 660]
(rm -f Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.MoistAir.pipe ; mkfifo Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.MoistAir.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.MoistAir.pipe >> ../files/Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.MoistAir.sim & ./Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.MoistAir  -abortSlowSimulation -alarm=480  -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.MoistAir.pipe 2>&1) [Timeout 480]
diffSimulationResults("Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.MoistAir_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Media/Examples/ReferenceAir/MoistAir/MoistAir.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_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.193818027153611]