Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Media.Examples.ReferenceAir.MoistAir2.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.001005/0.001005, allocations: 84.73 kB / 21.5 MB, free: 2.988 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.001034/0.001034, allocations: 164.4 kB / 24.91 MB, free: 8.77 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.9254/0.9254, allocations: 177 MB / 205.2 MB, free: 5.461 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.MoistAir2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|volume.medium.T|volume.medium.Xi.[0-9,]+.|volume.medium.p|volume1.medium.T|volume1.medium.Xi.[0-9,]+.|volume1.medium.p",fileNamePrefix="Modelica_trunk_Modelica.Media.Examples.ReferenceAir.MoistAir2") translateModel(Modelica.Media.Examples.ReferenceAir.MoistAir2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|volume.medium.T|volume.medium.Xi.[0-9,]+.|volume.medium.p|volume1.medium.T|volume1.medium.Xi.[0-9,]+.|volume1.medium.p",fileNamePrefix="Modelica_trunk_Modelica.Media.Examples.ReferenceAir.MoistAir2") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.242e-06/1.242e-06, allocations: 0 / 273.4 MB, free: 1.176 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 8.727e-06/9.969e-06, allocations: 2.312 kB / 273.4 MB, free: 1.172 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.ReferenceAir.MoistAir2): time 0.1227/0.1228, allocations: 26.04 MB / 299.5 MB, free: 14.5 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.00305/0.1258, allocations: 2.734 MB / 302.2 MB, free: 13.53 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002744/0.1261, allocations: 8.156 kB / 302.2 MB, free: 13.53 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000468/0.1265, allocations: 164.5 kB / 302.4 MB, free: 13.52 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0007171/0.1273, allocations: 0.54 MB / 302.9 MB, free: 13.25 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.01187/0.1391, allocations: 6.391 MB / 309.3 MB, free: 9.418 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.001672/0.1408, allocations: 1.613 MB / 310.9 MB, free: 8.496 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002338/0.141, allocations: 145.3 kB / 311.1 MB, free: 8.41 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009712/0.142, allocations: 0.8293 MB / 311.9 MB, free: 7.914 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006055/0.1426, allocations: 0.5034 MB / 312.4 MB, free: 7.645 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 9.959e-05/0.1427, allocations: 86.14 kB / 312.5 MB, free: 7.641 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01156/0.1543, allocations: 9.494 MB / 322 MB, free: 252 kB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0003277/0.1546, allocations: 347.2 kB / 322.3 MB, free: 15.91 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0005326/0.1551, allocations: 343.4 kB / 322.7 MB, free: 15.57 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.009819/0.165, allocations: 6.349 MB / 329 MB, free: 9.207 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.999e-06/0.165, allocations: 0 / 329 MB, free: 9.207 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.333e-06/0.165, allocations: 4 kB / 329 MB, free: 9.203 MB / 282.7 MB Notification: Performance of Transformations before backend: time 1.432e-05/0.165, allocations: 0 / 329 MB, free: 9.203 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: 154 * Number of variables: 154 Notification: Performance of Generate backend data structure: time 0.002497/0.1675, allocations: 1.431 MB / 330.4 MB, free: 7.742 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.481e-05/0.1675, allocations: 8.031 kB / 330.4 MB, free: 7.734 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003048/0.1678, allocations: 156.2 kB / 330.6 MB, free: 7.582 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003763/0.1682, allocations: 307.7 kB / 330.9 MB, free: 7.258 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.859e-05/0.1682, allocations: 49.31 kB / 331 MB, free: 7.211 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.224e-05/0.1683, allocations: 71.97 kB / 331 MB, free: 7.141 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008097/0.1691, allocations: 0.8479 MB / 331.9 MB, free: 6.184 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.745e-05/0.1691, allocations: 8 kB / 331.9 MB, free: 6.176 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.634e-05/0.1692, allocations: 28 kB / 331.9 MB, free: 6.148 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.01e-05/0.1692, allocations: 12 kB / 331.9 MB, free: 6.137 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000576/0.1697, allocations: 358.1 kB / 332.3 MB, free: 5.785 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005799/0.1755, allocations: 3.431 MB / 335.7 MB, free: 2.332 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006982/0.1762, allocations: 447.2 kB / 336.1 MB, free: 1.891 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001608/0.1764, allocations: 153.6 kB / 336.3 MB, free: 1.738 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.004152/0.1806, allocations: 2.403 MB / 338.7 MB, free: 15.33 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.355e-05/0.1806, allocations: 47.22 kB / 338.7 MB, free: 15.27 MB / 298.7 MB Notification: Performance of pre-optimization done (n=78): time 2.555e-06/0.1806, allocations: 0 / 338.7 MB, free: 15.27 MB / 298.7 MB Notification: Performance of matching and sorting (n=88): time 0.004168/0.1848, allocations: 2.062 MB / 340.8 MB, free: 13.18 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.601e-05/0.1848, allocations: 60.41 kB / 340.9 MB, free: 13.11 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001629/0.1849, allocations: 264.8 kB / 341.1 MB, free: 12.84 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 4.553e-05/0.185, allocations: 45.7 kB / 341.2 MB, free: 12.79 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.083e-05/0.1851, allocations: 225.5 kB / 341.4 MB, free: 12.55 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001482/0.1852, allocations: 325.2 kB / 341.7 MB, free: 12.23 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001446/0.1854, allocations: 146.6 kB / 341.8 MB, free: 12.08 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 8.828e-05/0.1855, allocations: 362.7 kB / 342.2 MB, free: 11.72 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001449/0.1856, allocations: 112.8 kB / 342.3 MB, free: 11.61 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000306/0.1859, allocations: 228.3 kB / 342.5 MB, free: 11.36 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000596/0.1865, allocations: 434.8 kB / 342.9 MB, free: 10.89 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.214e-06/0.1865, allocations: 0 / 342.9 MB, free: 10.89 MB / 298.7 MB Notification: Performance of matching and sorting (n=106) (initialization): time 0.0009885/0.1875, allocations: 0.5959 MB / 343.5 MB, free: 10.26 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.707e-05/0.1875, allocations: 8 kB / 343.6 MB, free: 10.25 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.743e-06/0.1875, allocations: 0 / 343.6 MB, free: 10.25 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003687/0.1879, allocations: 135.8 kB / 343.7 MB, free: 10.11 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004644/0.1884, allocations: 211.7 kB / 343.9 MB, free: 9.898 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001438/0.1898, allocations: 3.546 MB / 347.4 MB, free: 6.113 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001816/0.19, allocations: 20 kB / 347.5 MB, free: 6.094 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.685e-05/0.19, allocations: 39.92 kB / 347.5 MB, free: 6.055 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 (102): * Single equations (assignments): 98 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 2 * 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): 0 systems * Non-linear Jacobian (size): 2 systems {2, 2} * 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.0001548/0.1902, allocations: 164.5 kB / 347.7 MB, free: 5.883 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002504/0.1904, allocations: 131.2 kB / 347.8 MB, free: 5.754 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009039/0.1913, allocations: 0.7732 MB / 348.6 MB, free: 4.941 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.651e-06/0.1914, allocations: 8 kB / 348.6 MB, free: 4.934 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.334e-06/0.1914, allocations: 4 kB / 348.6 MB, free: 4.93 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0006278/0.192, allocations: 0.8156 MB / 349.4 MB, free: 3.984 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001215/0.1932, allocations: 1.048 MB / 350.4 MB, free: 2.895 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.689e-06/0.1932, allocations: 4 kB / 350.4 MB, free: 2.891 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004034/0.1936, allocations: 179.8 kB / 350.6 MB, free: 2.715 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008649/0.1945, allocations: 290.9 kB / 350.9 MB, free: 2.422 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.784e-05/0.1945, allocations: 27.98 kB / 350.9 MB, free: 2.395 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003851/0.1949, allocations: 1.204 MB / 352.1 MB, free: 1.137 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.813e-06/0.1949, allocations: 4 kB / 352.1 MB, free: 1.133 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009634/0.1959, allocations: 0.8149 MB / 352.9 MB, free: 288 kB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.183e-05/0.1959, allocations: 39.72 kB / 353 MB, free: 248 kB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.304e-05/0.196, allocations: 27.86 kB / 353 MB, free: 220 kB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002152/0.1962, allocations: 27.98 kB / 353 MB, free: 192 kB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.042e-05/0.1962, allocations: 60.83 kB / 353.1 MB, free: 132 kB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.83e-05/0.1963, allocations: 31.97 kB / 353.1 MB, free: 100 kB / 298.7 MB Notification: Performance of sorting global known variables: time 9.091e-05/0.1964, allocations: 96.73 kB / 353.2 MB, free: 15.99 MB / 314.7 MB Notification: Performance of sort global known variables: time 7e-08/0.1964, allocations: 0 / 353.2 MB, free: 15.99 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.002557/0.1989, allocations: 1.376 MB / 354.6 MB, free: 14.61 MB / 314.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 6 (volume.medium.p,volume.medium.Xi[1],volume.medium.T,volume1.medium.p,volume1.medium.Xi[1],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 (84): * Single equations (assignments): 82 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 2 * 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): 0 systems * Non-linear Jacobian (size): 2 systems {2, 2} * Without analytic Jacobian (size): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.003344/0.2023, allocations: 1.876 MB / 356.5 MB, free: 12.73 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0008616/0.2032, allocations: 0.6698 MB / 357.1 MB, free: 12.03 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 7.434e-06/0.2032, allocations: 4 kB / 357.2 MB, free: 12.02 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003265/0.2035, allocations: 282.1 kB / 357.4 MB, free: 11.74 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007703/0.2043, allocations: 341.5 kB / 357.8 MB, free: 11.43 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001637/0.2059, allocations: 1.233 MB / 359 MB, free: 10.17 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000108/0.206, allocations: 169 kB / 359.2 MB, free: 9.977 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 0.0003809/0.2064, allocations: 144.9 kB / 359.3 MB, free: 9.836 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000631/0.207, allocations: 341 kB / 359.6 MB, free: 9.504 MB / 314.7 MB Notification: Performance of SimCode: time 9.72e-07/0.207, allocations: 0 / 359.6 MB, free: 9.504 MB / 314.7 MB Notification: Performance of Templates: time 0.04899/0.256, allocations: 54.96 MB / 414.6 MB, free: 2.746 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Media.Examples.ReferenceAir.MoistAir2.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Media.Examples.ReferenceAir.MoistAir2.pipe ; mkfifo Modelica_trunk_Modelica.Media.Examples.ReferenceAir.MoistAir2.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Media.Examples.ReferenceAir.MoistAir2.pipe >> ../files/Modelica_trunk_Modelica.Media.Examples.ReferenceAir.MoistAir2.sim & ./Modelica_trunk_Modelica.Media.Examples.ReferenceAir.MoistAir2 -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Media.Examples.ReferenceAir.MoistAir2.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_trunk_Modelica.Media.Examples.ReferenceAir.MoistAir2_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Media/Examples/ReferenceAir/MoistAir2/MoistAir2.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: 8.837880204897374]