Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.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.002007/0.002007, allocations: 111.1 kB / 20.44 MB, free: 1.062 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.002495/0.002495, allocations: 212.4 kB / 23.73 MB, free: 4.16 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.588/1.588, allocations: 230.6 MB / 257.5 MB, free: 7.82 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2293/0.2293, allocations: 44.94 MB / 358.8 MB, free: 6.055 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.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.0.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.0.0_ModelicaTest.Tables.CombiTimeTable.Test14") [Timeout 660] "Notification: ModelicaTest requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002193/0.002193, allocations: 67.89 kB / 0.4936 GB, free: 9.965 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3395/0.3417, allocations: 65.47 MB / 0.5575 GB, free: 7.457 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test14): time 0.004242/0.3459, allocations: 1.98 MB / 0.5594 GB, free: 5.461 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002174/0.3481, allocations: 1.061 MB / 0.5605 GB, free: 4.395 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001468/0.3483, allocations: 4 kB / 0.5605 GB, free: 4.391 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003374/0.3486, allocations: 47.66 kB / 0.5605 GB, free: 4.344 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004275/0.349, allocations: 115.4 kB / 0.5606 GB, free: 4.23 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003021/0.3493, allocations: 107.6 kB / 0.5607 GB, free: 4.125 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003325/0.3497, allocations: 219.3 kB / 0.5609 GB, free: 3.91 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001316/0.3498, allocations: 20.48 kB / 0.561 GB, free: 3.891 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001526/0.35, allocations: 83.69 kB / 0.561 GB, free: 3.809 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001465/0.3501, allocations: 71.61 kB / 0.5611 GB, free: 3.738 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 3.252e-05/0.3501, allocations: 12 kB / 0.5611 GB, free: 3.727 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001365/0.3503, allocations: 55.92 kB / 0.5612 GB, free: 3.672 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 8.263e-05/0.3503, allocations: 39.83 kB / 0.5612 GB, free: 3.633 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 8.79e-05/0.3504, allocations: 55.67 kB / 0.5613 GB, free: 3.578 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000328/0.3508, allocations: 202.8 kB / 0.5615 GB, free: 3.383 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.426e-06/0.3508, allocations: 0 / 0.5615 GB, free: 3.383 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.413e-06/0.3508, allocations: 4 kB / 0.5615 GB, free: 3.379 MB / 398.1 MB Notification: Performance of Transformations before backend: time 7.805e-06/0.3508, allocations: 3.938 kB / 0.5615 GB, free: 3.375 MB / 398.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.001018/0.3518, allocations: 0.4965 MB / 0.562 GB, free: 2.836 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.426e-05/0.3518, allocations: 8.031 kB / 0.562 GB, free: 2.828 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.012e-05/0.3519, allocations: 20.78 kB / 0.562 GB, free: 2.809 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000368/0.3523, allocations: 186.1 kB / 0.5622 GB, free: 2.602 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.841e-05/0.3523, allocations: 12.36 kB / 0.5622 GB, free: 2.59 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.937e-05/0.3523, allocations: 16.06 kB / 0.5622 GB, free: 2.574 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004512/0.3528, allocations: 180 kB / 0.5624 GB, free: 2.379 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.077e-05/0.3528, allocations: 0 / 0.5624 GB, free: 2.379 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.509e-05/0.3528, allocations: 0 / 0.5624 GB, free: 2.379 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.927e-06/0.3528, allocations: 4 kB / 0.5624 GB, free: 2.375 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000485/0.3533, allocations: 123.8 kB / 0.5625 GB, free: 2.254 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006778/0.354, allocations: 484.6 kB / 0.5629 GB, free: 1.742 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006843/0.3547, allocations: 154.5 kB / 0.5631 GB, free: 1.582 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002578/0.3549, allocations: 72.8 kB / 0.5632 GB, free: 1.508 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.106e-05/0.3549, allocations: 7.984 kB / 0.5632 GB, free: 1.5 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004107/0.3554, allocations: 156.9 kB / 0.5633 GB, free: 1.328 MB / 398.1 MB Notification: Performance of pre-optimization done (n=12): time 1.683e-06/0.3554, allocations: 0 / 0.5633 GB, free: 1.328 MB / 398.1 MB Notification: Performance of matching and sorting (n=12): time 0.0009452/0.3563, allocations: 269.3 kB / 0.5636 GB, free: 1.059 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.944e-05/0.3564, allocations: 55.41 kB / 0.5636 GB, free: 0.9922 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002844/0.3566, allocations: 244 kB / 0.5639 GB, free: 0.7422 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 3.193e-05/0.3567, allocations: 29.7 kB / 0.5639 GB, free: 0.707 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000119/0.3568, allocations: 124.4 kB / 0.564 GB, free: 0.5781 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.561e-05/0.3568, allocations: 39.69 kB / 0.564 GB, free: 0.5391 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.373e-05/0.3569, allocations: 37.7 kB / 0.5641 GB, free: 0.4961 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001839/0.3571, allocations: 338.8 kB / 0.5644 GB, free: 160 kB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002881/0.3574, allocations: 89.64 kB / 0.5645 GB, free: 64 kB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003432/0.3577, allocations: 137.9 kB / 0.5646 GB, free: 15.91 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005447/0.3583, allocations: 197.7 kB / 0.5648 GB, free: 15.7 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.254e-06/0.3583, allocations: 0 / 0.5648 GB, free: 15.7 MB / 414.1 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0007005/0.359, allocations: 292.8 kB / 0.5651 GB, free: 15.39 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.804e-05/0.359, allocations: 29.7 kB / 0.5651 GB, free: 15.36 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.993e-06/0.359, allocations: 4 kB / 0.5651 GB, free: 15.35 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.942e-05/0.359, allocations: 3.938 kB / 0.5651 GB, free: 15.35 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001916/0.3592, allocations: 39.95 kB / 0.5652 GB, free: 15.31 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.824e-05/0.3592, allocations: 7.938 kB / 0.5652 GB, free: 15.3 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001763/0.3594, allocations: 19.94 kB / 0.5652 GB, free: 15.28 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.606e-05/0.3594, allocations: 15.98 kB / 0.5652 GB, free: 15.27 MB / 414.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.0001386/0.3596, allocations: 141.7 kB / 0.5653 GB, free: 15.12 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.5e-05/0.3596, allocations: 15.91 kB / 0.5654 GB, free: 15.1 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006696/0.3603, allocations: 214.9 kB / 0.5656 GB, free: 14.88 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.921e-06/0.3603, allocations: 4 kB / 0.5656 GB, free: 14.87 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.991e-06/0.3603, allocations: 3.938 kB / 0.5656 GB, free: 14.87 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.326e-06/0.3603, allocations: 0 / 0.5656 GB, free: 14.87 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002151/0.3605, allocations: 169.2 kB / 0.5657 GB, free: 14.67 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.232e-06/0.3605, allocations: 0 / 0.5657 GB, free: 14.67 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001681/0.3607, allocations: 31.91 kB / 0.5658 GB, free: 14.64 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.514e-06/0.3607, allocations: 0 / 0.5658 GB, free: 14.64 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.952e-05/0.3607, allocations: 7.984 kB / 0.5658 GB, free: 14.63 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.463e-06/0.3607, allocations: 0 / 0.5658 GB, free: 14.63 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.91e-07/0.3607, allocations: 4 kB / 0.5658 GB, free: 14.63 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009431/0.3617, allocations: 312.8 kB / 0.5661 GB, free: 14.3 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.644e-05/0.3617, allocations: 19.89 kB / 0.5661 GB, free: 14.29 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.463e-05/0.3617, allocations: 4 kB / 0.5661 GB, free: 14.28 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001672/0.3619, allocations: 23.95 kB / 0.5661 GB, free: 14.26 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.628e-05/0.362, allocations: 15.98 kB / 0.5661 GB, free: 14.24 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.402e-05/0.362, allocations: 11.92 kB / 0.5661 GB, free: 14.23 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.000189/0.3622, allocations: 181.8 kB / 0.5663 GB, free: 14.05 MB / 414.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3622, allocations: 0 / 0.5663 GB, free: 14.05 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002681/0.3624, allocations: 39.94 kB / 0.5664 GB, free: 14.02 MB / 414.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.nextTimeEvent,t_new.nextTimeEventScaled) * 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.001672/0.3641, allocations: 443.8 kB / 0.5668 GB, free: 13.76 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0007001/0.3648, allocations: 245 kB / 0.567 GB, free: 13.5 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.695e-06/0.3648, allocations: 0 / 0.567 GB, free: 13.5 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002937/0.3651, allocations: 79.88 kB / 0.5671 GB, free: 13.43 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003618/0.3655, allocations: 57.14 kB / 0.5671 GB, free: 13.38 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007277/0.3662, allocations: 319.8 kB / 0.5674 GB, free: 13.04 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001393/0.3663, allocations: 124.2 kB / 0.5676 GB, free: 12.9 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 9.562e-05/0.3664, allocations: 17.48 kB / 0.5676 GB, free: 12.88 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.316e-05/0.3665, allocations: 19.42 kB / 0.5676 GB, free: 12.86 MB / 414.1 MB Notification: Performance of SimCode: time 4.41e-07/0.3665, allocations: 4 kB / 0.5676 GB, free: 12.86 MB / 414.1 MB Notification: Performance of Templates: time 0.00754/0.374, allocations: 3.199 MB / 0.5707 GB, free: 9.707 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test14.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test14.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test14.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test14.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test14.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test14 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test14.pipe 2>&1) [Timeout 480] [Calling os._exit(0), Time elapsed: 5.407350575551391] Failed to read output from testmodel.py, exit status != 0: ['time', 'err1.y', 'trapezoid1.T_start', 'trapezoid1.count'] 0.3831194378435612 0.398072432 0.044181298 Calling exit ...