Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.Air.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.001602/0.001602, allocations: 106 kB / 21.18 MB, free: 0.6992 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.002046/0.002046, allocations: 181.2 kB / 24.46 MB, free: 4.062 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.445/1.445, 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.IdealGases.Air,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.IdealGases.Air")
translateModel(Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.Air,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.IdealGases.Air") [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.001837/0.001837, allocations: 55.92 kB / 347.7 MB, free: 9.539 MB / 286.1 MB
Notification: Performance of FrontEnd - Absyn->SCode: time 0.3056/0.3074, allocations: 49.16 MB / 396.8 MB, free: 9.52 MB / 318.1 MB
Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.Air): time 0.2232/0.5306, allocations: 173.5 MB / 0.557 GB, free: 5.297 MB / 478.1 MB
Notification: Performance of NFInst.instExpressions: time 0.005279/0.5359, allocations: 3.259 MB / 0.5602 GB, free: 2.023 MB / 478.1 MB
Notification: Performance of NFInst.updateImplicitVariability: time 0.0004874/0.5364, allocations: 4 kB / 0.5602 GB, free: 2.02 MB / 478.1 MB
Notification: Performance of NFTyping.typeComponents: time 0.0009331/0.5373, allocations: 170.9 kB / 0.5603 GB, free: 1.852 MB / 478.1 MB
Notification: Performance of NFTyping.typeBindings: time 0.001494/0.5388, allocations: 425.5 kB / 0.5607 GB, free: 1.438 MB / 478.1 MB
Notification: Performance of NFTyping.typeClassSections: time 0.001203/0.54, allocations: 347.3 kB / 0.5611 GB, free: 1.098 MB / 478.1 MB
Notification: Performance of NFFlatten.flatten: time 0.001384/0.5414, allocations: 0.9148 MB / 0.562 GB, free: 184 kB / 478.1 MB
Notification: Performance of NFFlatten.resolveConnections: time 0.0002181/0.5416, allocations: 76.88 kB / 0.562 GB, free: 108 kB / 478.1 MB
Notification: Performance of NFEvalConstants.evaluate: time 0.3036/0.8452, allocations: 0.7974 MB / 0.5628 GB, free: 2.438 MB / 478.1 MB
Notification: Performance of NFSimplifyModel.simplify: time 0.0005358/0.8457, allocations: 288.6 kB / 0.5631 GB, free: 2.438 MB / 478.1 MB
Notification: Performance of NFPackage.collectConstants: time 8.019e-05/0.8458, allocations: 30.56 kB / 0.5631 GB, free: 2.438 MB / 478.1 MB
Notification: Performance of NFFlatten.collectFunctions: time 0.000395/0.8462, allocations: 129.6 kB / 0.5632 GB, free: 2.438 MB / 478.1 MB
Notification: Performance of NFScalarize.scalarize: time 0.0001499/0.8464, allocations: 96.58 kB / 0.5633 GB, free: 2.438 MB / 478.1 MB
Notification: Performance of NFVerifyModel.verify: time 0.0002637/0.8466, allocations: 186.7 kB / 0.5635 GB, free: 2.438 MB / 478.1 MB
Notification: Performance of NFConvertDAE.convert: time 0.0007412/0.8474, allocations: 0.5186 MB / 0.564 GB, free: 2.414 MB / 478.1 MB
Notification: Performance of FrontEnd - DAE generated: time 4.889e-06/0.8474, allocations: 0 / 0.564 GB, free: 2.414 MB / 478.1 MB
Notification: Performance of FrontEnd: time 1.553e-06/0.8474, allocations: 0.9062 kB / 0.564 GB, free: 2.414 MB / 478.1 MB
Notification: Performance of Transformations before backend: time 7.805e-06/0.8474, allocations: 1.156 kB / 0.564 GB, free: 2.414 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.001048/0.8484, allocations: 0.5172 MB / 0.5645 GB, free: 18.07 MB / 494.1 MB
Notification: Performance of prepare preOptimizeDAE: time 4.199e-05/0.8485, allocations: 14.2 kB / 0.5645 GB, free: 18.07 MB / 494.1 MB
Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003263/0.8488, allocations: 44.12 kB / 0.5646 GB, free: 18.05 MB / 494.1 MB
Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004598/0.8493, allocations: 234.8 kB / 0.5648 GB, free: 17.9 MB / 494.1 MB
Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.705e-05/0.8493, allocations: 18.5 kB / 0.5648 GB, free: 17.9 MB / 494.1 MB
Notification: Performance of preOpt expandDerOperator (simulation): time 5.042e-05/0.8493, allocations: 24.81 kB / 0.5648 GB, free: 17.9 MB / 494.1 MB
Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005567/0.8499, allocations: 323.8 kB / 0.5651 GB, free: 17.81 MB / 494.1 MB
Notification: Performance of preOpt findStateOrder (simulation): time 2.074e-05/0.8499, allocations: 2.469 kB / 0.5652 GB, free: 17.81 MB / 494.1 MB
Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.846e-05/0.85, allocations: 11.03 kB / 0.5652 GB, free: 17.81 MB / 494.1 MB
Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.247e-05/0.85, allocations: 8.359 kB / 0.5652 GB, free: 17.81 MB / 494.1 MB
Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003857/0.8504, allocations: 208.9 kB / 0.5654 GB, free: 17.8 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.002142/0.8525, allocations: 1.552 MB / 0.5669 GB, free: 16.65 MB / 494.1 MB
Notification: Performance of preOpt comSubExp (simulation): time 0.000417/0.8529, allocations: 170.7 kB / 0.567 GB, free: 16.63 MB / 494.1 MB
Notification: Performance of preOpt resolveLoops (simulation): time 0.0001805/0.8531, allocations: 85.66 kB / 0.5671 GB, free: 16.62 MB / 494.1 MB
Notification: Performance of preOpt evalFunc (simulation): time 3.922e-05/0.8531, allocations: 5.625 kB / 0.5671 GB, free: 16.62 MB / 494.1 MB
Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.865e-05/0.8532, allocations: 37.08 kB / 0.5672 GB, free: 16.58 MB / 494.1 MB
Notification: Performance of pre-optimization done (n=22): time 1.252e-06/0.8532, allocations: 2.125 kB / 0.5672 GB, free: 16.58 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.005718/0.8589, allocations: 1.324 MB / 0.5685 GB, free: 16.23 MB / 494.1 MB
Notification: Performance of inlineWhenForInitialization (initialization): time 6.336e-05/0.859, allocations: 59.31 kB / 0.5685 GB, free: 16.17 MB / 494.1 MB
Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003982/0.8594, allocations: 253.7 kB / 0.5688 GB, free: 16.06 MB / 494.1 MB
Notification: Performance of collectPreVariables (initialization): time 4.406e-05/0.8594, allocations: 32.45 kB / 0.5688 GB, free: 16.03 MB / 494.1 MB
Notification: Performance of collectInitialEqns (initialization): time 0.0001326/0.8595, allocations: 174.6 kB / 0.569 GB, free: 15.91 MB / 494.1 MB
Notification: Performance of collectInitialBindings (initialization): time 7.685e-05/0.8596, allocations: 107.9 kB / 0.5691 GB, free: 15.84 MB / 494.1 MB
Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001401/0.8597, allocations: 78.83 kB / 0.5691 GB, free: 15.82 MB / 494.1 MB
Notification: Performance of setup shared object (initialization): time 0.0002034/0.86, allocations: 337.4 kB / 0.5695 GB, free: 15.51 MB / 494.1 MB
Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002184/0.8602, allocations: 88.66 kB / 0.5695 GB, free: 15.51 MB / 494.1 MB
Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002793/0.8604, allocations: 190.9 kB / 0.5697 GB, free: 15.4 MB / 494.1 MB
Notification: Performance of analyzeInitialSystem (initialization): time 0.000501/0.8609, allocations: 300.9 kB / 0.57 GB, free: 15.29 MB / 494.1 MB
Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.424e-06/0.861, allocations: 0.6562 kB / 0.57 GB, free: 15.29 MB / 494.1 MB
Notification: Performance of matching and sorting (n=42) (initialization): time 0.0007629/0.8617, allocations: 405.6 kB / 0.5704 GB, free: 15.21 MB / 494.1 MB
Notification: Performance of prepare postOptimizeDAE: time 2.577e-05/0.8617, allocations: 6.125 kB / 0.5704 GB, free: 15.21 MB / 494.1 MB
Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.384e-05/0.8618, allocations: 8.719 kB / 0.5704 GB, free: 15.21 MB / 494.1 MB
Notification: Performance of postOpt tearingSystem (initialization): time 0.0002487/0.862, allocations: 72.11 kB / 0.5705 GB, free: 15.2 MB / 494.1 MB
Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000377/0.8624, allocations: 86.39 kB / 0.5706 GB, free: 15.2 MB / 494.1 MB
Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001755/0.8641, allocations: 1.85 MB / 0.5724 GB, free: 13.46 MB / 494.1 MB
Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002334/0.8644, allocations: 15.41 kB / 0.5724 GB, free: 13.46 MB / 494.1 MB
Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.286e-05/0.8644, allocations: 39.19 kB / 0.5724 GB, free: 13.46 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.0001856/0.8646, allocations: 156.7 kB / 0.5726 GB, free: 13.34 MB / 494.1 MB
Notification: Performance of postOpt lateInlineFunction (simulation): time 6.918e-05/0.8647, allocations: 30.66 kB / 0.5726 GB, free: 13.33 MB / 494.1 MB
Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008398/0.8655, allocations: 444.8 kB / 0.573 GB, free: 13.25 MB / 494.1 MB
Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.959e-06/0.8655, allocations: 3.344 kB / 0.573 GB, free: 13.25 MB / 494.1 MB
Notification: Performance of postOpt constantLinearSystem (simulation): time 3.036e-06/0.8655, allocations: 1.312 kB / 0.573 GB, free: 13.25 MB / 494.1 MB
Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0006641/0.8662, allocations: 0.5576 MB / 0.5736 GB, free: 12.8 MB / 494.1 MB
Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001065/0.8673, allocations: 0.6987 MB / 0.5743 GB, free: 12.51 MB / 494.1 MB
Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.755e-06/0.8673, allocations: 1.156 kB / 0.5743 GB, free: 12.51 MB / 494.1 MB
Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003273/0.8676, allocations: 71.08 kB / 0.5743 GB, free: 12.51 MB / 494.1 MB
Notification: Performance of postOpt tearingSystem (simulation): time 7.533e-05/0.8677, allocations: 20.41 kB / 0.5743 GB, free: 12.5 MB / 494.1 MB
Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.555e-05/0.8677, allocations: 17.59 kB / 0.5744 GB, free: 12.5 MB / 494.1 MB
Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009967/0.8687, allocations: 1.279 MB / 0.5756 GB, free: 11.28 MB / 494.1 MB
Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.584e-06/0.8687, allocations: 1.281 kB / 0.5756 GB, free: 11.28 MB / 494.1 MB
Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007191/0.8694, allocations: 487.6 kB / 0.5761 GB, free: 11.1 MB / 494.1 MB
Notification: Performance of postOpt removeConstants (simulation): time 5.36e-05/0.8695, allocations: 22.91 kB / 0.5761 GB, free: 11.09 MB / 494.1 MB
Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.936e-05/0.8695, allocations: 6.062 kB / 0.5761 GB, free: 11.09 MB / 494.1 MB
Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002284/0.8698, allocations: 12.42 kB / 0.5761 GB, free: 11.09 MB / 494.1 MB
Notification: Performance of postOpt findZeroCrossings (simulation): time 5.083e-05/0.8698, allocations: 32.06 kB / 0.5762 GB, free: 11.08 MB / 494.1 MB
Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.172e-05/0.8699, allocations: 29.61 kB / 0.5762 GB, free: 11.08 MB / 494.1 MB
Notification: Performance of sorting global known variables: time 0.0002061/0.8701, allocations: 191.6 kB / 0.5764 GB, free: 11 MB / 494.1 MB
Notification: Performance of sort global known variables: time 8.1e-08/0.8701, allocations: 1.719 kB / 0.5764 GB, free: 11 MB / 494.1 MB
Notification: Performance of remove unused functions: time 0.0005909/0.8707, allocations: 122.7 kB / 0.5765 GB, free: 10.99 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.0003969/0.871, allocations: 147.9 kB / 0.5766 GB, free: 10.9 MB / 494.1 MB
Notification: Performance of simCode: created initialization part: time 0.0007393/0.8718, allocations: 362.9 kB / 0.577 GB, free: 10.79 MB / 494.1 MB
Notification: Performance of simCode: created event and clocks part: time 3.717e-06/0.8718, allocations: 0 / 0.577 GB, free: 10.79 MB / 494.1 MB
Notification: Performance of simCode: created simulation system equations: time 0.0002891/0.8721, allocations: 230.1 kB / 0.5772 GB, free: 10.68 MB / 494.1 MB
Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008538/0.8729, allocations: 172.8 kB / 0.5774 GB, free: 10.66 MB / 494.1 MB
Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001261/0.8742, allocations: 0.7076 MB / 0.578 GB, free: 10.35 MB / 494.1 MB
Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004391/0.8746, allocations: 0.7619 MB / 0.5788 GB, free: 9.656 MB / 494.1 MB
Notification: Performance of simCode: alias equations: time 0.0004192/0.8751, allocations: 118.8 kB / 0.5789 GB, free: 9.641 MB / 494.1 MB
Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001759/0.8752, allocations: 65.7 kB / 0.579 GB, free: 9.633 MB / 494.1 MB
Notification: Performance of SimCode: time 4.21e-07/0.8752, allocations: 1 kB / 0.579 GB, free: 9.633 MB / 494.1 MB
Notification: Performance of Templates: time 0.01421/0.8894, allocations: 9.014 MB / 0.5878 GB, free: 9.109 MB / 494.1 MB
"
[Timeout remaining time 659]
make -j1 -f Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.Air.makefile [Timeout 660]
(rm -f Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.Air.pipe ; mkfifo Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.Air.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.Air.pipe >> ../files/Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.Air.sim & ./Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.Air  -abortSlowSimulation -alarm=480  -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.Air.pipe 2>&1) [Timeout 480]
diffSimulationResults("Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.Air_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Media/Examples/Tests/MediaTestModels/IdealGases/Air/Air.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.Air.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.394149899482727]