Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test8.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.Test8,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.nextTimeEvent|t_new.y.1.|t_new.y.2.|d_t_new.y",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test8") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo): time 0.004532/0.004539, allocations: 346.5 kB / 15.93 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.281/3.281, allocations: 341.5 MB / 358.2 MB, free: 28.73 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.006834/0.006834, allocations: 221 kB / 397.8 MB, free: 6.148 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.6165/0.6165, allocations: 76.09 MB / 0.5014 GB, free: 0.8359 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004785/0.0004788, allocations: 15.98 kB / 0.5592 GB, free: 60.25 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08956/0.09007, allocations: 48.7 MB / 0.6067 GB, free: 11.54 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4587/0.5489, allocations: 75.87 MB / 0.6808 GB, free: 11.44 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003091/0.5493, allocations: 76.06 kB / 0.6809 GB, free: 11.4 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01751/0.5668, allocations: 4.55 MB / 0.6853 GB, free: 7.719 MB / 314.7 MB Notification: Performance of FrontEnd: time 2.275e-06/0.5668, allocations: 0 / 0.6853 GB, free: 7.719 MB / 314.7 MB Notification: Performance of Transformations before backend: time 1.479e-05/0.5669, allocations: 8 kB / 0.6854 GB, free: 7.711 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0005142/0.5674, allocations: 451.7 kB / 0.6858 GB, free: 7.227 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.645e-05/0.5674, allocations: 8.031 kB / 0.6858 GB, free: 7.219 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.399e-05/0.5675, allocations: 15.81 kB / 0.6858 GB, free: 7.203 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002586/0.5678, allocations: 205.8 kB / 0.686 GB, free: 6.969 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.881e-05/0.5678, allocations: 0 / 0.686 GB, free: 6.969 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.995e-05/0.5679, allocations: 11.92 kB / 0.686 GB, free: 6.957 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001301/0.568, allocations: 48.69 kB / 0.6861 GB, free: 6.91 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.312e-05/0.568, allocations: 7.984 kB / 0.6861 GB, free: 6.902 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.309e-05/0.568, allocations: 3.625 kB / 0.6861 GB, free: 6.902 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.22e-06/0.5681, allocations: 4 kB / 0.6861 GB, free: 6.898 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.502e-05/0.5682, allocations: 23.23 kB / 0.6861 GB, free: 6.879 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004225/0.5686, allocations: 324.8 kB / 0.6864 GB, free: 6.543 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001229/0.5687, allocations: 56.73 kB / 0.6865 GB, free: 6.488 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.792e-05/0.5688, allocations: 11.98 kB / 0.6865 GB, free: 6.477 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.846e-05/0.5688, allocations: 8 kB / 0.6865 GB, free: 6.469 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001329/0.569, allocations: 70.42 kB / 0.6865 GB, free: 6.395 MB / 314.7 MB Notification: Performance of pre-optimization done (n=5): time 2.585e-06/0.569, allocations: 0 / 0.6865 GB, free: 6.395 MB / 314.7 MB Notification: Performance of matching and sorting (n=6): time 0.000559/0.5696, allocations: 145.5 kB / 0.6867 GB, free: 6.27 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.612e-05/0.5696, allocations: 59.3 kB / 0.6867 GB, free: 6.199 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002927/0.5699, allocations: 234.2 kB / 0.687 GB, free: 5.996 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 1.846e-05/0.57, allocations: 29.7 kB / 0.687 GB, free: 5.961 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.47e-05/0.57, allocations: 105.7 kB / 0.6871 GB, free: 5.871 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.858e-05/0.5701, allocations: 27.58 kB / 0.6871 GB, free: 5.848 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.526e-06/0.5701, allocations: 0 / 0.6871 GB, free: 5.848 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 6.598e-05/0.5702, allocations: 322.4 kB / 0.6874 GB, free: 5.527 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.127e-05/0.5702, allocations: 28.92 kB / 0.6875 GB, free: 5.508 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.566e-05/0.5703, allocations: 30.3 kB / 0.6875 GB, free: 5.488 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001144/0.5705, allocations: 55.23 kB / 0.6875 GB, free: 5.441 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.492e-06/0.5705, allocations: 3.938 kB / 0.6875 GB, free: 5.438 MB / 314.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.000291/0.5708, allocations: 152.5 kB / 0.6877 GB, free: 5.301 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.394e-05/0.5708, allocations: 37.7 kB / 0.6877 GB, free: 5.258 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.53e-06/0.5708, allocations: 0 / 0.6877 GB, free: 5.258 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.597e-05/0.5709, allocations: 0 / 0.6877 GB, free: 5.258 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001155/0.571, allocations: 15.88 kB / 0.6877 GB, free: 5.246 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.065e-06/0.571, allocations: 7.938 kB / 0.6877 GB, free: 5.238 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.258e-05/0.5711, allocations: 0 / 0.6877 GB, free: 5.238 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.673e-05/0.5711, allocations: 4 kB / 0.6877 GB, free: 5.234 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 (8): * Single equations (assignments): 7 * 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.0001102/0.5712, allocations: 134.8 kB / 0.6879 GB, free: 5.102 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.009e-05/0.5713, allocations: 11.81 kB / 0.6879 GB, free: 5.09 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002969/0.5716, allocations: 123 kB / 0.688 GB, free: 4.992 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.378e-06/0.5716, allocations: 0 / 0.688 GB, free: 4.992 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.889e-06/0.5716, allocations: 3.938 kB / 0.688 GB, free: 4.988 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.211e-06/0.5716, allocations: 11.94 kB / 0.688 GB, free: 4.977 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004887/0.5721, allocations: 403.6 kB / 0.6884 GB, free: 4.57 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.625e-06/0.5722, allocations: 0 / 0.6884 GB, free: 4.57 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.558e-05/0.5722, allocations: 11.98 kB / 0.6884 GB, free: 4.559 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.457e-06/0.5723, allocations: 0 / 0.6884 GB, free: 4.559 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.338e-05/0.5723, allocations: 4 kB / 0.6884 GB, free: 4.555 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.176e-06/0.5723, allocations: 8.031 kB / 0.6884 GB, free: 4.547 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.635e-06/0.5723, allocations: 3.984 kB / 0.6884 GB, free: 4.543 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002366/0.5725, allocations: 192.8 kB / 0.6886 GB, free: 4.355 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.688e-05/0.5726, allocations: 96.91 kB / 0.6887 GB, free: 4.242 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.691e-05/0.5727, allocations: 3.812 kB / 0.6887 GB, free: 4.242 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.825e-05/0.5728, allocations: 4 kB / 0.6887 GB, free: 4.238 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.779e-05/0.5728, allocations: 15.89 kB / 0.6887 GB, free: 4.223 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.707e-05/0.5729, allocations: 11.42 kB / 0.6887 GB, free: 4.215 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0002408/0.5731, allocations: 179.1 kB / 0.6889 GB, free: 4.066 MB / 314.7 MB Notification: Performance of sort global known variables: time 4.41e-07/0.5731, allocations: 0 / 0.6889 GB, free: 4.066 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0003767/0.5735, allocations: 43.44 kB / 0.689 GB, free: 4.027 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 (8): * Single equations (assignments): 7 * 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.0009548/0.5745, allocations: 354.2 kB / 0.6893 GB, free: 3.805 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0002657/0.5748, allocations: 124.3 kB / 0.6894 GB, free: 3.691 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 2.955e-06/0.5748, allocations: 0 / 0.6894 GB, free: 3.691 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 7.904e-05/0.5749, allocations: 30.25 kB / 0.6894 GB, free: 3.668 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004153/0.5753, allocations: 18.61 kB / 0.6895 GB, free: 3.652 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005859/0.5759, allocations: 281.9 kB / 0.6897 GB, free: 3.367 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001916/0.5761, allocations: 0.7232 MB / 0.6904 GB, free: 2.621 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 8.701e-05/0.5762, allocations: 20.88 kB / 0.6905 GB, free: 2.602 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.05e-05/0.5763, allocations: 19.42 kB / 0.6905 GB, free: 2.582 MB / 314.7 MB Notification: Performance of SimCode: time 1.052e-06/0.5763, allocations: 0 / 0.6905 GB, free: 2.582 MB / 314.7 MB Notification: Performance of Templates: time 0.005984/0.5823, allocations: 1.754 MB / 0.6922 GB, free: 0.8633 MB / 314.7 MB