Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_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.001594/0.001594, allocations: 116.8 kB / 19.18 MB, free: 3.762 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.001855/0.001855, allocations: 210.6 kB / 22.13 MB, free: 0.8125 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.46/1.46, allocations: 230.2 MB / 255.1 MB, free: 15.25 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.2686/0.2686, allocations: 46.89 MB / 358.1 MB, free: 10.52 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.CombiTable2Dv.Test33,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test33") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test33,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.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.002327/0.002327, allocations: 91.83 kB / 0.4924 GB, free: 8.008 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1457/0.148, allocations: 65.98 MB / 0.5568 GB, free: 5.906 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test33): time 0.00392/0.1519, allocations: 1.866 MB / 0.5586 GB, free: 4.023 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.002066/0.154, allocations: 1.055 MB / 0.5597 GB, free: 2.961 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001159/0.1541, allocations: 4 kB / 0.5597 GB, free: 2.957 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002871/0.1544, allocations: 63.66 kB / 0.5597 GB, free: 2.895 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005039/0.1549, allocations: 123.4 kB / 0.5599 GB, free: 2.773 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006797/0.1556, allocations: 207 kB / 0.5601 GB, free: 2.574 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003836/0.156, allocations: 207.4 kB / 0.5602 GB, free: 2.371 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001234/0.1561, allocations: 13.56 kB / 0.5603 GB, free: 2.355 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001831/0.1563, allocations: 91.67 kB / 0.5603 GB, free: 2.266 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002143/0.1565, allocations: 103.6 kB / 0.5604 GB, free: 2.164 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 5.509e-05/0.1565, allocations: 12 kB / 0.5605 GB, free: 2.152 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000154/0.1567, allocations: 43.98 kB / 0.5605 GB, free: 2.109 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001166/0.1568, allocations: 47.83 kB / 0.5605 GB, free: 2.062 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001078/0.1569, allocations: 79.45 kB / 0.5606 GB, free: 1.984 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003545/0.1573, allocations: 179.3 kB / 0.5608 GB, free: 1.809 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.248e-06/0.1573, allocations: 4 kB / 0.5608 GB, free: 1.805 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.513e-06/0.1573, allocations: 0 / 0.5608 GB, free: 1.805 MB / 414.1 MB Notification: Performance of Transformations before backend: time 7.654e-06/0.1573, allocations: 0 / 0.5608 GB, free: 1.805 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.001309/0.1586, allocations: 0.5836 MB / 0.5614 GB, free: 1.16 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.08e-05/0.1586, allocations: 12.03 kB / 0.5614 GB, free: 1.148 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.3e-05/0.1587, allocations: 16.84 kB / 0.5614 GB, free: 1.133 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003529/0.1591, allocations: 240.9 kB / 0.5616 GB, free: 0.8594 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.043e-05/0.1591, allocations: 8.359 kB / 0.5616 GB, free: 0.8516 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.613e-05/0.1591, allocations: 12.38 kB / 0.5616 GB, free: 0.8398 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005768/0.1597, allocations: 145.9 kB / 0.5618 GB, free: 0.6914 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.362e-05/0.1597, allocations: 0 / 0.5618 GB, free: 0.6914 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.083e-05/0.1597, allocations: 3.984 kB / 0.5618 GB, free: 0.6875 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.334e-06/0.1598, allocations: 4 kB / 0.5618 GB, free: 0.6836 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007487/0.1605, allocations: 163.8 kB / 0.5619 GB, free: 0.5234 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00092/0.1614, allocations: 436.5 kB / 0.5624 GB, free: 48 kB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008463/0.1623, allocations: 190.4 kB / 0.5625 GB, free: 15.85 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004196/0.1627, allocations: 92.75 kB / 0.5626 GB, free: 15.76 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.576e-05/0.1627, allocations: 0 / 0.5626 GB, free: 15.76 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006536/0.1634, allocations: 171.2 kB / 0.5628 GB, free: 15.58 MB / 430.1 MB Notification: Performance of pre-optimization done (n=10): time 1.753e-06/0.1634, allocations: 0 / 0.5628 GB, free: 15.58 MB / 430.1 MB Notification: Performance of matching and sorting (n=13): time 0.004009/0.1674, allocations: 0.8323 MB / 0.5636 GB, free: 14.74 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.75e-05/0.1674, allocations: 55.41 kB / 0.5637 GB, free: 14.67 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003082/0.1678, allocations: 252.8 kB / 0.5639 GB, free: 14.41 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 5.04e-05/0.1678, allocations: 30.25 kB / 0.5639 GB, free: 14.38 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001147/0.1679, allocations: 124.1 kB / 0.5641 GB, free: 14.25 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.342e-05/0.168, allocations: 47.94 kB / 0.5641 GB, free: 14.21 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001132/0.1681, allocations: 37.64 kB / 0.5641 GB, free: 14.16 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001762/0.1683, allocations: 330.8 kB / 0.5644 GB, free: 13.83 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007797/0.1691, allocations: 175.8 kB / 0.5646 GB, free: 13.66 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007479/0.1698, allocations: 177.4 kB / 0.5648 GB, free: 13.49 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001461/0.1713, allocations: 389.4 kB / 0.5652 GB, free: 13.09 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.472e-06/0.1713, allocations: 0 / 0.5652 GB, free: 13.09 MB / 430.1 MB Notification: Performance of matching and sorting (n=17) (initialization): time 0.001633/0.1729, allocations: 468.5 kB / 0.5656 GB, free: 12.62 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.345e-05/0.173, allocations: 61.73 kB / 0.5657 GB, free: 12.55 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.151e-06/0.173, allocations: 0 / 0.5657 GB, free: 12.55 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.605e-05/0.173, allocations: 4 kB / 0.5657 GB, free: 12.54 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004431/0.1734, allocations: 75.84 kB / 0.5657 GB, free: 12.47 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.025e-06/0.1734, allocations: 0 / 0.5657 GB, free: 12.47 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004208/0.1739, allocations: 67.84 kB / 0.5658 GB, free: 12.4 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.441e-05/0.1739, allocations: 8 kB / 0.5658 GB, free: 12.39 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.0001619/0.174, allocations: 133.8 kB / 0.5659 GB, free: 12.25 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.55e-05/0.1741, allocations: 15.91 kB / 0.566 GB, free: 12.24 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00166/0.1758, allocations: 422.6 kB / 0.5664 GB, free: 11.81 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.368e-06/0.1758, allocations: 0 / 0.5664 GB, free: 11.81 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.193e-06/0.1758, allocations: 8 kB / 0.5664 GB, free: 11.8 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.157e-06/0.1758, allocations: 11.91 kB / 0.5664 GB, free: 11.79 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001943/0.1777, allocations: 0.7207 MB / 0.5671 GB, free: 11.02 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.905e-06/0.1777, allocations: 0 / 0.5671 GB, free: 11.02 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003841/0.1781, allocations: 67.91 kB / 0.5671 GB, free: 10.95 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.978e-06/0.1781, allocations: 0 / 0.5671 GB, free: 10.95 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.065e-05/0.1781, allocations: 11.94 kB / 0.5672 GB, free: 10.94 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.138e-06/0.1781, allocations: 7.938 kB / 0.5672 GB, free: 10.93 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.693e-06/0.1781, allocations: 0 / 0.5672 GB, free: 10.93 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001606/0.1798, allocations: 490.5 kB / 0.5676 GB, free: 10.44 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.875e-05/0.1798, allocations: 89.02 kB / 0.5677 GB, free: 10.33 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.217e-05/0.1799, allocations: 7.938 kB / 0.5677 GB, free: 10.32 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004275/0.1803, allocations: 67.89 kB / 0.5678 GB, free: 10.26 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001691/0.1805, allocations: 43.95 kB / 0.5678 GB, free: 10.21 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.296e-05/0.1805, allocations: 7.984 kB / 0.5678 GB, free: 10.21 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0001916/0.1807, allocations: 189.5 kB / 0.568 GB, free: 10.02 MB / 430.1 MB Notification: Performance of sort global known variables: time 9e-08/0.1807, allocations: 0 / 0.568 GB, free: 10.02 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0003321/0.181, allocations: 47.95 kB / 0.5681 GB, free: 9.977 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.001548/0.1826, allocations: 397.1 kB / 0.5684 GB, free: 9.73 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.001742/0.1843, allocations: 485.9 kB / 0.5689 GB, free: 9.234 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 3.076e-06/0.1843, allocations: 0 / 0.5689 GB, free: 9.234 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007937/0.1851, allocations: 183.7 kB / 0.5691 GB, free: 9.055 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004084/0.1855, allocations: 40.56 kB / 0.5691 GB, free: 9.012 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001161/0.1867, allocations: 396.4 kB / 0.5695 GB, free: 8.594 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003986/0.1871, allocations: 0.724 MB / 0.5702 GB, free: 7.84 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001314/0.1872, allocations: 23.42 kB / 0.5702 GB, free: 7.816 MB / 430.1 MB Notification: Performance of SimCode: time 6.31e-07/0.1872, allocations: 0 / 0.5702 GB, free: 7.816 MB / 430.1 MB Notification: Performance of Templates: time 0.006781/0.194, allocations: 3.316 MB / 0.5735 GB, free: 4.504 MB / 430.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test33.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test33.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test33.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test33.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test33.sim & ./ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test33 -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test33.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 8.006610525073484] Failed to read output from testmodel.py, exit status != 0: 0.20226989081129432 0.217039056 0.056683213 Calling exit ...