Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test14.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001235/0.001235, allocations: 116 kB / 18.45 MB, free: 4.562 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.00131/0.00131, allocations: 213.6 kB / 21.42 MB, free: 1.605 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.496/1.496, allocations: 230.6 MB / 254.8 MB, free: 15.07 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.2383/0.2383, allocations: 46.92 MB / 357.8 MB, free: 10.31 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+maint.om/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(ModelicaTest.Tables.CombiTimeTable.Test14,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5004,variableFilter="time|err1.y|trapezoid1.T_start|trapezoid1.count",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test14") translateModel(ModelicaTest.Tables.CombiTimeTable.Test14,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5004,variableFilter="time|err1.y|trapezoid1.T_start|trapezoid1.count",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test14") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001914/0.001914, allocations: 75.89 kB / 0.4921 GB, free: 7.391 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1533/0.1552, allocations: 65.99 MB / 0.5566 GB, free: 5.266 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test14): time 0.0038/0.159, allocations: 2.044 MB / 0.5586 GB, free: 3.207 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.002049/0.161, allocations: 1.122 MB / 0.5597 GB, free: 2.078 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001204/0.1612, allocations: 7.938 kB / 0.5597 GB, free: 2.07 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003383/0.1615, allocations: 43.64 kB / 0.5597 GB, free: 2.027 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003793/0.1619, allocations: 119.4 kB / 0.5598 GB, free: 1.91 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002791/0.1622, allocations: 111.7 kB / 0.5599 GB, free: 1.801 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003186/0.1625, allocations: 203.3 kB / 0.5601 GB, free: 1.602 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001252/0.1626, allocations: 21.67 kB / 0.5602 GB, free: 1.582 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000151/0.1627, allocations: 83.62 kB / 0.5602 GB, free: 1.5 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001431/0.1629, allocations: 83.61 kB / 0.5603 GB, free: 1.418 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 2.895e-05/0.1629, allocations: 12 kB / 0.5603 GB, free: 1.406 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000116/0.163, allocations: 55.97 kB / 0.5604 GB, free: 1.352 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 7.665e-05/0.1631, allocations: 35.84 kB / 0.5604 GB, free: 1.316 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001012/0.1632, allocations: 75.47 kB / 0.5605 GB, free: 1.242 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003473/0.1636, allocations: 195.1 kB / 0.5607 GB, free: 1.051 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.342e-06/0.1636, allocations: 8 kB / 0.5607 GB, free: 1.043 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.512e-06/0.1636, allocations: 0 / 0.5607 GB, free: 1.043 MB / 414.1 MB Notification: Performance of Transformations before backend: time 1.095e-05/0.1636, allocations: 0 / 0.5607 GB, free: 1.043 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: 17 * Number of variables: 17 Notification: Performance of Generate backend data structure: time 0.001091/0.1647, allocations: 0.5679 MB / 0.5612 GB, free: 424 kB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.854e-05/0.1647, allocations: 11.97 kB / 0.5612 GB, free: 412 kB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.461e-05/0.1648, allocations: 20.84 kB / 0.5613 GB, free: 392 kB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004072/0.1652, allocations: 257 kB / 0.5615 GB, free: 96 kB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.356e-05/0.1652, allocations: 8.375 kB / 0.5615 GB, free: 88 kB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.594e-05/0.1652, allocations: 8.125 kB / 0.5615 GB, free: 80 kB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004752/0.1657, allocations: 152.1 kB / 0.5617 GB, free: 15.91 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.017e-05/0.1657, allocations: 0 / 0.5617 GB, free: 15.91 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.425e-05/0.1657, allocations: 11.98 kB / 0.5617 GB, free: 15.9 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.674e-06/0.1658, allocations: 4 kB / 0.5617 GB, free: 15.9 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004852/0.1662, allocations: 99.89 kB / 0.5618 GB, free: 15.8 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007352/0.167, allocations: 0.5593 MB / 0.5623 GB, free: 15.18 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000722/0.1677, allocations: 154.5 kB / 0.5625 GB, free: 15.02 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002692/0.168, allocations: 72.8 kB / 0.5625 GB, free: 14.95 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.06e-05/0.168, allocations: 4 kB / 0.5625 GB, free: 14.95 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004089/0.1684, allocations: 131.3 kB / 0.5627 GB, free: 14.8 MB / 430.1 MB Notification: Performance of pre-optimization done (n=12): time 1.593e-06/0.1684, allocations: 0 / 0.5627 GB, free: 14.8 MB / 430.1 MB Notification: Performance of matching and sorting (n=12): time 0.0009602/0.1694, allocations: 261.2 kB / 0.5629 GB, free: 14.54 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.665e-05/0.1694, allocations: 63.34 kB / 0.563 GB, free: 14.47 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002681/0.1697, allocations: 236.2 kB / 0.5632 GB, free: 14.23 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 3.606e-05/0.1697, allocations: 29.7 kB / 0.5632 GB, free: 14.19 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001114/0.1698, allocations: 132.4 kB / 0.5634 GB, free: 14.05 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.02e-05/0.1699, allocations: 39.69 kB / 0.5634 GB, free: 14.02 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.964e-05/0.17, allocations: 37.7 kB / 0.5634 GB, free: 13.97 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001644/0.1701, allocations: 330.8 kB / 0.5638 GB, free: 13.64 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002672/0.1704, allocations: 63.94 kB / 0.5638 GB, free: 13.58 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003085/0.1707, allocations: 109.9 kB / 0.5639 GB, free: 13.46 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005545/0.1713, allocations: 197.8 kB / 0.5641 GB, free: 13.24 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.164e-06/0.1713, allocations: 0 / 0.5641 GB, free: 13.24 MB / 430.1 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0006973/0.172, allocations: 255.1 kB / 0.5644 GB, free: 12.98 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.102e-05/0.172, allocations: 33.69 kB / 0.5644 GB, free: 12.94 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.532e-06/0.172, allocations: 0 / 0.5644 GB, free: 12.94 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.548e-05/0.172, allocations: 4 kB / 0.5644 GB, free: 12.94 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001971/0.1722, allocations: 43.84 kB / 0.5644 GB, free: 12.89 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.105e-05/0.1722, allocations: 4 kB / 0.5644 GB, free: 12.89 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001879/0.1724, allocations: 31.86 kB / 0.5645 GB, free: 12.86 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.813e-05/0.1724, allocations: 12.06 kB / 0.5645 GB, free: 12.85 MB / 430.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 11 ($PRE.t_new.nextTimeEvent,$whenCondition2,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent,trapezoid1.count,$PRE.trapezoid1.count,trapezoid1.T_start,$PRE.trapezoid1.T_start,$whenCondition1,err1.local_reset) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (18): * Single equations (assignments): 17 * Array equations: 0 * Algorithm blocks: 1 * 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.0001529/0.1726, allocations: 144 kB / 0.5646 GB, free: 12.7 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.376e-05/0.1726, allocations: 15.91 kB / 0.5646 GB, free: 12.68 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.053e-05/0.1727, allocations: 17.41 kB / 0.5646 GB, free: 12.66 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.508e-06/0.1727, allocations: 7.938 kB / 0.5647 GB, free: 12.65 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.15e-06/0.1727, allocations: 0 / 0.5647 GB, free: 12.65 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.233e-06/0.1727, allocations: 7.969 kB / 0.5647 GB, free: 12.64 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002467/0.1729, allocations: 233.5 kB / 0.5649 GB, free: 12.37 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.206e-06/0.173, allocations: 3.984 kB / 0.5649 GB, free: 12.36 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001671/0.1731, allocations: 27.98 kB / 0.5649 GB, free: 12.34 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.883e-06/0.1731, allocations: 0 / 0.5649 GB, free: 12.34 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.713e-05/0.1731, allocations: 7.922 kB / 0.5649 GB, free: 12.33 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.426e-06/0.1731, allocations: 7.938 kB / 0.5649 GB, free: 12.32 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.432e-06/0.1731, allocations: 0 / 0.5649 GB, free: 12.32 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009316/0.1741, allocations: 304.2 kB / 0.5652 GB, free: 12.01 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.738e-05/0.1741, allocations: 93 kB / 0.5653 GB, free: 11.9 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.353e-05/0.1742, allocations: 4 kB / 0.5653 GB, free: 11.89 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001763/0.1744, allocations: 23.91 kB / 0.5653 GB, free: 11.87 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.526e-05/0.1744, allocations: 19.97 kB / 0.5654 GB, free: 11.85 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.926e-05/0.1745, allocations: 8.062 kB / 0.5654 GB, free: 11.84 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0001775/0.1746, allocations: 177.6 kB / 0.5655 GB, free: 11.67 MB / 430.1 MB Notification: Performance of sort global known variables: time 8e-08/0.1746, allocations: 0 / 0.5655 GB, free: 11.67 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0002697/0.1749, allocations: 35.94 kB / 0.5656 GB, free: 11.64 MB / 430.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (err1.y) * Number of discrete variables: 6 ($whenCondition2,$whenCondition1,trapezoid1.T_start,trapezoid1.count,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 3 (trapezoid1.count,t_new.nextTimeEventScaled,t_new.nextTimeEvent) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (12): * Single equations (assignments): 8 * 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.001562/0.1765, allocations: 412.9 kB / 0.566 GB, free: 11.38 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0006763/0.1771, allocations: 215.2 kB / 0.5662 GB, free: 11.16 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 2.685e-06/0.1771, allocations: 0 / 0.5662 GB, free: 11.16 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002842/0.1774, allocations: 79.75 kB / 0.5662 GB, free: 11.09 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003421/0.1778, allocations: 48.7 kB / 0.5663 GB, free: 11.04 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007778/0.1785, allocations: 353.4 kB / 0.5666 GB, free: 10.67 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003969/0.1789, allocations: 0.728 MB / 0.5673 GB, free: 9.914 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.44e-05/0.179, allocations: 19.44 kB / 0.5674 GB, free: 9.895 MB / 430.1 MB Notification: Performance of SimCode: time 2.81e-07/0.179, allocations: 0 / 0.5674 GB, free: 9.895 MB / 430.1 MB Notification: Performance of Templates: time 0.00558/0.1846, allocations: 2.858 MB / 0.5701 GB, free: 7.039 MB / 430.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test14.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test14.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test14.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test14.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test14.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test14 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test14.pipe 2>&1) [Timeout 480] [Calling os._exit(0), Time elapsed: 8.287924472009763] Failed to read output from testmodel.py, exit status != 0: ['time', 'err1.y', 'trapezoid1.T_start', 'trapezoid1.count'] 0.19196047098375857 0.20575490800000001 0.03936974 Calling exit ...