Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr ModelicaTest_3.2.1_cpp_ModelicaTest.Tables.CombiTable1D.Test18.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.CombiTable1D.Test18,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.CombiTable1D.Test18") Notification: Performance of loadModel(ModelicaTest): time 1.949/1.949, allocations: 209.2 MB / 225.4 MB, free: 296 kB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0006917/0.000692, allocations: 12 kB / 283.1 MB, free: 9.641 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4104/0.4112, allocations: 48.7 MB / 331.8 MB, free: 6.48 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1656/0.5769, allocations: 74.86 MB / 406.7 MB, free: 3.598 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002959/0.5772, allocations: 79.89 kB / 406.7 MB, free: 3.52 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01519/0.5924, allocations: 3.702 MB / 410.4 MB, free: 15.82 MB / 346.7 MB Notification: Performance of FrontEnd: time 2.264e-06/0.5925, allocations: 0 / 410.4 MB, free: 15.82 MB / 346.7 MB Notification: Performance of Transformations before backend: time 1.724e-05/0.5925, allocations: 4 kB / 410.4 MB, free: 15.81 MB / 346.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0005613/0.5931, allocations: 404.8 kB / 410.8 MB, free: 15.36 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.713e-05/0.5931, allocations: 12.03 kB / 410.9 MB, free: 15.35 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.35e-05/0.5932, allocations: 11.91 kB / 410.9 MB, free: 15.34 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002787/0.5935, allocations: 194.8 kB / 411.1 MB, free: 15.11 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.282e-05/0.5935, allocations: 4 kB / 411.1 MB, free: 15.11 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.812e-05/0.5936, allocations: 4 kB / 411.1 MB, free: 15.1 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002556/0.5938, allocations: 88.25 kB / 411.2 MB, free: 15 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.4e-05/0.5939, allocations: 0 / 411.2 MB, free: 15 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.592e-05/0.5939, allocations: 0 / 411.2 MB, free: 15 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.58e-06/0.5939, allocations: 3.938 kB / 411.2 MB, free: 15 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001942/0.5941, allocations: 43.91 kB / 411.2 MB, free: 14.95 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000625/0.5947, allocations: 397 kB / 411.6 MB, free: 14.51 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004012/0.5952, allocations: 89.16 kB / 411.7 MB, free: 14.41 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.627e-05/0.5952, allocations: 7.984 kB / 411.7 MB, free: 14.4 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.65e-05/0.5953, allocations: 34.56 kB / 411.7 MB, free: 14.36 MB / 346.7 MB Notification: Performance of pre-optimization done (n=6): time 1.663e-06/0.5953, allocations: 0 / 411.7 MB, free: 14.36 MB / 346.7 MB Notification: Performance of matching and sorting (n=10): time 0.001138/0.5964, allocations: 241.2 kB / 412 MB, free: 14.11 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.446e-05/0.5965, allocations: 106.8 kB / 412.1 MB, free: 13.98 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001669/0.5967, allocations: 129.7 kB / 412.2 MB, free: 13.85 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 2.883e-05/0.5967, allocations: 33.7 kB / 412.2 MB, free: 13.81 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.73e-05/0.5968, allocations: 154.6 kB / 412.4 MB, free: 13.66 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.827e-05/0.5969, allocations: 35.53 kB / 412.4 MB, free: 13.62 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.586e-06/0.5969, allocations: 7.938 kB / 412.4 MB, free: 13.61 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001438/0.5971, allocations: 314.8 kB / 412.7 MB, free: 13.3 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001726/0.5973, allocations: 39.97 kB / 412.8 MB, free: 13.26 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001939/0.5975, allocations: 53.69 kB / 412.8 MB, free: 13.2 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002093/0.5977, allocations: 83.22 kB / 412.9 MB, free: 13.11 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.124e-06/0.5977, allocations: 0 / 412.9 MB, free: 13.11 MB / 346.7 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0004756/0.5982, allocations: 159.2 kB / 413 MB, free: 12.95 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.241e-05/0.5982, allocations: 29.7 kB / 413.1 MB, free: 12.91 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.204e-06/0.5983, allocations: 4 kB / 413.1 MB, free: 12.91 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.847e-05/0.5983, allocations: 4 kB / 413.1 MB, free: 12.9 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001704/0.5985, allocations: 23.92 kB / 413.1 MB, free: 12.88 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.374e-06/0.5985, allocations: 0 / 413.1 MB, free: 12.88 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.869e-05/0.5986, allocations: 23.88 kB / 413.1 MB, free: 12.86 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.704e-05/0.5986, allocations: 4 kB / 413.1 MB, free: 12.85 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 (11): * Single equations (assignments): 10 * 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.0001271/0.5988, allocations: 113.8 kB / 413.2 MB, free: 12.73 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.399e-05/0.5988, allocations: 11.91 kB / 413.3 MB, free: 12.72 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005388/0.5994, allocations: 153.5 kB / 413.4 MB, free: 12.56 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.214e-06/0.5994, allocations: 4 kB / 413.4 MB, free: 12.55 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.621e-06/0.5994, allocations: 0 / 413.4 MB, free: 12.55 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.629e-06/0.5994, allocations: 0 / 413.4 MB, free: 12.55 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001057/0.6005, allocations: 0.5066 MB / 413.9 MB, free: 11.99 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.141e-06/0.6005, allocations: 64 / 413.9 MB, free: 11.99 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000161/0.6007, allocations: 31.92 kB / 413.9 MB, free: 11.96 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.352e-06/0.6007, allocations: 4.031 kB / 413.9 MB, free: 11.95 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.91e-05/0.6008, allocations: 4 kB / 414 MB, free: 11.95 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.14e-05/0.6008, allocations: 3.953 kB / 414 MB, free: 11.95 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.665e-06/0.6008, allocations: 0 / 414 MB, free: 11.95 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005274/0.6013, allocations: 311.5 kB / 414.3 MB, free: 11.62 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.506e-05/0.6014, allocations: 85.02 kB / 414.3 MB, free: 11.52 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.351e-05/0.6015, allocations: 7.984 kB / 414.4 MB, free: 11.51 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001555/0.6016, allocations: 4 kB / 414.4 MB, free: 11.51 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.592e-05/0.6017, allocations: 15.94 kB / 414.4 MB, free: 11.49 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.348e-05/0.6017, allocations: 4 kB / 414.4 MB, free: 11.49 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0001248/0.6019, allocations: 104 kB / 414.5 MB, free: 11.39 MB / 346.7 MB Notification: Performance of sort global known variables: time 4.41e-07/0.6019, allocations: 0 / 414.5 MB, free: 11.39 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0004443/0.6023, allocations: 36 kB / 414.5 MB, free: 11.35 MB / 346.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 (10): * Single equations (assignments): 10 * 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.0009805/0.6033, allocations: 339.4 kB / 414.8 MB, free: 11.09 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0005264/0.6039, allocations: 155.3 kB / 415 MB, free: 10.93 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 3.547e-06/0.6039, allocations: 0 / 415 MB, free: 10.93 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002074/0.6041, allocations: 51.91 kB / 415 MB, free: 10.88 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003516/0.6045, allocations: 8 kB / 415.1 MB, free: 10.87 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006989/0.6052, allocations: 253.1 kB / 415.3 MB, free: 10.58 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003701/0.6056, allocations: 0.7082 MB / 416 MB, free: 9.848 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.61e-05/0.6057, allocations: 15.44 kB / 416 MB, free: 9.832 MB / 346.7 MB Notification: Performance of SimCode: time 1.423e-06/0.6057, allocations: 0 / 416 MB, free: 9.832 MB / 346.7 MB Notification: Performance of Templates: time 0.005516/0.6112, allocations: 1.739 MB / 417.8 MB, free: 8.094 MB / 346.7 MB