Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr ModelicaTest_3.2.1_cpp_ModelicaTest.Tables.CombiTable1Ds.Test4.conf.json Using package ModelicaServices with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.1/package.mo) Using package Complex with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.1.mo) Using package Modelica with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.1/package.mo) Using package ModelicaTest with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaTest 3.2.1/package.mo) Running command: translateModel(ModelicaTest.Tables.CombiTable1Ds.Test4,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|t_new.y.2.|d_t_new.y|clock.y|d_t_new2.y",fileNamePrefix="ModelicaTest_3.2.1_cpp_ModelicaTest.Tables.CombiTable1Ds.Test4") Notification: Performance of loadModel(ModelicaTest): time 2.204/2.204, allocations: 209.2 MB / 225.4 MB, free: 0.6094 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0006197/0.0006198, allocations: 12 kB / 283.1 MB, free: 9.699 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4326/0.4333, allocations: 48.7 MB / 331.8 MB, free: 6.508 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2122/0.6456, allocations: 74.56 MB / 406.4 MB, free: 3.883 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004377/0.6461, allocations: 79.95 kB / 406.4 MB, free: 3.805 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01943/0.6655, allocations: 3.244 MB / 409.7 MB, free: 0.5547 MB / 330.7 MB Notification: Performance of FrontEnd: time 2.655e-06/0.6656, allocations: 0 / 409.7 MB, free: 0.5547 MB / 330.7 MB Notification: Performance of Transformations before backend: time 2.117e-05/0.6656, allocations: 8 kB / 409.7 MB, free: 0.5469 MB / 330.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0007892/0.6664, allocations: 447.6 kB / 410.1 MB, free: 60 kB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.504e-05/0.6665, allocations: 8.031 kB / 410.1 MB, free: 52 kB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.972e-05/0.6666, allocations: 15.81 kB / 410.2 MB, free: 36 kB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004455/0.6671, allocations: 206.8 kB / 410.4 MB, free: 15.79 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.41e-05/0.6671, allocations: 8 kB / 410.4 MB, free: 15.79 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.746e-05/0.6672, allocations: 4 kB / 410.4 MB, free: 15.78 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002917/0.6675, allocations: 53.69 kB / 410.4 MB, free: 15.72 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.667e-05/0.6675, allocations: 0 / 410.4 MB, free: 15.72 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.996e-05/0.6676, allocations: 3.984 kB / 410.4 MB, free: 15.72 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.813e-06/0.6676, allocations: 4 kB / 410.4 MB, free: 15.71 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002668/0.6679, allocations: 39.92 kB / 410.5 MB, free: 15.68 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000711/0.6686, allocations: 312.7 kB / 410.8 MB, free: 15.32 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002573/0.6689, allocations: 54.56 kB / 410.8 MB, free: 15.26 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.542e-05/0.6689, allocations: 4 kB / 410.8 MB, free: 15.25 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.351e-05/0.669, allocations: 38.62 kB / 410.9 MB, free: 15.21 MB / 346.7 MB Notification: Performance of pre-optimization done (n=5): time 3.506e-06/0.669, allocations: 0 / 410.9 MB, free: 15.21 MB / 346.7 MB Notification: Performance of matching and sorting (n=8): time 0.001496/0.6705, allocations: 201.2 kB / 411.1 MB, free: 15 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.037e-05/0.6706, allocations: 55.34 kB / 411.1 MB, free: 14.94 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004983/0.6712, allocations: 219.3 kB / 411.3 MB, free: 14.71 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 2.994e-05/0.6712, allocations: 25.7 kB / 411.4 MB, free: 14.68 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001221/0.6714, allocations: 166.8 kB / 411.5 MB, free: 14.51 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.985e-05/0.6714, allocations: 31.61 kB / 411.5 MB, free: 14.48 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.401e-05/0.6715, allocations: 8 kB / 411.6 MB, free: 14.47 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001602/0.6717, allocations: 310.8 kB / 411.9 MB, free: 14.16 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002598/0.6719, allocations: 31.98 kB / 411.9 MB, free: 14.12 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002247/0.6722, allocations: 35.91 kB / 411.9 MB, free: 14.09 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002803/0.6725, allocations: 65.69 kB / 412 MB, free: 14.02 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.527e-06/0.6725, allocations: 0 / 412 MB, free: 14.02 MB / 346.7 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0006424/0.6732, allocations: 135.3 kB / 412.1 MB, free: 13.88 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.301e-05/0.6733, allocations: 33.69 kB / 412.2 MB, free: 13.84 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.087e-06/0.6733, allocations: 0 / 412.2 MB, free: 13.84 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.087e-05/0.6733, allocations: 0 / 412.2 MB, free: 13.84 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002486/0.6736, allocations: 23.98 kB / 412.2 MB, free: 13.81 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.058e-05/0.6736, allocations: 0 / 412.2 MB, free: 13.81 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001671/0.6738, allocations: 12 kB / 412.2 MB, free: 13.8 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.296e-05/0.6739, allocations: 3.953 kB / 412.2 MB, free: 13.8 MB / 346.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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (9): * Single equations (assignments): 8 * 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.000235/0.6741, allocations: 137.8 kB / 412.3 MB, free: 13.65 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.132e-05/0.6742, allocations: 11.81 kB / 412.3 MB, free: 13.64 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007108/0.6749, allocations: 135 kB / 412.5 MB, free: 13.51 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.454e-06/0.675, allocations: 0 / 412.5 MB, free: 13.51 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.542e-06/0.675, allocations: 0 / 412.5 MB, free: 13.51 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.891e-06/0.675, allocations: 0 / 412.5 MB, free: 13.51 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001304/0.6763, allocations: 430.4 kB / 412.9 MB, free: 13.03 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.951e-06/0.6764, allocations: 0 / 412.9 MB, free: 13.03 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002188/0.6766, allocations: 19.98 kB / 412.9 MB, free: 13.01 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.155e-06/0.6766, allocations: 0 / 412.9 MB, free: 13.01 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.146e-05/0.6767, allocations: 3.984 kB / 412.9 MB, free: 13.01 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.107e-06/0.6767, allocations: 384 / 412.9 MB, free: 13.01 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.404e-05/0.6767, allocations: 11.89 kB / 412.9 MB, free: 13 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006978/0.6775, allocations: 215.3 kB / 413.1 MB, free: 12.77 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001481/0.6776, allocations: 93.02 kB / 413.2 MB, free: 12.66 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.231e-05/0.6777, allocations: 0 / 413.2 MB, free: 12.66 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002047/0.6779, allocations: 16.27 kB / 413.2 MB, free: 12.64 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.328e-05/0.678, allocations: 4 kB / 413.2 MB, free: 12.64 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.475e-05/0.6781, allocations: 11.94 kB / 413.3 MB, free: 12.63 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0003416/0.6784, allocations: 159.9 kB / 413.4 MB, free: 12.47 MB / 346.7 MB Notification: Performance of sort global known variables: time 8.01e-07/0.6784, allocations: 0 / 413.4 MB, free: 12.47 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0005994/0.6791, allocations: 24 kB / 413.4 MB, free: 12.45 MB / 346.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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (8): * Single equations (assignments): 8 * Array equations: 0 * Algorithm blocks: 0 * 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 Backend phase and start with SimCode phase: time 0.001008/0.6801, allocations: 246.2 kB / 413.7 MB, free: 12.25 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0006715/0.6808, allocations: 135.3 kB / 413.8 MB, free: 12.11 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 5.12e-06/0.6808, allocations: 0 / 413.8 MB, free: 12.11 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002539/0.6811, allocations: 43.97 kB / 413.9 MB, free: 12.06 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004142/0.6815, allocations: 8 kB / 413.9 MB, free: 12.05 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001123/0.6827, allocations: 315.7 kB / 414.2 MB, free: 11.71 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004409/0.6831, allocations: 0.716 MB / 414.9 MB, free: 10.97 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001075/0.6833, allocations: 15.44 kB / 414.9 MB, free: 10.95 MB / 346.7 MB Notification: Performance of SimCode: time 1.803e-06/0.6833, allocations: 0 / 414.9 MB, free: 10.95 MB / 346.7 MB Notification: Performance of Templates: time 0.007328/0.6906, allocations: 1.558 MB / 416.5 MB, free: 9.398 MB / 346.7 MB