Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Media.Examples.ReferenceAir.DryAir2.conf.json
loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180]
"Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001307/0.001307, allocations: 109 kB / 21.23 MB, free: 0.6641 MB / 14.72 MB
"
[Timeout remaining time 180]
loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180]
"Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.00148/0.00148, allocations: 213.9 kB / 24.54 MB, free: 4.02 MB / 14.72 MB
"
[Timeout remaining time 180]
loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180]
"Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.451/1.451, allocations: 230.3 MB / 258 MB, free: 8.211 MB / 206.1 MB
"
[Timeout remaining time 178]
Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo)
Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo)
Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo)
Running command: translateModel(Modelica.Media.Examples.ReferenceAir.DryAir2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|volume.medium.T|volume.medium.p|volume1.medium.T|volume1.medium.p",fileNamePrefix="Modelica_trunk_Modelica.Media.Examples.ReferenceAir.DryAir2")
translateModel(Modelica.Media.Examples.ReferenceAir.DryAir2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|volume.medium.T|volume.medium.p|volume1.medium.T|volume1.medium.p",fileNamePrefix="Modelica_trunk_Modelica.Media.Examples.ReferenceAir.DryAir2") [Timeout 660]
"Notification: Performance of FrontEnd - loaded program: time 0.002055/0.002055, allocations: 63.89 kB / 378.8 MB, free: 2.762 MB / 302.1 MB
Notification: Performance of FrontEnd - Absyn->SCode: time 0.239/0.2411, allocations: 53.36 MB / 432.1 MB, free: 7.055 MB / 334.1 MB
Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.ReferenceAir.DryAir2): time 0.06028/0.3014, allocations: 37.99 MB / 470.1 MB, free: 0.9258 MB / 366.1 MB
Notification: Performance of NFInst.instExpressions: time 0.008622/0.31, allocations: 4.615 MB / 474.7 MB, free: 12.3 MB / 382.1 MB
Notification: Performance of NFInst.updateImplicitVariability: time 0.000539/0.3105, allocations: 7.938 kB / 474.7 MB, free: 12.29 MB / 382.1 MB
Notification: Performance of NFTyping.typeComponents: time 0.001164/0.3117, allocations: 298.2 kB / 475 MB, free: 12 MB / 382.1 MB
Notification: Performance of NFTyping.typeBindings: time 0.001463/0.3131, allocations: 489.3 kB / 475.5 MB, free: 11.52 MB / 382.1 MB
Notification: Performance of NFTyping.typeClassSections: time 0.006286/0.3194, allocations: 1.665 MB / 477.2 MB, free: 9.859 MB / 382.1 MB
Notification: Performance of NFFlatten.flatten: time 0.002245/0.3217, allocations: 1.292 MB / 478.5 MB, free: 8.562 MB / 382.1 MB
Notification: Performance of NFFlatten.resolveConnections: time 0.0003298/0.322, allocations: 126.9 kB / 478.6 MB, free: 8.43 MB / 382.1 MB
Notification: Performance of NFEvalConstants.evaluate: time 0.001026/0.323, allocations: 490.4 kB / 479.1 MB, free: 7.949 MB / 382.1 MB
Notification: Performance of NFSimplifyModel.simplify: time 0.0006379/0.3237, allocations: 426.4 kB / 479.5 MB, free: 7.531 MB / 382.1 MB
Notification: Performance of NFPackage.collectConstants: time 8.02e-05/0.3238, allocations: 48 kB / 479.5 MB, free: 7.484 MB / 382.1 MB
Notification: Performance of NFFlatten.collectFunctions: time 0.001601/0.3254, allocations: 0.761 MB / 480.3 MB, free: 6.723 MB / 382.1 MB
Notification: Performance of NFScalarize.scalarize: time 0.0001638/0.3255, allocations: 139.5 kB / 480.4 MB, free: 6.586 MB / 382.1 MB
Notification: Performance of NFVerifyModel.verify: time 0.0003095/0.3258, allocations: 275 kB / 480.7 MB, free: 6.316 MB / 382.1 MB
Notification: Performance of NFConvertDAE.convert: time 0.001771/0.3276, allocations: 1.055 MB / 481.8 MB, free: 5.258 MB / 382.1 MB
Notification: Performance of FrontEnd - DAE generated: time 3.847e-06/0.3276, allocations: 0 / 481.8 MB, free: 5.258 MB / 382.1 MB
Notification: Performance of FrontEnd: time 1.944e-06/0.3276, allocations: 0 / 481.8 MB, free: 5.258 MB / 382.1 MB
Notification: Performance of Transformations before backend: time 8.516e-06/0.3276, allocations: 0 / 481.8 MB, free: 5.258 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: 96
 * Number of variables: 96
Notification: Performance of Generate backend data structure: time 0.001592/0.3292, allocations: 0.7191 MB / 482.5 MB, free: 4.504 MB / 382.1 MB
Notification: Performance of prepare preOptimizeDAE: time 4.305e-05/0.3292, allocations: 12.02 kB / 482.5 MB, free: 4.492 MB / 382.1 MB
Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001024/0.3303, allocations: 76.62 kB / 482.6 MB, free: 4.418 MB / 382.1 MB
Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007415/0.331, allocations: 281.8 kB / 482.8 MB, free: 4.117 MB / 382.1 MB
Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.752e-05/0.3311, allocations: 33.38 kB / 482.9 MB, free: 4.086 MB / 382.1 MB
Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001026/0.3312, allocations: 40.38 kB / 482.9 MB, free: 4.047 MB / 382.1 MB
Notification: Performance of preOpt clockPartitioning (simulation): time 0.0011/0.3323, allocations: 475.6 kB / 483.4 MB, free: 3.539 MB / 382.1 MB
Notification: Performance of preOpt findStateOrder (simulation): time 2.27e-05/0.3323, allocations: 0 / 483.4 MB, free: 3.539 MB / 382.1 MB
Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.428e-05/0.3324, allocations: 16 kB / 483.4 MB, free: 3.523 MB / 382.1 MB
Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.739e-05/0.3324, allocations: 12 kB / 483.4 MB, free: 3.512 MB / 382.1 MB
Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007922/0.3332, allocations: 303.7 kB / 483.7 MB, free: 3.211 MB / 382.1 MB
Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01969/0.3529, allocations: 5.491 MB / 489.2 MB, free: 13.44 MB / 398.1 MB
Notification: Performance of preOpt comSubExp (simulation): time 0.0006623/0.3535, allocations: 270.3 kB / 489.4 MB, free: 13.16 MB / 398.1 MB
Notification: Performance of preOpt resolveLoops (simulation): time 0.0003715/0.3539, allocations: 143.6 kB / 489.6 MB, free: 13.02 MB / 398.1 MB
Notification: Performance of preOpt evalFunc (simulation): time 0.01435/0.3682, allocations: 2.668 MB / 492.3 MB, free: 10.35 MB / 398.1 MB
Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.972e-05/0.3683, allocations: 39.16 kB / 492.3 MB, free: 10.3 MB / 398.1 MB
Notification: Performance of pre-optimization done (n=35): time 2.474e-06/0.3683, allocations: 0 / 492.3 MB, free: 10.3 MB / 398.1 MB
Notification: Performance of matching and sorting (n=45): time 0.01324/0.3815, allocations: 2.315 MB / 494.6 MB, free: 7.949 MB / 398.1 MB
Notification: Performance of inlineWhenForInitialization (initialization): time 4.804e-05/0.3816, allocations: 59.34 kB / 494.7 MB, free: 7.879 MB / 398.1 MB
Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004488/0.382, allocations: 304.5 kB / 495 MB, free: 7.574 MB / 398.1 MB
Notification: Performance of collectPreVariables (initialization): time 5.525e-05/0.3821, allocations: 37.7 kB / 495 MB, free: 7.531 MB / 398.1 MB
Notification: Performance of collectInitialEqns (initialization): time 0.0001895/0.3823, allocations: 228.5 kB / 495.2 MB, free: 7.301 MB / 398.1 MB
Notification: Performance of collectInitialBindings (initialization): time 0.0001603/0.3824, allocations: 166.6 kB / 495.4 MB, free: 7.137 MB / 398.1 MB
Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001875/0.3826, allocations: 102.3 kB / 495.5 MB, free: 7.031 MB / 398.1 MB
Notification: Performance of setup shared object (initialization): time 0.0002003/0.3828, allocations: 346.8 kB / 495.8 MB, free: 6.684 MB / 398.1 MB
Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003475/0.3832, allocations: 153.2 kB / 496 MB, free: 6.535 MB / 398.1 MB
Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004487/0.3836, allocations: 280.6 kB / 496.2 MB, free: 6.215 MB / 398.1 MB
Notification: Performance of analyzeInitialSystem (initialization): time 0.0007758/0.3844, allocations: 468.3 kB / 496.7 MB, free: 5.707 MB / 398.1 MB
Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.846e-06/0.3844, allocations: 0 / 496.7 MB, free: 5.707 MB / 398.1 MB
Notification: Performance of matching and sorting (n=66) (initialization): time 0.001277/0.3857, allocations: 0.5919 MB / 497.3 MB, free: 5.098 MB / 398.1 MB
Notification: Performance of prepare postOptimizeDAE: time 2.475e-05/0.3857, allocations: 14.28 kB / 497.3 MB, free: 5.086 MB / 398.1 MB
Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.203e-05/0.3857, allocations: 4 kB / 497.3 MB, free: 5.082 MB / 398.1 MB
Notification: Performance of postOpt tearingSystem (initialization): time 0.008256/0.394, allocations: 1.844 MB / 499.2 MB, free: 3.25 MB / 398.1 MB
Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004422/0.3944, allocations: 111.8 kB / 499.3 MB, free: 3.141 MB / 398.1 MB
Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002906/0.3973, allocations: 2.458 MB / 0.49 GB, free: 0.5156 MB / 398.1 MB
Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003135/0.3976, allocations: 16 kB / 0.49 GB, free: 0.5 MB / 398.1 MB
Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.937e-05/0.3977, allocations: 20 kB / 0.49 GB, free: 492 kB / 398.1 MB
Notification: Model statistics after passing the back-end for initialization:
 * Number of independent subsystems: 16
 * 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 (61):
 * Single equations (assignments): 58
 * Array equations: 0
 * Algorithm blocks: 0
 * Record equations: 0
 * When equations: 0
 * If-equations: 0
 * Equation systems (not torn): 0
 * Torn equation systems: 3
 * 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): 3 systems
   {(2,1), (2,1), (1,1)}
Notification: Performance of prepare postOptimizeDAE: time 0.0003044/0.398, allocations: 186.4 kB / 0.4902 GB, free: 296 kB / 398.1 MB
Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001161/0.3981, allocations: 39.77 kB / 0.4902 GB, free: 256 kB / 398.1 MB
Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001461/0.3996, allocations: 0.8724 MB / 0.4911 GB, free: 15.37 MB / 414.1 MB
Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.894e-05/0.3996, allocations: 19.86 kB / 0.4911 GB, free: 15.35 MB / 414.1 MB
Notification: Performance of postOpt constantLinearSystem (simulation): time 3.747e-06/0.3996, allocations: 0 / 0.4911 GB, free: 15.35 MB / 414.1 MB
Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001335/0.4009, allocations: 0.9708 MB / 0.492 GB, free: 14.3 MB / 414.1 MB
Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002494/0.4034, allocations: 1.483 MB / 0.4935 GB, free: 12.76 MB / 414.1 MB
Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.337e-06/0.4034, allocations: 4 kB / 0.4935 GB, free: 12.76 MB / 414.1 MB
Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003212/0.4037, allocations: 67.91 kB / 0.4936 GB, free: 12.69 MB / 414.1 MB
Notification: Performance of postOpt tearingSystem (simulation): time 0.003596/0.4073, allocations: 0.6219 MB / 0.4942 GB, free: 12.06 MB / 414.1 MB
Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.975e-05/0.4074, allocations: 19.86 kB / 0.4942 GB, free: 12.04 MB / 414.1 MB
Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001501/0.4089, allocations: 1.3 MB / 0.4954 GB, free: 10.69 MB / 414.1 MB
Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.064e-06/0.4089, allocations: 0 / 0.4954 GB, free: 10.69 MB / 414.1 MB
Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002002/0.4109, allocations: 1.258 MB / 0.4967 GB, free: 9.402 MB / 414.1 MB
Notification: Performance of postOpt removeConstants (simulation): time 0.0001248/0.411, allocations: 39.94 kB / 0.4967 GB, free: 9.363 MB / 414.1 MB
Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.174e-05/0.4111, allocations: 12 kB / 0.4967 GB, free: 9.352 MB / 414.1 MB
Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002607/0.4113, allocations: 12 kB / 0.4967 GB, free: 9.34 MB / 414.1 MB
Notification: Performance of postOpt findZeroCrossings (simulation): time 5.527e-05/0.4114, allocations: 31.98 kB / 0.4968 GB, free: 9.309 MB / 414.1 MB
Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.663e-05/0.4114, allocations: 23.97 kB / 0.4968 GB, free: 9.285 MB / 414.1 MB
Notification: Performance of sorting global known variables: time 0.0002718/0.4117, allocations: 211.1 kB / 0.497 GB, free: 9.078 MB / 414.1 MB
Notification: Performance of sort global known variables: time 8e-08/0.4117, allocations: 0 / 0.497 GB, free: 9.078 MB / 414.1 MB
Notification: Performance of remove unused functions: time 0.0008384/0.4126, allocations: 231.7 kB / 0.4972 GB, free: 8.852 MB / 414.1 MB
Notification: Model statistics after passing the back-end for simulation:
 * Number of independent subsystems: 2
 * Number of states: 4 (volume.medium.p,volume.medium.T,volume1.medium.p,volume1.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 (43):
 * Single equations (assignments): 39
 * Array equations: 0
 * Algorithm blocks: 0
 * Record equations: 2
 * 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,2), (1,2)}
Notification: Performance of Backend phase and start with SimCode phase: time 0.0007514/0.4133, allocations: 278.7 kB / 0.4975 GB, free: 8.57 MB / 414.1 MB
Notification: Performance of simCode: created initialization part: time 0.001402/0.4147, allocations: 0.6796 MB / 0.4981 GB, free: 7.883 MB / 414.1 MB
Notification: Performance of simCode: created event and clocks part: time 3.607e-06/0.4147, allocations: 0 / 0.4981 GB, free: 7.883 MB / 414.1 MB
Notification: Performance of simCode: created simulation system equations: time 0.001104/0.4158, allocations: 420.3 kB / 0.4985 GB, free: 7.473 MB / 414.1 MB
Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001316/0.4171, allocations: 252 kB / 0.4988 GB, free: 7.23 MB / 414.1 MB
Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002232/0.4194, allocations: 1.25 MB / 0.5 GB, free: 5.949 MB / 414.1 MB
Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005496/0.4199, allocations: 0.8362 MB / 0.5008 GB, free: 5.082 MB / 414.1 MB
Notification: Performance of simCode: alias equations: time 0.0003101/0.4202, allocations: 72.33 kB / 0.5009 GB, free: 5.012 MB / 414.1 MB
Notification: Performance of simCode: all other stuff during SimCode phase: time 8.696e-05/0.4203, allocations: 35.44 kB / 0.5009 GB, free: 4.977 MB / 414.1 MB
Notification: Performance of SimCode: time 6.01e-07/0.4203, allocations: 4 kB / 0.5009 GB, free: 4.973 MB / 414.1 MB
Notification: Performance of Templates: time 0.02477/0.4451, allocations: 13.3 MB / 0.5139 GB, free: 7.719 MB / 430.1 MB
"
[Timeout remaining time 660]
make -j1 -f Modelica_trunk_Modelica.Media.Examples.ReferenceAir.DryAir2.makefile [Timeout 660]
(rm -f Modelica_trunk_Modelica.Media.Examples.ReferenceAir.DryAir2.pipe ; mkfifo Modelica_trunk_Modelica.Media.Examples.ReferenceAir.DryAir2.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Media.Examples.ReferenceAir.DryAir2.pipe >> ../files/Modelica_trunk_Modelica.Media.Examples.ReferenceAir.DryAir2.sim & ./Modelica_trunk_Modelica.Media.Examples.ReferenceAir.DryAir2  -abortSlowSimulation -alarm=480  -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Media.Examples.ReferenceAir.DryAir2.pipe 2>&1) [Timeout 480]
diffSimulationResults("Modelica_trunk_Modelica.Media.Examples.ReferenceAir.DryAir2_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Media/Examples/ReferenceAir/DryAir2/DryAir2.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Media.Examples.ReferenceAir.DryAir2.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.085022637620568]