Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test46.conf.json Using package ModelicaTest with version 3.2.1 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+maint.om/package.mo) Using package ModelicaServices with version 3.2.1 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo) Using package Modelica with version 3.2.1 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo) Using package Complex with version 3.2.1 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo) Running command: translateModel(ModelicaTest.Tables.CombiTimeTable.Test46,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.nextTimeEvent|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test46") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo): time 0.002558/0.002558, allocations: 347.2 kB / 15.94 MB, free: 6.219 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo): time 3.52/3.52, allocations: 341.5 MB / 358.2 MB, free: 28.6 MB / 170.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo): time 0.004323/0.004323, allocations: 223.6 kB / 397.8 MB, free: 6.004 MB / 186.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+maint.om/package.mo): time 0.5179/0.5179, allocations: 76.1 MB / 0.5014 GB, free: 0.793 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0005014/0.0005017, allocations: 12 kB / 0.5592 GB, free: 60.25 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1481/0.1487, allocations: 48.71 MB / 0.6067 GB, free: 11.53 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5056/0.6544, allocations: 75.85 MB / 0.6808 GB, free: 11.29 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002913/0.6547, allocations: 75.89 kB / 0.6809 GB, free: 11.25 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01721/0.672, allocations: 4.344 MB / 0.6851 GB, free: 7.73 MB / 314.7 MB Notification: Performance of FrontEnd: time 2.154e-06/0.672, allocations: 4 kB / 0.6851 GB, free: 7.727 MB / 314.7 MB Notification: Performance of Transformations before backend: time 1.432e-05/0.672, allocations: 0 / 0.6851 GB, free: 7.727 MB / 314.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.000513/0.6726, allocations: 451.2 kB / 0.6856 GB, free: 7.242 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.641e-05/0.6726, allocations: 8.031 kB / 0.6856 GB, free: 7.234 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.227e-05/0.6727, allocations: 15.81 kB / 0.6856 GB, free: 7.219 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002906/0.673, allocations: 213.9 kB / 0.6858 GB, free: 6.977 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.676e-05/0.673, allocations: 5.812 kB / 0.6858 GB, free: 6.973 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.431e-05/0.673, allocations: 4 kB / 0.6858 GB, free: 6.969 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001187/0.6732, allocations: 51.55 kB / 0.6859 GB, free: 6.918 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.292e-05/0.6732, allocations: 3.984 kB / 0.6859 GB, free: 6.914 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.21e-05/0.6732, allocations: 0 / 0.6859 GB, free: 6.914 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.789e-06/0.6732, allocations: 0 / 0.6859 GB, free: 6.914 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.563e-05/0.6733, allocations: 11.62 kB / 0.6859 GB, free: 6.906 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003856/0.6737, allocations: 317.8 kB / 0.6862 GB, free: 6.57 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002231/0.6739, allocations: 37.81 kB / 0.6862 GB, free: 6.527 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.679e-05/0.674, allocations: 16.42 kB / 0.6862 GB, free: 6.512 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.688e-05/0.674, allocations: 4 kB / 0.6862 GB, free: 6.508 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001202/0.6742, allocations: 58.05 kB / 0.6863 GB, free: 6.445 MB / 314.7 MB Notification: Performance of pre-optimization done (n=4): time 1.764e-06/0.6742, allocations: 0 / 0.6863 GB, free: 6.445 MB / 314.7 MB Notification: Performance of matching and sorting (n=5): time 0.0004797/0.6747, allocations: 130.3 kB / 0.6864 GB, free: 6.328 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.663e-05/0.6747, allocations: 51.41 kB / 0.6865 GB, free: 6.266 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003203/0.675, allocations: 243 kB / 0.6867 GB, free: 6.051 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 1.686e-05/0.6751, allocations: 33.7 kB / 0.6867 GB, free: 6.012 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.827e-05/0.6751, allocations: 109.2 kB / 0.6868 GB, free: 5.918 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.275e-05/0.6752, allocations: 11.53 kB / 0.6868 GB, free: 5.91 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.017e-06/0.6752, allocations: 0 / 0.6868 GB, free: 5.91 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 6.603e-05/0.6753, allocations: 330.3 kB / 0.6871 GB, free: 5.586 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.742e-05/0.6753, allocations: 29.98 kB / 0.6872 GB, free: 5.566 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.209e-05/0.6754, allocations: 23.17 kB / 0.6872 GB, free: 5.551 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.93e-05/0.6755, allocations: 52.42 kB / 0.6872 GB, free: 5.504 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.723e-06/0.6755, allocations: 3.938 kB / 0.6873 GB, free: 5.5 MB / 314.7 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0002469/0.6758, allocations: 143.7 kB / 0.6874 GB, free: 5.367 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.546e-05/0.6758, allocations: 32.95 kB / 0.6874 GB, free: 5.332 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.712e-06/0.6758, allocations: 4 kB / 0.6874 GB, free: 5.328 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.841e-05/0.6759, allocations: 0 / 0.6874 GB, free: 5.328 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.809e-05/0.676, allocations: 11.98 kB / 0.6874 GB, free: 5.316 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.693e-06/0.676, allocations: 0 / 0.6874 GB, free: 5.316 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.199e-05/0.6761, allocations: 7.953 kB / 0.6874 GB, free: 5.309 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.409e-05/0.6761, allocations: 0 / 0.6874 GB, free: 5.309 MB / 314.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,$PRE.t_new.nextTimeEvent,t_new.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (7): * Single equations (assignments): 6 * 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.0001024/0.6762, allocations: 133.4 kB / 0.6876 GB, free: 5.176 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.062e-05/0.6762, allocations: 15.91 kB / 0.6876 GB, free: 5.16 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002389/0.6765, allocations: 95.27 kB / 0.6877 GB, free: 5.082 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.479e-06/0.6765, allocations: 4 kB / 0.6877 GB, free: 5.078 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.05e-06/0.6765, allocations: 3.984 kB / 0.6877 GB, free: 5.074 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.847e-06/0.6765, allocations: 0 / 0.6877 GB, free: 5.074 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004365/0.677, allocations: 373.4 kB / 0.688 GB, free: 4.688 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.214e-06/0.677, allocations: 0 / 0.688 GB, free: 4.688 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.364e-05/0.6771, allocations: 11.92 kB / 0.6881 GB, free: 4.676 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.238e-06/0.6771, allocations: 8.188 kB / 0.6881 GB, free: 4.668 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.159e-05/0.6771, allocations: 4 kB / 0.6881 GB, free: 4.664 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.013e-06/0.6771, allocations: 0 / 0.6881 GB, free: 4.664 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.575e-06/0.6771, allocations: 4.234 kB / 0.6881 GB, free: 4.66 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001916/0.6773, allocations: 176 kB / 0.6882 GB, free: 4.488 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.039e-05/0.6774, allocations: 100.9 kB / 0.6883 GB, free: 4.371 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.497e-05/0.6774, allocations: 3.5 kB / 0.6883 GB, free: 4.371 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.716e-05/0.6775, allocations: 8 kB / 0.6883 GB, free: 4.363 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.179e-05/0.6776, allocations: 3.984 kB / 0.6883 GB, free: 4.359 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.248e-05/0.6776, allocations: 7.953 kB / 0.6884 GB, free: 4.352 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0002022/0.6778, allocations: 184.1 kB / 0.6885 GB, free: 4.203 MB / 314.7 MB Notification: Performance of sort global known variables: time 3.51e-07/0.6778, allocations: 0 / 0.6885 GB, free: 4.203 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0003789/0.6782, allocations: 43.11 kB / 0.6886 GB, free: 4.164 MB / 314.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 2 ($whenCondition1,t_new.nextTimeEvent) * Number of discrete states: 1 (t_new.nextTimeEvent) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (6): * Single equations (assignments): 5 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * 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.0009856/0.6792, allocations: 365.4 kB / 0.6889 GB, free: 3.93 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0002402/0.6795, allocations: 116.4 kB / 0.689 GB, free: 3.824 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 3.276e-06/0.6795, allocations: 0 / 0.689 GB, free: 3.824 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 6.668e-05/0.6796, allocations: 14.94 kB / 0.689 GB, free: 3.812 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004253/0.68, allocations: 20.14 kB / 0.6891 GB, free: 3.793 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005756/0.6806, allocations: 277.5 kB / 0.6893 GB, free: 3.52 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001763/0.6808, allocations: 0.716 MB / 0.69 GB, free: 2.781 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 6.395e-05/0.6809, allocations: 15.98 kB / 0.69 GB, free: 2.766 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.415e-05/0.681, allocations: 18.25 kB / 0.6901 GB, free: 2.75 MB / 314.7 MB Notification: Performance of SimCode: time 9.12e-07/0.681, allocations: 4 kB / 0.6901 GB, free: 2.746 MB / 314.7 MB Notification: Performance of Templates: time 0.005684/0.6867, allocations: 1.656 MB / 0.6917 GB, free: 1.125 MB / 314.7 MB