Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_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.001062/0.001062, allocations: 91.33 kB / 20.43 MB, free: 4.145 MB / 18.57 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.001025/0.001025, allocations: 165 kB / 23.8 MB, free: 0.7773 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 0.8838/0.8838, allocations: 158.6 MB / 185.7 MB, free: 2.914 MB / 170.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.1402/0.1402, allocations: 32.38 MB / 270.4 MB, free: 14.7 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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_3.2.3_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_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test14") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.774e-06/1.774e-06, allocations: 0 / 347.7 MB, free: 9.383 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.518e-05/2.695e-05, allocations: 6.312 kB / 347.7 MB, free: 9.375 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test14): time 0.007639/0.007666, allocations: 2.03 MB / 349.8 MB, free: 7.336 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.00111/0.008776, allocations: 0.8816 MB / 350.7 MB, free: 6.445 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001104/0.008886, allocations: 3.938 kB / 350.7 MB, free: 6.441 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003525/0.009239, allocations: 55.62 kB / 350.7 MB, free: 6.387 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.003275/0.01251, allocations: 67.56 kB / 350.8 MB, free: 6.32 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003096/0.01282, allocations: 135.5 kB / 350.9 MB, free: 6.188 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002161/0.01304, allocations: 191.3 kB / 351.1 MB, free: 6 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000109/0.01315, allocations: 25.78 kB / 351.1 MB, free: 5.973 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001297/0.01328, allocations: 111.7 kB / 351.2 MB, free: 5.863 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.392e-05/0.01337, allocations: 55.84 kB / 351.3 MB, free: 5.809 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 2.763e-05/0.0134, allocations: 15.94 kB / 351.3 MB, free: 5.793 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001054/0.01351, allocations: 55.91 kB / 351.4 MB, free: 5.738 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 5.994e-05/0.01357, allocations: 39.84 kB / 351.4 MB, free: 5.699 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 6.045e-05/0.01363, allocations: 43.84 kB / 351.4 MB, free: 5.656 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002371/0.01386, allocations: 163.4 kB / 351.6 MB, free: 5.496 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.319e-06/0.01387, allocations: 4 kB / 351.6 MB, free: 5.492 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.503e-06/0.01387, allocations: 0 / 351.6 MB, free: 5.492 MB / 282.7 MB Notification: Performance of Transformations before backend: time 5.771e-06/0.01387, allocations: 4 kB / 351.6 MB, free: 5.488 MB / 282.7 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.0005462/0.01442, allocations: 0.5652 MB / 352.2 MB, free: 4.875 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.017e-05/0.01447, allocations: 8.031 kB / 352.2 MB, free: 4.867 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.456e-05/0.01455, allocations: 28.8 kB / 352.2 MB, free: 4.84 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002506/0.0148, allocations: 189.1 kB / 352.4 MB, free: 4.625 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.241e-05/0.01482, allocations: 8.375 kB / 352.4 MB, free: 4.617 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.46e-05/0.01485, allocations: 8.375 kB / 352.4 MB, free: 4.609 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002704/0.01512, allocations: 171.6 kB / 352.6 MB, free: 4.414 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.09e-05/0.01513, allocations: 7.938 kB / 352.6 MB, free: 4.406 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.281e-05/0.01515, allocations: 4 kB / 352.6 MB, free: 4.402 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.765e-06/0.01516, allocations: 0 / 352.6 MB, free: 4.402 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.317e-05/0.01523, allocations: 39.86 kB / 352.6 MB, free: 4.363 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004426/0.01567, allocations: 0.6067 MB / 353.2 MB, free: 3.711 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000235/0.01591, allocations: 87.09 kB / 353.3 MB, free: 3.613 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.01e-05/0.01596, allocations: 31.67 kB / 353.4 MB, free: 3.578 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.849e-05/0.01597, allocations: 4 kB / 353.4 MB, free: 3.574 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001494/0.01612, allocations: 122.7 kB / 353.5 MB, free: 3.434 MB / 282.7 MB Notification: Performance of pre-optimization done (n=12): time 2.044e-06/0.01613, allocations: 0 / 353.5 MB, free: 3.434 MB / 282.7 MB Notification: Performance of matching and sorting (n=12): time 0.0002742/0.0164, allocations: 149.4 kB / 353.6 MB, free: 3.281 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.769e-05/0.01643, allocations: 55.41 kB / 353.7 MB, free: 3.215 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001296/0.01656, allocations: 263 kB / 353.9 MB, free: 2.941 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 1.317e-05/0.01657, allocations: 29.7 kB / 354 MB, free: 2.906 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.107e-05/0.01663, allocations: 175.1 kB / 354.1 MB, free: 2.73 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.397e-05/0.01666, allocations: 39.69 kB / 354.2 MB, free: 2.691 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.581e-05/0.0167, allocations: 35.38 kB / 354.2 MB, free: 2.648 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 5.217e-05/0.01675, allocations: 0.5078 MB / 354.7 MB, free: 2.129 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.786e-05/0.01681, allocations: 49.69 kB / 354.8 MB, free: 2.074 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.05e-05/0.01687, allocations: 104.1 kB / 354.9 MB, free: 1.945 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.653e-05/0.01697, allocations: 124.1 kB / 355 MB, free: 1.797 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.284e-06/0.01697, allocations: 4 kB / 355 MB, free: 1.793 MB / 282.7 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.000187/0.01716, allocations: 200.9 kB / 355.2 MB, free: 1.578 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.794e-05/0.01719, allocations: 35.88 kB / 355.2 MB, free: 1.539 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.17e-06/0.01719, allocations: 0 / 355.2 MB, free: 1.539 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.656e-05/0.01721, allocations: 4 kB / 355.2 MB, free: 1.535 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001068/0.01731, allocations: 35.92 kB / 355.3 MB, free: 1.5 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.933e-06/0.01732, allocations: 4 kB / 355.3 MB, free: 1.496 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.259e-05/0.01739, allocations: 19.88 kB / 355.3 MB, free: 1.477 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.177e-05/0.01741, allocations: 4 kB / 355.3 MB, free: 1.473 MB / 282.7 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 6.71e-05/0.01747, allocations: 184.4 kB / 355.5 MB, free: 1.281 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.267e-05/0.0175, allocations: 27.95 kB / 355.5 MB, free: 1.254 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001898/0.01769, allocations: 133.7 kB / 355.6 MB, free: 1.117 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.084e-06/0.01769, allocations: 0 / 355.6 MB, free: 1.117 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.278e-06/0.01769, allocations: 4 kB / 355.6 MB, free: 1.113 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.218e-06/0.0177, allocations: 3.984 kB / 355.6 MB, free: 1.109 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.209e-05/0.01779, allocations: 172.5 kB / 355.8 MB, free: 0.9062 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.573e-06/0.01779, allocations: 0 / 355.8 MB, free: 0.9062 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.537e-05/0.01786, allocations: 19.98 kB / 355.8 MB, free: 0.8867 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.845e-06/0.01787, allocations: 3.938 kB / 355.8 MB, free: 0.8828 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.257e-05/0.01788, allocations: 4 kB / 355.8 MB, free: 0.8789 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.562e-06/0.01788, allocations: 11.92 kB / 355.8 MB, free: 0.8672 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.51e-07/0.01788, allocations: 0 / 355.8 MB, free: 0.8672 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002104/0.01809, allocations: 192.2 kB / 356 MB, free: 0.6562 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.033e-05/0.01811, allocations: 23.83 kB / 356 MB, free: 0.6328 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.193e-05/0.01814, allocations: 4 kB / 356.1 MB, free: 0.6289 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.774e-05/0.01819, allocations: 11.98 kB / 356.1 MB, free: 0.6172 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.361e-05/0.01826, allocations: 15.97 kB / 356.1 MB, free: 0.6016 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.52e-05/0.01827, allocations: 8 kB / 356.1 MB, free: 0.5938 MB / 282.7 MB Notification: Performance of sorting global known variables: time 7.547e-05/0.01835, allocations: 187.5 kB / 356.3 MB, free: 420 kB / 282.7 MB Notification: Performance of sort global known variables: time 8.1e-08/0.01835, allocations: 0 / 356.3 MB, free: 420 kB / 282.7 MB Notification: Performance of remove unused functions: time 0.0001765/0.01852, allocations: 40.02 kB / 356.3 MB, free: 380 kB / 282.7 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.0008809/0.0194, allocations: 393.2 kB / 356.7 MB, free: 72 kB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0002627/0.01967, allocations: 171.8 kB / 356.9 MB, free: 15.88 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 2.394e-06/0.01967, allocations: 0 / 356.9 MB, free: 15.88 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 7.335e-05/0.01974, allocations: 51.86 kB / 356.9 MB, free: 15.83 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002642/0.02001, allocations: 55.62 kB / 357 MB, free: 15.78 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005512/0.02056, allocations: 305.4 kB / 357.3 MB, free: 15.45 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.868e-05/0.02061, allocations: 75.98 kB / 357.3 MB, free: 15.36 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 5.91e-05/0.02067, allocations: 21.73 kB / 357.4 MB, free: 15.34 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.28e-05/0.02072, allocations: 24.5 kB / 357.4 MB, free: 15.32 MB / 298.7 MB Notification: Performance of SimCode: time 8.62e-07/0.02072, allocations: 0 / 357.4 MB, free: 15.32 MB / 298.7 MB Notification: Performance of Templates: time 0.005284/0.026, allocations: 3.071 MB / 360.5 MB, free: 12.27 MB / 298.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test14.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test14.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test14.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test14.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test14.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test14 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test14.pipe 2>&1) [Timeout 240] [Calling os._exit(0), Time elapsed: 3.2523872130550444]