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.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.0009212/0.0009212, allocations: 76.81 kB / 22.28 MB, free: 2.211 MB / 18.57 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.001513/0.001513, allocations: 170.6 kB / 25.7 MB, free: 7.434 MB / 18.57 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.9522/0.9522, allocations: 158.6 MB / 187.6 MB, free: 2.789 MB / 170.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.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: Performance of FrontEnd - loaded program: time 1.663e-06/1.663e-06, allocations: 0 / 251.6 MB, free: 7.219 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.295e-05/1.461e-05, allocations: 6.25 kB / 251.6 MB, free: 7.211 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.ReferenceAir.DryAir1): time 0.01005/0.01006, allocations: 11.96 MB / 263.5 MB, free: 11.19 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.002343/0.01241, allocations: 1.954 MB / 265.5 MB, free: 9.23 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001618/0.01257, allocations: 7.938 kB / 265.5 MB, free: 9.223 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003916/0.01296, allocations: 107.3 kB / 265.6 MB, free: 9.117 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0005186/0.01348, allocations: 369.7 kB / 266 MB, free: 8.754 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002811/0.01629, allocations: 1.318 MB / 267.3 MB, free: 7.43 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0008705/0.01716, allocations: 0.9455 MB / 268.2 MB, free: 6.48 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001505/0.01731, allocations: 74.86 kB / 268.3 MB, free: 6.41 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003727/0.02104, allocations: 4.221 MB / 272.5 MB, free: 2.184 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002787/0.02132, allocations: 235.3 kB / 272.8 MB, free: 1.953 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 3.927e-05/0.02136, allocations: 36 kB / 272.8 MB, free: 1.918 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009614/0.02232, allocations: 0.7256 MB / 273.5 MB, free: 1.191 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001011/0.02242, allocations: 95.66 kB / 273.6 MB, free: 1.098 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001114/0.02253, allocations: 147.7 kB / 273.8 MB, free: 0.9531 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0007952/0.02333, allocations: 0.752 MB / 274.5 MB, free: 204 kB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.166e-06/0.02333, allocations: 0 / 274.5 MB, free: 204 kB / 250.7 MB Notification: Performance of FrontEnd: time 1.133e-06/0.02333, allocations: 0 / 274.5 MB, free: 204 kB / 250.7 MB Notification: Performance of Transformations before backend: time 5.069e-06/0.02333, allocations: 0 / 274.5 MB, free: 204 kB / 250.7 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.0006179/0.02395, allocations: 0.5422 MB / 275.1 MB, free: 15.63 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.715e-05/0.024, allocations: 15.98 kB / 275.1 MB, free: 15.61 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000454/0.02445, allocations: 120.2 kB / 275.2 MB, free: 15.5 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003291/0.02478, allocations: 205.3 kB / 275.4 MB, free: 15.27 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.192e-05/0.0248, allocations: 21.03 kB / 275.4 MB, free: 15.25 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.142e-05/0.02485, allocations: 32.33 kB / 275.4 MB, free: 15.22 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003257/0.02517, allocations: 418.3 kB / 275.9 MB, free: 14.74 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.574e-05/0.02519, allocations: 192 / 275.9 MB, free: 14.74 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.293e-05/0.02521, allocations: 20.12 kB / 275.9 MB, free: 14.72 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.127e-05/0.02522, allocations: 11.98 kB / 275.9 MB, free: 14.71 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001164/0.02534, allocations: 99.31 kB / 276 MB, free: 14.61 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005333/0.03067, allocations: 3.73 MB / 279.7 MB, free: 10.82 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001521/0.03082, allocations: 106.9 kB / 279.8 MB, free: 10.71 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.549e-05/0.03087, allocations: 44.78 kB / 279.9 MB, free: 10.66 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.003929/0.0348, allocations: 2.473 MB / 282.3 MB, free: 8.188 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.011e-05/0.03483, allocations: 42.5 kB / 282.4 MB, free: 8.137 MB / 266.7 MB Notification: Performance of pre-optimization done (n=21): time 1.353e-06/0.03483, allocations: 0 / 282.4 MB, free: 8.137 MB / 266.7 MB Notification: Performance of matching and sorting (n=26): time 0.003472/0.0383, allocations: 1.112 MB / 283.5 MB, free: 6.984 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.528e-05/0.03833, allocations: 59.34 kB / 283.5 MB, free: 6.914 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001346/0.03846, allocations: 211.3 kB / 283.7 MB, free: 6.695 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.84e-05/0.03848, allocations: 37.7 kB / 283.8 MB, free: 6.652 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.11e-05/0.03856, allocations: 184.1 kB / 284 MB, free: 6.469 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.11e-05/0.03863, allocations: 99.14 kB / 284.1 MB, free: 6.371 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.218e-05/0.0387, allocations: 77.61 kB / 284.1 MB, free: 6.289 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 9.349e-05/0.0388, allocations: 334.7 kB / 284.5 MB, free: 5.953 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.06e-05/0.03885, allocations: 43.69 kB / 284.5 MB, free: 5.91 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.106e-05/0.03894, allocations: 122.9 kB / 284.6 MB, free: 5.75 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001729/0.03911, allocations: 201.7 kB / 284.8 MB, free: 5.512 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.663e-06/0.03911, allocations: 0 / 284.8 MB, free: 5.512 MB / 266.7 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0002835/0.0394, allocations: 243 kB / 285.1 MB, free: 5.262 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.682e-05/0.03941, allocations: 8 kB / 285.1 MB, free: 5.254 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.703e-06/0.03942, allocations: 0 / 285.1 MB, free: 5.254 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001842/0.04126, allocations: 0.913 MB / 286 MB, free: 4.344 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001746/0.04144, allocations: 79.89 kB / 286.1 MB, free: 4.266 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008598/0.0423, allocations: 1.715 MB / 287.8 MB, free: 2.43 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.47e-05/0.04238, allocations: 11.98 kB / 287.8 MB, free: 2.418 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.39e-05/0.0424, allocations: 12 kB / 287.8 MB, free: 2.406 MB / 266.7 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 8.8e-05/0.04248, allocations: 136.7 kB / 287.9 MB, free: 2.262 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.906e-05/0.04252, allocations: 27.97 kB / 288 MB, free: 2.234 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002915/0.04281, allocations: 316.5 kB / 288.3 MB, free: 1.91 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.901e-06/0.04282, allocations: 4 kB / 288.3 MB, free: 1.906 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.302e-06/0.04282, allocations: 0 / 288.3 MB, free: 1.906 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.000251/0.04307, allocations: 0.511 MB / 288.8 MB, free: 1.305 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005222/0.04359, allocations: 0.5459 MB / 289.3 MB, free: 0.7266 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.727e-06/0.0436, allocations: 4.031 kB / 289.3 MB, free: 0.7227 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001157/0.04371, allocations: 51.95 kB / 289.4 MB, free: 0.6719 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006934/0.04441, allocations: 299 kB / 289.7 MB, free: 384 kB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.449e-05/0.04442, allocations: 4 kB / 289.7 MB, free: 380 kB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0002427/0.04466, allocations: 0.55 MB / 290.2 MB, free: 15.79 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.192e-06/0.04467, allocations: 4.031 kB / 290.2 MB, free: 15.79 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003357/0.045, allocations: 448.2 kB / 290.7 MB, free: 15.32 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.407e-05/0.04503, allocations: 27.75 kB / 290.7 MB, free: 15.29 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.081e-05/0.04505, allocations: 4 kB / 290.7 MB, free: 15.29 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.961e-05/0.04514, allocations: 11.94 kB / 290.7 MB, free: 15.28 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.327e-05/0.04516, allocations: 15.97 kB / 290.7 MB, free: 15.26 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.294e-05/0.04517, allocations: 7.984 kB / 290.7 MB, free: 15.25 MB / 282.7 MB Notification: Performance of sorting global known variables: time 5.358e-05/0.04523, allocations: 67.41 kB / 290.8 MB, free: 15.19 MB / 282.7 MB Notification: Performance of sort global known variables: time 6e-08/0.04523, allocations: 0 / 290.8 MB, free: 15.19 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0003495/0.04558, allocations: 191.7 kB / 291 MB, free: 15 MB / 282.7 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.0004238/0.046, allocations: 272 kB / 291.3 MB, free: 14.73 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0003991/0.0464, allocations: 318 kB / 291.6 MB, free: 14.4 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 7.134e-06/0.04641, allocations: 4 kB / 291.6 MB, free: 14.4 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002257/0.04663, allocations: 133.4 kB / 291.7 MB, free: 14.27 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003938/0.04702, allocations: 136.1 kB / 291.8 MB, free: 14.13 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001028/0.04805, allocations: 0.6502 MB / 292.5 MB, free: 13.45 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.272e-05/0.04812, allocations: 101 kB / 292.6 MB, free: 13.34 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 0.0001266/0.04824, allocations: 38.95 kB / 292.6 MB, free: 13.29 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002172/0.04846, allocations: 145.2 kB / 292.8 MB, free: 13.15 MB / 282.7 MB Notification: Performance of SimCode: time 7.92e-07/0.04846, allocations: 4 kB / 292.8 MB, free: 13.15 MB / 282.7 MB Notification: Performance of Templates: time 0.01249/0.06095, allocations: 10.54 MB / 303.3 MB, free: 2.633 MB / 282.7 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=240 -s gbode -gbm=radauIIA3 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.DryAir1.pipe 2>&1) [Timeout 240] 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","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 3.2055322248488665]