Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Media.Examples.ReferenceAir.DryAir1.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.00136/0.00136, allocations: 91.5 kB / 21.2 MB, free: 3.375 MB / 18.57 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.001539/0.001539, allocations: 160.5 kB / 24.55 MB, free: 20 kB / 18.57 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.036/1.036, allocations: 177 MB / 204.8 MB, free: 5.27 MB / 186.7 MB " [Timeout remaining time 179] 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.DryAir1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|volume.medium.T|volume.medium.p",fileNamePrefix="Modelica_trunk_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_trunk_Modelica.Media.Examples.ReferenceAir.DryAir1") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.202e-06/1.202e-06, allocations: 0 / 272.9 MB, free: 1.32 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.139e-05/2.259e-05, allocations: 5.266 kB / 272.9 MB, free: 1.316 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.ReferenceAir.DryAir1): time 0.01043/0.01046, allocations: 11.99 MB / 284.9 MB, free: 5.27 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.002053/0.01251, allocations: 1.943 MB / 286.9 MB, free: 3.32 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001787/0.01269, allocations: 7.938 kB / 286.9 MB, free: 3.312 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004187/0.01311, allocations: 107.3 kB / 287 MB, free: 3.207 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0008491/0.01396, allocations: 369.8 kB / 287.3 MB, free: 2.844 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.003011/0.01697, allocations: 1.372 MB / 288.7 MB, free: 1.465 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.000919/0.01789, allocations: 0.9416 MB / 289.6 MB, free: 0.5195 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001755/0.01806, allocations: 64.89 kB / 289.7 MB, free: 464 kB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.1222/0.1403, allocations: 4.236 MB / 293.9 MB, free: 15.85 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005051/0.1408, allocations: 260.2 kB / 294.2 MB, free: 15.85 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 6.761e-05/0.1408, allocations: 35.16 kB / 294.2 MB, free: 15.84 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001367/0.1422, allocations: 0.6718 MB / 294.9 MB, free: 15.84 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001643/0.1424, allocations: 104.8 kB / 295 MB, free: 15.84 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001978/0.1426, allocations: 144 kB / 295.1 MB, free: 15.84 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001406/0.144, allocations: 0.7534 MB / 295.9 MB, free: 15.84 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.931e-06/0.144, allocations: 0 / 295.9 MB, free: 15.84 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.252e-06/0.144, allocations: 2.516 kB / 295.9 MB, free: 15.84 MB / 266.7 MB Notification: Performance of Transformations before backend: time 1.565e-05/0.144, allocations: 0 / 295.9 MB, free: 15.84 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.001008/0.145, allocations: 0.6684 MB / 296.6 MB, free: 15.35 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.487e-05/0.145, allocations: 17.98 kB / 296.6 MB, free: 15.34 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004914/0.1455, allocations: 121.1 kB / 296.7 MB, free: 15.29 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003746/0.1459, allocations: 238 kB / 296.9 MB, free: 15.13 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.393e-05/0.1459, allocations: 19.66 kB / 297 MB, free: 15.13 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.483e-05/0.146, allocations: 35.58 kB / 297 MB, free: 15.13 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004079/0.1464, allocations: 458.1 kB / 297.4 MB, free: 14.79 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.499e-05/0.1464, allocations: 5.094 kB / 297.4 MB, free: 14.79 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.321e-05/0.1464, allocations: 16.72 kB / 297.5 MB, free: 14.78 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.255e-05/0.1465, allocations: 10.41 kB / 297.5 MB, free: 14.78 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002247/0.1467, allocations: 135.2 kB / 297.6 MB, free: 14.77 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006876/0.1536, allocations: 4.549 MB / 302.1 MB, free: 13.13 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002467/0.1538, allocations: 136 kB / 302.3 MB, free: 13.09 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.665e-05/0.1539, allocations: 58.89 kB / 302.3 MB, free: 13.08 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.004417/0.1583, allocations: 2.693 MB / 305 MB, free: 12.39 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.058e-05/0.1584, allocations: 40.77 kB / 305.1 MB, free: 12.34 MB / 266.7 MB Notification: Performance of pre-optimization done (n=21): time 2.565e-06/0.1584, allocations: 0 / 305.1 MB, free: 12.34 MB / 266.7 MB Notification: Performance of matching and sorting (n=26): time 0.003312/0.1617, allocations: 1.129 MB / 306.2 MB, free: 11.9 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.422e-05/0.1617, allocations: 58.72 kB / 306.3 MB, free: 11.83 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002525/0.162, allocations: 285.4 kB / 306.5 MB, free: 11.62 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 2.54e-05/0.162, allocations: 29.39 kB / 306.6 MB, free: 11.59 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001553/0.1621, allocations: 239 kB / 306.8 MB, free: 11.4 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.467e-05/0.1622, allocations: 95.53 kB / 306.9 MB, free: 11.33 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001061/0.1623, allocations: 77.5 kB / 307 MB, free: 11.3 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001349/0.1624, allocations: 0.5025 MB / 307.5 MB, free: 10.8 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.088e-05/0.1625, allocations: 57.28 kB / 307.5 MB, free: 10.79 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001356/0.1627, allocations: 180 kB / 307.7 MB, free: 10.62 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002298/0.1629, allocations: 268.5 kB / 308 MB, free: 10.45 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.435e-06/0.1629, allocations: 0 / 308 MB, free: 10.45 MB / 266.7 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0004238/0.1633, allocations: 326.5 kB / 308.3 MB, free: 10.35 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.066e-05/0.1633, allocations: 6.281 kB / 308.3 MB, free: 10.35 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.05e-05/0.1634, allocations: 10 kB / 308.3 MB, free: 10.34 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00201/0.1654, allocations: 0.9329 MB / 309.2 MB, free: 9.973 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001837/0.1655, allocations: 67.38 kB / 309.3 MB, free: 9.965 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009434/0.1665, allocations: 2.562 MB / 311.9 MB, free: 7.391 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001322/0.1666, allocations: 10.88 kB / 311.9 MB, free: 7.391 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.69e-05/0.1666, allocations: 18.62 kB / 311.9 MB, free: 7.387 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 0.0001097/0.1667, allocations: 184.9 kB / 312.1 MB, free: 7.219 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.428e-05/0.1668, allocations: 33.36 kB / 312.1 MB, free: 7.207 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003947/0.1672, allocations: 339.6 kB / 312.4 MB, free: 6.988 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.893e-06/0.1672, allocations: 7.984 kB / 312.4 MB, free: 6.98 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.405e-06/0.1672, allocations: 3.938 kB / 312.4 MB, free: 6.977 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0002767/0.1675, allocations: 0.572 MB / 313 MB, free: 6.348 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006422/0.1681, allocations: 0.7234 MB / 313.7 MB, free: 5.699 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.03e-06/0.1681, allocations: 3.938 kB / 313.7 MB, free: 5.695 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.981e-05/0.1682, allocations: 43.64 kB / 313.8 MB, free: 5.656 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007319/0.169, allocations: 288.5 kB / 314.1 MB, free: 5.391 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.877e-05/0.169, allocations: 11.75 kB / 314.1 MB, free: 5.387 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000198/0.1692, allocations: 0.8152 MB / 314.9 MB, free: 4.547 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.295e-06/0.1692, allocations: 2.953 kB / 314.9 MB, free: 4.547 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000399/0.1696, allocations: 0.5334 MB / 315.4 MB, free: 4.035 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.911e-05/0.1696, allocations: 23.81 kB / 315.5 MB, free: 4.012 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.36e-05/0.1696, allocations: 7.188 kB / 315.5 MB, free: 4.008 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.158e-05/0.1697, allocations: 3.438 kB / 315.5 MB, free: 4.008 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.863e-05/0.1697, allocations: 23.34 kB / 315.5 MB, free: 3.988 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.303e-05/0.1697, allocations: 11.98 kB / 315.5 MB, free: 3.977 MB / 266.7 MB Notification: Performance of sorting global known variables: time 7.9e-05/0.1698, allocations: 186.6 kB / 315.7 MB, free: 3.809 MB / 266.7 MB Notification: Performance of sort global known variables: time 6e-08/0.1698, allocations: 4.062 kB / 315.7 MB, free: 3.805 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0006916/0.1705, allocations: 190.7 kB / 315.9 MB, free: 3.633 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.0005149/0.171, allocations: 283.2 kB / 316.1 MB, free: 3.383 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0005384/0.1716, allocations: 420.7 kB / 316.6 MB, free: 2.992 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 2.164e-06/0.1716, allocations: 0 / 316.6 MB, free: 2.992 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002377/0.1718, allocations: 160.5 kB / 316.7 MB, free: 2.848 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004689/0.1723, allocations: 137.1 kB / 316.8 MB, free: 2.746 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001099/0.1734, allocations: 0.676 MB / 317.5 MB, free: 2.094 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.766e-05/0.1734, allocations: 97.12 kB / 317.6 MB, free: 1.98 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 0.0001198/0.1735, allocations: 44.16 kB / 317.7 MB, free: 1.934 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.276e-05/0.1736, allocations: 31.62 kB / 317.7 MB, free: 1.906 MB / 266.7 MB Notification: Performance of SimCode: time 8.52e-07/0.1736, allocations: 0 / 317.7 MB, free: 1.906 MB / 266.7 MB Notification: Performance of Templates: time 0.01205/0.1856, allocations: 9.33 MB / 327 MB, free: 8.742 MB / 282.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Media.Examples.ReferenceAir.DryAir1.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Media.Examples.ReferenceAir.DryAir1.pipe ; mkfifo Modelica_trunk_Modelica.Media.Examples.ReferenceAir.DryAir1.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Media.Examples.ReferenceAir.DryAir1.pipe >> ../files/Modelica_trunk_Modelica.Media.Examples.ReferenceAir.DryAir1.sim & ./Modelica_trunk_Modelica.Media.Examples.ReferenceAir.DryAir1 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Media.Examples.ReferenceAir.DryAir1.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_trunk_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.696546560153365]