Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test33.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.001312/0.001312, allocations: 111.8 kB / 19.13 MB, free: 3.922 MB / 14.72 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.0015/0.001501, allocations: 212.9 kB / 22.08 MB, free: 0.9727 MB / 14.72 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 1.543/1.543, allocations: 227.4 MB / 252.3 MB, free: 84 kB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.249/0.249, allocations: 46.17 MB / 351.8 MB, free: 14.29 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) 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(ModelicaTest.Tables.CombiTable2Dv.Test33,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test33") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test33,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test33") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.003204/0.003204, allocations: 81.59 kB / 490.9 MB, free: 28.13 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1619/0.1651, allocations: 62.46 MB / 0.5404 GB, free: 4.23 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test33): time 0.004026/0.1692, allocations: 1.855 MB / 0.5422 GB, free: 2.359 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001965/0.1712, allocations: 1.048 MB / 0.5432 GB, free: 1.305 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001176/0.1713, allocations: 0 / 0.5432 GB, free: 1.305 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002916/0.1716, allocations: 63.67 kB / 0.5433 GB, free: 1.242 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004313/0.1721, allocations: 115.4 kB / 0.5434 GB, free: 1.129 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006487/0.1728, allocations: 211.7 kB / 0.5436 GB, free: 0.9258 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003631/0.1731, allocations: 215.3 kB / 0.5438 GB, free: 0.7148 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001183/0.1733, allocations: 29.48 kB / 0.5438 GB, free: 0.6836 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001651/0.1734, allocations: 83.73 kB / 0.5439 GB, free: 0.6016 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001767/0.1736, allocations: 103.6 kB / 0.544 GB, free: 0.5 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 3.635e-05/0.1737, allocations: 12 kB / 0.544 GB, free: 500 kB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000124/0.1738, allocations: 47.97 kB / 0.544 GB, free: 452 kB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 9.374e-05/0.1739, allocations: 39.89 kB / 0.5441 GB, free: 412 kB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001042/0.174, allocations: 71.53 kB / 0.5442 GB, free: 340 kB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003801/0.1744, allocations: 195.2 kB / 0.5443 GB, free: 144 kB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.518e-06/0.1744, allocations: 0 / 0.5443 GB, free: 144 kB / 398.1 MB Notification: Performance of FrontEnd: time 2.003e-06/0.1744, allocations: 0 / 0.5443 GB, free: 144 kB / 398.1 MB Notification: Performance of Transformations before backend: time 1.003e-05/0.1744, allocations: 0 / 0.5443 GB, free: 144 kB / 398.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 11 * Number of variables: 11 Notification: Performance of Generate backend data structure: time 0.00127/0.1757, allocations: 0.5768 MB / 0.5449 GB, free: 15.5 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.989e-05/0.1758, allocations: 8.031 kB / 0.5449 GB, free: 15.5 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.037e-05/0.1758, allocations: 24.8 kB / 0.5449 GB, free: 15.47 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000315/0.1762, allocations: 249 kB / 0.5452 GB, free: 15.19 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.697e-05/0.1762, allocations: 4.375 kB / 0.5452 GB, free: 15.18 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.511e-05/0.1762, allocations: 8.375 kB / 0.5452 GB, free: 15.18 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005332/0.1768, allocations: 148.8 kB / 0.5453 GB, free: 15.03 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.578e-05/0.1768, allocations: 7.984 kB / 0.5453 GB, free: 15.02 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.75e-05/0.1768, allocations: 0 / 0.5453 GB, free: 15.02 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.308e-06/0.1768, allocations: 0 / 0.5453 GB, free: 15.02 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007976/0.1776, allocations: 167.8 kB / 0.5455 GB, free: 14.86 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009079/0.1786, allocations: 432.5 kB / 0.5459 GB, free: 14.38 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008568/0.1794, allocations: 198.3 kB / 0.5461 GB, free: 14.18 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004012/0.1798, allocations: 92.75 kB / 0.5462 GB, free: 14.09 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.676e-05/0.1799, allocations: 4 kB / 0.5462 GB, free: 14.08 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006169/0.1805, allocations: 167.2 kB / 0.5463 GB, free: 13.91 MB / 414.1 MB Notification: Performance of pre-optimization done (n=10): time 2.044e-06/0.1805, allocations: 0 / 0.5463 GB, free: 13.91 MB / 414.1 MB Notification: Performance of matching and sorting (n=13): time 0.00404/0.1846, allocations: 0.8402 MB / 0.5472 GB, free: 13.06 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.632e-05/0.1846, allocations: 55.39 kB / 0.5472 GB, free: 12.99 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003133/0.185, allocations: 248.8 kB / 0.5475 GB, free: 12.74 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 3.536e-05/0.185, allocations: 29.7 kB / 0.5475 GB, free: 12.7 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.905e-05/0.1851, allocations: 128 kB / 0.5476 GB, free: 12.57 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.699e-05/0.1852, allocations: 39.69 kB / 0.5476 GB, free: 12.54 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.395e-05/0.1853, allocations: 33.7 kB / 0.5477 GB, free: 12.5 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.000166/0.1855, allocations: 330.8 kB / 0.548 GB, free: 12.16 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007734/0.1862, allocations: 171.8 kB / 0.5482 GB, free: 12 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007561/0.187, allocations: 178 kB / 0.5483 GB, free: 11.82 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001452/0.1885, allocations: 379.9 kB / 0.5487 GB, free: 11.44 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.643e-06/0.1885, allocations: 0.5625 kB / 0.5487 GB, free: 11.44 MB / 414.1 MB Notification: Performance of matching and sorting (n=17) (initialization): time 0.001685/0.1902, allocations: 470.4 kB / 0.5491 GB, free: 10.96 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.662e-05/0.1902, allocations: 67.33 kB / 0.5492 GB, free: 10.88 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.001e-06/0.1903, allocations: 0 / 0.5492 GB, free: 10.88 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.746e-05/0.1903, allocations: 3.938 kB / 0.5492 GB, free: 10.88 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004279/0.1907, allocations: 71.91 kB / 0.5493 GB, free: 10.81 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.051e-06/0.1907, allocations: 3.938 kB / 0.5493 GB, free: 10.8 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000403/0.1911, allocations: 67.91 kB / 0.5493 GB, free: 10.74 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.268e-05/0.1912, allocations: 4 kB / 0.5493 GB, free: 10.73 MB / 414.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 10 (trapezoid2.count,$PRE.trapezoid2.count,trapezoid2.T_start,$PRE.trapezoid2.T_start,trapezoid1.count,$PRE.trapezoid1.count,trapezoid1.T_start,$PRE.trapezoid1.T_start,$whenCondition1,$whenCondition2) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (15): * Single equations (assignments): 13 * Array equations: 0 * Algorithm blocks: 2 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001682/0.1913, allocations: 137.8 kB / 0.5495 GB, free: 10.59 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.559e-05/0.1914, allocations: 23.84 kB / 0.5495 GB, free: 10.57 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001689/0.1931, allocations: 418.8 kB / 0.5499 GB, free: 10.14 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.4e-06/0.1931, allocations: 7.938 kB / 0.5499 GB, free: 10.14 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.22e-06/0.1931, allocations: 0 / 0.5499 GB, free: 10.14 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.161e-06/0.1931, allocations: 3.984 kB / 0.5499 GB, free: 10.13 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001951/0.1951, allocations: 0.7274 MB / 0.5506 GB, free: 9.352 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.168e-06/0.1951, allocations: 3.938 kB / 0.5506 GB, free: 9.348 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003793/0.1955, allocations: 67.91 kB / 0.5507 GB, free: 9.281 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.547e-06/0.1955, allocations: 0 / 0.5507 GB, free: 9.281 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.182e-05/0.1955, allocations: 4 kB / 0.5507 GB, free: 9.277 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.455e-06/0.1955, allocations: 0 / 0.5507 GB, free: 9.277 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.537e-06/0.1956, allocations: 7.984 kB / 0.5507 GB, free: 9.27 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001635/0.1972, allocations: 491 kB / 0.5512 GB, free: 8.773 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.771e-05/0.1973, allocations: 92.95 kB / 0.5513 GB, free: 8.664 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.307e-05/0.1973, allocations: 8 kB / 0.5513 GB, free: 8.656 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004097/0.1977, allocations: 67.89 kB / 0.5513 GB, free: 8.59 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001619/0.1979, allocations: 47.94 kB / 0.5514 GB, free: 8.543 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.881e-05/0.1979, allocations: 4 kB / 0.5514 GB, free: 8.539 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001905/0.1981, allocations: 185.6 kB / 0.5516 GB, free: 8.359 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1981, allocations: 0 / 0.5516 GB, free: 8.359 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0003062/0.1984, allocations: 43.94 kB / 0.5516 GB, free: 8.316 MB / 414.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition2,$whenCondition1,trapezoid1.T_start,trapezoid1.count,trapezoid2.T_start,trapezoid2.count) * Number of discrete states: 2 (trapezoid2.count,trapezoid1.count) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (13): * Single equations (assignments): 9 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001483/0.1999, allocations: 400.9 kB / 0.552 GB, free: 8.066 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.00172/0.2017, allocations: 482.3 kB / 0.5524 GB, free: 7.57 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 3.096e-06/0.2017, allocations: 0 / 0.5524 GB, free: 7.57 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007868/0.2025, allocations: 191.7 kB / 0.5526 GB, free: 7.383 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003906/0.2029, allocations: 47.31 kB / 0.5527 GB, free: 7.336 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00101/0.2039, allocations: 404 kB / 0.5531 GB, free: 6.914 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003534/0.2043, allocations: 0.7201 MB / 0.5538 GB, free: 6.168 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001221/0.2044, allocations: 27.42 kB / 0.5538 GB, free: 6.141 MB / 414.1 MB Notification: Performance of SimCode: time 2.4e-07/0.2044, allocations: 0 / 0.5538 GB, free: 6.141 MB / 414.1 MB Notification: Performance of Templates: time 0.006508/0.2109, allocations: 3.3 MB / 0.557 GB, free: 2.844 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test33.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test33.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test33.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test33.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test33.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test33 -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test33.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 8.132739725988358] Failed to read output from testmodel.py, exit status != 0: 0.21965483902022243 0.234665747 0.056421682 Calling exit ...