Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.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.001949/0.001949, allocations: 112.8 kB / 19.17 MB, free: 3.914 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.002528/0.002528, allocations: 214.6 kB / 22.13 MB, free: 0.9609 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.51/1.51, allocations: 230.2 MB / 255.2 MB, free: 15.24 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo): time 0.2412/0.2412, allocations: 46.89 MB / 358.1 MB, free: 10.51 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/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.CombiTable2Ds.Test33,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test33") translateModel(ModelicaTest.Tables.CombiTable2Ds.Test33,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test33") [Timeout 660] "Warning: Requested package Modelica of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.002248/0.002248, allocations: 75.88 kB / 0.4924 GB, free: 8.008 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1593/0.1616, allocations: 65.99 MB / 0.5568 GB, free: 5.887 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test33): time 0.00396/0.1655, allocations: 1.852 MB / 0.5586 GB, free: 4.02 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.001918/0.1674, allocations: 1.028 MB / 0.5596 GB, free: 2.984 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.949e-05/0.1675, allocations: 4 kB / 0.5596 GB, free: 2.98 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002614/0.1678, allocations: 63.72 kB / 0.5597 GB, free: 2.918 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003638/0.1681, allocations: 119.4 kB / 0.5598 GB, free: 2.801 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004208/0.1685, allocations: 167 kB / 0.56 GB, free: 2.641 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.000301/0.1688, allocations: 203.4 kB / 0.5602 GB, free: 2.441 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001253/0.169, allocations: 13.56 kB / 0.5602 GB, free: 2.426 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001435/0.1691, allocations: 87.67 kB / 0.5603 GB, free: 2.34 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001812/0.1693, allocations: 103.6 kB / 0.5604 GB, free: 2.238 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 3.126e-05/0.1693, allocations: 16 kB / 0.5604 GB, free: 2.223 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001069/0.1694, allocations: 39.98 kB / 0.5604 GB, free: 2.184 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 9.992e-05/0.1695, allocations: 39.89 kB / 0.5605 GB, free: 2.145 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001012/0.1696, allocations: 75.47 kB / 0.5605 GB, free: 2.07 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003089/0.1699, allocations: 183.2 kB / 0.5607 GB, free: 1.891 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.961e-06/0.1699, allocations: 0 / 0.5607 GB, free: 1.891 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.893e-06/0.17, allocations: 0 / 0.5607 GB, free: 1.891 MB / 414.1 MB Notification: Performance of Transformations before backend: time 7.063e-06/0.17, allocations: 0 / 0.5607 GB, free: 1.891 MB / 414.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.001261/0.1712, allocations: 0.5836 MB / 0.5613 GB, free: 1.246 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.508e-05/0.1713, allocations: 8.031 kB / 0.5613 GB, free: 1.238 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.195e-05/0.1713, allocations: 24.78 kB / 0.5613 GB, free: 1.215 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003069/0.1716, allocations: 233.1 kB / 0.5615 GB, free: 0.9492 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.62e-05/0.1717, allocations: 4.375 kB / 0.5615 GB, free: 0.9453 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.941e-05/0.1717, allocations: 12.38 kB / 0.5615 GB, free: 0.9336 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005288/0.1722, allocations: 141.8 kB / 0.5617 GB, free: 0.7891 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.313e-05/0.1722, allocations: 7.984 kB / 0.5617 GB, free: 0.7812 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.887e-05/0.1723, allocations: 4 kB / 0.5617 GB, free: 0.7773 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.57e-06/0.1723, allocations: 0 / 0.5617 GB, free: 0.7773 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000745/0.173, allocations: 159.8 kB / 0.5618 GB, free: 0.6211 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005755/0.1736, allocations: 376.5 kB / 0.5622 GB, free: 208 kB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008104/0.1744, allocations: 190.4 kB / 0.5624 GB, free: 8 kB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004062/0.1748, allocations: 88.77 kB / 0.5625 GB, free: 15.92 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.904e-05/0.1748, allocations: 0 / 0.5625 GB, free: 15.92 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006172/0.1754, allocations: 175.1 kB / 0.5626 GB, free: 15.73 MB / 430.1 MB Notification: Performance of pre-optimization done (n=10): time 1.363e-06/0.1754, allocations: 0 / 0.5626 GB, free: 15.73 MB / 430.1 MB Notification: Performance of matching and sorting (n=13): time 0.003895/0.1793, allocations: 0.8167 MB / 0.5634 GB, free: 14.91 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.059e-05/0.1794, allocations: 51.41 kB / 0.5635 GB, free: 14.85 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003019/0.1797, allocations: 243.2 kB / 0.5637 GB, free: 14.6 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 3.558e-05/0.1797, allocations: 29.7 kB / 0.5637 GB, free: 14.57 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001054/0.1798, allocations: 132 kB / 0.5639 GB, free: 14.43 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.649e-05/0.1799, allocations: 43.83 kB / 0.5639 GB, free: 14.39 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.468e-05/0.18, allocations: 29.72 kB / 0.5639 GB, free: 14.36 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001791/0.1802, allocations: 338.8 kB / 0.5643 GB, free: 14.02 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000751/0.1809, allocations: 171.7 kB / 0.5644 GB, free: 13.85 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007384/0.1816, allocations: 169.5 kB / 0.5646 GB, free: 13.68 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001414/0.1831, allocations: 363.9 kB / 0.5649 GB, free: 13.31 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.223e-06/0.1831, allocations: 0 / 0.5649 GB, free: 13.31 MB / 430.1 MB Notification: Performance of matching and sorting (n=17) (initialization): time 0.001651/0.1847, allocations: 462.7 kB / 0.5654 GB, free: 12.84 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.971e-05/0.1848, allocations: 59.41 kB / 0.5654 GB, free: 12.77 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.37e-06/0.1848, allocations: 0 / 0.5654 GB, free: 12.77 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.978e-05/0.1848, allocations: 0 / 0.5654 GB, free: 12.77 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004321/0.1852, allocations: 71.84 kB / 0.5655 GB, free: 12.7 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.31e-06/0.1852, allocations: 4 kB / 0.5655 GB, free: 12.7 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004253/0.1857, allocations: 71.83 kB / 0.5656 GB, free: 12.63 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.085e-05/0.1857, allocations: 4 kB / 0.5656 GB, free: 12.62 MB / 430.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.0001433/0.1858, allocations: 125.8 kB / 0.5657 GB, free: 12.49 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.396e-05/0.1859, allocations: 31.84 kB / 0.5657 GB, free: 12.46 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001644/0.1875, allocations: 406.7 kB / 0.5661 GB, free: 12.05 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.152e-06/0.1875, allocations: 4 kB / 0.5661 GB, free: 12.05 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.389e-06/0.1875, allocations: 0 / 0.5661 GB, free: 12.05 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.641e-06/0.1875, allocations: 4.609 kB / 0.5661 GB, free: 12.04 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001889/0.1894, allocations: 0.6973 MB / 0.5668 GB, free: 11.29 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.575e-06/0.1894, allocations: 0 / 0.5668 GB, free: 11.29 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004006/0.1898, allocations: 71.84 kB / 0.5669 GB, free: 11.22 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.016e-06/0.1898, allocations: 0 / 0.5669 GB, free: 11.22 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.255e-05/0.1898, allocations: 11.92 kB / 0.5669 GB, free: 11.21 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.633e-06/0.1898, allocations: 3.938 kB / 0.5669 GB, free: 11.2 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.323e-06/0.1898, allocations: 4 kB / 0.5669 GB, free: 11.2 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001607/0.1915, allocations: 482.5 kB / 0.5674 GB, free: 10.71 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.693e-05/0.1915, allocations: 93.02 kB / 0.5674 GB, free: 10.61 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.07e-05/0.1916, allocations: 7.938 kB / 0.5674 GB, free: 10.6 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004443/0.192, allocations: 59.91 kB / 0.5675 GB, free: 10.54 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001632/0.1922, allocations: 47.94 kB / 0.5676 GB, free: 10.49 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.078e-05/0.1922, allocations: 7.984 kB / 0.5676 GB, free: 10.48 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0002086/0.1924, allocations: 188.6 kB / 0.5677 GB, free: 10.3 MB / 430.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1924, allocations: 4 kB / 0.5677 GB, free: 10.3 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0003158/0.1927, allocations: 43.94 kB / 0.5678 GB, free: 10.25 MB / 430.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.001549/0.1943, allocations: 409.5 kB / 0.5682 GB, free: 9.996 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.001692/0.196, allocations: 458.4 kB / 0.5686 GB, free: 9.523 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 2.634e-06/0.196, allocations: 4 kB / 0.5686 GB, free: 9.52 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007767/0.1967, allocations: 175.7 kB / 0.5688 GB, free: 9.348 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003752/0.1971, allocations: 28.66 kB / 0.5688 GB, free: 9.316 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001051/0.1982, allocations: 384.2 kB / 0.5692 GB, free: 8.91 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003962/0.1986, allocations: 0.7279 MB / 0.5699 GB, free: 8.152 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001214/0.1987, allocations: 19.42 kB / 0.5699 GB, free: 8.133 MB / 430.1 MB Notification: Performance of SimCode: time 3.4e-07/0.1987, allocations: 0 / 0.5699 GB, free: 8.133 MB / 430.1 MB Notification: Performance of Templates: time 0.006054/0.2047, allocations: 3.223 MB / 0.5731 GB, free: 4.918 MB / 430.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test33.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test33.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test33.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test33.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test33.sim & ./ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test33 -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test33.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 7.889440215891227] Failed to read output from testmodel.py, exit status != 0: 0.21238389797508717 0.22625674 0.053344643000000004 Calling exit ...