Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_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.0009669/0.0009669, allocations: 80.8 kB / 21.49 MB, free: 2.992 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.001068/0.001068, allocations: 169.1 kB / 24.91 MB, free: 9.188 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.9678/0.9678, allocations: 177.1 MB / 205.3 MB, free: 5.488 MB / 186.7 MB " [Timeout remaining time 179] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+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_4.1.0_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_4.1.0_Modelica.Media.Examples.ReferenceAir.DryAir2") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.363e-06/1.363e-06, allocations: 0 / 273.5 MB, free: 1.25 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.084e-05/1.22e-05, allocations: 2.312 kB / 273.5 MB, free: 1.246 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.ReferenceAir.DryAir2): time 0.009267/0.009279, allocations: 12.96 MB / 286.5 MB, free: 4.234 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.002115/0.01139, allocations: 2.219 MB / 288.7 MB, free: 2.008 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001595/0.01155, allocations: 7.938 kB / 288.7 MB, free: 2 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004743/0.01203, allocations: 147 kB / 288.8 MB, free: 1.855 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0005664/0.01259, allocations: 0.5086 MB / 289.3 MB, free: 1.344 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.1149/0.1275, allocations: 1.433 MB / 290.8 MB, free: 16.09 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.002147/0.1296, allocations: 1.343 MB / 292.1 MB, free: 15.92 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000276/0.1299, allocations: 120.5 kB / 292.2 MB, free: 15.9 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001027/0.131, allocations: 0.6416 MB / 292.9 MB, free: 15.85 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005918/0.1315, allocations: 353.7 kB / 293.2 MB, free: 15.81 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 9.024e-05/0.1316, allocations: 45.31 kB / 293.3 MB, free: 15.81 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001573/0.1332, allocations: 0.7268 MB / 294 MB, free: 15.81 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001491/0.1334, allocations: 148.1 kB / 294.1 MB, free: 15.79 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002534/0.1336, allocations: 214.6 kB / 294.3 MB, free: 15.77 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001256/0.1349, allocations: 0.8643 MB / 295.2 MB, free: 15.74 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.667e-06/0.1349, allocations: 1 kB / 295.2 MB, free: 15.74 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.332e-06/0.1349, allocations: 1.219 kB / 295.2 MB, free: 15.74 MB / 266.7 MB Notification: Performance of Transformations before backend: time 9.157e-06/0.1349, allocations: 0 / 295.2 MB, free: 15.74 MB / 266.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.0009072/0.1358, allocations: 0.6721 MB / 295.9 MB, free: 15.34 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.362e-05/0.1358, allocations: 10.09 kB / 295.9 MB, free: 15.34 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006326/0.1365, allocations: 166.7 kB / 296.1 MB, free: 15.29 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003512/0.1368, allocations: 241.1 kB / 296.3 MB, free: 15.12 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.705e-05/0.1368, allocations: 32.34 kB / 296.3 MB, free: 15.12 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.936e-05/0.1369, allocations: 43.45 kB / 296.4 MB, free: 15.12 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004676/0.1374, allocations: 0.5492 MB / 296.9 MB, free: 14.73 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.832e-05/0.1374, allocations: 1.969 kB / 296.9 MB, free: 14.73 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.185e-05/0.1374, allocations: 23.34 kB / 296.9 MB, free: 14.73 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.587e-05/0.1374, allocations: 13.5 kB / 297 MB, free: 14.72 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002263/0.1377, allocations: 144.1 kB / 297.1 MB, free: 14.71 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007017/0.1447, allocations: 4.163 MB / 301.3 MB, free: 13.36 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002529/0.1449, allocations: 164.9 kB / 301.4 MB, free: 13.33 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.455e-05/0.145, allocations: 74.83 kB / 301.5 MB, free: 13.32 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.005166/0.1502, allocations: 2.5 MB / 304 MB, free: 13.16 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.233e-05/0.1502, allocations: 35.89 kB / 304 MB, free: 13.12 MB / 266.7 MB Notification: Performance of pre-optimization done (n=35): time 1.653e-06/0.1502, allocations: 0 / 304 MB, free: 13.12 MB / 266.7 MB Notification: Performance of matching and sorting (n=45): time 0.008325/0.1585, allocations: 2.012 MB / 306 MB, free: 12.47 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.743e-05/0.1585, allocations: 62.55 kB / 306.1 MB, free: 12.41 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001358/0.1587, allocations: 254.5 kB / 306.3 MB, free: 12.25 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 2.036e-05/0.1587, allocations: 35.73 kB / 306.4 MB, free: 12.22 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.558e-05/0.1588, allocations: 213.7 kB / 306.6 MB, free: 12.05 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.261e-05/0.1588, allocations: 163.7 kB / 306.7 MB, free: 11.93 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.323e-05/0.1589, allocations: 103.3 kB / 306.9 MB, free: 11.9 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 4.243e-05/0.159, allocations: 353.6 kB / 307.2 MB, free: 11.57 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.397e-05/0.159, allocations: 56.97 kB / 307.3 MB, free: 11.56 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001149/0.1592, allocations: 178.1 kB / 307.4 MB, free: 11.42 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002347/0.1594, allocations: 297.9 kB / 307.7 MB, free: 11.24 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.063e-06/0.1594, allocations: 0 / 307.7 MB, free: 11.24 MB / 266.7 MB Notification: Performance of matching and sorting (n=66) (initialization): time 0.0004122/0.1598, allocations: 348.6 kB / 308.1 MB, free: 11.12 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.441e-05/0.1598, allocations: 6.781 kB / 308.1 MB, free: 11.12 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.585e-06/0.1598, allocations: 3.562 kB / 308.1 MB, free: 11.12 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004498/0.1643, allocations: 1.836 MB / 309.9 MB, free: 9.93 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003166/0.1646, allocations: 118.7 kB / 310 MB, free: 9.824 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008347/0.1655, allocations: 2.268 MB / 312.3 MB, free: 7.477 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001568/0.1656, allocations: 11.31 kB / 312.3 MB, free: 7.473 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.36e-05/0.1657, allocations: 19.75 kB / 312.3 MB, free: 7.457 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 9.6e-05/0.1658, allocations: 145.4 kB / 312.5 MB, free: 7.328 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.658e-05/0.1658, allocations: 43.7 kB / 312.5 MB, free: 7.293 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004637/0.1663, allocations: 0.4983 MB / 313 MB, free: 6.828 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.203e-06/0.1663, allocations: 4 kB / 313 MB, free: 6.824 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.783e-06/0.1663, allocations: 4.031 kB / 313 MB, free: 6.82 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0003199/0.1666, allocations: 0.5728 MB / 313.6 MB, free: 6.176 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000809/0.1674, allocations: 0.8127 MB / 314.4 MB, free: 5.449 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.789e-06/0.1674, allocations: 4 kB / 314.4 MB, free: 5.445 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000228/0.1676, allocations: 83.7 kB / 314.5 MB, free: 5.367 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001687/0.1693, allocations: 0.5675 MB / 315 MB, free: 4.832 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.857e-05/0.1694, allocations: 12.86 kB / 315.1 MB, free: 4.824 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003151/0.1697, allocations: 1.084 MB / 316.1 MB, free: 3.703 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.403e-06/0.1697, allocations: 0 / 316.1 MB, free: 3.703 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005129/0.1702, allocations: 0.6526 MB / 316.8 MB, free: 3.062 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.552e-05/0.1702, allocations: 41.52 kB / 316.8 MB, free: 3.023 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.759e-05/0.1703, allocations: 10.81 kB / 316.8 MB, free: 3.02 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001441/0.1704, allocations: 7.062 kB / 316.9 MB, free: 3.02 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.576e-05/0.1704, allocations: 30.56 kB / 316.9 MB, free: 2.992 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.146e-05/0.1705, allocations: 10.36 kB / 316.9 MB, free: 2.984 MB / 266.7 MB Notification: Performance of sorting global known variables: time 6.235e-05/0.1705, allocations: 86.2 kB / 317 MB, free: 2.914 MB / 266.7 MB Notification: Performance of sort global known variables: time 8e-08/0.1705, allocations: 4 kB / 317 MB, free: 2.91 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0005393/0.1711, allocations: 226.3 kB / 317.2 MB, free: 2.707 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.0004318/0.1715, allocations: 284.9 kB / 317.5 MB, free: 2.453 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0005054/0.172, allocations: 463.9 kB / 317.9 MB, free: 2.02 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 7.795e-06/0.172, allocations: 4.938 kB / 317.9 MB, free: 2.016 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004044/0.1724, allocations: 248.3 kB / 318.2 MB, free: 1.793 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006716/0.1731, allocations: 216.3 kB / 318.4 MB, free: 1.621 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001296/0.1744, allocations: 0.9347 MB / 319.3 MB, free: 0.7031 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.326e-05/0.1744, allocations: 122.8 kB / 319.4 MB, free: 0.5586 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 0.0001859/0.1746, allocations: 59.39 kB / 319.5 MB, free: 0.5 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003053/0.1749, allocations: 191.8 kB / 319.7 MB, free: 324 kB / 266.7 MB Notification: Performance of SimCode: time 5.01e-07/0.1749, allocations: 4 kB / 319.7 MB, free: 320 kB / 266.7 MB Notification: Performance of Templates: time 0.01841/0.1933, allocations: 13.58 MB / 333.3 MB, free: 2.965 MB / 282.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Media.Examples.ReferenceAir.DryAir2.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Media.Examples.ReferenceAir.DryAir2.pipe ; mkfifo Modelica_4.1.0_Modelica.Media.Examples.ReferenceAir.DryAir2.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Media.Examples.ReferenceAir.DryAir2.pipe >> ../files/Modelica_4.1.0_Modelica.Media.Examples.ReferenceAir.DryAir2.sim & ./Modelica_4.1.0_Modelica.Media.Examples.ReferenceAir.DryAir2 -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Media.Examples.ReferenceAir.DryAir2.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.1.0_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","",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.4778554467484355]