Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Air.DryAirNasa.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.001361/0.001361, allocations: 104.6 kB / 21.17 MB, free: 0.5781 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.00137/0.00137, allocations: 185.2 kB / 24.46 MB, free: 3.945 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.466/1.466, 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.Tests.MediaTestModels.Air.DryAirNasa,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|volume.medium.T|volume.medium.p",fileNamePrefix="Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Air.DryAirNasa")
translateModel(Modelica.Media.Examples.Tests.MediaTestModels.Air.DryAirNasa,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|volume.medium.T|volume.medium.p",fileNamePrefix="Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Air.DryAirNasa") [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.001779/0.001779, allocations: 59.92 kB / 347.7 MB, free: 9.539 MB / 286.1 MB
Notification: Performance of FrontEnd - Absyn->SCode: time 0.2791/0.2808, allocations: 49.16 MB / 396.8 MB, free: 9.535 MB / 318.1 MB
Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.Tests.MediaTestModels.Air.DryAirNasa): time 0.2144/0.4952, allocations: 173.5 MB / 0.557 GB, free: 5.301 MB / 478.1 MB
Notification: Performance of NFInst.instExpressions: time 0.004499/0.4997, allocations: 3.256 MB / 0.5601 GB, free: 2.031 MB / 478.1 MB
Notification: Performance of NFInst.updateImplicitVariability: time 0.0001646/0.4999, allocations: 7.938 kB / 0.5602 GB, free: 2.023 MB / 478.1 MB
Notification: Performance of NFTyping.typeComponents: time 0.0005667/0.5004, allocations: 178.9 kB / 0.5603 GB, free: 1.848 MB / 478.1 MB
Notification: Performance of NFTyping.typeBindings: time 0.0008384/0.5013, allocations: 421.5 kB / 0.5607 GB, free: 1.438 MB / 478.1 MB
Notification: Performance of NFTyping.typeClassSections: time 0.000922/0.5022, allocations: 355.2 kB / 0.5611 GB, free: 1.09 MB / 478.1 MB
Notification: Performance of NFFlatten.flatten: time 0.001074/0.5033, allocations: 0.911 MB / 0.562 GB, free: 180 kB / 478.1 MB
Notification: Performance of NFFlatten.resolveConnections: time 0.0001832/0.5034, allocations: 72.83 kB / 0.562 GB, free: 108 kB / 478.1 MB
Notification: Performance of NFEvalConstants.evaluate: time 0.265/0.7685, allocations: 0.8067 MB / 0.5628 GB, free: 2.418 MB / 478.1 MB
Notification: Performance of NFSimplifyModel.simplify: time 0.0004746/0.769, allocations: 285.6 kB / 0.5631 GB, free: 2.418 MB / 478.1 MB
Notification: Performance of NFPackage.collectConstants: time 6.999e-05/0.769, allocations: 31.06 kB / 0.5631 GB, free: 2.418 MB / 478.1 MB
Notification: Performance of NFFlatten.collectFunctions: time 0.0003941/0.7694, allocations: 124.8 kB / 0.5632 GB, free: 2.418 MB / 478.1 MB
Notification: Performance of NFScalarize.scalarize: time 0.0001348/0.7696, allocations: 96.19 kB / 0.5633 GB, free: 2.418 MB / 478.1 MB
Notification: Performance of NFVerifyModel.verify: time 0.0002521/0.7698, allocations: 190.8 kB / 0.5635 GB, free: 2.418 MB / 478.1 MB
Notification: Performance of NFConvertDAE.convert: time 0.0008337/0.7706, allocations: 0.5219 MB / 0.564 GB, free: 2.395 MB / 478.1 MB
Notification: Performance of FrontEnd - DAE generated: time 3.426e-06/0.7706, allocations: 2.188 kB / 0.564 GB, free: 2.395 MB / 478.1 MB
Notification: Performance of FrontEnd: time 2.084e-06/0.7707, allocations: 0.7031 kB / 0.564 GB, free: 2.395 MB / 478.1 MB
Notification: Performance of Transformations before backend: time 1.589e-05/0.7707, allocations: 0 / 0.564 GB, free: 2.395 MB / 478.1 MB
Notification: Model statistics after passing the front-end and creating the data structures used by the back-end:
 * Number of equations: 60
 * Number of variables: 60
Notification: Performance of Generate backend data structure: time 0.001062/0.7717, allocations: 0.5158 MB / 0.5645 GB, free: 18.05 MB / 494.1 MB
Notification: Performance of prepare preOptimizeDAE: time 5.471e-05/0.7718, allocations: 14.64 kB / 0.5645 GB, free: 18.05 MB / 494.1 MB
Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003938/0.7722, allocations: 42.84 kB / 0.5646 GB, free: 18.03 MB / 494.1 MB
Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005325/0.7727, allocations: 228.4 kB / 0.5648 GB, free: 17.88 MB / 494.1 MB
Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.069e-05/0.7727, allocations: 21.72 kB / 0.5648 GB, free: 17.88 MB / 494.1 MB
Notification: Performance of preOpt expandDerOperator (simulation): time 6.941e-05/0.7728, allocations: 24.84 kB / 0.5648 GB, free: 17.88 MB / 494.1 MB
Notification: Performance of preOpt clockPartitioning (simulation): time 0.000626/0.7734, allocations: 317.1 kB / 0.5651 GB, free: 17.79 MB / 494.1 MB
Notification: Performance of preOpt findStateOrder (simulation): time 2.041e-05/0.7735, allocations: 1.969 kB / 0.5651 GB, free: 17.79 MB / 494.1 MB
Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.989e-05/0.7735, allocations: 15.19 kB / 0.5652 GB, free: 17.79 MB / 494.1 MB
Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.482e-05/0.7735, allocations: 7.781 kB / 0.5652 GB, free: 17.79 MB / 494.1 MB
Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000413/0.7739, allocations: 203.7 kB / 0.5654 GB, free: 17.79 MB / 494.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.002088/0.776, allocations: 1.558 MB / 0.5669 GB, free: 16.63 MB / 494.1 MB
Notification: Performance of preOpt comSubExp (simulation): time 0.0003196/0.7763, allocations: 167.4 kB / 0.567 GB, free: 16.61 MB / 494.1 MB
Notification: Performance of preOpt resolveLoops (simulation): time 0.0001451/0.7765, allocations: 85.84 kB / 0.5671 GB, free: 16.6 MB / 494.1 MB
Notification: Performance of preOpt evalFunc (simulation): time 4.464e-05/0.7765, allocations: 8.516 kB / 0.5671 GB, free: 16.6 MB / 494.1 MB
Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.969e-05/0.7766, allocations: 38.91 kB / 0.5672 GB, free: 16.56 MB / 494.1 MB
Notification: Performance of pre-optimization done (n=22): time 2.484e-06/0.7766, allocations: 5.062 kB / 0.5672 GB, free: 16.56 MB / 494.1 MB
Warning: Some equations could not be differentiated for following variables having attribute stateSelect=StateSelect.prefer. They will be treated as if they had stateSelect=StateSelect.default
========================================
1: volume.medium.T
Please use -d=bltdump for more information.
Notification: Performance of matching and sorting (n=27): time 0.00561/0.7822, allocations: 1.315 MB / 0.5685 GB, free: 16.21 MB / 494.1 MB
Notification: Performance of inlineWhenForInitialization (initialization): time 5.761e-05/0.7822, allocations: 59.03 kB / 0.5685 GB, free: 16.15 MB / 494.1 MB
Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003199/0.7825, allocations: 258 kB / 0.5688 GB, free: 16.04 MB / 494.1 MB
Notification: Performance of collectPreVariables (initialization): time 4.633e-05/0.7826, allocations: 31.73 kB / 0.5688 GB, free: 16.01 MB / 494.1 MB
Notification: Performance of collectInitialEqns (initialization): time 0.0001404/0.7827, allocations: 176.8 kB / 0.569 GB, free: 15.89 MB / 494.1 MB
Notification: Performance of collectInitialBindings (initialization): time 7.703e-05/0.7828, allocations: 104.8 kB / 0.5691 GB, free: 15.82 MB / 494.1 MB
Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001207/0.7829, allocations: 81.09 kB / 0.5691 GB, free: 15.8 MB / 494.1 MB
Notification: Performance of setup shared object (initialization): time 0.0002027/0.7831, allocations: 336.7 kB / 0.5695 GB, free: 15.49 MB / 494.1 MB
Notification: Performance of preBalanceInitialSystem (initialization): time 0.000167/0.7833, allocations: 91.14 kB / 0.5695 GB, free: 15.49 MB / 494.1 MB
Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001985/0.7835, allocations: 188.4 kB / 0.5697 GB, free: 15.38 MB / 494.1 MB
Notification: Performance of analyzeInitialSystem (initialization): time 0.0003836/0.7839, allocations: 300.1 kB / 0.57 GB, free: 15.27 MB / 494.1 MB
Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.154e-06/0.7839, allocations: 5.438 kB / 0.57 GB, free: 15.27 MB / 494.1 MB
Notification: Performance of matching and sorting (n=42) (initialization): time 0.0006835/0.7846, allocations: 406 kB / 0.5704 GB, free: 15.2 MB / 494.1 MB
Notification: Performance of prepare postOptimizeDAE: time 1.942e-05/0.7846, allocations: 5.875 kB / 0.5704 GB, free: 15.2 MB / 494.1 MB
Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.207e-05/0.7846, allocations: 8.375 kB / 0.5704 GB, free: 15.19 MB / 494.1 MB
Notification: Performance of postOpt tearingSystem (initialization): time 0.0002173/0.7848, allocations: 75.86 kB / 0.5705 GB, free: 15.18 MB / 494.1 MB
Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003817/0.7852, allocations: 84.06 kB / 0.5706 GB, free: 15.18 MB / 494.1 MB
Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001508/0.7867, allocations: 1.848 MB / 0.5724 GB, free: 13.45 MB / 494.1 MB
Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002254/0.7869, allocations: 12.31 kB / 0.5724 GB, free: 13.45 MB / 494.1 MB
Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.575e-05/0.787, allocations: 38.42 kB / 0.5724 GB, free: 13.45 MB / 494.1 MB
Notification: Model statistics after passing the back-end for initialization:
 * Number of independent subsystems: 14
 * 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 (40):
 * Single equations (assignments): 38
 * Array equations: 0
 * Algorithm blocks: 0
 * Record equations: 0
 * When equations: 0
 * If-equations: 0
 * Equation systems (not torn): 0
 * Torn equation systems: 2
 * Mixed (continuous/discrete) equation systems: 0
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.0001806/0.7872, allocations: 159.5 kB / 0.5726 GB, free: 13.33 MB / 494.1 MB
Notification: Performance of postOpt lateInlineFunction (simulation): time 6.866e-05/0.7872, allocations: 30.34 kB / 0.5726 GB, free: 13.31 MB / 494.1 MB
Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00086/0.7881, allocations: 439.8 kB / 0.573 GB, free: 13.23 MB / 494.1 MB
Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.248e-06/0.7881, allocations: 2.594 kB / 0.573 GB, free: 13.23 MB / 494.1 MB
Notification: Performance of postOpt constantLinearSystem (simulation): time 3.657e-06/0.7881, allocations: 4.156 kB / 0.573 GB, free: 13.23 MB / 494.1 MB
Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0005613/0.7887, allocations: 0.5577 MB / 0.5736 GB, free: 12.78 MB / 494.1 MB
Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001062/0.7897, allocations: 0.6964 MB / 0.5743 GB, free: 12.49 MB / 494.1 MB
Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.046e-06/0.7897, allocations: 0.5 kB / 0.5743 GB, free: 12.49 MB / 494.1 MB
Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003444/0.7901, allocations: 72.48 kB / 0.5743 GB, free: 12.49 MB / 494.1 MB
Notification: Performance of postOpt tearingSystem (simulation): time 7.063e-05/0.7901, allocations: 25.34 kB / 0.5744 GB, free: 12.48 MB / 494.1 MB
Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.681e-05/0.7902, allocations: 18 kB / 0.5744 GB, free: 12.48 MB / 494.1 MB
Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000942/0.7911, allocations: 1.281 MB / 0.5756 GB, free: 11.26 MB / 494.1 MB
Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.034e-06/0.7911, allocations: 2.75 kB / 0.5756 GB, free: 11.26 MB / 494.1 MB
Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007124/0.7918, allocations: 486.4 kB / 0.5761 GB, free: 11.08 MB / 494.1 MB
Notification: Performance of postOpt removeConstants (simulation): time 5.609e-05/0.7919, allocations: 20.8 kB / 0.5761 GB, free: 11.07 MB / 494.1 MB
Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.041e-05/0.7919, allocations: 11.84 kB / 0.5761 GB, free: 11.07 MB / 494.1 MB
Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002308/0.7922, allocations: 10.03 kB / 0.5761 GB, free: 11.07 MB / 494.1 MB
Notification: Performance of postOpt findZeroCrossings (simulation): time 5.991e-05/0.7922, allocations: 31.02 kB / 0.5762 GB, free: 11.06 MB / 494.1 MB
Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.882e-05/0.7923, allocations: 30.34 kB / 0.5762 GB, free: 11.06 MB / 494.1 MB
Notification: Performance of sorting global known variables: time 0.0002342/0.7925, allocations: 189.5 kB / 0.5764 GB, free: 10.98 MB / 494.1 MB
Notification: Performance of sort global known variables: time 1.11e-07/0.7925, allocations: 0 / 0.5764 GB, free: 10.98 MB / 494.1 MB
Notification: Performance of remove unused functions: time 0.0005888/0.7931, allocations: 125.9 kB / 0.5765 GB, free: 10.97 MB / 494.1 MB
Notification: Model statistics after passing the back-end for simulation:
 * Number of independent subsystems: 3
 * Number of states: 2 (volume.medium.p,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 (26):
 * Single equations (assignments): 25
 * Array equations: 0
 * Algorithm blocks: 0
 * Record equations: 0
 * When equations: 0
 * If-equations: 0
 * Equation systems (not torn): 0
 * Torn equation systems: 1
 * Mixed (continuous/discrete) equation systems: 0
Notification: Torn system details for strict tearing set:
 * Linear torn systems (#iteration vars, #inner vars, density): 1 system
   {(1,1,100.0%)}
 * Non-linear torn systems (#iteration vars, #inner vars): 0 systems
Notification: Performance of Backend phase and start with SimCode phase: time 0.0003641/0.7935, allocations: 144.9 kB / 0.5766 GB, free: 10.88 MB / 494.1 MB
Notification: Performance of simCode: created initialization part: time 0.0006725/0.7941, allocations: 363.4 kB / 0.577 GB, free: 10.77 MB / 494.1 MB
Notification: Performance of simCode: created event and clocks part: time 9.638e-06/0.7941, allocations: 1.969 kB / 0.577 GB, free: 10.77 MB / 494.1 MB
Notification: Performance of simCode: created simulation system equations: time 0.0002826/0.7944, allocations: 230.2 kB / 0.5772 GB, free: 10.66 MB / 494.1 MB
Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008653/0.7953, allocations: 167.5 kB / 0.5774 GB, free: 10.64 MB / 494.1 MB
Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001127/0.7964, allocations: 0.7077 MB / 0.578 GB, free: 10.34 MB / 494.1 MB
Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004116/0.7968, allocations: 0.7637 MB / 0.5788 GB, free: 9.641 MB / 494.1 MB
Notification: Performance of simCode: alias equations: time 0.0004191/0.7973, allocations: 119.2 kB / 0.5789 GB, free: 9.625 MB / 494.1 MB
Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000177/0.7974, allocations: 62.16 kB / 0.579 GB, free: 9.617 MB / 494.1 MB
Notification: Performance of SimCode: time 3.31e-07/0.7974, allocations: 1.203 kB / 0.579 GB, free: 9.617 MB / 494.1 MB
Notification: Performance of Templates: time 0.01383/0.8113, allocations: 9.022 MB / 0.5878 GB, free: 9.09 MB / 494.1 MB
"
[Timeout remaining time 659]
make -j1 -f Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Air.DryAirNasa.makefile [Timeout 660]
(rm -f Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Air.DryAirNasa.pipe ; mkfifo Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Air.DryAirNasa.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Air.DryAirNasa.pipe >> ../files/Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Air.DryAirNasa.sim & ./Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Air.DryAirNasa  -abortSlowSimulation -alarm=480  -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Air.DryAirNasa.pipe 2>&1) [Timeout 480]
diffSimulationResults("Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Air.DryAirNasa_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Media/Examples/Tests/MediaTestModels/Air/DryAirNasa/DryAirNasa.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Air.DryAirNasa.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: 5.301602356135845]