Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test16.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.Test16,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.Test16") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo): time 0.002558/0.002558, allocations: 351 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.891/3.892, 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.003454/0.003454, allocations: 222.1 kB / 397.9 MB, free: 4.973 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.5178/0.5178, allocations: 76.09 MB / 0.5014 GB, free: 112.6 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0007441/0.0007444, allocations: 12 kB / 0.5592 GB, free: 53.45 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1016/0.1023, allocations: 48.71 MB / 0.6067 GB, free: 4.637 MB / 362.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4259/0.5283, allocations: 75.82 MB / 0.6808 GB, free: 36.89 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002921/0.5287, allocations: 77.94 kB / 0.6809 GB, free: 36.82 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01677/0.5455, allocations: 3.874 MB / 0.6846 GB, free: 33.02 MB / 362.7 MB Notification: Performance of FrontEnd: time 2.034e-06/0.5455, allocations: 4 kB / 0.6846 GB, free: 33.02 MB / 362.7 MB Notification: Performance of Transformations before backend: time 1.539e-05/0.5456, allocations: 0 / 0.6846 GB, free: 33.02 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.000535/0.5461, allocations: 429.8 kB / 0.6851 GB, free: 32.55 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.159e-05/0.5462, allocations: 11.03 kB / 0.6851 GB, free: 32.54 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.717e-05/0.5462, allocations: 15.89 kB / 0.6851 GB, free: 32.53 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000234/0.5465, allocations: 190.9 kB / 0.6853 GB, free: 32.3 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.883e-05/0.5465, allocations: 0 / 0.6853 GB, free: 32.3 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.771e-05/0.5466, allocations: 4 kB / 0.6853 GB, free: 32.3 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001252/0.5467, allocations: 45.62 kB / 0.6853 GB, free: 32.25 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.284e-05/0.5467, allocations: 0 / 0.6853 GB, free: 32.25 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.395e-05/0.5467, allocations: 1.281 kB / 0.6853 GB, free: 32.25 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.219e-06/0.5468, allocations: 0 / 0.6853 GB, free: 32.25 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.406e-05/0.5468, allocations: 19.48 kB / 0.6853 GB, free: 32.23 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004534/0.5473, allocations: 292.8 kB / 0.6856 GB, free: 31.89 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002518/0.5476, allocations: 54.02 kB / 0.6857 GB, free: 31.84 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.952e-05/0.5476, allocations: 8.859 kB / 0.6857 GB, free: 31.82 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.013e-05/0.5477, allocations: 0.5625 kB / 0.6857 GB, free: 31.82 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001437/0.5478, allocations: 68.16 kB / 0.6857 GB, free: 31.75 MB / 362.7 MB Notification: Performance of pre-optimization done (n=4): time 2.114e-06/0.5478, allocations: 3 kB / 0.6857 GB, free: 31.75 MB / 362.7 MB Notification: Performance of matching and sorting (n=5): time 0.0005211/0.5484, allocations: 121.1 kB / 0.6859 GB, free: 31.62 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.929e-05/0.5484, allocations: 51.41 kB / 0.6859 GB, free: 31.56 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000189/0.5486, allocations: 162.1 kB / 0.6861 GB, free: 31.39 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.77e-05/0.5486, allocations: 25.7 kB / 0.6861 GB, free: 31.36 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.483e-05/0.5487, allocations: 92.14 kB / 0.6862 GB, free: 31.27 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.65e-05/0.5487, allocations: 23.02 kB / 0.6862 GB, free: 31.25 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.825e-06/0.5488, allocations: 0 / 0.6862 GB, free: 31.25 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 6.684e-05/0.5488, allocations: 318.8 kB / 0.6865 GB, free: 30.93 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.19e-05/0.5489, allocations: 27.92 kB / 0.6865 GB, free: 30.9 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.589e-05/0.549, allocations: 23.98 kB / 0.6865 GB, free: 30.88 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.403e-05/0.5491, allocations: 57.64 kB / 0.6866 GB, free: 30.81 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.823e-06/0.5491, allocations: 0 / 0.6866 GB, free: 30.81 MB / 362.7 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0002624/0.5494, allocations: 127.3 kB / 0.6867 GB, free: 30.68 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.707e-05/0.5494, allocations: 32.02 kB / 0.6868 GB, free: 30.64 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.961e-06/0.5494, allocations: 4 kB / 0.6868 GB, free: 30.64 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.883e-05/0.5495, allocations: 0 / 0.6868 GB, free: 30.64 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.31e-05/0.5496, allocations: 15.98 kB / 0.6868 GB, free: 30.62 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.368e-06/0.5496, allocations: 7.891 kB / 0.6868 GB, free: 30.61 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.443e-05/0.5497, allocations: 7.094 kB / 0.6868 GB, free: 30.61 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.604e-05/0.5497, allocations: 0 / 0.6868 GB, free: 30.61 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.0001045/0.5498, allocations: 123.9 kB / 0.6869 GB, free: 30.48 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.402e-05/0.5499, allocations: 7.906 kB / 0.6869 GB, free: 30.47 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002822/0.5501, allocations: 85.98 kB / 0.687 GB, free: 30.38 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.849e-06/0.5502, allocations: 3.688 kB / 0.687 GB, free: 30.38 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.272e-06/0.5502, allocations: 5.281 kB / 0.687 GB, free: 30.38 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.533e-06/0.5502, allocations: 5.453 kB / 0.687 GB, free: 30.38 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004025/0.5506, allocations: 350 kB / 0.6873 GB, free: 29.98 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.008e-06/0.5506, allocations: 0 / 0.6873 GB, free: 29.98 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.711e-05/0.5507, allocations: 4 kB / 0.6873 GB, free: 29.98 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.732e-06/0.5507, allocations: 0 / 0.6873 GB, free: 29.98 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.378e-05/0.5508, allocations: 7.984 kB / 0.6874 GB, free: 29.97 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.609e-06/0.5508, allocations: 3.953 kB / 0.6874 GB, free: 29.96 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.054e-06/0.5508, allocations: 0 / 0.6874 GB, free: 29.96 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002505/0.551, allocations: 178.4 kB / 0.6875 GB, free: 29.78 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.663e-05/0.5511, allocations: 89 kB / 0.6876 GB, free: 29.67 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.119e-05/0.5511, allocations: 0 / 0.6876 GB, free: 29.67 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001022/0.5513, allocations: 8 kB / 0.6876 GB, free: 29.66 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.961e-05/0.5513, allocations: 3.953 kB / 0.6876 GB, free: 29.66 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.346e-05/0.5513, allocations: 4 kB / 0.6876 GB, free: 29.66 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0001238/0.5515, allocations: 123.4 kB / 0.6877 GB, free: 29.54 MB / 362.7 MB Notification: Performance of sort global known variables: time 4.31e-07/0.5515, allocations: 1.219 kB / 0.6877 GB, free: 29.54 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0003878/0.5519, allocations: 42.73 kB / 0.6878 GB, free: 29.5 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.001005/0.5529, allocations: 362.1 kB / 0.6881 GB, free: 29.34 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0002964/0.5532, allocations: 121.6 kB / 0.6883 GB, free: 29.21 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 3.847e-06/0.5532, allocations: 0 / 0.6883 GB, free: 29.21 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 6.345e-05/0.5533, allocations: 16 kB / 0.6883 GB, free: 29.19 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004452/0.5538, allocations: 15.98 kB / 0.6883 GB, free: 29.18 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005056/0.5543, allocations: 194.5 kB / 0.6885 GB, free: 28.96 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001732/0.5545, allocations: 0.7025 MB / 0.6892 GB, free: 28.24 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 6.847e-05/0.5546, allocations: 10.34 kB / 0.6892 GB, free: 28.23 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.432e-05/0.5546, allocations: 15.42 kB / 0.6892 GB, free: 28.21 MB / 362.7 MB Notification: Performance of SimCode: time 1.552e-06/0.5547, allocations: 0 / 0.6892 GB, free: 28.21 MB / 362.7 MB Notification: Performance of Templates: time 0.005578/0.5602, allocations: 1.474 MB / 0.6906 GB, free: 26.88 MB / 362.7 MB