Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test66_usertab.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.Test66_usertab,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.nextTimeEvent|t_new.y.1.|d_t_new.y|realExpression.y",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test66_usertab") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo): time 0.004221/0.004226, allocations: 346.5 kB / 15.93 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.791/3.791, 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.003714/0.003714, allocations: 217.1 kB / 397.9 MB, free: 6.156 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.5724/0.5724, allocations: 76.1 MB / 0.5014 GB, free: 0.8242 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0005066/0.0005069, allocations: 12 kB / 0.5592 GB, free: 60.25 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09642/0.09696, allocations: 48.71 MB / 0.6067 GB, free: 11.53 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4786/0.5757, allocations: 75.96 MB / 0.6809 GB, free: 11.25 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000214/0.5759, allocations: 75.16 kB / 0.681 GB, free: 11.21 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01514/0.5911, allocations: 3.895 MB / 0.6848 GB, free: 8.113 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.894e-06/0.5911, allocations: 0 / 0.6848 GB, free: 8.113 MB / 314.7 MB Notification: Performance of Transformations before backend: time 1.272e-05/0.5912, allocations: 3.672 kB / 0.6848 GB, free: 8.113 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0004635/0.5916, allocations: 424.1 kB / 0.6852 GB, free: 7.652 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.608e-05/0.5917, allocations: 8.031 kB / 0.6852 GB, free: 7.645 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.756e-05/0.5917, allocations: 7.906 kB / 0.6852 GB, free: 7.637 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002194/0.592, allocations: 194.6 kB / 0.6854 GB, free: 7.41 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.702e-05/0.592, allocations: 3.125 kB / 0.6854 GB, free: 7.41 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.962e-05/0.592, allocations: 4 kB / 0.6854 GB, free: 7.406 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001375/0.5922, allocations: 62.89 kB / 0.6855 GB, free: 7.34 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.227e-05/0.5922, allocations: 0 / 0.6855 GB, free: 7.34 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.266e-05/0.5922, allocations: 4 kB / 0.6855 GB, free: 7.336 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.84e-06/0.5922, allocations: 0 / 0.6855 GB, free: 7.336 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.498e-05/0.5923, allocations: 21.8 kB / 0.6855 GB, free: 7.32 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003916/0.5927, allocations: 294.5 kB / 0.6858 GB, free: 7.004 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 8.82e-05/0.5928, allocations: 37.75 kB / 0.6858 GB, free: 6.965 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.902e-05/0.5929, allocations: 11.73 kB / 0.6858 GB, free: 6.953 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.94e-05/0.5929, allocations: 4 kB / 0.6858 GB, free: 6.949 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001331/0.5931, allocations: 66.73 kB / 0.6859 GB, free: 6.879 MB / 314.7 MB Notification: Performance of pre-optimization done (n=5): time 1.704e-06/0.5931, allocations: 0 / 0.6859 GB, free: 6.879 MB / 314.7 MB Notification: Performance of matching and sorting (n=6): time 0.0004803/0.5936, allocations: 129.2 kB / 0.686 GB, free: 6.766 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.233e-05/0.5936, allocations: 80.61 kB / 0.6861 GB, free: 6.672 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001409/0.5938, allocations: 143.1 kB / 0.6862 GB, free: 6.539 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 1.725e-05/0.5938, allocations: 25.7 kB / 0.6863 GB, free: 6.508 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.062e-05/0.5938, allocations: 94.88 kB / 0.6863 GB, free: 6.418 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.429e-05/0.5939, allocations: 27.25 kB / 0.6864 GB, free: 6.395 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.775e-06/0.5939, allocations: 0 / 0.6864 GB, free: 6.395 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 6.143e-05/0.594, allocations: 318 kB / 0.6867 GB, free: 6.078 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.213e-05/0.594, allocations: 22.56 kB / 0.6867 GB, free: 6.062 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.323e-05/0.5941, allocations: 40.08 kB / 0.6867 GB, free: 6.027 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.311e-05/0.5942, allocations: 53.41 kB / 0.6868 GB, free: 5.977 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.303e-06/0.5942, allocations: 4 kB / 0.6868 GB, free: 5.973 MB / 314.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002217/0.5945, allocations: 125.4 kB / 0.6869 GB, free: 5.859 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.093e-05/0.5945, allocations: 37.72 kB / 0.6869 GB, free: 5.816 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.991e-06/0.5945, allocations: 4 kB / 0.6869 GB, free: 5.812 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.369e-05/0.5945, allocations: 0 / 0.6869 GB, free: 5.812 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001008/0.5947, allocations: 12 kB / 0.687 GB, free: 5.801 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.151e-06/0.5947, allocations: 0 / 0.687 GB, free: 5.801 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.485e-05/0.5947, allocations: 7.938 kB / 0.687 GB, free: 5.793 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.061e-05/0.5948, allocations: 7.5 kB / 0.687 GB, free: 5.789 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 (8): * Single equations (assignments): 7 * 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 8.693e-05/0.5949, allocations: 118.6 kB / 0.6871 GB, free: 5.668 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.158e-05/0.5949, allocations: 3.906 kB / 0.6871 GB, free: 5.664 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002504/0.5952, allocations: 106.7 kB / 0.6872 GB, free: 5.574 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.536e-06/0.5952, allocations: 0 / 0.6872 GB, free: 5.574 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.55e-06/0.5952, allocations: 8 kB / 0.6872 GB, free: 5.566 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.77e-06/0.5952, allocations: 3.984 kB / 0.6872 GB, free: 5.562 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003798/0.5956, allocations: 358.1 kB / 0.6875 GB, free: 5.188 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.076e-06/0.5956, allocations: 0 / 0.6875 GB, free: 5.188 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.203e-05/0.5957, allocations: 15.92 kB / 0.6876 GB, free: 5.172 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.985e-06/0.5957, allocations: 0 / 0.6876 GB, free: 5.172 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.233e-05/0.5957, allocations: 7.438 kB / 0.6876 GB, free: 5.168 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.943e-06/0.5957, allocations: 0 / 0.6876 GB, free: 5.168 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.204e-06/0.5957, allocations: 3.953 kB / 0.6876 GB, free: 5.164 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001917/0.5959, allocations: 173.8 kB / 0.6877 GB, free: 4.992 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.494e-05/0.596, allocations: 85.02 kB / 0.6878 GB, free: 4.891 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.932e-05/0.596, allocations: 0 / 0.6878 GB, free: 4.891 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.141e-05/0.5961, allocations: 7.438 kB / 0.6878 GB, free: 4.887 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.354e-05/0.5962, allocations: 3.984 kB / 0.6878 GB, free: 4.883 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.516e-05/0.5962, allocations: 11.95 kB / 0.6878 GB, free: 4.871 MB / 314.7 MB Notification: Performance of sorting global known variables: time 8.58e-05/0.5963, allocations: 105.4 kB / 0.6879 GB, free: 4.777 MB / 314.7 MB Notification: Performance of sort global known variables: time 2.926e-06/0.5963, allocations: 0 / 0.6879 GB, free: 4.777 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.000608/0.5969, allocations: 55.67 kB / 0.688 GB, free: 4.727 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 (7): * Single equations (assignments): 6 * 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.001854/0.5988, allocations: 444.5 kB / 0.6884 GB, free: 4.457 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0003722/0.5992, allocations: 113.9 kB / 0.6885 GB, free: 4.348 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 5.861e-06/0.5992, allocations: 0 / 0.6885 GB, free: 4.348 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001072/0.5994, allocations: 30.11 kB / 0.6886 GB, free: 4.328 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006418/0.6, allocations: 19.48 kB / 0.6886 GB, free: 4.312 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006418/0.6007, allocations: 179.9 kB / 0.6887 GB, free: 4.113 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002162/0.6009, allocations: 0.7003 MB / 0.6894 GB, free: 3.391 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 0.0001186/0.6011, allocations: 19.97 kB / 0.6894 GB, free: 3.371 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.884e-05/0.6012, allocations: 15.44 kB / 0.6895 GB, free: 3.355 MB / 314.7 MB Notification: Performance of SimCode: time 1.142e-06/0.6012, allocations: 0 / 0.6895 GB, free: 3.355 MB / 314.7 MB Notification: Performance of Templates: time 0.009177/0.6104, allocations: 1.856 MB / 0.6913 GB, free: 1.527 MB / 314.7 MB