Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test2.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.Test2,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.Test2") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo): time 0.003551/0.003551, allocations: 347.4 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.673/3.673, allocations: 341.5 MB / 358.2 MB, free: 28.75 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.003579/0.003579, allocations: 213 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.5917/0.5917, allocations: 76.1 MB / 0.5014 GB, free: 0.8125 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0007187/0.000719, allocations: 12 kB / 0.5592 GB, free: 60.25 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08845/0.08921, allocations: 48.71 MB / 0.6067 GB, free: 11.54 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5547/0.6439, allocations: 75.82 MB / 0.6808 GB, free: 11.42 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003151/0.6443, allocations: 71.66 kB / 0.6809 GB, free: 11.38 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.0207/0.665, allocations: 3.846 MB / 0.6846 GB, free: 8.316 MB / 314.7 MB Notification: Performance of FrontEnd: time 3.577e-06/0.6651, allocations: 0 / 0.6846 GB, free: 8.316 MB / 314.7 MB Notification: Performance of Transformations before backend: time 1.94e-05/0.6652, allocations: 3.938 kB / 0.6846 GB, free: 8.312 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.0006177/0.6658, allocations: 420.2 kB / 0.685 GB, free: 7.855 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.892e-05/0.6659, allocations: 12.03 kB / 0.685 GB, free: 7.844 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.208e-05/0.6659, allocations: 7.906 kB / 0.685 GB, free: 7.836 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002784/0.6662, allocations: 198.3 kB / 0.6852 GB, free: 7.613 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.433e-05/0.6663, allocations: 4 kB / 0.6852 GB, free: 7.609 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.37e-05/0.6663, allocations: 4 kB / 0.6852 GB, free: 7.605 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001576/0.6665, allocations: 45.42 kB / 0.6853 GB, free: 7.559 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.628e-05/0.6665, allocations: 0 / 0.6853 GB, free: 7.559 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.743e-05/0.6666, allocations: 3.25 kB / 0.6853 GB, free: 7.559 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.714e-06/0.6666, allocations: 0 / 0.6853 GB, free: 7.559 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.811e-05/0.6667, allocations: 23.61 kB / 0.6853 GB, free: 7.539 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005103/0.6672, allocations: 280.9 kB / 0.6856 GB, free: 7.23 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003151/0.6676, allocations: 42 kB / 0.6856 GB, free: 7.188 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.526e-05/0.6676, allocations: 16.81 kB / 0.6856 GB, free: 7.172 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.213e-05/0.6677, allocations: 7.984 kB / 0.6856 GB, free: 7.164 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001969/0.6679, allocations: 61.81 kB / 0.6857 GB, free: 7.094 MB / 314.7 MB Notification: Performance of pre-optimization done (n=4): time 3.266e-06/0.6679, allocations: 0 / 0.6857 GB, free: 7.094 MB / 314.7 MB Notification: Performance of matching and sorting (n=5): time 0.0006617/0.6686, allocations: 118.2 kB / 0.6858 GB, free: 6.992 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.553e-05/0.6686, allocations: 51.41 kB / 0.6859 GB, free: 6.93 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000224/0.6689, allocations: 159.2 kB / 0.686 GB, free: 6.777 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 2.348e-05/0.6689, allocations: 29.7 kB / 0.686 GB, free: 6.742 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.916e-05/0.669, allocations: 93.55 kB / 0.6861 GB, free: 6.652 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.213e-05/0.6691, allocations: 11.33 kB / 0.6861 GB, free: 6.645 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.198e-05/0.6691, allocations: 8 kB / 0.6861 GB, free: 6.637 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 8.729e-05/0.6692, allocations: 314.2 kB / 0.6864 GB, free: 6.324 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000101/0.6693, allocations: 26.36 kB / 0.6865 GB, free: 6.309 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.257e-05/0.6694, allocations: 30.17 kB / 0.6865 GB, free: 6.289 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001295/0.6696, allocations: 52.05 kB / 0.6865 GB, free: 6.242 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.964e-06/0.6696, allocations: 3.938 kB / 0.6865 GB, free: 6.238 MB / 314.7 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0003712/0.67, allocations: 133.7 kB / 0.6867 GB, free: 6.117 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.994e-05/0.67, allocations: 33.7 kB / 0.6867 GB, free: 6.078 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.165e-06/0.6701, allocations: 0 / 0.6867 GB, free: 6.078 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.773e-05/0.6701, allocations: 4 kB / 0.6867 GB, free: 6.074 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000109/0.6702, allocations: 11.98 kB / 0.6867 GB, free: 6.062 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.835e-06/0.6703, allocations: 0 / 0.6867 GB, free: 6.062 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.747e-05/0.6704, allocations: 7.953 kB / 0.6867 GB, free: 6.055 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.276e-05/0.6704, allocations: 7.5 kB / 0.6867 GB, free: 6.051 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.0001192/0.6706, allocations: 118.2 kB / 0.6868 GB, free: 5.93 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.255e-05/0.6706, allocations: 7.906 kB / 0.6869 GB, free: 5.922 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003375/0.671, allocations: 95.03 kB / 0.6869 GB, free: 5.84 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.08e-06/0.671, allocations: 4 kB / 0.6869 GB, free: 5.836 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.342e-06/0.671, allocations: 0 / 0.6869 GB, free: 5.836 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.502e-06/0.671, allocations: 4 kB / 0.687 GB, free: 5.832 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000522/0.6716, allocations: 345.8 kB / 0.6873 GB, free: 5.465 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.34e-06/0.6716, allocations: 3.984 kB / 0.6873 GB, free: 5.461 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.35e-05/0.6717, allocations: 8 kB / 0.6873 GB, free: 5.453 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.25e-06/0.6717, allocations: 0 / 0.6873 GB, free: 5.453 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.526e-05/0.6717, allocations: 0 / 0.6873 GB, free: 5.453 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.507e-06/0.6717, allocations: 0 / 0.6873 GB, free: 5.453 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.631e-06/0.6718, allocations: 3.953 kB / 0.6873 GB, free: 5.449 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002641/0.672, allocations: 176.9 kB / 0.6875 GB, free: 5.273 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.917e-05/0.6721, allocations: 85.05 kB / 0.6875 GB, free: 5.172 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.134e-05/0.6722, allocations: 3.312 kB / 0.6876 GB, free: 5.172 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001488/0.6723, allocations: 4 kB / 0.6876 GB, free: 5.168 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.602e-05/0.6724, allocations: 3.984 kB / 0.6876 GB, free: 5.164 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.873e-05/0.6724, allocations: 7.953 kB / 0.6876 GB, free: 5.156 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0001439/0.6726, allocations: 117.5 kB / 0.6877 GB, free: 5.051 MB / 314.7 MB Notification: Performance of sort global known variables: time 9.02e-07/0.6726, allocations: 4 kB / 0.6877 GB, free: 5.047 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0006195/0.6733, allocations: 31.44 kB / 0.6877 GB, free: 5.02 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.001428/0.6747, allocations: 361.6 kB / 0.6881 GB, free: 4.789 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0003318/0.6751, allocations: 116.2 kB / 0.6882 GB, free: 4.684 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 5.01e-06/0.6751, allocations: 0 / 0.6882 GB, free: 4.684 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 8.526e-05/0.6752, allocations: 27.73 kB / 0.6882 GB, free: 4.66 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000662/0.6759, allocations: 11.41 kB / 0.6882 GB, free: 4.652 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005775/0.6765, allocations: 176.5 kB / 0.6884 GB, free: 4.461 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002055/0.6767, allocations: 0.7004 MB / 0.6891 GB, free: 3.734 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 7.581e-05/0.6768, allocations: 16.11 kB / 0.6891 GB, free: 3.719 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.992e-05/0.6769, allocations: 18.75 kB / 0.6891 GB, free: 3.703 MB / 314.7 MB Notification: Performance of SimCode: time 1.262e-06/0.6769, allocations: 0 / 0.6891 GB, free: 3.703 MB / 314.7 MB Notification: Performance of Templates: time 0.007165/0.6841, allocations: 1.461 MB / 0.6905 GB, free: 2.273 MB / 314.7 MB