Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test42.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.Test42,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.Test42") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo): time 0.002596/0.002595, allocations: 350.6 kB / 15.94 MB, free: 6.215 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.871/3.871, 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.005577/0.005576, 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.6003/0.6003, allocations: 76.1 MB / 0.5014 GB, free: 112.6 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0005067/0.0005072, allocations: 16 kB / 0.5592 GB, free: 53.46 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09596/0.0965, allocations: 48.7 MB / 0.6067 GB, free: 4.652 MB / 362.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4492/0.5458, allocations: 75.86 MB / 0.6808 GB, free: 36.9 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002727/0.5462, allocations: 71.97 kB / 0.6809 GB, free: 36.83 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01668/0.5629, allocations: 4.087 MB / 0.6849 GB, free: 32.82 MB / 362.7 MB Notification: Performance of FrontEnd: time 3.126e-06/0.5629, allocations: 4 kB / 0.6849 GB, free: 32.82 MB / 362.7 MB Notification: Performance of Transformations before backend: time 1.322e-05/0.563, allocations: 0 / 0.6849 GB, free: 32.82 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.0004916/0.5635, allocations: 436.8 kB / 0.6853 GB, free: 32.35 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.037e-05/0.5635, allocations: 8.031 kB / 0.6853 GB, free: 32.34 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.32e-05/0.5636, allocations: 11.84 kB / 0.6853 GB, free: 32.33 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002342/0.5638, allocations: 211.1 kB / 0.6855 GB, free: 32.08 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.63e-05/0.5639, allocations: 0 / 0.6855 GB, free: 32.08 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.491e-05/0.5639, allocations: 4 kB / 0.6855 GB, free: 32.08 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001179/0.564, allocations: 49.45 kB / 0.6856 GB, free: 32.03 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.272e-05/0.5641, allocations: 0 / 0.6856 GB, free: 32.03 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.241e-05/0.5641, allocations: 0 / 0.6856 GB, free: 32.03 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.422e-06/0.5641, allocations: 4 kB / 0.6856 GB, free: 32.02 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.5e-05/0.5642, allocations: 18.75 kB / 0.6856 GB, free: 32.01 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003916/0.5646, allocations: 296.7 kB / 0.6859 GB, free: 31.67 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002328/0.5648, allocations: 48.25 kB / 0.6859 GB, free: 31.61 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.814e-05/0.5649, allocations: 8.859 kB / 0.6859 GB, free: 31.6 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.61e-05/0.5649, allocations: 0 / 0.6859 GB, free: 31.6 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000138/0.565, allocations: 65.92 kB / 0.686 GB, free: 31.53 MB / 362.7 MB Notification: Performance of pre-optimization done (n=4): time 1.843e-06/0.5651, allocations: 3.938 kB / 0.686 GB, free: 31.52 MB / 362.7 MB Notification: Performance of matching and sorting (n=5): time 0.0004922/0.5656, allocations: 109.4 kB / 0.6861 GB, free: 31.41 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.695e-05/0.5656, allocations: 55.39 kB / 0.6862 GB, free: 31.34 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002154/0.5658, allocations: 191.2 kB / 0.6863 GB, free: 31.15 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 2.18e-05/0.5659, allocations: 25.7 kB / 0.6864 GB, free: 31.12 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.374e-05/0.566, allocations: 108 kB / 0.6865 GB, free: 31.01 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.655e-05/0.566, allocations: 19.8 kB / 0.6865 GB, free: 30.99 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.925e-06/0.566, allocations: 0 / 0.6865 GB, free: 30.99 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 6.46e-05/0.5661, allocations: 322.8 kB / 0.6868 GB, free: 30.67 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.947e-05/0.5662, allocations: 23.98 kB / 0.6868 GB, free: 30.64 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.448e-05/0.5663, allocations: 24.86 kB / 0.6868 GB, free: 30.62 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.735e-05/0.5664, allocations: 57.64 kB / 0.6869 GB, free: 30.56 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.302e-06/0.5664, allocations: 3.5 kB / 0.6869 GB, free: 30.56 MB / 362.7 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0002488/0.5666, allocations: 131.2 kB / 0.687 GB, free: 30.42 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.553e-05/0.5667, allocations: 33.7 kB / 0.6871 GB, free: 30.38 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.893e-06/0.5667, allocations: 0 / 0.6871 GB, free: 30.38 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.475e-05/0.5667, allocations: 0 / 0.6871 GB, free: 30.38 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.624e-05/0.5668, allocations: 11.98 kB / 0.6871 GB, free: 30.37 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.063e-06/0.5668, allocations: 0 / 0.6871 GB, free: 30.37 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.284e-05/0.5669, allocations: 7.953 kB / 0.6871 GB, free: 30.36 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.685e-05/0.5669, allocations: 7.625 kB / 0.6871 GB, free: 30.36 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.0001025/0.5671, allocations: 131.1 kB / 0.6872 GB, free: 30.22 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.454e-05/0.5671, allocations: 7.906 kB / 0.6872 GB, free: 30.21 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002526/0.5674, allocations: 93.83 kB / 0.6873 GB, free: 30.12 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.47e-06/0.5674, allocations: 4 kB / 0.6873 GB, free: 30.11 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.28e-06/0.5674, allocations: 0 / 0.6873 GB, free: 30.11 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.047e-06/0.5674, allocations: 0 / 0.6873 GB, free: 30.11 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004074/0.5678, allocations: 360.2 kB / 0.6877 GB, free: 29.71 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.795e-06/0.5678, allocations: 1.5 kB / 0.6877 GB, free: 29.71 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.806e-05/0.5679, allocations: 7.938 kB / 0.6877 GB, free: 29.7 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.689e-06/0.5679, allocations: 4 kB / 0.6877 GB, free: 29.7 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.109e-05/0.5679, allocations: 0 / 0.6877 GB, free: 29.7 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.886e-06/0.5679, allocations: 0 / 0.6877 GB, free: 29.7 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.645e-06/0.568, allocations: 3.953 kB / 0.6877 GB, free: 29.7 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001942/0.5682, allocations: 176.8 kB / 0.6878 GB, free: 29.51 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.741e-05/0.5682, allocations: 91.7 kB / 0.6879 GB, free: 29.4 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.217e-05/0.5683, allocations: 4 kB / 0.6879 GB, free: 29.4 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.496e-05/0.5684, allocations: 3.984 kB / 0.6879 GB, free: 29.39 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.39e-05/0.5684, allocations: 4 kB / 0.6879 GB, free: 29.39 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.379e-05/0.5685, allocations: 7.953 kB / 0.6879 GB, free: 29.38 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0001379/0.5686, allocations: 136 kB / 0.6881 GB, free: 29.25 MB / 362.7 MB Notification: Performance of sort global known variables: time 4.41e-07/0.5686, allocations: 1.625 kB / 0.6881 GB, free: 29.25 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0003664/0.569, allocations: 39.94 kB / 0.6881 GB, free: 29.21 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.001028/0.57, allocations: 364.7 kB / 0.6885 GB, free: 29.04 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0002585/0.5703, allocations: 112 kB / 0.6886 GB, free: 28.92 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 3.206e-06/0.5703, allocations: 4 kB / 0.6886 GB, free: 28.92 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 6.694e-05/0.5704, allocations: 23.92 kB / 0.6886 GB, free: 28.89 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004431/0.5709, allocations: 16.86 kB / 0.6886 GB, free: 28.88 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005373/0.5714, allocations: 214 kB / 0.6888 GB, free: 28.65 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001904/0.5716, allocations: 0.704 MB / 0.6895 GB, free: 27.92 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 6.456e-05/0.5717, allocations: 15.66 kB / 0.6895 GB, free: 27.91 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.141e-05/0.5718, allocations: 19.44 kB / 0.6895 GB, free: 27.89 MB / 362.7 MB Notification: Performance of SimCode: time 9.72e-07/0.5718, allocations: 0 / 0.6895 GB, free: 27.89 MB / 362.7 MB Notification: Performance of Templates: time 0.005639/0.5774, allocations: 1.525 MB / 0.691 GB, free: 26.5 MB / 362.7 MB