Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.DryAir2.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001285/0.001285, allocations: 81.05 kB / 10.02 MB, free: 0.6719 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001818/0.003104, allocations: 453.8 kB / 10.46 MB, free: 236 kB / 10.45 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001105/0.001105, allocations: 165.1 kB / 11.36 MB, free: 2.812 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001435/0.00254, allocations: 483.5 kB / 11.83 MB, free: 2.336 MB / 13.93 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 0.8981/0.8981, allocations: 158.6 MB / 171.2 MB, free: 2.5 MB / 170.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1516/1.05, allocations: 49.49 MB / 220.7 MB, free: 1.355 MB / 218.7 MB " [Timeout remaining time 179] 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.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/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_3.2.3_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_3.2.3_Modelica.Media.Examples.ReferenceAir.DryAir2") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.814e-06/1.814e-06, allocations: 0 / 222 MB, free: 40 kB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.446e-05/1.627e-05, allocations: 9.406 kB / 222 MB, free: 32 kB / 218.7 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.ReferenceAir.DryAir2): time 0.01542/0.01544, allocations: 12.95 MB / 235 MB, free: 3.012 MB / 234.7 MB Notification: Performance of NFInst.instExpressions: time 0.003507/0.01895, allocations: 2.234 MB / 237.2 MB, free: 0.7695 MB / 234.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002069/0.01915, allocations: 11.94 kB / 237.2 MB, free: 0.7578 MB / 234.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003345/0.01949, allocations: 147 kB / 237.4 MB, free: 0.6133 MB / 234.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0006379/0.02013, allocations: 0.5047 MB / 237.9 MB, free: 108 kB / 234.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002835/0.02296, allocations: 1.45 MB / 239.3 MB, free: 14.65 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.001249/0.02421, allocations: 1.354 MB / 240.7 MB, free: 13.29 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002135/0.02442, allocations: 119 kB / 240.8 MB, free: 13.17 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008363/0.02526, allocations: 0.6705 MB / 241.5 MB, free: 12.5 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004506/0.02571, allocations: 346.9 kB / 241.8 MB, free: 12.16 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 6.714e-05/0.02578, allocations: 48 kB / 241.8 MB, free: 12.11 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001443/0.02722, allocations: 0.7335 MB / 242.6 MB, free: 11.38 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001112/0.02733, allocations: 115.6 kB / 242.7 MB, free: 11.26 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001466/0.02748, allocations: 179.8 kB / 242.9 MB, free: 11.09 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0007934/0.02827, allocations: 0.7403 MB / 243.6 MB, free: 10.34 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.005e-05/0.02828, allocations: 0 / 243.6 MB, free: 10.34 MB / 250.7 MB Notification: Performance of FrontEnd: time 1.753e-06/0.02828, allocations: 0 / 243.6 MB, free: 10.34 MB / 250.7 MB Notification: Performance of Transformations before backend: time 1.233e-05/0.0283, allocations: 0 / 243.6 MB, free: 10.34 MB / 250.7 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.000867/0.02916, allocations: 0.8229 MB / 244.4 MB, free: 9.496 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.243e-05/0.0292, allocations: 11.89 kB / 244.4 MB, free: 9.484 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004401/0.02964, allocations: 253.2 kB / 244.7 MB, free: 9.219 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002791/0.02991, allocations: 233 kB / 244.9 MB, free: 8.965 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.311e-05/0.02994, allocations: 29.38 kB / 244.9 MB, free: 8.934 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.059e-05/0.02999, allocations: 44.38 kB / 245 MB, free: 8.891 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003826/0.03037, allocations: 0.5524 MB / 245.5 MB, free: 8.242 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.835e-05/0.03039, allocations: 8.078 kB / 245.5 MB, free: 8.234 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.785e-05/0.03042, allocations: 24.12 kB / 245.6 MB, free: 8.211 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.132e-05/0.03043, allocations: 16 kB / 245.6 MB, free: 8.195 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001544/0.03058, allocations: 146.7 kB / 245.7 MB, free: 8.051 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005594/0.03618, allocations: 4.162 MB / 249.9 MB, free: 3.824 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002132/0.03639, allocations: 162.5 kB / 250 MB, free: 3.656 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.457e-05/0.03647, allocations: 72.83 kB / 250.1 MB, free: 3.582 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.003845/0.04032, allocations: 2.484 MB / 252.6 MB, free: 1.094 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.948e-05/0.04035, allocations: 42.5 kB / 252.6 MB, free: 1.043 MB / 250.7 MB Notification: Performance of pre-optimization done (n=35): time 1.854e-06/0.04035, allocations: 0 / 252.6 MB, free: 1.043 MB / 250.7 MB Notification: Performance of matching and sorting (n=45): time 0.005473/0.04582, allocations: 2.067 MB / 254.7 MB, free: 14.94 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.614e-05/0.04585, allocations: 55.41 kB / 254.8 MB, free: 14.87 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000143/0.04599, allocations: 244.9 kB / 255 MB, free: 14.62 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 2.239e-05/0.04601, allocations: 33.7 kB / 255 MB, free: 14.58 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.132e-05/0.04611, allocations: 216.9 kB / 255.2 MB, free: 14.36 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.075e-05/0.04619, allocations: 170.5 kB / 255.4 MB, free: 14.2 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.397e-05/0.04627, allocations: 94.25 kB / 255.5 MB, free: 14.1 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 9.602e-05/0.04637, allocations: 350.7 kB / 255.8 MB, free: 13.75 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.628e-05/0.04643, allocations: 53.3 kB / 255.9 MB, free: 13.69 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001336/0.04657, allocations: 192.6 kB / 256.1 MB, free: 13.45 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002358/0.0468, allocations: 310.2 kB / 256.4 MB, free: 13.1 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.785e-06/0.04681, allocations: 4 kB / 256.4 MB, free: 13.1 MB / 266.7 MB Notification: Performance of matching and sorting (n=66) (initialization): time 0.0007553/0.04756, allocations: 353.1 kB / 256.7 MB, free: 12.74 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.515e-05/0.04758, allocations: 4 kB / 256.7 MB, free: 12.73 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.376e-06/0.04758, allocations: 4 kB / 256.7 MB, free: 12.73 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003306/0.05089, allocations: 1.825 MB / 258.6 MB, free: 10.9 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002547/0.05114, allocations: 131.8 kB / 258.7 MB, free: 10.77 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001045/0.05219, allocations: 2.26 MB / 261 MB, free: 8.371 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001193/0.05231, allocations: 12 kB / 261 MB, free: 8.359 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.756e-05/0.05233, allocations: 20.12 kB / 261 MB, free: 8.34 MB / 266.7 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.000118/0.05244, allocations: 152.5 kB / 261.1 MB, free: 8.18 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.596e-05/0.05249, allocations: 35.97 kB / 261.2 MB, free: 8.145 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004475/0.05294, allocations: 0.492 MB / 261.7 MB, free: 7.637 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.09e-05/0.05295, allocations: 15.98 kB / 261.7 MB, free: 7.621 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.535e-06/0.05295, allocations: 3.938 kB / 261.7 MB, free: 7.617 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0003366/0.05329, allocations: 0.5747 MB / 262.3 MB, free: 6.965 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007587/0.05405, allocations: 0.8097 MB / 263.1 MB, free: 6.121 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.941e-06/0.05405, allocations: 3.938 kB / 263.1 MB, free: 6.117 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002046/0.05426, allocations: 99.81 kB / 263.2 MB, free: 6.02 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.06e-05/0.0543, allocations: 39.66 kB / 263.2 MB, free: 5.98 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001585/0.05588, allocations: 0.557 MB / 263.8 MB, free: 5.414 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.011e-05/0.05591, allocations: 16 kB / 263.8 MB, free: 5.398 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004123/0.05633, allocations: 1.089 MB / 264.9 MB, free: 4.254 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.593e-06/0.05633, allocations: 0 / 264.9 MB, free: 4.254 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005051/0.05683, allocations: 0.6534 MB / 265.5 MB, free: 3.574 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.203e-05/0.05686, allocations: 20.05 kB / 265.5 MB, free: 3.555 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.783e-05/0.05696, allocations: 8 kB / 265.6 MB, free: 3.547 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.364e-05/0.057, allocations: 23.95 kB / 265.6 MB, free: 3.523 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.766e-05/0.05701, allocations: 15.98 kB / 265.6 MB, free: 3.508 MB / 266.7 MB Notification: Performance of sorting global known variables: time 6.898e-05/0.05708, allocations: 86.7 kB / 265.7 MB, free: 3.418 MB / 266.7 MB Notification: Performance of sort global known variables: time 5e-08/0.05708, allocations: 0 / 265.7 MB, free: 3.418 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0004359/0.05752, allocations: 227.7 kB / 265.9 MB, free: 3.195 MB / 266.7 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.0004755/0.05799, allocations: 292 kB / 266.2 MB, free: 2.902 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0005268/0.05852, allocations: 465.8 kB / 266.6 MB, free: 2.438 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.496e-05/0.05854, allocations: 11.98 kB / 266.7 MB, free: 2.426 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003754/0.05891, allocations: 276.4 kB / 266.9 MB, free: 2.156 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007848/0.0597, allocations: 0.9706 MB / 267.9 MB, free: 1.016 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005735/0.06543, allocations: 0.972 MB / 268.9 MB, free: 8 kB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.344e-05/0.06552, allocations: 126.6 kB / 269 MB, free: 15.86 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 0.0001926/0.06572, allocations: 64.14 kB / 269.1 MB, free: 15.8 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002879/0.066, allocations: 197.2 kB / 269.2 MB, free: 15.6 MB / 282.7 MB Notification: Performance of SimCode: time 1.202e-06/0.06601, allocations: 0 / 269.2 MB, free: 15.6 MB / 282.7 MB Notification: Performance of Templates: time 0.01465/0.08066, allocations: 13.3 MB / 282.5 MB, free: 2.309 MB / 282.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.DryAir2.makefile [Timeout 660] (rm -f Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.DryAir2.pipe ; mkfifo Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.DryAir2.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.DryAir2.pipe >> ../files/Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.DryAir2.sim & ./Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.DryAir2 -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.DryAir2.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.DryAir2_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Media/Examples/ReferenceAir/DryAir2/DryAir2.csv","",relTol=0.003,relTolDiffMinMax=0.003,tube=OpenModelica.Scripting.TubeAlgorithm.rectangle) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 3.453533095307648]