Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test3.conf.json Using package ModelicaTest with version 3.2.2 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo) Using package ModelicaServices with version 3.2.2 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo) Using package Modelica with version 3.2.2 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo) Using package Complex with version 3.2.2 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo) Running command: translateModel(ModelicaTest.Tables.CombiTimeTable.Test3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.nextTimeEvent|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test3") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.002879/0.002885, allocations: 363 kB / 15.95 MB, free: 6.203 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo): time 4.248/4.248, allocations: 388.9 MB / 405.6 MB, free: 9.648 MB / 346.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo): time 0.003722/0.003721, allocations: 242.3 kB / 451 MB, free: 145 MB / 346.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo): time 0.557/0.557, allocations: 80.03 MB / 0.5627 GB, free: 19.76 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004678/0.000468, allocations: 12 kB / 0.6265 GB, free: 96.54 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1103/0.1108, allocations: 54.87 MB / 0.6801 GB, free: 41.66 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5163/0.6272, allocations: 82.11 MB / 0.7603 GB, free: 3.195 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002992/0.6276, allocations: 70.53 kB / 0.7603 GB, free: 3.16 MB / 346.7 MB [/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/Blocks/Sources.mo:2312:7-2313:66:writable] Warning: Unused input variable tableAvailable in function .Modelica.Blocks.Sources.CombiTimeTable$t_new.getTableValue. [/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/Blocks/Sources.mo:2358:7-2359:66:writable] Warning: Unused input variable tableAvailable in function .Modelica.Blocks.Sources.CombiTimeTable$t_new.getTableTimeTmin. [/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/Blocks/Sources.mo:2369:7-2370:66:writable] Warning: Unused input variable tableAvailable in function .Modelica.Blocks.Sources.CombiTimeTable$t_new.getTableTimeTmax. Notification: Performance of FrontEnd - DAE generated: time 0.02569/0.6533, allocations: 4.391 MB / 0.7646 GB, free: 15.46 MB / 362.7 MB Notification: Performance of FrontEnd: time 2.424e-06/0.6533, allocations: 4 kB / 0.7646 GB, free: 15.46 MB / 362.7 MB Notification: Performance of Transformations before backend: time 1.526e-05/0.6534, allocations: 4 kB / 0.7646 GB, free: 15.46 MB / 362.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0007608/0.6541, allocations: 468.8 kB / 0.7651 GB, free: 14.95 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.102e-05/0.6542, allocations: 12.83 kB / 0.7651 GB, free: 14.93 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.957e-05/0.6543, allocations: 7.906 kB / 0.7651 GB, free: 14.93 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004063/0.6547, allocations: 200.6 kB / 0.7653 GB, free: 14.7 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.692e-05/0.6548, allocations: 4 kB / 0.7653 GB, free: 14.7 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.854e-05/0.6548, allocations: 7.375 kB / 0.7653 GB, free: 14.69 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002036/0.655, allocations: 64.75 kB / 0.7654 GB, free: 14.63 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.766e-05/0.6551, allocations: 3.938 kB / 0.7654 GB, free: 14.62 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.408e-05/0.6551, allocations: 0 / 0.7654 GB, free: 14.62 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.396e-05/0.6551, allocations: 0 / 0.7654 GB, free: 14.62 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001185/0.6552, allocations: 30.3 kB / 0.7654 GB, free: 14.6 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005626/0.6558, allocations: 307.1 kB / 0.7657 GB, free: 14.28 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002855/0.6561, allocations: 60.2 kB / 0.7658 GB, free: 14.22 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.54e-05/0.6562, allocations: 24.34 kB / 0.7658 GB, free: 14.2 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.82e-05/0.6563, allocations: 7.312 kB / 0.7658 GB, free: 14.19 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002373/0.6565, allocations: 70.92 kB / 0.7658 GB, free: 14.12 MB / 362.7 MB Notification: Performance of pre-optimization done (n=6): time 2.645e-06/0.6565, allocations: 0 / 0.7658 GB, free: 14.12 MB / 362.7 MB Notification: Performance of matching and sorting (n=8): time 0.0008894/0.6574, allocations: 184.7 kB / 0.766 GB, free: 13.96 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.071e-05/0.6575, allocations: 55.39 kB / 0.7661 GB, free: 13.9 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002425/0.6578, allocations: 165.6 kB / 0.7662 GB, free: 13.74 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 3.068e-05/0.6578, allocations: 25.7 kB / 0.7663 GB, free: 13.71 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.742e-05/0.6579, allocations: 95.52 kB / 0.7664 GB, free: 13.62 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.565e-05/0.658, allocations: 22.58 kB / 0.7664 GB, free: 13.6 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.148e-05/0.658, allocations: 7.062 kB / 0.7664 GB, free: 13.6 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001785/0.6582, allocations: 322.1 kB / 0.7667 GB, free: 13.28 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001654/0.6584, allocations: 37.05 kB / 0.7667 GB, free: 13.25 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001769/0.6586, allocations: 58.31 kB / 0.7668 GB, free: 13.21 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001971/0.6588, allocations: 68.64 kB / 0.7668 GB, free: 13.15 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.921e-06/0.6588, allocations: 3.953 kB / 0.7668 GB, free: 13.15 MB / 362.7 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0005495/0.6594, allocations: 187.9 kB / 0.767 GB, free: 12.99 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.309e-05/0.6595, allocations: 35.69 kB / 0.7671 GB, free: 12.95 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.837e-06/0.6595, allocations: 4 kB / 0.7671 GB, free: 12.95 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.068e-05/0.6595, allocations: 4.031 kB / 0.7671 GB, free: 12.94 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001616/0.6597, allocations: 15.94 kB / 0.7671 GB, free: 12.93 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.386e-05/0.6597, allocations: 4 kB / 0.7671 GB, free: 12.92 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001143/0.6598, allocations: 6.062 kB / 0.7671 GB, free: 12.92 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.032e-05/0.6599, allocations: 8.859 kB / 0.7671 GB, free: 12.91 MB / 362.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 5 ($whenCondition1,$PRE.t_new.nextTimeEvent,t_new.nextTimeEvent,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEventScaled) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (11): * Single equations (assignments): 10 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001817/0.6601, allocations: 119.7 kB / 0.7672 GB, free: 12.79 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.703e-05/0.6601, allocations: 11.86 kB / 0.7672 GB, free: 12.78 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000451/0.6606, allocations: 120.1 kB / 0.7673 GB, free: 12.68 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.05e-06/0.6606, allocations: 4 kB / 0.7673 GB, free: 12.68 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.212e-06/0.6606, allocations: 4 kB / 0.7673 GB, free: 12.67 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.233e-06/0.6606, allocations: 192 / 0.7673 GB, free: 12.67 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008383/0.6615, allocations: 410.1 kB / 0.7677 GB, free: 12.25 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.929e-06/0.6615, allocations: 3.938 kB / 0.7677 GB, free: 12.25 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.688e-05/0.6616, allocations: 8 kB / 0.7678 GB, free: 12.24 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.248e-05/0.6617, allocations: 4 kB / 0.7678 GB, free: 12.24 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.713e-05/0.6617, allocations: 0 / 0.7678 GB, free: 12.24 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.398e-06/0.6617, allocations: 4.188 kB / 0.7678 GB, free: 12.23 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.61e-06/0.6617, allocations: 0 / 0.7678 GB, free: 12.23 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004336/0.6622, allocations: 224 kB / 0.768 GB, free: 12.02 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001219/0.6623, allocations: 100.2 kB / 0.7681 GB, free: 11.91 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.467e-05/0.6624, allocations: 0 / 0.7681 GB, free: 11.91 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001201/0.6625, allocations: 4.375 kB / 0.7681 GB, free: 11.9 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.198e-05/0.6625, allocations: 18.92 kB / 0.7681 GB, free: 11.89 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.968e-05/0.6626, allocations: 4 kB / 0.7681 GB, free: 11.88 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0001684/0.6628, allocations: 115 kB / 0.7682 GB, free: 11.78 MB / 362.7 MB Notification: Performance of sort global known variables: time 3.81e-07/0.6628, allocations: 0 / 0.7682 GB, free: 11.78 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0004299/0.6632, allocations: 43.86 kB / 0.7682 GB, free: 11.74 MB / 362.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 2 (t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (9): * Single equations (assignments): 7 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001474/0.6647, allocations: 435.2 kB / 0.7687 GB, free: 11.47 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0005856/0.6653, allocations: 172.3 kB / 0.7688 GB, free: 11.33 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 4.348e-06/0.6654, allocations: 0 / 0.7688 GB, free: 11.33 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001327/0.6655, allocations: 29.88 kB / 0.7689 GB, free: 11.31 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004808/0.666, allocations: 34.42 kB / 0.7689 GB, free: 11.28 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006972/0.6667, allocations: 217.7 kB / 0.7691 GB, free: 11.05 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003599/0.6671, allocations: 0.7056 MB / 0.7698 GB, free: 10.32 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0001035/0.6673, allocations: 8.438 kB / 0.7698 GB, free: 10.3 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.885e-05/0.6673, allocations: 15.42 kB / 0.7698 GB, free: 10.29 MB / 362.7 MB Notification: Performance of SimCode: time 1.322e-06/0.6673, allocations: 4 kB / 0.7698 GB, free: 10.29 MB / 362.7 MB Notification: Performance of Templates: time 0.007065/0.6744, allocations: 1.688 MB / 0.7715 GB, free: 8.621 MB / 362.7 MB