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.001417/0.001417, 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.001484/0.001484, allocations: 171.9 kB / 24.83 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.9533/0.9533, allocations: 177 MB / 205.1 MB, free: 5.484 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.342e-06/1.342e-06, allocations: 0 / 273.3 MB, free: 1.215 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.473e-05/2.607e-05, allocations: 6.312 kB / 273.3 MB, free: 1.207 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.ReferenceAir.MoistAir2): time 0.1334/0.1334, allocations: 25.75 MB / 299.1 MB, free: 14.52 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.003072/0.1365, allocations: 2.666 MB / 301.8 MB, free: 13.64 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003582/0.1369, allocations: 11.38 kB / 301.8 MB, free: 13.64 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004851/0.1373, allocations: 166.8 kB / 301.9 MB, free: 13.63 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000767/0.1381, allocations: 0.545 MB / 302.5 MB, free: 13.37 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.01258/0.1507, allocations: 6.926 MB / 309.4 MB, free: 9.578 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.001575/0.1523, allocations: 1.612 MB / 311 MB, free: 8.656 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002444/0.1525, allocations: 141.8 kB / 311.2 MB, free: 8.578 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008922/0.1534, allocations: 0.8243 MB / 312 MB, free: 8.086 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005878/0.154, allocations: 0.5432 MB / 312.5 MB, free: 7.793 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001078/0.1541, allocations: 80.16 kB / 312.6 MB, free: 7.793 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01125/0.1653, allocations: 8.989 MB / 321.6 MB, free: 0.4961 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002806/0.1656, allocations: 355.1 kB / 321.9 MB, free: 152 kB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0004343/0.1661, allocations: 335.4 kB / 322.3 MB, free: 15.82 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01001/0.1761, allocations: 6.352 MB / 328.6 MB, free: 9.453 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.949e-06/0.1761, allocations: 0 / 328.6 MB, free: 9.453 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.092e-06/0.1761, allocations: 0 / 328.6 MB, free: 9.453 MB / 282.7 MB Notification: Performance of Transformations before backend: time 1.288e-05/0.1761, allocations: 0 / 328.6 MB, free: 9.453 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.002486/0.1786, allocations: 1.579 MB / 330.2 MB, free: 7.828 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.8e-05/0.1786, allocations: 8.031 kB / 330.2 MB, free: 7.82 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003364/0.1789, allocations: 164 kB / 330.4 MB, free: 7.66 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003932/0.1793, allocations: 378.4 kB / 330.7 MB, free: 7.266 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.896e-05/0.1794, allocations: 45.31 kB / 330.8 MB, free: 7.223 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.851e-05/0.1794, allocations: 72 kB / 330.9 MB, free: 7.152 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008263/0.1803, allocations: 0.8225 MB / 331.7 MB, free: 6.223 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.742e-05/0.1803, allocations: 0 / 331.7 MB, free: 6.223 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.209e-05/0.1803, allocations: 28 kB / 331.7 MB, free: 6.195 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.187e-05/0.1803, allocations: 16 kB / 331.7 MB, free: 6.18 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006228/0.181, allocations: 417.9 kB / 332.1 MB, free: 5.773 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006306/0.1873, allocations: 3.654 MB / 335.8 MB, free: 2.113 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007305/0.188, allocations: 432.3 kB / 336.2 MB, free: 1.684 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002418/0.1882, allocations: 177.2 kB / 336.4 MB, free: 1.504 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.004666/0.1929, allocations: 2.381 MB / 338.8 MB, free: 15.14 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.879e-05/0.193, allocations: 54.27 kB / 338.8 MB, free: 15.07 MB / 298.7 MB Notification: Performance of pre-optimization done (n=78): time 2.845e-06/0.193, allocations: 3.938 kB / 338.8 MB, free: 15.07 MB / 298.7 MB Notification: Performance of matching and sorting (n=88): time 0.004102/0.1971, allocations: 2.036 MB / 340.8 MB, free: 13 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.811e-05/0.1971, allocations: 60.41 kB / 340.9 MB, free: 12.93 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001967/0.1973, allocations: 328 kB / 341.2 MB, free: 12.6 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 4.705e-05/0.1973, allocations: 41.7 kB / 341.3 MB, free: 12.55 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001331/0.1975, allocations: 303.7 kB / 341.6 MB, free: 12.25 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004016/0.1979, allocations: 321.2 kB / 341.9 MB, free: 11.93 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001616/0.198, allocations: 164.2 kB / 342 MB, free: 11.76 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0001303/0.1982, allocations: 0.539 MB / 342.6 MB, free: 11.21 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001625/0.1983, allocations: 121.9 kB / 342.7 MB, free: 11.09 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003583/0.1987, allocations: 295.3 kB / 343 MB, free: 10.76 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006407/0.1993, allocations: 458.9 kB / 343.4 MB, free: 10.27 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.715e-06/0.1993, allocations: 0 / 343.4 MB, free: 10.27 MB / 298.7 MB Notification: Performance of matching and sorting (n=106) (initialization): time 0.001231/0.2006, allocations: 0.7838 MB / 344.2 MB, free: 9.457 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.638e-05/0.2006, allocations: 11.41 kB / 344.2 MB, free: 9.449 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.466e-06/0.2006, allocations: 11.98 kB / 344.2 MB, free: 9.438 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003781/0.201, allocations: 134.6 kB / 344.4 MB, free: 9.289 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004004/0.2014, allocations: 191.7 kB / 344.6 MB, free: 9.102 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001365/0.2027, allocations: 3.438 MB / 348 MB, free: 5.43 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002088/0.2029, allocations: 19.98 kB / 348 MB, free: 5.41 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.264e-05/0.203, allocations: 35.98 kB / 348.1 MB, free: 5.375 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): 2 systems {(2,100.0%), (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.0001893/0.2032, allocations: 208.6 kB / 348.3 MB, free: 5.16 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002891/0.2035, allocations: 154.9 kB / 348.4 MB, free: 5.008 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0014/0.2049, allocations: 0.9569 MB / 349.4 MB, free: 4.008 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.949e-06/0.2049, allocations: 8 kB / 349.4 MB, free: 4 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.025e-06/0.2049, allocations: 0 / 349.4 MB, free: 4 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.000813/0.2057, allocations: 1.001 MB / 350.4 MB, free: 2.867 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001535/0.2072, allocations: 1.272 MB / 351.6 MB, free: 1.543 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.087e-06/0.2072, allocations: 4 kB / 351.6 MB, free: 1.539 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000365/0.2076, allocations: 155.8 kB / 351.8 MB, free: 1.383 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008498/0.2084, allocations: 283 kB / 352.1 MB, free: 1.098 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.972e-05/0.2085, allocations: 27.98 kB / 352.1 MB, free: 1.07 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.866e-06/0.2085, allocations: 7.938 kB / 352.1 MB, free: 1.062 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.214e-06/0.2085, allocations: 7.938 kB / 352.1 MB, free: 1.055 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00122/0.2097, allocations: 0.9988 MB / 353.1 MB, free: 20 kB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.166e-05/0.2098, allocations: 47.7 kB / 353.2 MB, free: 15.97 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.192e-05/0.2098, allocations: 20 kB / 353.2 MB, free: 15.95 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002386/0.2101, allocations: 31.92 kB / 353.2 MB, free: 15.92 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.397e-05/0.2101, allocations: 56.89 kB / 353.3 MB, free: 15.87 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.375e-05/0.2102, allocations: 48.02 kB / 353.3 MB, free: 15.82 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0001168/0.2103, allocations: 218.9 kB / 353.5 MB, free: 15.61 MB / 314.7 MB Notification: Performance of sort global known variables: time 1.81e-07/0.2103, allocations: 4 kB / 353.5 MB, free: 15.6 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.002793/0.2131, allocations: 1.372 MB / 354.9 MB, free: 14.23 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): 2 systems {(2,100.0%), (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.004192/0.2173, allocations: 1.848 MB / 356.8 MB, free: 12.36 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.001162/0.2185, allocations: 0.8598 MB / 357.6 MB, free: 11.46 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 3.636e-06/0.2185, allocations: 0 / 357.6 MB, free: 11.46 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006571/0.2191, allocations: 394.5 kB / 358 MB, free: 11.07 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009868/0.2201, allocations: 359.9 kB / 358.4 MB, free: 10.72 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001872/0.222, allocations: 1.307 MB / 359.7 MB, free: 9.375 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000111/0.2221, allocations: 168.9 kB / 359.8 MB, free: 9.188 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 0.0004094/0.2225, allocations: 141 kB / 360 MB, free: 9.051 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006762/0.2232, allocations: 425.8 kB / 360.4 MB, free: 8.633 MB / 314.7 MB Notification: Performance of SimCode: time 1.032e-06/0.2232, allocations: 0 / 360.4 MB, free: 8.633 MB / 314.7 MB Notification: Performance of Templates: time 0.05477/0.278, allocations: 56.45 MB / 416.8 MB, free: 372 kB / 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 -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: 6.555920878890902]