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.0009713/0.0009713, allocations: 71.77 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.0009336/0.0009336, allocations: 164.2 kB / 24.99 MB, free: 8.793 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.885/0.885, allocations: 177.1 MB / 205.3 MB, free: 5.645 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.693e-06/1.693e-06, allocations: 0 / 273.1 MB, free: 1.848 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.275e-05/2.445e-05, allocations: 2.312 kB / 273.1 MB, free: 1.844 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.ReferenceAir.DryAir2): time 0.1345/0.1346, allocations: 38.43 MB / 311.5 MB, free: 7.625 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.003353/0.1379, allocations: 4.648 MB / 316.1 MB, free: 4.527 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002137/0.1381, allocations: 6.625 kB / 316.2 MB, free: 4.523 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0006059/0.1387, allocations: 275.1 kB / 316.4 MB, free: 4.352 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0005617/0.1393, allocations: 0.5062 MB / 316.9 MB, free: 3.926 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.003277/0.1426, allocations: 1.664 MB / 318.6 MB, free: 2.668 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.001072/0.1436, allocations: 1.284 MB / 319.9 MB, free: 1.934 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002215/0.1439, allocations: 118 kB / 320 MB, free: 1.859 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007033/0.1446, allocations: 0.6467 MB / 320.6 MB, free: 1.477 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004161/0.145, allocations: 371 kB / 321 MB, free: 1.293 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 6.236e-05/0.145, allocations: 46.31 kB / 321 MB, free: 1.293 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001129/0.1462, allocations: 0.7319 MB / 321.8 MB, free: 0.9648 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001162/0.1463, allocations: 153.4 kB / 321.9 MB, free: 0.8477 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001786/0.1465, allocations: 204.2 kB / 322.1 MB, free: 0.7617 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.00101/0.1475, allocations: 0.9273 MB / 323.1 MB, free: 188 kB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.639e-06/0.1475, allocations: 0 / 323.1 MB, free: 188 kB / 266.7 MB Notification: Performance of FrontEnd: time 1.513e-06/0.1475, allocations: 0 / 323.1 MB, free: 188 kB / 266.7 MB Notification: Performance of Transformations before backend: time 7.715e-06/0.1475, allocations: 0 / 323.1 MB, free: 188 kB / 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.001036/0.1485, allocations: 0.8173 MB / 323.9 MB, free: 15.32 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.774e-05/0.1486, allocations: 8.031 kB / 323.9 MB, free: 15.32 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006229/0.1492, allocations: 171.8 kB / 324 MB, free: 15.15 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004047/0.1496, allocations: 291.8 kB / 324.3 MB, free: 14.84 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.774e-05/0.1496, allocations: 29.38 kB / 324.4 MB, free: 14.81 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.365e-05/0.1497, allocations: 44.33 kB / 324.4 MB, free: 14.77 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006002/0.1503, allocations: 0.6079 MB / 325 MB, free: 14.05 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.866e-05/0.1503, allocations: 4.125 kB / 325 MB, free: 14.05 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.256e-05/0.1503, allocations: 20.36 kB / 325 MB, free: 14.03 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.684e-05/0.1504, allocations: 19.94 kB / 325.1 MB, free: 14.01 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000321/0.1507, allocations: 193.7 kB / 325.2 MB, free: 13.82 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008159/0.1588, allocations: 5.163 MB / 330.4 MB, free: 8.562 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003664/0.1592, allocations: 210.8 kB / 330.6 MB, free: 8.344 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001587/0.1594, allocations: 100.1 kB / 330.7 MB, free: 8.242 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.005921/0.1653, allocations: 2.687 MB / 333.4 MB, free: 5.551 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.41e-05/0.1653, allocations: 41.33 kB / 333.4 MB, free: 5.5 MB / 282.7 MB Notification: Performance of pre-optimization done (n=35): time 2.544e-06/0.1653, allocations: 2.531 kB / 333.4 MB, free: 5.5 MB / 282.7 MB Notification: Performance of matching and sorting (n=45): time 0.008506/0.1738, allocations: 2.004 MB / 335.4 MB, free: 3.469 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.365e-05/0.1739, allocations: 63.39 kB / 335.5 MB, free: 3.395 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002571/0.1741, allocations: 316.2 kB / 335.8 MB, free: 3.066 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 2.968e-05/0.1742, allocations: 33.7 kB / 335.8 MB, free: 3.027 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001433/0.1743, allocations: 275.2 kB / 336.1 MB, free: 2.75 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001063/0.1744, allocations: 166.6 kB / 336.3 MB, free: 2.586 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000128/0.1745, allocations: 104 kB / 336.4 MB, free: 2.477 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.0001451/0.1747, allocations: 0.5156 MB / 336.9 MB, free: 1.949 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001699/0.1748, allocations: 89.25 kB / 337 MB, free: 1.859 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002614/0.1751, allocations: 261.9 kB / 337.2 MB, free: 1.539 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004677/0.1756, allocations: 382.5 kB / 337.6 MB, free: 1.098 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.365e-06/0.1756, allocations: 4 kB / 337.6 MB, free: 1.094 MB / 282.7 MB Notification: Performance of matching and sorting (n=66) (initialization): time 0.0007816/0.1764, allocations: 496 kB / 338.1 MB, free: 0.5898 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.058e-05/0.1764, allocations: 10.66 kB / 338.1 MB, free: 0.582 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.456e-06/0.1764, allocations: 8 kB / 338.1 MB, free: 0.5742 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005515/0.1819, allocations: 1.842 MB / 340 MB, free: 14.74 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003123/0.1822, allocations: 107.8 kB / 340.1 MB, free: 14.64 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001692/0.1839, allocations: 3.383 MB / 343.4 MB, free: 11.06 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001964/0.1841, allocations: 16 kB / 343.5 MB, free: 11.05 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.329e-05/0.1841, allocations: 23.98 kB / 343.5 MB, free: 11.02 MB / 298.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 0.0001625/0.1843, allocations: 192.5 kB / 343.7 MB, free: 10.82 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.56e-05/0.1844, allocations: 47.81 kB / 343.7 MB, free: 10.78 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008057/0.1852, allocations: 0.5882 MB / 344.3 MB, free: 10.17 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.116e-05/0.1852, allocations: 7.938 kB / 344.3 MB, free: 10.16 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.114e-06/0.1852, allocations: 0 / 344.3 MB, free: 10.16 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0006425/0.1858, allocations: 0.6916 MB / 345 MB, free: 9.395 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00132/0.1872, allocations: 1.07 MB / 346.1 MB, free: 8.273 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.801e-06/0.1872, allocations: 4 kB / 346.1 MB, free: 8.27 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002202/0.1874, allocations: 75.94 kB / 346.2 MB, free: 8.195 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001986/0.1894, allocations: 0.557 MB / 346.7 MB, free: 7.629 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.141e-05/0.1894, allocations: 19.98 kB / 346.7 MB, free: 7.609 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006622/0.1901, allocations: 1.631 MB / 348.4 MB, free: 5.914 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.044e-06/0.1901, allocations: 0 / 348.4 MB, free: 5.914 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009511/0.191, allocations: 0.8146 MB / 349.2 MB, free: 5.062 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.278e-05/0.1911, allocations: 35.7 kB / 349.2 MB, free: 5.027 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.031e-05/0.1911, allocations: 12 kB / 349.2 MB, free: 5.016 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001615/0.1913, allocations: 8 kB / 349.2 MB, free: 5.008 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.029e-05/0.1913, allocations: 27.94 kB / 349.3 MB, free: 4.98 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.95e-05/0.1914, allocations: 20.22 kB / 349.3 MB, free: 4.961 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0001445/0.1915, allocations: 213.1 kB / 349.5 MB, free: 4.75 MB / 298.7 MB Notification: Performance of sort global known variables: time 7e-08/0.1915, allocations: 0 / 349.5 MB, free: 4.75 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0007026/0.1922, allocations: 231.7 kB / 349.7 MB, free: 4.523 MB / 298.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.0005359/0.1928, allocations: 294.7 kB / 350 MB, free: 4.227 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0008766/0.1936, allocations: 0.5786 MB / 350.6 MB, free: 3.633 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 2.324e-06/0.1936, allocations: 0 / 350.6 MB, free: 3.633 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006423/0.1943, allocations: 293.4 kB / 350.9 MB, free: 3.34 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009859/0.1953, allocations: 217 kB / 351.1 MB, free: 3.141 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001888/0.1971, allocations: 1.018 MB / 352.1 MB, free: 2.09 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.527e-05/0.1972, allocations: 126.8 kB / 352.2 MB, free: 1.945 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 0.0002178/0.1975, allocations: 67.34 kB / 352.3 MB, free: 1.875 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.954e-05/0.1975, allocations: 36.5 kB / 352.3 MB, free: 1.84 MB / 298.7 MB Notification: Performance of SimCode: time 8.51e-07/0.1975, allocations: 0 / 352.3 MB, free: 1.84 MB / 298.7 MB Notification: Performance of Templates: time 0.0171/0.2146, allocations: 12 MB / 364.3 MB, free: 6.004 MB / 314.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 -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.7024375840555876]