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.0009906/0.0009906, allocations: 75.75 kB / 21.69 MB, free: 2.859 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.001412/0.001412, allocations: 165.5 kB / 24.99 MB, free: 9.285 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.8887/0.8887, allocations: 177.1 MB / 205.3 MB, free: 5.648 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.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.352e-06/1.352e-06, allocations: 0 / 273.1 MB, free: 1.855 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.682e-05/1.817e-05, allocations: 2.312 kB / 273.1 MB, free: 1.852 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.ReferenceAir.DryAir1): time 0.1146/0.1146, allocations: 27.65 MB / 300.7 MB, free: 14.22 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.003041/0.1176, allocations: 4.213 MB / 304.9 MB, free: 12.25 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001735/0.1178, allocations: 7.281 kB / 304.9 MB, free: 12.25 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004964/0.1183, allocations: 200.7 kB / 305.1 MB, free: 12.22 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004592/0.1188, allocations: 357.6 kB / 305.5 MB, free: 12.05 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002483/0.1212, allocations: 1.497 MB / 307 MB, free: 11.4 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0006523/0.1219, allocations: 0.8958 MB / 307.9 MB, free: 10.97 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001416/0.122, allocations: 69.06 kB / 307.9 MB, free: 10.94 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003733/0.1258, allocations: 4.288 MB / 312.2 MB, free: 9.414 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002293/0.126, allocations: 253.5 kB / 312.5 MB, free: 9.289 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 3.508e-05/0.126, allocations: 32.31 kB / 312.5 MB, free: 9.289 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006721/0.1267, allocations: 0.7075 MB / 313.2 MB, free: 8.961 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 7.799e-05/0.1268, allocations: 102.3 kB / 313.3 MB, free: 8.883 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.000104/0.1269, allocations: 143 kB / 313.5 MB, free: 8.824 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0006316/0.1275, allocations: 0.7923 MB / 314.3 MB, free: 8.324 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.296e-06/0.1275, allocations: 4 kB / 314.3 MB, free: 8.32 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.002e-06/0.1275, allocations: 0 / 314.3 MB, free: 8.32 MB / 266.7 MB Notification: Performance of Transformations before backend: time 5.01e-06/0.1275, allocations: 0 / 314.3 MB, free: 8.32 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.0005484/0.1281, allocations: 0.6786 MB / 314.9 MB, free: 7.734 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.14e-05/0.1281, allocations: 9.5 kB / 314.9 MB, free: 7.734 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003205/0.1284, allocations: 126.5 kB / 315.1 MB, free: 7.66 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000217/0.1286, allocations: 239.1 kB / 315.3 MB, free: 7.441 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.998e-05/0.1287, allocations: 18.12 kB / 315.3 MB, free: 7.434 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.495e-05/0.1287, allocations: 34.98 kB / 315.4 MB, free: 7.422 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000263/0.129, allocations: 461.2 kB / 315.8 MB, free: 6.98 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.286e-05/0.129, allocations: 2.906 kB / 315.8 MB, free: 6.98 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.06e-05/0.129, allocations: 10.28 kB / 315.8 MB, free: 6.973 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.102e-05/0.129, allocations: 11.44 kB / 315.8 MB, free: 6.969 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001538/0.1292, allocations: 137 kB / 316 MB, free: 6.914 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00525/0.1344, allocations: 4.555 MB / 320.5 MB, free: 2.832 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001672/0.1346, allocations: 135 kB / 320.6 MB, free: 2.688 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.922e-05/0.1346, allocations: 58.72 kB / 320.7 MB, free: 2.629 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.004028/0.1387, allocations: 2.687 MB / 323.4 MB, free: 15.94 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.511e-05/0.1387, allocations: 41.33 kB / 323.4 MB, free: 15.89 MB / 282.7 MB Notification: Performance of pre-optimization done (n=21): time 1.403e-06/0.1387, allocations: 0 / 323.4 MB, free: 15.89 MB / 282.7 MB Notification: Performance of matching and sorting (n=26): time 0.00324/0.1419, allocations: 1.141 MB / 324.6 MB, free: 14.71 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.347e-05/0.142, allocations: 51.41 kB / 324.6 MB, free: 14.65 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001648/0.1421, allocations: 282.6 kB / 324.9 MB, free: 14.36 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 1.743e-05/0.1421, allocations: 29.7 kB / 324.9 MB, free: 14.32 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.207e-05/0.1422, allocations: 243 kB / 325.2 MB, free: 14.08 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.677e-05/0.1423, allocations: 99.17 kB / 325.3 MB, free: 13.98 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.491e-05/0.1424, allocations: 67.36 kB / 325.3 MB, free: 13.91 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.0001129/0.1425, allocations: 0.5079 MB / 325.8 MB, free: 13.39 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.958e-05/0.1425, allocations: 59.69 kB / 325.9 MB, free: 13.33 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001407/0.1427, allocations: 179.9 kB / 326.1 MB, free: 13.1 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002293/0.1429, allocations: 267.7 kB / 326.3 MB, free: 12.79 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.513e-06/0.1429, allocations: 0 / 326.3 MB, free: 12.79 MB / 282.7 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.000373/0.1433, allocations: 328.8 kB / 326.7 MB, free: 12.45 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.318e-05/0.1433, allocations: 4 kB / 326.7 MB, free: 12.45 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.073e-06/0.1433, allocations: 7.938 kB / 326.7 MB, free: 12.44 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001989/0.1453, allocations: 0.9303 MB / 327.6 MB, free: 11.51 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001479/0.1454, allocations: 63.91 kB / 327.7 MB, free: 11.45 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001041/0.1465, allocations: 2.563 MB / 330.2 MB, free: 8.727 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.538e-05/0.1466, allocations: 8 kB / 330.2 MB, free: 8.719 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.575e-05/0.1466, allocations: 16 kB / 330.2 MB, free: 8.703 MB / 282.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 9.906e-05/0.1467, allocations: 180.5 kB / 330.4 MB, free: 8.516 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.34e-05/0.1467, allocations: 35.81 kB / 330.5 MB, free: 8.48 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000374/0.1471, allocations: 347.5 kB / 330.8 MB, free: 8.125 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.789e-06/0.1471, allocations: 3.984 kB / 330.8 MB, free: 8.121 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.855e-06/0.1471, allocations: 5.25 kB / 330.8 MB, free: 8.117 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0003419/0.1475, allocations: 0.5749 MB / 331.4 MB, free: 7.453 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000663/0.1481, allocations: 0.7239 MB / 332.1 MB, free: 6.676 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.747e-06/0.1481, allocations: 3.938 kB / 332.1 MB, free: 6.672 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001012/0.1482, allocations: 39.98 kB / 332.1 MB, free: 6.633 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008628/0.1491, allocations: 295.1 kB / 332.4 MB, free: 6.34 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.727e-05/0.1491, allocations: 4 kB / 332.4 MB, free: 6.336 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0002956/0.1494, allocations: 0.8156 MB / 333.3 MB, free: 5.488 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.502e-06/0.1494, allocations: 2.938 kB / 333.3 MB, free: 5.488 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000467/0.1499, allocations: 0.5326 MB / 333.8 MB, free: 4.926 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.391e-05/0.1499, allocations: 23.39 kB / 333.8 MB, free: 4.906 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.366e-05/0.1499, allocations: 12 kB / 333.8 MB, free: 4.895 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.34e-05/0.15, allocations: 4 kB / 333.8 MB, free: 4.891 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.825e-05/0.15, allocations: 23.91 kB / 333.9 MB, free: 4.867 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.418e-05/0.15, allocations: 11.98 kB / 333.9 MB, free: 4.855 MB / 282.7 MB Notification: Performance of sorting global known variables: time 9.363e-05/0.1501, allocations: 185.5 kB / 334 MB, free: 4.676 MB / 282.7 MB Notification: Performance of sort global known variables: time 5e-08/0.1501, allocations: 0 / 334 MB, free: 4.676 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0003617/0.1505, allocations: 191.7 kB / 334.2 MB, free: 4.488 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.0003901/0.1509, allocations: 282.8 kB / 334.5 MB, free: 4.203 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0004501/0.1513, allocations: 413.4 kB / 334.9 MB, free: 3.781 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 1.633e-06/0.1513, allocations: 3.938 kB / 334.9 MB, free: 3.777 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000262/0.1516, allocations: 171.9 kB / 335.1 MB, free: 3.605 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004566/0.1521, allocations: 142.5 kB / 335.2 MB, free: 3.477 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001053/0.1531, allocations: 0.6791 MB / 335.9 MB, free: 2.77 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.745e-05/0.1532, allocations: 93.12 kB / 336 MB, free: 2.66 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 0.0001198/0.1533, allocations: 50.94 kB / 336 MB, free: 2.605 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.069e-05/0.1533, allocations: 28.5 kB / 336.1 MB, free: 2.578 MB / 282.7 MB Notification: Performance of SimCode: time 6.82e-07/0.1533, allocations: 0 / 336.1 MB, free: 2.578 MB / 282.7 MB Notification: Performance of Templates: time 0.00981/0.1631, allocations: 9.343 MB / 345.4 MB, free: 9.371 MB / 298.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 -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.344552425900474]