Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test14.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.001549/0.001549, allocations: 106.5 kB / 21.22 MB, free: 0.6797 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.002398/0.002398, allocations: 209.3 kB / 24.54 MB, free: 4.055 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.446/1.446, allocations: 230.3 MB / 258 MB, free: 8.246 MB / 206.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.2171/0.2171, allocations: 46.89 MB / 361.3 MB, free: 4.441 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.CombiTimeTable.Test14,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5004,variableFilter="time|err1.y|trapezoid1.T_start|trapezoid1.count",fileNamePrefix="ModelicaTest_trunk_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_trunk_ModelicaTest.Tables.CombiTimeTable.Test14") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.00227/0.00227, allocations: 79.86 kB / 0.4971 GB, free: 7.535 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.357/0.3593, allocations: 66.03 MB / 0.5616 GB, free: 4.602 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test14): time 0.003479/0.3628, allocations: 2.054 MB / 0.5636 GB, free: 2.535 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001881/0.3647, allocations: 1.138 MB / 0.5647 GB, free: 1.391 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.354e-05/0.3648, allocations: 4 kB / 0.5647 GB, free: 1.387 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003124/0.3651, allocations: 47.62 kB / 0.5648 GB, free: 1.34 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003307/0.3654, allocations: 115.4 kB / 0.5649 GB, free: 1.227 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002633/0.3657, allocations: 115.6 kB / 0.565 GB, free: 1.113 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003018/0.366, allocations: 207.4 kB / 0.5652 GB, free: 0.9102 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001235/0.3661, allocations: 24.61 kB / 0.5652 GB, free: 0.8867 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001532/0.3662, allocations: 83.64 kB / 0.5653 GB, free: 0.8047 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001394/0.3664, allocations: 83.61 kB / 0.5654 GB, free: 0.7227 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 3.116e-05/0.3664, allocations: 12 kB / 0.5654 GB, free: 0.7109 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001206/0.3665, allocations: 55.92 kB / 0.5654 GB, free: 0.6562 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 8.005e-05/0.3666, allocations: 39.83 kB / 0.5655 GB, free: 0.6172 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 9.455e-05/0.3667, allocations: 75.53 kB / 0.5655 GB, free: 0.543 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003116/0.367, allocations: 198.9 kB / 0.5657 GB, free: 360 kB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.667e-06/0.367, allocations: 0 / 0.5657 GB, free: 360 kB / 398.1 MB Notification: Performance of FrontEnd: time 1.342e-06/0.367, allocations: 0 / 0.5657 GB, free: 360 kB / 398.1 MB Notification: Performance of Transformations before backend: time 5.71e-06/0.367, allocations: 3.938 kB / 0.5657 GB, free: 356 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: 17 * Number of variables: 17 Notification: Performance of Generate backend data structure: time 0.0009903/0.368, allocations: 0.4926 MB / 0.5662 GB, free: 15.81 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.051e-05/0.3681, allocations: 12.03 kB / 0.5662 GB, free: 15.8 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.405e-05/0.3681, allocations: 20.84 kB / 0.5662 GB, free: 15.78 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003566/0.3685, allocations: 190.2 kB / 0.5664 GB, free: 15.57 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.184e-05/0.3685, allocations: 8.312 kB / 0.5664 GB, free: 15.56 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.26e-05/0.3685, allocations: 8.375 kB / 0.5664 GB, free: 15.55 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004549/0.369, allocations: 154.7 kB / 0.5666 GB, free: 15.39 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.155e-05/0.369, allocations: 7.984 kB / 0.5666 GB, free: 15.38 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.961e-05/0.369, allocations: 0 / 0.5666 GB, free: 15.38 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.44e-06/0.369, allocations: 3.938 kB / 0.5666 GB, free: 15.38 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004745/0.3695, allocations: 111.8 kB / 0.5667 GB, free: 15.27 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006909/0.3702, allocations: 0.5233 MB / 0.5672 GB, free: 14.7 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000684/0.3709, allocations: 162.5 kB / 0.5674 GB, free: 14.53 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002545/0.3711, allocations: 64.8 kB / 0.5674 GB, free: 14.46 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.524e-05/0.3712, allocations: 0 / 0.5674 GB, free: 14.46 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003982/0.3716, allocations: 139.2 kB / 0.5676 GB, free: 14.31 MB / 414.1 MB Notification: Performance of pre-optimization done (n=12): time 1.433e-06/0.3716, allocations: 4 kB / 0.5676 GB, free: 14.31 MB / 414.1 MB Notification: Performance of matching and sorting (n=12): time 0.0009041/0.3725, allocations: 249.4 kB / 0.5678 GB, free: 14.06 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.892e-05/0.3725, allocations: 59.34 kB / 0.5679 GB, free: 13.99 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002558/0.3728, allocations: 238.2 kB / 0.5681 GB, free: 13.75 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.708e-05/0.3728, allocations: 33.7 kB / 0.5681 GB, free: 13.71 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001072/0.3729, allocations: 124.4 kB / 0.5682 GB, free: 13.58 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.958e-05/0.3729, allocations: 39.69 kB / 0.5683 GB, free: 13.54 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.873e-05/0.373, allocations: 37.7 kB / 0.5683 GB, free: 13.5 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001562/0.3732, allocations: 330.8 kB / 0.5686 GB, free: 13.16 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000271/0.3734, allocations: 67.94 kB / 0.5687 GB, free: 13.1 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002877/0.3737, allocations: 106.9 kB / 0.5688 GB, free: 12.98 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005648/0.3743, allocations: 193.8 kB / 0.569 GB, free: 12.77 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.993e-06/0.3743, allocations: 0 / 0.569 GB, free: 12.77 MB / 414.1 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0006944/0.375, allocations: 258.1 kB / 0.5692 GB, free: 12.51 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.458e-05/0.375, allocations: 41.64 kB / 0.5693 GB, free: 12.46 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.931e-06/0.375, allocations: 0 / 0.5693 GB, free: 12.46 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.869e-05/0.3751, allocations: 4 kB / 0.5693 GB, free: 12.46 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001894/0.3752, allocations: 35.95 kB / 0.5693 GB, free: 12.42 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.075e-05/0.3753, allocations: 4 kB / 0.5693 GB, free: 12.42 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001911/0.3755, allocations: 31.92 kB / 0.5693 GB, free: 12.39 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.64e-05/0.3755, allocations: 8 kB / 0.5693 GB, free: 12.38 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.0001488/0.3756, allocations: 135.1 kB / 0.5695 GB, free: 12.24 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.486e-05/0.3757, allocations: 19.91 kB / 0.5695 GB, free: 12.22 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006619/0.3763, allocations: 210.9 kB / 0.5697 GB, free: 12 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.646e-06/0.3763, allocations: 4 kB / 0.5697 GB, free: 11.99 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.06e-06/0.3763, allocations: 0 / 0.5697 GB, free: 11.99 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.282e-06/0.3763, allocations: 3.938 kB / 0.5697 GB, free: 11.99 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002578/0.3766, allocations: 212.5 kB / 0.5699 GB, free: 11.74 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.062e-06/0.3766, allocations: 0 / 0.5699 GB, free: 11.74 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001619/0.3767, allocations: 27.91 kB / 0.5699 GB, free: 11.71 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.4e-06/0.3768, allocations: 4 kB / 0.5699 GB, free: 11.71 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.478e-05/0.3768, allocations: 8 kB / 0.5699 GB, free: 11.7 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.353e-06/0.3768, allocations: 0 / 0.5699 GB, free: 11.7 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.162e-06/0.3768, allocations: 3.938 kB / 0.5699 GB, free: 11.7 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009362/0.3777, allocations: 309.3 kB / 0.5702 GB, free: 11.38 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.976e-05/0.3778, allocations: 15.86 kB / 0.5703 GB, free: 11.36 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.775e-05/0.3778, allocations: 12.05 kB / 0.5703 GB, free: 11.35 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001825/0.378, allocations: 19.97 kB / 0.5703 GB, free: 11.33 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.523e-05/0.3781, allocations: 23.91 kB / 0.5703 GB, free: 11.3 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.011e-05/0.3781, allocations: 4 kB / 0.5703 GB, free: 11.3 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.000199/0.3783, allocations: 176.4 kB / 0.5705 GB, free: 11.13 MB / 414.1 MB Notification: Performance of sort global known variables: time 7e-08/0.3783, allocations: 0 / 0.5705 GB, free: 11.13 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002686/0.3786, allocations: 39.94 kB / 0.5705 GB, free: 11.09 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 (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.001508/0.3801, allocations: 396.8 kB / 0.5709 GB, free: 10.84 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0006652/0.3807, allocations: 219.1 kB / 0.5711 GB, free: 10.61 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.696e-06/0.3807, allocations: 0 / 0.5711 GB, free: 10.61 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002824/0.381, allocations: 76.12 kB / 0.5712 GB, free: 10.54 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003426/0.3814, allocations: 48.36 kB / 0.5712 GB, free: 10.49 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008074/0.3822, allocations: 319.8 kB / 0.5715 GB, free: 10.16 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003895/0.3825, allocations: 0.7319 MB / 0.5722 GB, free: 9.398 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 9.351e-05/0.3826, allocations: 25.45 kB / 0.5723 GB, free: 9.371 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.799e-05/0.3827, allocations: 23.44 kB / 0.5723 GB, free: 9.348 MB / 414.1 MB Notification: Performance of SimCode: time 2.9e-07/0.3827, allocations: 0 / 0.5723 GB, free: 9.348 MB / 414.1 MB Notification: Performance of Templates: time 0.006774/0.3895, allocations: 2.915 MB / 0.5751 GB, free: 6.449 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test14.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test14.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test14.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test14.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test14.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test14 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test14.pipe 2>&1) [Timeout 480] [Calling os._exit(0), Time elapsed: 5.121736888773739] Failed to read output from testmodel.py, exit status != 0: ['time', 'err1.y', 'trapezoid1.T_start', 'trapezoid1.count'] 0.39820933621376753 0.41274849199999997 0.042573596000000005 Calling exit ... <OMPython.OMCSessionZMQ object at 0x7f5c187917b0>