Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_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.001282/0.001282, allocations: 112 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.001299/0.001299, allocations: 180.8 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.457/1.457, allocations: 225.6 MB / 252.5 MB, free: 13.02 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.DryAir1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|volume.medium.T|volume.medium.p",fileNamePrefix="Modelica_4.0.0_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_4.0.0_Modelica.Media.Examples.ReferenceAir.DryAir1") [Timeout 660]
"Notification: Performance of FrontEnd - loaded program: time 0.002252/0.002252, allocations: 47.92 kB / 370.9 MB, free: 9.336 MB / 302.1 MB
Notification: Performance of FrontEnd - Absyn->SCode: time 0.2292/0.2314, allocations: 52.19 MB / 423.1 MB, free: 14.68 MB / 334.1 MB
Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.ReferenceAir.DryAir1): time 0.02933/0.2608, allocations: 27.35 MB / 450.5 MB, free: 3.227 MB / 350.1 MB
Notification: Performance of NFInst.instExpressions: time 0.00518/0.2659, allocations: 4.202 MB / 454.7 MB, free: 15 MB / 366.1 MB
Notification: Performance of NFInst.updateImplicitVariability: time 0.0001954/0.2661, allocations: 4 kB / 454.7 MB, free: 15 MB / 366.1 MB
Notification: Performance of NFTyping.typeComponents: time 0.0006407/0.2668, allocations: 210.7 kB / 454.9 MB, free: 14.79 MB / 366.1 MB
Notification: Performance of NFTyping.typeBindings: time 0.0006496/0.2674, allocations: 350.1 kB / 455.2 MB, free: 14.45 MB / 366.1 MB
Notification: Performance of NFTyping.typeClassSections: time 0.003815/0.2712, allocations: 1.466 MB / 456.7 MB, free: 12.99 MB / 366.1 MB
Notification: Performance of NFFlatten.flatten: time 0.001146/0.2724, allocations: 0.9106 MB / 457.6 MB, free: 12.07 MB / 366.1 MB
Notification: Performance of NFFlatten.resolveConnections: time 0.0002036/0.2726, allocations: 84.8 kB / 457.7 MB, free: 12 MB / 366.1 MB
Notification: Performance of NFEvalConstants.evaluate: time 0.006666/0.2792, allocations: 4.135 MB / 461.8 MB, free: 7.855 MB / 366.1 MB
Notification: Performance of NFSimplifyModel.simplify: time 0.0005055/0.2798, allocations: 302.8 kB / 462.1 MB, free: 7.559 MB / 366.1 MB
Notification: Performance of NFPackage.collectConstants: time 9.78e-05/0.2799, allocations: 32 kB / 462.2 MB, free: 7.527 MB / 366.1 MB
Notification: Performance of NFFlatten.collectFunctions: time 0.001573/0.2814, allocations: 0.7259 MB / 462.9 MB, free: 6.801 MB / 366.1 MB
Notification: Performance of NFScalarize.scalarize: time 0.0001612/0.2816, allocations: 95.61 kB / 463 MB, free: 6.707 MB / 366.1 MB
Notification: Performance of NFVerifyModel.verify: time 0.0002818/0.2819, allocations: 199.2 kB / 463.2 MB, free: 6.512 MB / 366.1 MB
Notification: Performance of NFConvertDAE.convert: time 0.001566/0.2834, allocations: 0.8452 MB / 464 MB, free: 5.664 MB / 366.1 MB
Notification: Performance of FrontEnd - DAE generated: time 4.208e-06/0.2834, allocations: 0 / 464 MB, free: 5.664 MB / 366.1 MB
Notification: Performance of FrontEnd: time 3.326e-06/0.2834, allocations: 7.938 kB / 464 MB, free: 5.656 MB / 366.1 MB
Notification: Performance of Transformations before backend: time 1.16e-05/0.2835, allocations: 0 / 464 MB, free: 5.656 MB / 366.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.001073/0.2845, allocations: 0.5868 MB / 464.6 MB, free: 5.039 MB / 366.1 MB
Notification: Performance of prepare preOptimizeDAE: time 3.694e-05/0.2846, allocations: 8.031 kB / 464.6 MB, free: 5.031 MB / 366.1 MB
Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004549/0.285, allocations: 60.66 kB / 464.7 MB, free: 4.973 MB / 366.1 MB
Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004568/0.2855, allocations: 230 kB / 464.9 MB, free: 4.723 MB / 366.1 MB
Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.019e-05/0.2855, allocations: 24.97 kB / 464.9 MB, free: 4.699 MB / 366.1 MB
Notification: Performance of preOpt expandDerOperator (simulation): time 5.186e-05/0.2855, allocations: 32.38 kB / 465 MB, free: 4.668 MB / 366.1 MB
Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005508/0.2861, allocations: 339.7 kB / 465.3 MB, free: 4.301 MB / 366.1 MB
Notification: Performance of preOpt findStateOrder (simulation): time 1.674e-05/0.2861, allocations: 0 / 465.3 MB, free: 4.301 MB / 366.1 MB
Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.974e-05/0.2862, allocations: 16 kB / 465.3 MB, free: 4.285 MB / 366.1 MB
Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.003e-05/0.2862, allocations: 8 kB / 465.3 MB, free: 4.277 MB / 366.1 MB
Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003679/0.2865, allocations: 209.8 kB / 465.5 MB, free: 4.074 MB / 366.1 MB
Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01303/0.2996, allocations: 4.653 MB / 470.2 MB, free: 15.22 MB / 382.1 MB
Notification: Performance of preOpt comSubExp (simulation): time 0.0003414/0.2999, allocations: 174.6 kB / 470.3 MB, free: 15.04 MB / 382.1 MB
Notification: Performance of preOpt resolveLoops (simulation): time 0.000151/0.3001, allocations: 86.7 kB / 470.4 MB, free: 14.96 MB / 382.1 MB
Notification: Performance of preOpt evalFunc (simulation): time 0.01043/0.3105, allocations: 2.68 MB / 473.1 MB, free: 12.27 MB / 382.1 MB
Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.831e-05/0.3105, allocations: 30.56 kB / 473.1 MB, free: 12.23 MB / 382.1 MB
Notification: Performance of pre-optimization done (n=21): time 1.783e-06/0.3105, allocations: 0 / 473.1 MB, free: 12.23 MB / 382.1 MB
Notification: Performance of matching and sorting (n=26): time 0.006599/0.3171, allocations: 1.254 MB / 474.4 MB, free: 10.94 MB / 382.1 MB
Notification: Performance of inlineWhenForInitialization (initialization): time 4.605e-05/0.3172, allocations: 59.34 kB / 474.4 MB, free: 10.87 MB / 382.1 MB
Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00032/0.3175, allocations: 261.9 kB / 474.7 MB, free: 10.61 MB / 382.1 MB
Notification: Performance of collectPreVariables (initialization): time 3.721e-05/0.3175, allocations: 29.7 kB / 474.7 MB, free: 10.57 MB / 382.1 MB
Notification: Performance of collectInitialEqns (initialization): time 0.0001428/0.3177, allocations: 192.4 kB / 474.9 MB, free: 10.38 MB / 382.1 MB
Notification: Performance of collectInitialBindings (initialization): time 8.699e-05/0.3178, allocations: 103.1 kB / 475 MB, free: 10.28 MB / 382.1 MB
Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001101/0.3179, allocations: 65.7 kB / 475.1 MB, free: 10.21 MB / 382.1 MB
Notification: Performance of setup shared object (initialization): time 0.0001935/0.3181, allocations: 334.8 kB / 475.4 MB, free: 9.871 MB / 382.1 MB
Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001887/0.3183, allocations: 95.73 kB / 475.5 MB, free: 9.777 MB / 382.1 MB
Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002525/0.3185, allocations: 187.1 kB / 475.7 MB, free: 9.555 MB / 382.1 MB
Notification: Performance of analyzeInitialSystem (initialization): time 0.0004492/0.319, allocations: 307 kB / 476 MB, free: 9.215 MB / 382.1 MB
Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.254e-06/0.319, allocations: 0 / 476 MB, free: 9.215 MB / 382.1 MB
Notification: Performance of matching and sorting (n=42) (initialization): time 0.0007615/0.3197, allocations: 391.1 kB / 476.4 MB, free: 8.82 MB / 382.1 MB
Notification: Performance of prepare postOptimizeDAE: time 1.847e-05/0.3197, allocations: 12.06 kB / 476.4 MB, free: 8.809 MB / 382.1 MB
Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.546e-06/0.3197, allocations: 4 kB / 476.4 MB, free: 8.805 MB / 382.1 MB
Notification: Performance of postOpt tearingSystem (initialization): time 0.004438/0.3242, allocations: 0.9337 MB / 477.3 MB, free: 7.875 MB / 382.1 MB
Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000297/0.3245, allocations: 75.84 kB / 477.4 MB, free: 7.801 MB / 382.1 MB
Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001773/0.3263, allocations: 1.867 MB / 479.3 MB, free: 5.797 MB / 382.1 MB
Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000225/0.3265, allocations: 8.031 kB / 479.3 MB, free: 5.789 MB / 382.1 MB
Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.38e-05/0.3265, allocations: 28.08 kB / 479.3 MB, free: 5.762 MB / 382.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.0002008/0.3267, allocations: 153.8 kB / 479.4 MB, free: 5.602 MB / 382.1 MB
Notification: Performance of postOpt lateInlineFunction (simulation): time 8.756e-05/0.3268, allocations: 27.8 kB / 479.5 MB, free: 5.574 MB / 382.1 MB
Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008238/0.3276, allocations: 0.4912 MB / 480 MB, free: 5.062 MB / 382.1 MB
Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.546e-06/0.3276, allocations: 4 kB / 480 MB, free: 5.059 MB / 382.1 MB
Notification: Performance of postOpt constantLinearSystem (simulation): time 2.004e-06/0.3276, allocations: 0 / 480 MB, free: 5.059 MB / 382.1 MB
Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0007625/0.3284, allocations: 0.7362 MB / 480.7 MB, free: 4.234 MB / 382.1 MB
Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001443/0.3298, allocations: 0.9294 MB / 481.6 MB, free: 3.25 MB / 382.1 MB
Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.079e-06/0.3298, allocations: 0 / 481.6 MB, free: 3.25 MB / 382.1 MB
Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001987/0.33, allocations: 39.92 kB / 481.7 MB, free: 3.211 MB / 382.1 MB
Notification: Performance of postOpt tearingSystem (simulation): time 0.001813/0.3319, allocations: 316.5 kB / 482 MB, free: 2.898 MB / 382.1 MB
Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.465e-05/0.3319, allocations: 12 kB / 482 MB, free: 2.887 MB / 382.1 MB
Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005662/0.3324, allocations: 0.6537 MB / 482.6 MB, free: 2.207 MB / 382.1 MB
Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.473e-06/0.3324, allocations: 0 / 482.6 MB, free: 2.207 MB / 382.1 MB
Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001025/0.3335, allocations: 0.7407 MB / 483.4 MB, free: 1.441 MB / 382.1 MB
Notification: Performance of postOpt removeConstants (simulation): time 7.999e-05/0.3336, allocations: 27.78 kB / 483.4 MB, free: 1.414 MB / 382.1 MB
Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.076e-05/0.3336, allocations: 8 kB / 483.4 MB, free: 1.406 MB / 382.1 MB
Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001989/0.3338, allocations: 8 kB / 483.4 MB, free: 1.398 MB / 382.1 MB
Notification: Performance of postOpt findZeroCrossings (simulation): time 4.627e-05/0.3339, allocations: 19.97 kB / 483.4 MB, free: 1.379 MB / 382.1 MB
Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.944e-05/0.3339, allocations: 11.98 kB / 483.5 MB, free: 1.367 MB / 382.1 MB
Notification: Performance of sorting global known variables: time 0.0002057/0.3341, allocations: 189.1 kB / 483.6 MB, free: 1.18 MB / 382.1 MB
Notification: Performance of sort global known variables: time 1.4e-07/0.3341, allocations: 4.062 kB / 483.6 MB, free: 1.176 MB / 382.1 MB
Notification: Performance of remove unused functions: time 0.0006883/0.3348, allocations: 183.8 kB / 483.8 MB, free: 0.9961 MB / 382.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.0006501/0.3354, allocations: 270.8 kB / 484.1 MB, free: 0.7227 MB / 382.1 MB
Notification: Performance of simCode: created initialization part: time 0.0008918/0.3363, allocations: 448.2 kB / 484.5 MB, free: 280 kB / 382.1 MB
Notification: Performance of simCode: created event and clocks part: time 3.036e-06/0.3363, allocations: 0 / 484.5 MB, free: 280 kB / 382.1 MB
Notification: Performance of simCode: created simulation system equations: time 0.0005491/0.3369, allocations: 223.8 kB / 484.7 MB, free: 56 kB / 382.1 MB
Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00104/0.3379, allocations: 180.1 kB / 484.9 MB, free: 15.88 MB / 398.1 MB
Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001643/0.3396, allocations: 0.8 MB / 485.7 MB, free: 15.05 MB / 398.1 MB
Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005004/0.3401, allocations: 0.776 MB / 486.5 MB, free: 14.24 MB / 398.1 MB
Notification: Performance of simCode: alias equations: time 0.0002467/0.3403, allocations: 58.92 kB / 486.6 MB, free: 14.18 MB / 398.1 MB
Notification: Performance of simCode: all other stuff during SimCode phase: time 6.994e-05/0.3404, allocations: 27.44 kB / 486.6 MB, free: 14.16 MB / 398.1 MB
Notification: Performance of SimCode: time 6.52e-07/0.3404, allocations: 0 / 486.6 MB, free: 14.16 MB / 398.1 MB
Notification: Performance of Templates: time 0.0197/0.3601, allocations: 10.33 MB / 496.9 MB, free: 3.898 MB / 398.1 MB
"
[Timeout remaining time 660]
make -j1 -f Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.DryAir1.makefile [Timeout 660]
(rm -f Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.DryAir1.pipe ; mkfifo Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.DryAir1.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.DryAir1.pipe >> ../files/Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.DryAir1.sim & ./Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.DryAir1  -abortSlowSimulation -alarm=480  -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.DryAir1.pipe 2>&1) [Timeout 480]
diffSimulationResults("Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.DryAir1_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Media/Examples/ReferenceAir/DryAir1/DryAir1.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_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.505220113322139]