Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_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.001093/0.001093, allocations: 76.17 kB / 9.931 MB, free: 0.7578 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.00156/0.002652, allocations: 449.7 kB / 10.37 MB, free: 328 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.001082/0.001082, allocations: 169.1 kB / 11.26 MB, free: 2.91 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001332/0.002415, allocations: 455.6 kB / 11.71 MB, free: 2.461 MB / 13.93 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.9104/0.9104, allocations: 177.2 MB / 189.6 MB, free: 5.312 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.07847/0.9889, allocations: 53.65 MB / 243.3 MB, free: 15.58 MB / 250.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.DryAir1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|volume.medium.T|volume.medium.p",fileNamePrefix="Modelica_4.1.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.1.0_Modelica.Media.Examples.ReferenceAir.DryAir1") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.643e-06/1.643e-06, allocations: 0 / 244.5 MB, free: 14.32 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.193e-05/2.358e-05, allocations: 2.312 kB / 244.5 MB, free: 14.31 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.ReferenceAir.DryAir1): time 0.01517/0.01519, allocations: 12.04 MB / 256.6 MB, free: 2.219 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.003043/0.01824, allocations: 1.966 MB / 258.5 MB, free: 252 kB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001954/0.01843, allocations: 4 kB / 258.5 MB, free: 248 kB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003676/0.0188, allocations: 115.2 kB / 258.7 MB, free: 132 kB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0006887/0.01949, allocations: 373.7 kB / 259 MB, free: 15.76 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.004652/0.02414, allocations: 1.32 MB / 260.3 MB, free: 14.44 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.001104/0.02524, allocations: 0.9455 MB / 261.3 MB, free: 13.49 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001982/0.02544, allocations: 70.86 kB / 261.4 MB, free: 13.42 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.006071/0.03151, allocations: 4.182 MB / 265.5 MB, free: 9.238 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004331/0.03195, allocations: 239.3 kB / 265.8 MB, free: 9.004 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 6.404e-05/0.03201, allocations: 32 kB / 265.8 MB, free: 8.973 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001504/0.03351, allocations: 0.7257 MB / 266.5 MB, free: 8.246 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001161/0.03363, allocations: 79.78 kB / 266.6 MB, free: 8.168 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001809/0.03381, allocations: 123.8 kB / 266.7 MB, free: 8.047 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001061/0.03487, allocations: 0.639 MB / 267.4 MB, free: 7.406 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.453e-05/0.03489, allocations: 0 / 267.4 MB, free: 7.406 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.583e-06/0.03489, allocations: 0 / 267.4 MB, free: 7.406 MB / 266.7 MB Notification: Performance of Transformations before backend: time 1.89e-05/0.03491, allocations: 0 / 267.4 MB, free: 7.406 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: 66 * Number of variables: 66 Notification: Performance of Generate backend data structure: time 0.0009592/0.03587, allocations: 0.6516 MB / 268 MB, free: 6.727 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.66e-05/0.0359, allocations: 8.031 kB / 268 MB, free: 6.719 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005146/0.03642, allocations: 205.4 kB / 268.2 MB, free: 6.5 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003226/0.03674, allocations: 197.3 kB / 268.4 MB, free: 6.281 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.25e-05/0.03676, allocations: 21.03 kB / 268.4 MB, free: 6.262 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.74e-05/0.03682, allocations: 32.38 kB / 268.5 MB, free: 6.23 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004085/0.03723, allocations: 417.9 kB / 268.9 MB, free: 5.746 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.947e-05/0.03725, allocations: 7.891 kB / 268.9 MB, free: 5.738 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.71e-05/0.03728, allocations: 12 kB / 268.9 MB, free: 5.727 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.053e-05/0.03729, allocations: 11.94 kB / 268.9 MB, free: 5.715 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001745/0.03746, allocations: 103.3 kB / 269 MB, free: 5.617 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008309/0.04577, allocations: 3.73 MB / 272.7 MB, free: 1.832 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002062/0.04598, allocations: 110.4 kB / 272.8 MB, free: 1.715 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.382e-05/0.04605, allocations: 44.84 kB / 272.9 MB, free: 1.668 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.1102/0.1563, allocations: 2.47 MB / 275.4 MB, free: 16.3 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.128e-05/0.1563, allocations: 37.95 kB / 275.4 MB, free: 16.27 MB / 266.7 MB Notification: Performance of pre-optimization done (n=21): time 1.753e-06/0.1563, allocations: 1.594 kB / 275.4 MB, free: 16.27 MB / 266.7 MB Notification: Performance of matching and sorting (n=26): time 0.003214/0.1595, allocations: 1.111 MB / 276.5 MB, free: 16.09 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.588e-05/0.1595, allocations: 55.47 kB / 276.6 MB, free: 16.03 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001219/0.1597, allocations: 214.9 kB / 276.8 MB, free: 15.92 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.8e-05/0.1597, allocations: 32.45 kB / 276.8 MB, free: 15.89 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.332e-05/0.1597, allocations: 186 kB / 277 MB, free: 15.78 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.808e-05/0.1598, allocations: 99.47 kB / 277.1 MB, free: 15.73 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.28e-05/0.1598, allocations: 63.25 kB / 277.1 MB, free: 15.71 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 3.991e-05/0.1599, allocations: 339.8 kB / 277.5 MB, free: 15.4 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.684e-05/0.1599, allocations: 39.25 kB / 277.5 MB, free: 15.4 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.265e-05/0.16, allocations: 129.3 kB / 277.6 MB, free: 15.3 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000147/0.1601, allocations: 206.5 kB / 277.8 MB, free: 15.19 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.084e-06/0.1601, allocations: 1.828 kB / 277.8 MB, free: 15.19 MB / 266.7 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0002648/0.1604, allocations: 230.3 kB / 278.1 MB, free: 15.14 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.639e-05/0.1604, allocations: 8.188 kB / 278.1 MB, free: 15.14 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.163e-06/0.1604, allocations: 6.719 kB / 278.1 MB, free: 15.14 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001897/0.1623, allocations: 0.9214 MB / 279 MB, free: 15.12 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001853/0.1625, allocations: 80.8 kB / 279.1 MB, free: 15.12 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000617/0.1631, allocations: 1.711 MB / 280.8 MB, free: 13.47 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.774e-05/0.1632, allocations: 8.281 kB / 280.8 MB, free: 13.47 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.417e-05/0.1632, allocations: 18.09 kB / 280.8 MB, free: 13.46 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 7.422e-05/0.1633, allocations: 141.2 kB / 281 MB, free: 13.34 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.847e-05/0.1634, allocations: 29.7 kB / 281 MB, free: 13.34 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003035/0.1637, allocations: 310.2 kB / 281.3 MB, free: 13.23 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.774e-06/0.1637, allocations: 7.328 kB / 281.3 MB, free: 13.23 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.563e-06/0.1637, allocations: 2.25 kB / 281.3 MB, free: 13.23 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0002114/0.1639, allocations: 0.509 MB / 281.8 MB, free: 12.77 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005328/0.1644, allocations: 0.5641 MB / 282.4 MB, free: 12.5 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.739e-06/0.1644, allocations: 1.625 kB / 282.4 MB, free: 12.5 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001283/0.1645, allocations: 53.22 kB / 282.4 MB, free: 12.5 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.761e-05/0.1646, allocations: 20.98 kB / 282.5 MB, free: 12.49 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006961/0.1653, allocations: 294.7 kB / 282.7 MB, free: 12.46 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.532e-05/0.1653, allocations: 13.12 kB / 282.8 MB, free: 12.46 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0001534/0.1654, allocations: 0.5437 MB / 283.3 MB, free: 11.93 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.623e-06/0.1654, allocations: 1.281 kB / 283.3 MB, free: 11.93 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003282/0.1658, allocations: 450 kB / 283.7 MB, free: 11.71 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.474e-05/0.1658, allocations: 6.031 kB / 283.7 MB, free: 11.71 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.718e-05/0.1659, allocations: 6.828 kB / 283.7 MB, free: 11.71 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.27e-05/0.1659, allocations: 17.59 kB / 283.8 MB, free: 11.71 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.341e-05/0.1659, allocations: 6.969 kB / 283.8 MB, free: 11.71 MB / 266.7 MB Notification: Performance of sorting global known variables: time 5.588e-05/0.166, allocations: 59.88 kB / 283.8 MB, free: 11.7 MB / 266.7 MB Notification: Performance of sort global known variables: time 8e-08/0.166, allocations: 4 kB / 283.8 MB, free: 11.7 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0003858/0.1663, allocations: 188 kB / 284 MB, free: 11.7 MB / 266.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.0003919/0.1667, allocations: 285.6 kB / 284.3 MB, free: 11.62 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0003406/0.1671, allocations: 322.9 kB / 284.6 MB, free: 11.49 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.048e-05/0.1671, allocations: 5.297 kB / 284.6 MB, free: 11.49 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002096/0.1673, allocations: 133.4 kB / 284.7 MB, free: 11.48 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004025/0.1677, allocations: 169.8 kB / 284.9 MB, free: 11.46 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004345/0.172, allocations: 0.6709 MB / 285.6 MB, free: 11.12 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.687e-05/0.1721, allocations: 99.11 kB / 285.7 MB, free: 11.05 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 0.0001308/0.1722, allocations: 43.11 kB / 285.7 MB, free: 11.05 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001951/0.1724, allocations: 146.7 kB / 285.9 MB, free: 11 MB / 266.7 MB Notification: Performance of SimCode: time 6.11e-07/0.1724, allocations: 0.9688 kB / 285.9 MB, free: 11 MB / 266.7 MB Notification: Performance of Templates: time 0.01125/0.1837, allocations: 10.82 MB / 296.7 MB, free: 6.234 MB / 266.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Media.Examples.ReferenceAir.DryAir1.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Media.Examples.ReferenceAir.DryAir1.pipe ; mkfifo Modelica_4.1.0_Modelica.Media.Examples.ReferenceAir.DryAir1.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Media.Examples.ReferenceAir.DryAir1.pipe >> ../files/Modelica_4.1.0_Modelica.Media.Examples.ReferenceAir.DryAir1.sim & ./Modelica_4.1.0_Modelica.Media.Examples.ReferenceAir.DryAir1 -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Modelica_4.1.0_Modelica.Media.Examples.ReferenceAir.DryAir1.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.1.0_Modelica.Media.Examples.ReferenceAir.DryAir1_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/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.144277423620224]