Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Media.Examples.ReferenceAir.MoistAir1.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.0009185/0.0009185, allocations: 82.59 kB / 21.43 MB, free: 3.07 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.0009528/0.0009528, allocations: 170 kB / 24.82 MB, free: 9.254 MB / 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.9374/0.9374, allocations: 177 MB / 205.1 MB, free: 5.477 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.MoistAir1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|volume.medium.T|volume.medium.Xi.[0-9,]+.|volume.medium.p",fileNamePrefix="Modelica_trunk_Modelica.Media.Examples.ReferenceAir.MoistAir1") translateModel(Modelica.Media.Examples.ReferenceAir.MoistAir1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|volume.medium.T|volume.medium.Xi.[0-9,]+.|volume.medium.p",fileNamePrefix="Modelica_trunk_Modelica.Media.Examples.ReferenceAir.MoistAir1") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.312e-06/1.312e-06, allocations: 0 / 273.3 MB, free: 1.227 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.535e-05/1.666e-05, allocations: 9.266 kB / 273.3 MB, free: 1.219 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.ReferenceAir.MoistAir1): time 0.1239/0.1239, allocations: 24.77 MB / 298.1 MB, free: 14.57 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.002511/0.1264, allocations: 2.397 MB / 300.5 MB, free: 14.22 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001518/0.1266, allocations: 6.156 kB / 300.5 MB, free: 14.22 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003592/0.127, allocations: 123.7 kB / 300.6 MB, free: 14.21 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004366/0.1274, allocations: 387.7 kB / 301 MB, free: 14.04 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.01263/0.14, allocations: 6.793 MB / 307.8 MB, free: 10.86 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.001064/0.1411, allocations: 1.145 MB / 309 MB, free: 10.2 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001649/0.1412, allocations: 90.31 kB / 309 MB, free: 10.15 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003336/0.1446, allocations: 3.56 MB / 312.6 MB, free: 8.266 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003457/0.1449, allocations: 375.3 kB / 313 MB, free: 8.07 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 6.424e-05/0.145, allocations: 60.16 kB / 313 MB, free: 8.07 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.009405/0.1544, allocations: 8.967 MB / 322 MB, free: 116 kB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001818/0.1546, allocations: 235.4 kB / 322.2 MB, free: 15.88 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001834/0.1548, allocations: 235.6 kB / 322.5 MB, free: 15.65 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.006842/0.1616, allocations: 6.158 MB / 328.6 MB, free: 9.48 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.795e-06/0.1616, allocations: 0 / 328.6 MB, free: 9.48 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.272e-06/0.1616, allocations: 0 / 328.6 MB, free: 9.48 MB / 282.7 MB Notification: Performance of Transformations before backend: time 6.533e-06/0.1616, allocations: 3.984 kB / 328.6 MB, free: 9.477 MB / 282.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 107 * Number of variables: 107 Notification: Performance of Generate backend data structure: time 0.00194/0.1636, allocations: 1.384 MB / 330 MB, free: 8.047 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.19e-05/0.1636, allocations: 11.98 kB / 330 MB, free: 8.035 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002462/0.1638, allocations: 120.5 kB / 330.1 MB, free: 7.918 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002854/0.1641, allocations: 299.8 kB / 330.4 MB, free: 7.598 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.063e-05/0.1641, allocations: 33 kB / 330.5 MB, free: 7.566 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.315e-05/0.1642, allocations: 48 kB / 330.5 MB, free: 7.52 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005824/0.1648, allocations: 0.6121 MB / 331.1 MB, free: 6.828 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.24e-05/0.1648, allocations: 0 / 331.1 MB, free: 6.828 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.01e-05/0.1648, allocations: 20 kB / 331.1 MB, free: 6.809 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.667e-06/0.1648, allocations: 12 kB / 331.1 MB, free: 6.797 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004921/0.1653, allocations: 302.6 kB / 331.4 MB, free: 6.5 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005419/0.1707, allocations: 3.262 MB / 334.7 MB, free: 3.23 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004816/0.1712, allocations: 278.9 kB / 335 MB, free: 2.949 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000115/0.1713, allocations: 116 kB / 335.1 MB, free: 2.836 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00431/0.1756, allocations: 2.382 MB / 337.5 MB, free: 488 kB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.653e-05/0.1757, allocations: 49.83 kB / 337.5 MB, free: 428 kB / 282.7 MB Notification: Performance of pre-optimization done (n=50): time 1.443e-06/0.1757, allocations: 0 / 337.5 MB, free: 428 kB / 282.7 MB Notification: Performance of matching and sorting (n=55): time 0.002394/0.1781, allocations: 1.246 MB / 338.8 MB, free: 15.12 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.477e-05/0.1781, allocations: 59.84 kB / 338.8 MB, free: 15.05 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001584/0.1782, allocations: 296.1 kB / 339.1 MB, free: 14.75 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 3.324e-05/0.1783, allocations: 37.7 kB / 339.2 MB, free: 14.71 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.74e-05/0.1784, allocations: 252 kB / 339.4 MB, free: 14.45 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.705e-05/0.1785, allocations: 202.2 kB / 339.6 MB, free: 14.25 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000122/0.1786, allocations: 123.9 kB / 339.7 MB, free: 14.12 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0001282/0.1787, allocations: 0.5195 MB / 340.2 MB, free: 13.59 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000105/0.1788, allocations: 81.23 kB / 340.3 MB, free: 13.52 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002543/0.1791, allocations: 215.4 kB / 340.5 MB, free: 13.25 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004449/0.1795, allocations: 334.3 kB / 340.9 MB, free: 12.89 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.003e-06/0.1795, allocations: 0 / 340.9 MB, free: 12.89 MB / 298.7 MB Notification: Performance of matching and sorting (n=70) (initialization): time 0.0008456/0.1804, allocations: 0.5192 MB / 341.4 MB, free: 12.35 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.411e-05/0.1804, allocations: 8.562 kB / 341.4 MB, free: 12.34 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.131e-06/0.1804, allocations: 4 kB / 341.4 MB, free: 12.34 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002306/0.1806, allocations: 94.92 kB / 341.5 MB, free: 12.23 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002566/0.1809, allocations: 131.8 kB / 341.6 MB, free: 12.1 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001307/0.1822, allocations: 3.424 MB / 345 MB, free: 8.449 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001268/0.1823, allocations: 20.17 kB / 345 MB, free: 8.43 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.929e-05/0.1824, allocations: 28 kB / 345.1 MB, free: 8.402 MB / 298.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 11 * 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 (67): * Single equations (assignments): 64 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 1 system {(2,100.0%)} * Non-linear Jacobian (size): 0 systems * Without analytic Jacobian (size): 0 systems 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,1), (1,1)} Notification: Performance of prepare postOptimizeDAE: time 0.0001331/0.1825, allocations: 188.5 kB / 345.3 MB, free: 8.207 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001936/0.1827, allocations: 103.2 kB / 345.4 MB, free: 8.105 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000737/0.1834, allocations: 0.616 MB / 346 MB, free: 7.445 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.547e-06/0.1834, allocations: 8 kB / 346 MB, free: 7.438 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.776e-06/0.1834, allocations: 3.984 kB / 346 MB, free: 7.434 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0004955/0.1839, allocations: 0.5569 MB / 346.5 MB, free: 6.805 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000936/0.1849, allocations: 0.8732 MB / 347.4 MB, free: 5.891 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.883e-06/0.1849, allocations: 0 / 347.4 MB, free: 5.891 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002255/0.1851, allocations: 95.89 kB / 347.5 MB, free: 5.797 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004376/0.1855, allocations: 147.5 kB / 347.7 MB, free: 5.648 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.128e-05/0.1856, allocations: 16 kB / 347.7 MB, free: 5.633 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.098e-06/0.1856, allocations: 4 kB / 347.7 MB, free: 5.629 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.463e-06/0.1856, allocations: 0 / 347.7 MB, free: 5.629 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007744/0.1863, allocations: 0.6655 MB / 348.3 MB, free: 4.934 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.125e-05/0.1864, allocations: 27.8 kB / 348.4 MB, free: 4.906 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.68e-05/0.1864, allocations: 16 kB / 348.4 MB, free: 4.891 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001766/0.1866, allocations: 19.98 kB / 348.4 MB, free: 4.871 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.199e-05/0.1866, allocations: 44.36 kB / 348.4 MB, free: 4.828 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.354e-05/0.1867, allocations: 23.98 kB / 348.5 MB, free: 4.805 MB / 298.7 MB Notification: Performance of sorting global known variables: time 9.825e-05/0.1868, allocations: 209 kB / 348.7 MB, free: 4.598 MB / 298.7 MB Notification: Performance of sort global known variables: time 1.01e-07/0.1868, allocations: 0 / 348.7 MB, free: 4.598 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0024/0.1892, allocations: 1.302 MB / 350 MB, free: 3.293 MB / 298.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 3 (volume.medium.p,volume.medium.Xi[1],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 (51): * Single equations (assignments): 50 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 1 system {(2,100.0%)} * Non-linear Jacobian (size): 0 systems * Without analytic Jacobian (size): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.002988/0.1921, allocations: 1.823 MB / 351.8 MB, free: 1.449 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0006577/0.1928, allocations: 0.6586 MB / 352.5 MB, free: 0.7461 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 2.104e-06/0.1928, allocations: 0 / 352.5 MB, free: 0.7461 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003451/0.1931, allocations: 231.6 kB / 352.7 MB, free: 0.5156 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006214/0.1938, allocations: 249.5 kB / 352.9 MB, free: 288 kB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00124/0.195, allocations: 0.8835 MB / 353.8 MB, free: 15.36 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.995e-05/0.1951, allocations: 122.9 kB / 353.9 MB, free: 15.22 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 0.0002443/0.1953, allocations: 103.3 kB / 354 MB, free: 15.12 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004677/0.1958, allocations: 325.8 kB / 354.4 MB, free: 14.8 MB / 314.7 MB Notification: Performance of SimCode: time 6.51e-07/0.1958, allocations: 0 / 354.4 MB, free: 14.8 MB / 314.7 MB Notification: Performance of Templates: time 0.04522/0.241, allocations: 50.93 MB / 405.3 MB, free: 11.98 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Media.Examples.ReferenceAir.MoistAir1.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Media.Examples.ReferenceAir.MoistAir1.pipe ; mkfifo Modelica_trunk_Modelica.Media.Examples.ReferenceAir.MoistAir1.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Media.Examples.ReferenceAir.MoistAir1.pipe >> ../files/Modelica_trunk_Modelica.Media.Examples.ReferenceAir.MoistAir1.sim & ./Modelica_trunk_Modelica.Media.Examples.ReferenceAir.MoistAir1 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Media.Examples.ReferenceAir.MoistAir1.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_trunk_Modelica.Media.Examples.ReferenceAir.MoistAir1_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Media/Examples/ReferenceAir/MoistAir1/MoistAir1.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: 5.395515347830951]