Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test48.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.Test48,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.Test48") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo): time 0.004118/0.004118, allocations: 349.7 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.918/3.918, allocations: 341.5 MB / 358.2 MB, free: 12.61 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.003583/0.003583, allocations: 214.2 kB / 397.8 MB, free: 4.977 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.6044/0.6044, allocations: 76.09 MB / 0.5014 GB, free: 112.6 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0005026/0.0005029, allocations: 12 kB / 0.5592 GB, free: 53.46 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1449/0.1454, allocations: 48.71 MB / 0.6067 GB, free: 4.645 MB / 362.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.395/0.5405, allocations: 75.87 MB / 0.6808 GB, free: 36.88 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002463/0.5408, allocations: 67.97 kB / 0.6809 GB, free: 36.81 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01688/0.5577, allocations: 4.354 MB / 0.6851 GB, free: 32.55 MB / 362.7 MB Notification: Performance of FrontEnd: time 2.305e-06/0.5578, allocations: 3 kB / 0.6852 GB, free: 32.55 MB / 362.7 MB Notification: Performance of Transformations before backend: time 1.673e-05/0.5578, allocations: 4 kB / 0.6852 GB, free: 32.55 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.000536/0.5584, allocations: 449.7 kB / 0.6856 GB, free: 32.06 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.877e-05/0.5584, allocations: 8.031 kB / 0.6856 GB, free: 32.05 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.908e-05/0.5585, allocations: 19.81 kB / 0.6856 GB, free: 32.03 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002656/0.5588, allocations: 214.8 kB / 0.6858 GB, free: 31.78 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.71e-05/0.5588, allocations: 2.938 kB / 0.6858 GB, free: 31.78 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.458e-05/0.5588, allocations: 4 kB / 0.6858 GB, free: 31.78 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001166/0.5589, allocations: 44.73 kB / 0.6859 GB, free: 31.73 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.263e-05/0.559, allocations: 0 / 0.6859 GB, free: 31.73 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.247e-05/0.559, allocations: 8 kB / 0.6859 GB, free: 31.72 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.32e-06/0.559, allocations: 0 / 0.6859 GB, free: 31.72 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.276e-05/0.5591, allocations: 11.98 kB / 0.6859 GB, free: 31.71 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004066/0.5595, allocations: 315.9 kB / 0.6862 GB, free: 31.36 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002391/0.5598, allocations: 46.56 kB / 0.6862 GB, free: 31.3 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.85e-05/0.5598, allocations: 12.86 kB / 0.6862 GB, free: 31.29 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.643e-05/0.5598, allocations: 0 / 0.6862 GB, free: 31.29 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001314/0.56, allocations: 62.95 kB / 0.6863 GB, free: 31.21 MB / 362.7 MB Notification: Performance of pre-optimization done (n=4): time 2.034e-06/0.56, allocations: 0 / 0.6863 GB, free: 31.21 MB / 362.7 MB Notification: Performance of matching and sorting (n=5): time 0.0004789/0.5605, allocations: 121.2 kB / 0.6864 GB, free: 31.09 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.581e-05/0.5605, allocations: 55.41 kB / 0.6865 GB, free: 31.02 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003074/0.5608, allocations: 248 kB / 0.6867 GB, free: 30.77 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.657e-05/0.5609, allocations: 25.7 kB / 0.6867 GB, free: 30.73 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.857e-05/0.5609, allocations: 119.5 kB / 0.6868 GB, free: 30.62 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.577e-05/0.561, allocations: 9.406 kB / 0.6869 GB, free: 30.61 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.947e-06/0.561, allocations: 7.938 kB / 0.6869 GB, free: 30.6 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 6.728e-05/0.5611, allocations: 322.8 kB / 0.6872 GB, free: 30.28 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.948e-05/0.5612, allocations: 23.98 kB / 0.6872 GB, free: 30.25 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.42e-05/0.5612, allocations: 20 kB / 0.6872 GB, free: 30.23 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.823e-05/0.5613, allocations: 61.62 kB / 0.6873 GB, free: 30.17 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.453e-06/0.5614, allocations: 0 / 0.6873 GB, free: 30.17 MB / 362.7 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0002583/0.5616, allocations: 146.3 kB / 0.6874 GB, free: 30.02 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.565e-05/0.5617, allocations: 33.7 kB / 0.6874 GB, free: 29.98 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.5e-06/0.5617, allocations: 0 / 0.6874 GB, free: 29.98 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.529e-05/0.5617, allocations: 0 / 0.6874 GB, free: 29.98 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.058e-05/0.5618, allocations: 8 kB / 0.6874 GB, free: 29.97 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.792e-06/0.5618, allocations: 0 / 0.6874 GB, free: 29.97 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.319e-05/0.5619, allocations: 11.94 kB / 0.6875 GB, free: 29.96 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.616e-05/0.5619, allocations: 4 kB / 0.6875 GB, free: 29.96 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 0.0001137/0.5621, allocations: 136.6 kB / 0.6876 GB, free: 29.82 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.97e-05/0.5621, allocations: 8.688 kB / 0.6876 GB, free: 29.81 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002508/0.5624, allocations: 105 kB / 0.6877 GB, free: 29.71 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.977e-06/0.5624, allocations: 0 / 0.6877 GB, free: 29.71 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.819e-06/0.5624, allocations: 0 / 0.6877 GB, free: 29.71 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.977e-06/0.5624, allocations: 0 / 0.6877 GB, free: 29.71 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004275/0.5628, allocations: 380.4 kB / 0.6881 GB, free: 29.29 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.156e-06/0.5629, allocations: 0 / 0.6881 GB, free: 29.29 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.656e-05/0.5629, allocations: 11.94 kB / 0.6881 GB, free: 29.27 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.129e-06/0.5629, allocations: 0.6875 kB / 0.6881 GB, free: 29.27 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.237e-05/0.563, allocations: 3.984 kB / 0.6881 GB, free: 29.27 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.587e-06/0.563, allocations: 7.094 kB / 0.6881 GB, free: 29.27 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.535e-06/0.563, allocations: 3.953 kB / 0.6881 GB, free: 29.26 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001926/0.5632, allocations: 171.5 kB / 0.6883 GB, free: 29.08 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.932e-05/0.5633, allocations: 96.91 kB / 0.6883 GB, free: 28.96 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.422e-05/0.5633, allocations: 4 kB / 0.6884 GB, free: 28.96 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.472e-05/0.5634, allocations: 4 kB / 0.6884 GB, free: 28.96 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.356e-05/0.5635, allocations: 9.703 kB / 0.6884 GB, free: 28.95 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.174e-05/0.5635, allocations: 3.953 kB / 0.6884 GB, free: 28.95 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0002026/0.5637, allocations: 185.7 kB / 0.6885 GB, free: 28.77 MB / 362.7 MB Notification: Performance of sort global known variables: time 4.81e-07/0.5637, allocations: 0.7812 kB / 0.6885 GB, free: 28.77 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0003722/0.5641, allocations: 39.94 kB / 0.6886 GB, free: 28.73 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.00103/0.5651, allocations: 373.2 kB / 0.6889 GB, free: 28.55 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0002469/0.5654, allocations: 106.3 kB / 0.689 GB, free: 28.43 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.805e-06/0.5654, allocations: 0 / 0.689 GB, free: 28.43 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 6.349e-05/0.5655, allocations: 23.92 kB / 0.6891 GB, free: 28.41 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004578/0.566, allocations: 24.91 kB / 0.6891 GB, free: 28.39 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006196/0.5666, allocations: 270.4 kB / 0.6893 GB, free: 28.11 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001809/0.5668, allocations: 0.7181 MB / 0.69 GB, free: 27.36 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 6.304e-05/0.5669, allocations: 13.92 kB / 0.6901 GB, free: 27.35 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.679e-05/0.5669, allocations: 19.44 kB / 0.6901 GB, free: 27.33 MB / 362.7 MB Notification: Performance of SimCode: time 7.91e-07/0.567, allocations: 0 / 0.6901 GB, free: 27.33 MB / 362.7 MB Notification: Performance of Templates: time 0.005823/0.5728, allocations: 1.648 MB / 0.6917 GB, free: 25.82 MB / 362.7 MB