Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test4.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.Test4,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.Test4") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo): time 0.004079/0.004078, allocations: 348.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.425/3.425, 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.00367/0.00367, allocations: 220 kB / 397.9 MB, free: 6.152 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.5976/0.5976, allocations: 76.09 MB / 0.5014 GB, free: 0.832 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0005072/0.0005075, allocations: 16 kB / 0.5592 GB, free: 60.25 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08828/0.08882, allocations: 48.7 MB / 0.6067 GB, free: 11.54 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4386/0.5274, allocations: 75.85 MB / 0.6808 GB, free: 11.38 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002541/0.5278, allocations: 75.22 kB / 0.6809 GB, free: 11.34 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01628/0.5441, allocations: 4.158 MB / 0.685 GB, free: 7.996 MB / 314.7 MB Notification: Performance of FrontEnd: time 2.063e-06/0.5441, allocations: 0 / 0.685 GB, free: 7.996 MB / 314.7 MB Notification: Performance of Transformations before backend: time 1.391e-05/0.5441, allocations: 0 / 0.685 GB, free: 7.996 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.0005611/0.5447, allocations: 443.8 kB / 0.6854 GB, free: 7.52 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.942e-05/0.5448, allocations: 8.031 kB / 0.6854 GB, free: 7.512 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.583e-05/0.5448, allocations: 15.81 kB / 0.6854 GB, free: 7.496 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002373/0.5451, allocations: 202 kB / 0.6856 GB, free: 7.266 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.804e-05/0.5451, allocations: 0 / 0.6856 GB, free: 7.266 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.693e-05/0.5451, allocations: 7.5 kB / 0.6856 GB, free: 7.262 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001193/0.5453, allocations: 45.17 kB / 0.6856 GB, free: 7.215 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.221e-05/0.5453, allocations: 0 / 0.6856 GB, free: 7.215 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.289e-05/0.5453, allocations: 4 kB / 0.6856 GB, free: 7.211 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.009e-06/0.5453, allocations: 0 / 0.6856 GB, free: 7.211 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.856e-05/0.5454, allocations: 19.8 kB / 0.6857 GB, free: 7.195 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003993/0.5458, allocations: 305.6 kB / 0.686 GB, free: 6.867 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002296/0.5461, allocations: 41.19 kB / 0.686 GB, free: 6.824 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.751e-05/0.5461, allocations: 12.67 kB / 0.686 GB, free: 6.812 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.646e-05/0.5461, allocations: 4 kB / 0.686 GB, free: 6.809 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001293/0.5463, allocations: 58.92 kB / 0.6861 GB, free: 6.742 MB / 314.7 MB Notification: Performance of pre-optimization done (n=4): time 1.773e-06/0.5463, allocations: 0 / 0.6861 GB, free: 6.742 MB / 314.7 MB Notification: Performance of matching and sorting (n=5): time 0.0004771/0.5468, allocations: 126.3 kB / 0.6862 GB, free: 6.629 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.901e-05/0.5468, allocations: 55.34 kB / 0.6862 GB, free: 6.562 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002353/0.5471, allocations: 196 kB / 0.6864 GB, free: 6.391 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 1.507e-05/0.5471, allocations: 25.7 kB / 0.6865 GB, free: 6.359 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.159e-05/0.5472, allocations: 105.6 kB / 0.6866 GB, free: 6.266 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.513e-05/0.5472, allocations: 15.06 kB / 0.6866 GB, free: 6.254 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.687e-06/0.5472, allocations: 7.938 kB / 0.6866 GB, free: 6.246 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 6.398e-05/0.5473, allocations: 318.3 kB / 0.6869 GB, free: 5.93 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.869e-05/0.5474, allocations: 27.05 kB / 0.6869 GB, free: 5.91 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.258e-05/0.5474, allocations: 22.44 kB / 0.6869 GB, free: 5.898 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.764e-05/0.5475, allocations: 59.97 kB / 0.687 GB, free: 5.844 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.343e-06/0.5476, allocations: 0 / 0.687 GB, free: 5.844 MB / 314.7 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0002502/0.5478, allocations: 135.3 kB / 0.6871 GB, free: 5.719 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.76e-05/0.5479, allocations: 33.14 kB / 0.6871 GB, free: 5.684 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.77e-06/0.5479, allocations: 0 / 0.6871 GB, free: 5.684 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.772e-05/0.5479, allocations: 0 / 0.6871 GB, free: 5.684 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.03e-05/0.548, allocations: 11.19 kB / 0.6872 GB, free: 5.676 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.248e-06/0.548, allocations: 4 kB / 0.6872 GB, free: 5.672 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.078e-05/0.5481, allocations: 11.94 kB / 0.6872 GB, free: 5.66 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.629e-05/0.5481, allocations: 4 kB / 0.6872 GB, free: 5.656 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 9.956e-05/0.5482, allocations: 122.8 kB / 0.6873 GB, free: 5.531 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.024e-05/0.5483, allocations: 15.45 kB / 0.6873 GB, free: 5.52 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002467/0.5485, allocations: 87.92 kB / 0.6874 GB, free: 5.441 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.029e-06/0.5486, allocations: 4 kB / 0.6874 GB, free: 5.438 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.51e-06/0.5486, allocations: 0 / 0.6874 GB, free: 5.438 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.117e-06/0.5486, allocations: 0 / 0.6874 GB, free: 5.438 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004085/0.549, allocations: 372.7 kB / 0.6877 GB, free: 5.051 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.625e-06/0.549, allocations: 0 / 0.6877 GB, free: 5.051 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.645e-05/0.5491, allocations: 8.188 kB / 0.6878 GB, free: 5.043 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.927e-06/0.5491, allocations: 0 / 0.6878 GB, free: 5.043 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.301e-05/0.5491, allocations: 8 kB / 0.6878 GB, free: 5.035 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.464e-06/0.5491, allocations: 0 / 0.6878 GB, free: 5.035 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.525e-06/0.5491, allocations: 3.953 kB / 0.6878 GB, free: 5.031 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001993/0.5494, allocations: 176.3 kB / 0.6879 GB, free: 4.859 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.198e-05/0.5494, allocations: 89.02 kB / 0.688 GB, free: 4.754 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.213e-05/0.5495, allocations: 4 kB / 0.688 GB, free: 4.75 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.27e-05/0.5496, allocations: 7.297 kB / 0.688 GB, free: 4.746 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.513e-05/0.5496, allocations: 4 kB / 0.688 GB, free: 4.742 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.316e-05/0.5496, allocations: 3.953 kB / 0.688 GB, free: 4.738 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0001598/0.5498, allocations: 156.5 kB / 0.6882 GB, free: 4.605 MB / 314.7 MB Notification: Performance of sort global known variables: time 4.1e-07/0.5498, allocations: 0 / 0.6882 GB, free: 4.605 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0003801/0.5502, allocations: 42.98 kB / 0.6882 GB, free: 4.566 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.001054/0.5513, allocations: 356.1 kB / 0.6886 GB, free: 4.34 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0002585/0.5516, allocations: 113.3 kB / 0.6887 GB, free: 4.234 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 3.256e-06/0.5516, allocations: 0 / 0.6887 GB, free: 4.234 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 6.59e-05/0.5516, allocations: 19.88 kB / 0.6887 GB, free: 4.219 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004341/0.5521, allocations: 19.8 kB / 0.6887 GB, free: 4.207 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006081/0.5527, allocations: 235.4 kB / 0.6889 GB, free: 3.965 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001986/0.5529, allocations: 0.7043 MB / 0.6896 GB, free: 3.234 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 6.639e-05/0.553, allocations: 24.06 kB / 0.6896 GB, free: 3.215 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.258e-05/0.5531, allocations: 15.44 kB / 0.6897 GB, free: 3.199 MB / 314.7 MB Notification: Performance of SimCode: time 1.583e-06/0.5531, allocations: 0 / 0.6897 GB, free: 3.199 MB / 314.7 MB Notification: Performance of Templates: time 0.005756/0.5589, allocations: 1.557 MB / 0.6912 GB, free: 1.672 MB / 314.7 MB