Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test22.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.Test22,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.Test22") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo): time 0.002711/0.002717, allocations: 347.2 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.994/3.994, allocations: 341.5 MB / 358.2 MB, free: 12.62 MB / 298.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo): time 0.00557/0.005571, allocations: 222.1 kB / 397.9 MB, free: 4.969 MB / 330.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+maint.om/package.mo): time 0.6306/0.6306, allocations: 76.11 MB / 0.5014 GB, free: 112.6 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0008341/0.0008345, allocations: 12 kB / 0.5592 GB, free: 53.46 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1139/0.1147, allocations: 48.7 MB / 0.6067 GB, free: 4.645 MB / 362.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4288/0.5436, allocations: 75.87 MB / 0.6808 GB, free: 36.88 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002684/0.5439, allocations: 75.02 kB / 0.6809 GB, free: 36.81 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.0169/0.5608, allocations: 4.027 MB / 0.6848 GB, free: 32.87 MB / 362.7 MB Notification: Performance of FrontEnd: time 3.968e-06/0.5609, allocations: 3.984 kB / 0.6848 GB, free: 32.86 MB / 362.7 MB Notification: Performance of Transformations before backend: time 1.395e-05/0.5609, allocations: 0 / 0.6848 GB, free: 32.86 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: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0005394/0.5615, allocations: 425.8 kB / 0.6852 GB, free: 32.4 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.005e-05/0.5615, allocations: 8.031 kB / 0.6852 GB, free: 32.39 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.188e-05/0.5616, allocations: 11.89 kB / 0.6853 GB, free: 32.38 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002558/0.5619, allocations: 208.9 kB / 0.6855 GB, free: 32.14 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.754e-05/0.5619, allocations: 0 / 0.6855 GB, free: 32.14 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.963e-05/0.562, allocations: 4 kB / 0.6855 GB, free: 32.13 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001211/0.5621, allocations: 41.69 kB / 0.6855 GB, free: 32.09 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.202e-05/0.5621, allocations: 3 kB / 0.6855 GB, free: 32.09 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.248e-05/0.5621, allocations: 0 / 0.6855 GB, free: 32.09 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.893e-06/0.5622, allocations: 4 kB / 0.6855 GB, free: 32.08 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.068e-05/0.5622, allocations: 15.98 kB / 0.6855 GB, free: 32.07 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000384/0.5626, allocations: 288.9 kB / 0.6858 GB, free: 31.73 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002378/0.5629, allocations: 50.48 kB / 0.6858 GB, free: 31.68 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.789e-05/0.5629, allocations: 12.86 kB / 0.6859 GB, free: 31.66 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.212e-05/0.563, allocations: 0 / 0.6859 GB, free: 31.66 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001316/0.5631, allocations: 59.48 kB / 0.6859 GB, free: 31.59 MB / 362.7 MB Notification: Performance of pre-optimization done (n=4): time 1.774e-06/0.5631, allocations: 0.5625 kB / 0.6859 GB, free: 31.59 MB / 362.7 MB Notification: Performance of matching and sorting (n=5): time 0.0004765/0.5636, allocations: 129 kB / 0.686 GB, free: 31.46 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.345e-05/0.5637, allocations: 56 kB / 0.6861 GB, free: 31.4 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00019/0.5639, allocations: 173.2 kB / 0.6863 GB, free: 31.22 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.823e-05/0.5639, allocations: 33.7 kB / 0.6863 GB, free: 31.18 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.715e-05/0.564, allocations: 96.12 kB / 0.6864 GB, free: 31.09 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.241e-05/0.564, allocations: 11.81 kB / 0.6864 GB, free: 31.07 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.127e-06/0.564, allocations: 4 kB / 0.6864 GB, free: 31.07 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 6.205e-05/0.5641, allocations: 322.8 kB / 0.6867 GB, free: 30.75 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.781e-05/0.5642, allocations: 22.55 kB / 0.6867 GB, free: 30.73 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.512e-05/0.5642, allocations: 27.98 kB / 0.6868 GB, free: 30.7 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.526e-05/0.5643, allocations: 57.39 kB / 0.6868 GB, free: 30.64 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.183e-06/0.5643, allocations: 0 / 0.6868 GB, free: 30.64 MB / 362.7 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0002404/0.5646, allocations: 135.2 kB / 0.6869 GB, free: 30.5 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.681e-05/0.5646, allocations: 33.7 kB / 0.687 GB, free: 30.46 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.59e-06/0.5647, allocations: 0 / 0.687 GB, free: 30.46 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.428e-05/0.5647, allocations: 1.531 kB / 0.687 GB, free: 30.46 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.974e-05/0.5648, allocations: 11.98 kB / 0.687 GB, free: 30.45 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.784e-06/0.5648, allocations: 3.953 kB / 0.687 GB, free: 30.44 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.856e-05/0.5649, allocations: 4 kB / 0.687 GB, free: 30.44 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.646e-05/0.5649, allocations: 7.438 kB / 0.687 GB, free: 30.43 MB / 362.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 9.335e-05/0.565, allocations: 119.9 kB / 0.6871 GB, free: 30.31 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.371e-05/0.565, allocations: 11.89 kB / 0.6871 GB, free: 30.3 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002431/0.5653, allocations: 93.17 kB / 0.6872 GB, free: 30.2 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.569e-06/0.5653, allocations: 4 kB / 0.6872 GB, free: 30.2 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.759e-06/0.5653, allocations: 0 / 0.6872 GB, free: 30.2 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.639e-06/0.5653, allocations: 6.641 kB / 0.6872 GB, free: 30.2 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004156/0.5658, allocations: 354.5 kB / 0.6876 GB, free: 29.79 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.695e-06/0.5658, allocations: 0 / 0.6876 GB, free: 29.79 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.558e-05/0.5658, allocations: 8 kB / 0.6876 GB, free: 29.79 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.23e-06/0.5659, allocations: 0 / 0.6876 GB, free: 29.79 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.169e-05/0.5659, allocations: 7.922 kB / 0.6876 GB, free: 29.78 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.05e-06/0.5659, allocations: 8.734 kB / 0.6876 GB, free: 29.77 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.633e-06/0.5659, allocations: 0 / 0.6876 GB, free: 29.77 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001845/0.5661, allocations: 170.3 kB / 0.6877 GB, free: 29.59 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.516e-05/0.5661, allocations: 93 kB / 0.6878 GB, free: 29.48 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.874e-05/0.5662, allocations: 0 / 0.6878 GB, free: 29.48 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.105e-05/0.5663, allocations: 4 kB / 0.6878 GB, free: 29.48 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.22e-05/0.5663, allocations: 3.953 kB / 0.6878 GB, free: 29.47 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.471e-05/0.5664, allocations: 13.92 kB / 0.6879 GB, free: 29.46 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0001228/0.5665, allocations: 127.8 kB / 0.688 GB, free: 29.34 MB / 362.7 MB Notification: Performance of sort global known variables: time 3.7e-07/0.5665, allocations: 0 / 0.688 GB, free: 29.34 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0003672/0.5669, allocations: 34.81 kB / 0.688 GB, free: 29.31 MB / 362.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.0009813/0.5679, allocations: 367.8 kB / 0.6884 GB, free: 29.13 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0002385/0.5681, allocations: 107.4 kB / 0.6885 GB, free: 29.02 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.865e-06/0.5682, allocations: 3.125 kB / 0.6885 GB, free: 29.02 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 6.287e-05/0.5682, allocations: 23.98 kB / 0.6885 GB, free: 28.99 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000421/0.5687, allocations: 14.28 kB / 0.6885 GB, free: 28.98 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004978/0.5692, allocations: 206 kB / 0.6887 GB, free: 28.76 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001667/0.5694, allocations: 0.7043 MB / 0.6894 GB, free: 28.03 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 5.891e-05/0.5694, allocations: 11.41 kB / 0.6894 GB, free: 28.02 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.008e-05/0.5695, allocations: 15.42 kB / 0.6894 GB, free: 28 MB / 362.7 MB Notification: Performance of SimCode: time 1.824e-06/0.5695, allocations: 0 / 0.6894 GB, free: 28 MB / 362.7 MB Notification: Performance of Templates: time 0.00553/0.575, allocations: 1.51 MB / 0.6909 GB, free: 26.63 MB / 362.7 MB