Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr ModelicaTest_3.2.1_cpp_ModelicaTest.Tables.CombiTimeTable.Test56.conf.json Using package ModelicaServices with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.1/package.mo) Using package Complex with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.1.mo) Using package Modelica with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.1/package.mo) Using package ModelicaTest with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaTest 3.2.1/package.mo) Running command: translateModel(ModelicaTest.Tables.CombiTimeTable.Test56,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_cpp_ModelicaTest.Tables.CombiTimeTable.Test56") Notification: Performance of loadModel(ModelicaTest): time 1.894/1.894, allocations: 209.2 MB / 224.8 MB, free: 1.223 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0006038/0.000604, allocations: 12 kB / 282.6 MB, free: 9.715 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08947/0.09012, allocations: 48.71 MB / 331.3 MB, free: 8.91 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3737/0.4639, allocations: 76.08 MB / 407.4 MB, free: 9.066 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002494/0.4642, allocations: 79.97 kB / 407.4 MB, free: 8.988 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01859/0.4828, allocations: 4.66 MB / 412.1 MB, free: 4.34 MB / 330.7 MB Notification: Performance of FrontEnd: time 2.659e-06/0.4829, allocations: 0 / 412.1 MB, free: 4.34 MB / 330.7 MB Notification: Performance of Transformations before backend: time 1.547e-05/0.4829, allocations: 8 kB / 412.1 MB, free: 4.332 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: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0005564/0.4834, allocations: 412.8 kB / 412.5 MB, free: 3.875 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.865e-05/0.4835, allocations: 8.031 kB / 412.5 MB, free: 3.867 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.339e-05/0.4836, allocations: 11.91 kB / 412.5 MB, free: 3.855 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002696/0.4838, allocations: 194.9 kB / 412.7 MB, free: 3.625 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.406e-05/0.4839, allocations: 0 / 412.7 MB, free: 3.625 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.416e-05/0.4839, allocations: 4 kB / 412.7 MB, free: 3.621 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001454/0.4841, allocations: 63.39 kB / 412.8 MB, free: 3.547 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.59e-05/0.4841, allocations: 4 kB / 412.8 MB, free: 3.543 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.363e-05/0.4841, allocations: 7.938 kB / 412.8 MB, free: 3.535 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.356e-06/0.4841, allocations: 0 / 412.8 MB, free: 3.535 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.346e-05/0.4842, allocations: 15.98 kB / 412.8 MB, free: 3.52 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004419/0.4847, allocations: 280.8 kB / 413.1 MB, free: 3.195 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000238/0.4849, allocations: 42.56 kB / 413.1 MB, free: 3.145 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.91e-05/0.485, allocations: 7.984 kB / 413.1 MB, free: 3.137 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000132/0.4851, allocations: 63.42 kB / 413.2 MB, free: 3.062 MB / 330.7 MB Notification: Performance of pre-optimization done (n=4): time 4.852e-06/0.4851, allocations: 0 / 413.2 MB, free: 3.062 MB / 330.7 MB Notification: Performance of matching and sorting (n=5): time 0.0004621/0.4856, allocations: 117.3 kB / 413.3 MB, free: 2.941 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.124e-05/0.4857, allocations: 85.06 kB / 413.4 MB, free: 2.84 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001668/0.4858, allocations: 123 kB / 413.5 MB, free: 2.715 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 3.915e-05/0.4859, allocations: 37.69 kB / 413.6 MB, free: 2.672 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.874e-05/0.486, allocations: 158.6 kB / 413.7 MB, free: 2.516 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.937e-05/0.486, allocations: 15.75 kB / 413.7 MB, free: 2.5 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.324e-06/0.4861, allocations: 4 kB / 413.7 MB, free: 2.496 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001596/0.4862, allocations: 310.8 kB / 414 MB, free: 2.184 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.467e-05/0.4863, allocations: 23.98 kB / 414.1 MB, free: 2.16 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.424e-05/0.4864, allocations: 33.7 kB / 414.1 MB, free: 2.121 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.656e-05/0.4865, allocations: 53.73 kB / 414.1 MB, free: 2.062 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.674e-06/0.4865, allocations: 4.031 kB / 414.1 MB, free: 2.059 MB / 330.7 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0002457/0.4868, allocations: 119.3 kB / 414.3 MB, free: 1.93 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.388e-05/0.4868, allocations: 34.48 kB / 414.3 MB, free: 1.891 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.977e-06/0.4868, allocations: 160 / 414.3 MB, free: 1.891 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.167e-05/0.4869, allocations: 0 / 414.3 MB, free: 1.891 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.875e-05/0.4869, allocations: 11.98 kB / 414.3 MB, free: 1.879 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.265e-06/0.487, allocations: 3.984 kB / 414.3 MB, free: 1.875 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.576e-05/0.487, allocations: 7.953 kB / 414.3 MB, free: 1.867 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.71e-05/0.4871, allocations: 4 kB / 414.3 MB, free: 1.863 MB / 330.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.0001258/0.4872, allocations: 121.8 kB / 414.4 MB, free: 1.734 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.611e-05/0.4872, allocations: 7.906 kB / 414.5 MB, free: 1.727 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002425/0.4875, allocations: 85.64 kB / 414.5 MB, free: 1.641 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.724e-06/0.4875, allocations: 3.984 kB / 414.5 MB, free: 1.637 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.946e-06/0.4875, allocations: 0 / 414.5 MB, free: 1.637 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.803e-06/0.4875, allocations: 0 / 414.5 MB, free: 1.637 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004787/0.488, allocations: 350.5 kB / 414.9 MB, free: 1.238 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.964e-06/0.4881, allocations: 0 / 414.9 MB, free: 1.238 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.648e-05/0.4881, allocations: 12 kB / 414.9 MB, free: 1.227 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.138e-06/0.4881, allocations: 0 / 414.9 MB, free: 1.227 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.045e-05/0.4881, allocations: 0 / 414.9 MB, free: 1.227 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.452e-06/0.4882, allocations: 0 / 414.9 MB, free: 1.227 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.657e-06/0.4882, allocations: 4.141 kB / 414.9 MB, free: 1.223 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002392/0.4884, allocations: 183.4 kB / 415.1 MB, free: 1.027 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.917e-05/0.4885, allocations: 85.02 kB / 415.2 MB, free: 0.9258 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.248e-05/0.4885, allocations: 4 kB / 415.2 MB, free: 0.9219 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.785e-05/0.4887, allocations: 11.94 kB / 415.2 MB, free: 0.9102 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.256e-05/0.4887, allocations: 3.984 kB / 415.2 MB, free: 0.9062 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.431e-05/0.4887, allocations: 7.953 kB / 415.2 MB, free: 0.8984 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0001306/0.4889, allocations: 104 kB / 415.3 MB, free: 0.7969 MB / 330.7 MB Notification: Performance of sort global known variables: time 8.11e-07/0.4889, allocations: 0 / 415.3 MB, free: 0.7969 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0004069/0.4893, allocations: 51.92 kB / 415.3 MB, free: 0.7461 MB / 330.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.001432/0.4907, allocations: 447.7 kB / 415.8 MB, free: 400 kB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0002493/0.491, allocations: 111.3 kB / 415.9 MB, free: 276 kB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 3.081e-06/0.491, allocations: 7.938 kB / 415.9 MB, free: 268 kB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 6.432e-05/0.4911, allocations: 19.98 kB / 415.9 MB, free: 248 kB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002673/0.4914, allocations: 19.92 kB / 415.9 MB, free: 228 kB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004904/0.4919, allocations: 191.6 kB / 416.1 MB, free: 15.99 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003803/0.4923, allocations: 0.6965 MB / 416.8 MB, free: 15.27 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.786e-05/0.4924, allocations: 15.42 kB / 416.8 MB, free: 15.26 MB / 346.7 MB Notification: Performance of SimCode: time 1.39e-06/0.4924, allocations: 4 kB / 416.8 MB, free: 15.25 MB / 346.7 MB Notification: Performance of Templates: time 0.004654/0.497, allocations: 1.896 MB / 418.7 MB, free: 13.37 MB / 346.7 MB