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.001369/0.001369, allocations: 95.5 kB / 21.2 MB, free: 3.371 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.001478/0.001478, allocations: 160.5 kB / 24.55 MB, free: 16 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 0.9351/0.9351, allocations: 177 MB / 204.8 MB, free: 5.586 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.462e-06/1.462e-06, allocations: 0 / 272.9 MB, free: 1.461 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.232e-05/1.379e-05, allocations: 5.266 kB / 272.9 MB, free: 1.457 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.ReferenceAir.DryAir1): time 0.02309/0.02311, allocations: 11.98 MB / 284.9 MB, free: 5.426 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.002004/0.02511, allocations: 1.951 MB / 286.8 MB, free: 3.469 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001328/0.02524, allocations: 7.938 kB / 286.9 MB, free: 3.461 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002704/0.02795, allocations: 107.3 kB / 287 MB, free: 3.355 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0008792/0.02883, allocations: 369.8 kB / 287.3 MB, free: 2.992 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.003833/0.03266, allocations: 1.372 MB / 288.7 MB, free: 1.613 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.004235/0.0369, allocations: 0.9377 MB / 289.6 MB, free: 0.6719 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001638/0.03706, allocations: 68.89 kB / 289.7 MB, free: 0.6016 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.112/0.149, allocations: 4.252 MB / 294 MB, free: 15.75 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002961/0.1493, allocations: 255.7 kB / 294.2 MB, free: 15.75 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 4.29e-05/0.1494, allocations: 30.62 kB / 294.2 MB, free: 15.75 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009657/0.1503, allocations: 0.6798 MB / 294.9 MB, free: 15.75 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 9.73e-05/0.1504, allocations: 102.9 kB / 295 MB, free: 15.75 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001296/0.1506, allocations: 147.3 kB / 295.2 MB, free: 15.75 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0007578/0.1513, allocations: 0.7548 MB / 295.9 MB, free: 15.75 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.086e-06/0.1513, allocations: 0 / 295.9 MB, free: 15.75 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.282e-06/0.1513, allocations: 0 / 295.9 MB, free: 15.75 MB / 266.7 MB Notification: Performance of Transformations before backend: time 5.651e-06/0.1513, allocations: 0 / 295.9 MB, free: 15.75 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.0006103/0.1519, allocations: 0.6764 MB / 296.6 MB, free: 15.26 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.425e-05/0.152, allocations: 13.42 kB / 296.6 MB, free: 15.25 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003006/0.1523, allocations: 115.5 kB / 296.7 MB, free: 15.2 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002349/0.1525, allocations: 243 kB / 297 MB, free: 15.04 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.938e-05/0.1525, allocations: 20.44 kB / 297 MB, free: 15.04 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.719e-05/0.1526, allocations: 28.06 kB / 297 MB, free: 15.04 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003171/0.1529, allocations: 462.9 kB / 297.4 MB, free: 14.7 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.494e-05/0.1529, allocations: 1.031 kB / 297.5 MB, free: 14.7 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.321e-05/0.1529, allocations: 14.94 kB / 297.5 MB, free: 14.7 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.145e-05/0.1529, allocations: 11.09 kB / 297.5 MB, free: 14.7 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001724/0.1531, allocations: 136 kB / 297.6 MB, free: 14.69 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005401/0.1585, allocations: 4.552 MB / 302.2 MB, free: 13.04 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001814/0.1587, allocations: 131.4 kB / 302.3 MB, free: 13 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.786e-05/0.1588, allocations: 58 kB / 302.3 MB, free: 12.99 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.004044/0.1628, allocations: 2.696 MB / 305 MB, free: 12.39 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.905e-05/0.1628, allocations: 39.17 kB / 305.1 MB, free: 12.34 MB / 266.7 MB Notification: Performance of pre-optimization done (n=21): time 1.132e-06/0.1628, allocations: 0 / 305.1 MB, free: 12.34 MB / 266.7 MB Notification: Performance of matching and sorting (n=26): time 0.002761/0.1656, allocations: 1.136 MB / 306.2 MB, free: 11.89 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.516e-05/0.1656, allocations: 54.97 kB / 306.3 MB, free: 11.83 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001239/0.1657, allocations: 278.3 kB / 306.5 MB, free: 11.63 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.368e-05/0.1657, allocations: 29.64 kB / 306.6 MB, free: 11.6 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.077e-05/0.1658, allocations: 245.8 kB / 306.8 MB, free: 11.4 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.244e-05/0.1658, allocations: 95.28 kB / 306.9 MB, free: 11.33 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.633e-05/0.1659, allocations: 78.73 kB / 307 MB, free: 11.29 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 4.068e-05/0.1659, allocations: 0.5028 MB / 307.5 MB, free: 10.79 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.746e-05/0.166, allocations: 53.47 kB / 307.5 MB, free: 10.78 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.996e-05/0.1661, allocations: 184.6 kB / 307.7 MB, free: 10.61 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000185/0.1663, allocations: 262.8 kB / 308 MB, free: 10.45 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.763e-06/0.1663, allocations: 6.188 kB / 308 MB, free: 10.45 MB / 266.7 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0003219/0.1666, allocations: 323.5 kB / 308.3 MB, free: 10.34 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.332e-05/0.1666, allocations: 6.844 kB / 308.3 MB, free: 10.34 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.342e-06/0.1666, allocations: 7.312 kB / 308.3 MB, free: 10.34 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001783/0.1684, allocations: 0.9298 MB / 309.2 MB, free: 9.969 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001396/0.1685, allocations: 72.06 kB / 309.3 MB, free: 9.961 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006558/0.1692, allocations: 2.566 MB / 311.9 MB, free: 7.387 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.76e-05/0.1693, allocations: 9.656 kB / 311.9 MB, free: 7.387 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.499e-05/0.1693, allocations: 15.91 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 6.958e-05/0.1694, allocations: 181.1 kB / 312.1 MB, free: 7.223 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.747e-05/0.1694, allocations: 33.17 kB / 312.1 MB, free: 7.211 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003298/0.1697, allocations: 346.3 kB / 312.4 MB, free: 7.062 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.558e-06/0.1697, allocations: 4 kB / 312.5 MB, free: 7.059 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.994e-06/0.1697, allocations: 7.922 kB / 312.5 MB, free: 7.051 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0002383/0.17, allocations: 0.5715 MB / 313 MB, free: 6.422 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005324/0.1705, allocations: 0.7178 MB / 313.7 MB, free: 5.777 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.426e-06/0.1705, allocations: 3.938 kB / 313.8 MB, free: 5.773 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.562e-05/0.1706, allocations: 47.23 kB / 313.8 MB, free: 5.734 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006986/0.1713, allocations: 293.2 kB / 314.1 MB, free: 5.465 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.421e-05/0.1713, allocations: 7.812 kB / 314.1 MB, free: 5.461 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0001648/0.1715, allocations: 0.8107 MB / 314.9 MB, free: 4.629 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.302e-06/0.1715, allocations: 4 kB / 314.9 MB, free: 4.625 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003505/0.1718, allocations: 0.5251 MB / 315.4 MB, free: 4.117 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.072e-05/0.1719, allocations: 35.42 kB / 315.5 MB, free: 4.086 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.094e-05/0.1719, allocations: 6.172 kB / 315.5 MB, free: 4.086 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.787e-05/0.172, allocations: 7.75 kB / 315.5 MB, free: 4.082 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.633e-05/0.172, allocations: 19.91 kB / 315.5 MB, free: 4.062 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.265e-05/0.172, allocations: 11.42 kB / 315.5 MB, free: 4.055 MB / 266.7 MB Notification: Performance of sorting global known variables: time 6.19e-05/0.1721, allocations: 191.1 kB / 315.7 MB, free: 3.883 MB / 266.7 MB Notification: Performance of sort global known variables: time 5e-08/0.1721, allocations: 0 / 315.7 MB, free: 3.883 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0003273/0.1724, allocations: 185.5 kB / 315.9 MB, free: 3.715 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.000361/0.1727, allocations: 288.1 kB / 316.2 MB, free: 3.461 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0003909/0.1731, allocations: 406.7 kB / 316.6 MB, free: 3.078 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.663e-06/0.1731, allocations: 0 / 316.6 MB, free: 3.078 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002176/0.1734, allocations: 165.9 kB / 316.7 MB, free: 2.934 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004237/0.1738, allocations: 140.8 kB / 316.9 MB, free: 2.828 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008785/0.1747, allocations: 0.6725 MB / 317.5 MB, free: 2.18 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.777e-05/0.1747, allocations: 93.12 kB / 317.6 MB, free: 2.07 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 9.342e-05/0.1748, allocations: 49.34 kB / 317.7 MB, free: 2.02 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.652e-05/0.1748, allocations: 24.5 kB / 317.7 MB, free: 1.996 MB / 266.7 MB Notification: Performance of SimCode: time 5.51e-07/0.1748, allocations: 4 kB / 317.7 MB, free: 1.992 MB / 266.7 MB Notification: Performance of Templates: time 0.01085/0.1857, allocations: 10.63 MB / 328.3 MB, free: 7.551 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.333538293838501]