Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test34.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.Test34,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.Test34") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo): time 0.002825/0.00283, allocations: 346.8 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.958/3.958, allocations: 341.5 MB / 358.2 MB, free: 12.55 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.003509/0.003509, allocations: 218.1 kB / 397.9 MB, free: 4.891 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.4888/0.4888, allocations: 76.1 MB / 0.5014 GB, free: 112.6 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0006555/0.0006557, allocations: 12 kB / 0.5592 GB, free: 53.44 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.118/0.1187, allocations: 48.71 MB / 0.6067 GB, free: 4.629 MB / 362.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5289/0.6476, allocations: 75.87 MB / 0.6808 GB, free: 36.85 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002803/0.648, allocations: 67.97 kB / 0.6809 GB, free: 36.78 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01618/0.6642, allocations: 4.032 MB / 0.6848 GB, free: 32.83 MB / 362.7 MB Notification: Performance of FrontEnd: time 2.635e-06/0.6642, allocations: 0 / 0.6848 GB, free: 32.83 MB / 362.7 MB Notification: Performance of Transformations before backend: time 1.474e-05/0.6643, allocations: 4 kB / 0.6848 GB, free: 32.83 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.0005087/0.6648, allocations: 435.8 kB / 0.6852 GB, free: 32.36 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.006e-05/0.6648, allocations: 12.03 kB / 0.6853 GB, free: 32.34 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.894e-05/0.6649, allocations: 7.906 kB / 0.6853 GB, free: 32.34 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000243/0.6651, allocations: 198.8 kB / 0.6855 GB, free: 32.1 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.791e-05/0.6652, allocations: 1.406 kB / 0.6855 GB, free: 32.1 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.962e-05/0.6652, allocations: 4 kB / 0.6855 GB, free: 32.1 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001224/0.6654, allocations: 45.67 kB / 0.6855 GB, free: 32.05 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.184e-05/0.6654, allocations: 1.188 kB / 0.6855 GB, free: 32.05 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.418e-05/0.6654, allocations: 9.859 kB / 0.6855 GB, free: 32.04 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.13e-06/0.6654, allocations: 0 / 0.6855 GB, free: 32.04 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.434e-05/0.6655, allocations: 17.77 kB / 0.6855 GB, free: 32.03 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004261/0.6659, allocations: 284.9 kB / 0.6858 GB, free: 31.7 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002367/0.6662, allocations: 53.28 kB / 0.6859 GB, free: 31.64 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.753e-05/0.6662, allocations: 12.94 kB / 0.6859 GB, free: 31.62 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.236e-05/0.6663, allocations: 0 / 0.6859 GB, free: 31.62 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001328/0.6664, allocations: 55.39 kB / 0.6859 GB, free: 31.56 MB / 362.7 MB Notification: Performance of pre-optimization done (n=4): time 1.663e-06/0.6664, allocations: 7 kB / 0.6859 GB, free: 31.55 MB / 362.7 MB Notification: Performance of matching and sorting (n=5): time 0.0004839/0.6669, allocations: 125.2 kB / 0.686 GB, free: 31.43 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.795e-05/0.667, allocations: 51.41 kB / 0.6861 GB, free: 31.36 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001958/0.6672, allocations: 178 kB / 0.6863 GB, free: 31.18 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.889e-05/0.6672, allocations: 25.7 kB / 0.6863 GB, free: 31.15 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.954e-05/0.6673, allocations: 96.14 kB / 0.6864 GB, free: 31.05 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.627e-05/0.6673, allocations: 16.61 kB / 0.6864 GB, free: 31.04 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.796e-06/0.6673, allocations: 4 kB / 0.6864 GB, free: 31.03 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 6.865e-05/0.6674, allocations: 320.7 kB / 0.6867 GB, free: 30.71 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.053e-05/0.6675, allocations: 27.91 kB / 0.6867 GB, free: 30.68 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.738e-05/0.6676, allocations: 23.98 kB / 0.6868 GB, free: 30.66 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.143e-05/0.6677, allocations: 53.64 kB / 0.6868 GB, free: 30.6 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.883e-06/0.6677, allocations: 3.219 kB / 0.6868 GB, free: 30.6 MB / 362.7 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0002731/0.668, allocations: 138.9 kB / 0.6869 GB, free: 30.46 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.881e-05/0.668, allocations: 33.7 kB / 0.687 GB, free: 30.42 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.334e-06/0.668, allocations: 3.984 kB / 0.687 GB, free: 30.41 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.151e-05/0.6681, allocations: 5.547 kB / 0.687 GB, free: 30.41 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.192e-05/0.6682, allocations: 8 kB / 0.687 GB, free: 30.4 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.347e-06/0.6682, allocations: 9.203 kB / 0.687 GB, free: 30.4 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.48e-05/0.6683, allocations: 0 / 0.687 GB, free: 30.4 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.666e-05/0.6683, allocations: 6.688 kB / 0.687 GB, free: 30.39 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.0001119/0.6684, allocations: 123.9 kB / 0.6871 GB, free: 30.27 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.591e-05/0.6685, allocations: 7.906 kB / 0.6871 GB, free: 30.26 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002647/0.6687, allocations: 93.92 kB / 0.6872 GB, free: 30.16 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.498e-06/0.6688, allocations: 0 / 0.6872 GB, free: 30.16 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.19e-06/0.6688, allocations: 3.188 kB / 0.6872 GB, free: 30.16 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.39e-06/0.6688, allocations: 3.953 kB / 0.6872 GB, free: 30.16 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003941/0.6692, allocations: 346.5 kB / 0.6876 GB, free: 29.76 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.137e-06/0.6692, allocations: 7.984 kB / 0.6876 GB, free: 29.75 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.575e-05/0.6693, allocations: 8 kB / 0.6876 GB, free: 29.75 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.161e-06/0.6693, allocations: 0 / 0.6876 GB, free: 29.75 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.277e-05/0.6693, allocations: 4 kB / 0.6876 GB, free: 29.74 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.33e-06/0.6693, allocations: 10.92 kB / 0.6876 GB, free: 29.73 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.813e-06/0.6693, allocations: 2.812 kB / 0.6876 GB, free: 29.73 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001973/0.6696, allocations: 171.4 kB / 0.6878 GB, free: 29.55 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.587e-05/0.6696, allocations: 90.8 kB / 0.6878 GB, free: 29.45 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.905e-05/0.6696, allocations: 0 / 0.6878 GB, free: 29.45 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.915e-05/0.6698, allocations: 5.281 kB / 0.6878 GB, free: 29.44 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.41e-05/0.6698, allocations: 7.938 kB / 0.6879 GB, free: 29.43 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.518e-05/0.6699, allocations: 7.25 kB / 0.6879 GB, free: 29.43 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0001311/0.67, allocations: 129 kB / 0.688 GB, free: 29.3 MB / 362.7 MB Notification: Performance of sort global known variables: time 4.11e-07/0.67, allocations: 0 / 0.688 GB, free: 29.3 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0003675/0.6704, allocations: 35.98 kB / 0.688 GB, free: 29.27 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.0009694/0.6714, allocations: 359 kB / 0.6884 GB, free: 29.1 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.000284/0.6717, allocations: 119.3 kB / 0.6885 GB, free: 28.97 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 3.647e-06/0.6717, allocations: 2.219 kB / 0.6885 GB, free: 28.97 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 6.432e-05/0.6718, allocations: 16 kB / 0.6885 GB, free: 28.96 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004554/0.6722, allocations: 18.28 kB / 0.6885 GB, free: 28.94 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005379/0.6728, allocations: 209 kB / 0.6887 GB, free: 28.72 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001669/0.673, allocations: 0.7004 MB / 0.6894 GB, free: 27.99 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 7.403e-05/0.6731, allocations: 14.11 kB / 0.6894 GB, free: 27.98 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.248e-05/0.6731, allocations: 15.44 kB / 0.6894 GB, free: 27.96 MB / 362.7 MB Notification: Performance of SimCode: time 1.513e-06/0.6732, allocations: 0 / 0.6894 GB, free: 27.96 MB / 362.7 MB Notification: Performance of Templates: time 0.005435/0.6786, allocations: 1.507 MB / 0.6909 GB, free: 26.6 MB / 362.7 MB