Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.DryAir1.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.00153/0.00153, allocations: 104.5 kB / 21.18 MB, free: 0.707 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.001609/0.001609, allocations: 185.2 kB / 24.47 MB, free: 4.074 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.397/1.397, 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.ReferenceAir.DryAir1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|volume.medium.T|volume.medium.p",fileNamePrefix="Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.DryAir1")
translateModel(Modelica.Media.Examples.ReferenceAir.DryAir1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|volume.medium.T|volume.medium.p",fileNamePrefix="Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.DryAir1") [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.001877/0.001877, allocations: 59.91 kB / 347.7 MB, free: 9.559 MB / 286.1 MB
Notification: Performance of FrontEnd - Absyn->SCode: time 0.2646/0.2664, allocations: 49.15 MB / 396.8 MB, free: 9.527 MB / 318.1 MB
Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.ReferenceAir.DryAir1): time 0.02969/0.2961, allocations: 27.36 MB / 424.2 MB, free: 5.043 MB / 334.1 MB
Notification: Performance of NFInst.instExpressions: time 0.005775/0.3019, allocations: 4.203 MB / 428.4 MB, free: 1.613 MB / 334.1 MB
Notification: Performance of NFInst.updateImplicitVariability: time 0.0003691/0.3023, allocations: 8.219 kB / 428.4 MB, free: 1.609 MB / 334.1 MB
Notification: Performance of NFTyping.typeComponents: time 0.0007866/0.3031, allocations: 211.4 kB / 428.6 MB, free: 1.43 MB / 334.1 MB
Notification: Performance of NFTyping.typeBindings: time 0.000779/0.3038, allocations: 336 kB / 428.9 MB, free: 1.156 MB / 334.1 MB
Notification: Performance of NFTyping.typeClassSections: time 0.004577/0.3084, allocations: 1.484 MB / 430.4 MB, free: 48 kB / 334.1 MB
Notification: Performance of NFFlatten.flatten: time 0.001346/0.3098, allocations: 0.8961 MB / 431.3 MB, free: 15.54 MB / 350.1 MB
Notification: Performance of NFFlatten.resolveConnections: time 0.0002108/0.31, allocations: 78.56 kB / 431.4 MB, free: 15.49 MB / 350.1 MB
Notification: Performance of NFEvalConstants.evaluate: time 0.007191/0.3172, allocations: 4.147 MB / 435.5 MB, free: 12.64 MB / 350.1 MB
Notification: Performance of NFSimplifyModel.simplify: time 0.0004645/0.3176, allocations: 290.9 kB / 435.8 MB, free: 12.36 MB / 350.1 MB
Notification: Performance of NFPackage.collectConstants: time 6.007e-05/0.3177, allocations: 32 kB / 435.8 MB, free: 12.32 MB / 350.1 MB
Notification: Performance of NFFlatten.collectFunctions: time 0.001923/0.3196, allocations: 0.7337 MB / 436.6 MB, free: 11.59 MB / 350.1 MB
Notification: Performance of NFScalarize.scalarize: time 0.0001417/0.3198, allocations: 91.73 kB / 436.7 MB, free: 11.5 MB / 350.1 MB
Notification: Performance of NFVerifyModel.verify: time 0.0002654/0.32, allocations: 199.2 kB / 436.9 MB, free: 11.3 MB / 350.1 MB
Notification: Performance of NFConvertDAE.convert: time 0.001774/0.3218, allocations: 0.8491 MB / 437.7 MB, free: 10.45 MB / 350.1 MB
Notification: Performance of FrontEnd - DAE generated: time 5.571e-06/0.3218, allocations: 0 / 437.7 MB, free: 10.45 MB / 350.1 MB
Notification: Performance of FrontEnd: time 2.735e-06/0.3218, allocations: 4 kB / 437.7 MB, free: 10.45 MB / 350.1 MB
Notification: Performance of Transformations before backend: time 2.113e-05/0.3218, allocations: 0 / 437.7 MB, free: 10.45 MB / 350.1 MB
Notification: Model statistics after passing the front-end and creating the data structures used by the back-end:
 * Number of equations: 66
 * Number of variables: 66
Notification: Performance of Generate backend data structure: time 0.001048/0.3229, allocations: 0.5906 MB / 438.3 MB, free: 9.828 MB / 350.1 MB
Notification: Performance of prepare preOptimizeDAE: time 3.871e-05/0.3229, allocations: 11.98 kB / 438.3 MB, free: 9.816 MB / 350.1 MB
Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004709/0.3234, allocations: 60.72 kB / 438.4 MB, free: 9.758 MB / 350.1 MB
Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004974/0.3239, allocations: 234 kB / 438.6 MB, free: 9.504 MB / 350.1 MB
Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.137e-05/0.3239, allocations: 21.03 kB / 438.6 MB, free: 9.484 MB / 350.1 MB
Notification: Performance of preOpt expandDerOperator (simulation): time 5.21e-05/0.324, allocations: 28.36 kB / 438.7 MB, free: 9.457 MB / 350.1 MB
Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005495/0.3245, allocations: 339.7 kB / 439 MB, free: 9.086 MB / 350.1 MB
Notification: Performance of preOpt findStateOrder (simulation): time 1.71e-05/0.3245, allocations: 0 / 439 MB, free: 9.086 MB / 350.1 MB
Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.391e-05/0.3246, allocations: 16 kB / 439 MB, free: 9.07 MB / 350.1 MB
Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.112e-05/0.3246, allocations: 8 kB / 439 MB, free: 9.062 MB / 350.1 MB
Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003588/0.3249, allocations: 205.8 kB / 439.2 MB, free: 8.863 MB / 350.1 MB
Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01288/0.3378, allocations: 4.668 MB / 443.9 MB, free: 3.996 MB / 350.1 MB
Notification: Performance of preOpt comSubExp (simulation): time 0.000348/0.3382, allocations: 162.7 kB / 444 MB, free: 3.828 MB / 350.1 MB
Notification: Performance of preOpt resolveLoops (simulation): time 0.0001443/0.3383, allocations: 96.81 kB / 444.1 MB, free: 3.73 MB / 350.1 MB
Notification: Performance of preOpt evalFunc (simulation): time 0.01014/0.3484, allocations: 2.664 MB / 446.8 MB, free: 1.062 MB / 350.1 MB
Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.051e-05/0.3485, allocations: 46.42 kB / 446.8 MB, free: 1.008 MB / 350.1 MB
Notification: Performance of pre-optimization done (n=21): time 2.826e-06/0.3485, allocations: 0 / 446.8 MB, free: 1.008 MB / 350.1 MB
Notification: Performance of matching and sorting (n=26): time 0.006456/0.355, allocations: 1.256 MB / 448.1 MB, free: 15.71 MB / 366.1 MB
Notification: Performance of inlineWhenForInitialization (initialization): time 5.731e-05/0.355, allocations: 59.34 kB / 448.2 MB, free: 15.64 MB / 366.1 MB
Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003492/0.3554, allocations: 257.9 kB / 448.4 MB, free: 15.38 MB / 366.1 MB
Notification: Performance of collectPreVariables (initialization): time 3.029e-05/0.3554, allocations: 29.7 kB / 448.4 MB, free: 15.34 MB / 366.1 MB
Notification: Performance of collectInitialEqns (initialization): time 0.0001524/0.3555, allocations: 192.4 kB / 448.6 MB, free: 15.15 MB / 366.1 MB
Notification: Performance of collectInitialBindings (initialization): time 8.897e-05/0.3556, allocations: 99.19 kB / 448.7 MB, free: 15.05 MB / 366.1 MB
Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001098/0.3557, allocations: 73.66 kB / 448.8 MB, free: 14.97 MB / 366.1 MB
Notification: Performance of setup shared object (initialization): time 0.0001634/0.3559, allocations: 334.8 kB / 449.1 MB, free: 14.64 MB / 366.1 MB
Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001709/0.3561, allocations: 95.73 kB / 449.2 MB, free: 14.54 MB / 366.1 MB
Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002509/0.3563, allocations: 194.9 kB / 449.4 MB, free: 14.31 MB / 366.1 MB
Notification: Performance of analyzeInitialSystem (initialization): time 0.0004495/0.3568, allocations: 299 kB / 449.7 MB, free: 13.98 MB / 366.1 MB
Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.553e-06/0.3568, allocations: 0 / 449.7 MB, free: 13.98 MB / 366.1 MB
Notification: Performance of matching and sorting (n=42) (initialization): time 0.0007357/0.3575, allocations: 398.8 kB / 450.1 MB, free: 13.58 MB / 366.1 MB
Notification: Performance of prepare postOptimizeDAE: time 2.159e-05/0.3575, allocations: 11.94 kB / 450.1 MB, free: 13.57 MB / 366.1 MB
Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.286e-06/0.3575, allocations: 4 kB / 450.1 MB, free: 13.56 MB / 366.1 MB
Notification: Performance of postOpt tearingSystem (initialization): time 0.004222/0.3618, allocations: 0.9342 MB / 451 MB, free: 12.62 MB / 366.1 MB
Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002856/0.3621, allocations: 67.91 kB / 451.1 MB, free: 12.55 MB / 366.1 MB
Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001883/0.3639, allocations: 1.871 MB / 453 MB, free: 10.54 MB / 366.1 MB
Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002073/0.3641, allocations: 16.03 kB / 453 MB, free: 10.53 MB / 366.1 MB
Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.527e-05/0.3642, allocations: 15.98 kB / 453 MB, free: 10.51 MB / 366.1 MB
Notification: Model statistics after passing the back-end for initialization:
 * Number of independent subsystems: 13
 * 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 (39):
 * 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: 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
   {(2,1), (1,1)}
Notification: Performance of prepare postOptimizeDAE: time 0.0002677/0.3644, allocations: 153.8 kB / 453.1 MB, free: 10.35 MB / 366.1 MB
Notification: Performance of postOpt lateInlineFunction (simulation): time 6.973e-05/0.3645, allocations: 35.81 kB / 453.2 MB, free: 10.32 MB / 366.1 MB
Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000755/0.3653, allocations: 0.4948 MB / 453.7 MB, free: 9.809 MB / 366.1 MB
Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.506e-06/0.3653, allocations: 4 kB / 453.7 MB, free: 9.805 MB / 366.1 MB
Notification: Performance of postOpt constantLinearSystem (simulation): time 1.513e-06/0.3653, allocations: 0 / 453.7 MB, free: 9.805 MB / 366.1 MB
Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0007133/0.366, allocations: 0.7209 MB / 454.4 MB, free: 8.996 MB / 366.1 MB
Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001316/0.3673, allocations: 0.9409 MB / 455.3 MB, free: 8 MB / 366.1 MB
Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.479e-06/0.3673, allocations: 0 / 455.3 MB, free: 8 MB / 366.1 MB
Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001892/0.3675, allocations: 35.98 kB / 455.4 MB, free: 7.965 MB / 366.1 MB
Notification: Performance of postOpt tearingSystem (simulation): time 0.001805/0.3693, allocations: 324.3 kB / 455.7 MB, free: 7.645 MB / 366.1 MB
Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.487e-05/0.3693, allocations: 8 kB / 455.7 MB, free: 7.637 MB / 366.1 MB
Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005625/0.3699, allocations: 0.6577 MB / 456.4 MB, free: 6.953 MB / 366.1 MB
Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.222e-06/0.3699, allocations: 0 / 456.4 MB, free: 6.953 MB / 366.1 MB
Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001012/0.3709, allocations: 0.7292 MB / 457.1 MB, free: 6.199 MB / 366.1 MB
Notification: Performance of postOpt removeConstants (simulation): time 6.2e-05/0.371, allocations: 35.77 kB / 457.1 MB, free: 6.164 MB / 366.1 MB
Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.364e-05/0.371, allocations: 12.12 kB / 457.1 MB, free: 6.152 MB / 366.1 MB
Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001756/0.3712, allocations: 4 kB / 457.1 MB, free: 6.148 MB / 366.1 MB
Notification: Performance of postOpt findZeroCrossings (simulation): time 4.296e-05/0.3712, allocations: 15.97 kB / 457.2 MB, free: 6.133 MB / 366.1 MB
Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.636e-05/0.3712, allocations: 15.98 kB / 457.2 MB, free: 6.117 MB / 366.1 MB
Notification: Performance of sorting global known variables: time 0.0001928/0.3714, allocations: 177.2 kB / 457.3 MB, free: 5.949 MB / 366.1 MB
Notification: Performance of sort global known variables: time 9e-08/0.3714, allocations: 0 / 457.3 MB, free: 5.949 MB / 366.1 MB
Notification: Performance of remove unused functions: time 0.0006611/0.3721, allocations: 191.7 kB / 457.5 MB, free: 5.762 MB / 366.1 MB
Notification: Model statistics after passing the back-end for simulation:
 * Number of independent subsystems: 2
 * 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 (25):
 * Single equations (assignments): 23
 * Array equations: 0
 * Algorithm blocks: 0
 * Record equations: 1
 * 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): 0 systems
 * Non-linear torn systems (#iteration vars, #inner vars): 1 system
   {(1,2)}
Notification: Performance of Backend phase and start with SimCode phase: time 0.0005746/0.3727, allocations: 274.8 kB / 457.8 MB, free: 5.484 MB / 366.1 MB
Notification: Performance of simCode: created initialization part: time 0.0008651/0.3735, allocations: 434.2 kB / 458.2 MB, free: 5.047 MB / 366.1 MB
Notification: Performance of simCode: created event and clocks part: time 1.044e-05/0.3736, allocations: 0.75 kB / 458.2 MB, free: 5.047 MB / 366.1 MB
Notification: Performance of simCode: created simulation system equations: time 0.0005523/0.3741, allocations: 236.1 kB / 458.5 MB, free: 4.816 MB / 366.1 MB
Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009055/0.375, allocations: 164.2 kB / 458.6 MB, free: 4.656 MB / 366.1 MB
Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00139/0.3764, allocations: 0.8099 MB / 459.4 MB, free: 3.812 MB / 366.1 MB
Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000432/0.3768, allocations: 0.7838 MB / 460.2 MB, free: 2.996 MB / 366.1 MB
Notification: Performance of simCode: alias equations: time 0.0001949/0.377, allocations: 42.97 kB / 460.3 MB, free: 2.953 MB / 366.1 MB
Notification: Performance of simCode: all other stuff during SimCode phase: time 6.266e-05/0.3771, allocations: 27.42 kB / 460.3 MB, free: 2.93 MB / 366.1 MB
Notification: Performance of SimCode: time 6.91e-07/0.3771, allocations: 4 kB / 460.3 MB, free: 2.926 MB / 366.1 MB
Notification: Performance of Templates: time 0.01883/0.3959, allocations: 10.33 MB / 470.6 MB, free: 8.578 MB / 382.1 MB
"
[Timeout remaining time 660]
make -j1 -f Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.DryAir1.makefile [Timeout 660]
(rm -f Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.DryAir1.pipe ; mkfifo Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.DryAir1.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.DryAir1.pipe >> ../files/Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.DryAir1.sim & ./Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.DryAir1  -abortSlowSimulation -alarm=480  -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.DryAir1.pipe 2>&1) [Timeout 480]
diffSimulationResults("Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.DryAir1_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Media/Examples/ReferenceAir/DryAir1/DryAir1.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.DryAir1.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.481100728735328]