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.CombiTable1D.Test19.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.CombiTable1D.Test19,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_3.2.1_cpp_ModelicaTest.Tables.CombiTable1D.Test19") Notification: Performance of loadModel(ModelicaTest): time 1.87/1.87, allocations: 209.3 MB / 224.9 MB, free: 1.539 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004362/0.0004363, allocations: 8 kB / 282.6 MB, free: 9.77 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09499/0.09545, allocations: 48.71 MB / 331.3 MB, free: 8.969 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3592/0.4547, allocations: 74.75 MB / 406 MB, free: 10.46 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002403/0.455, allocations: 71.95 kB / 406.1 MB, free: 10.39 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01319/0.4682, allocations: 3.412 MB / 409.5 MB, free: 6.98 MB / 330.7 MB Notification: Performance of FrontEnd: time 2.26e-06/0.4683, allocations: 0 / 409.5 MB, free: 6.98 MB / 330.7 MB Notification: Performance of Transformations before backend: time 1.131e-05/0.4683, allocations: 0 / 409.5 MB, free: 6.98 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0005068/0.4688, allocations: 408.2 kB / 409.9 MB, free: 6.531 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.658e-05/0.4689, allocations: 12.03 kB / 409.9 MB, free: 6.52 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.301e-05/0.4689, allocations: 7.906 kB / 409.9 MB, free: 6.512 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002481/0.4692, allocations: 183 kB / 410.1 MB, free: 6.293 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.131e-05/0.4692, allocations: 0 / 410.1 MB, free: 6.293 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.816e-05/0.4693, allocations: 8 kB / 410.1 MB, free: 6.285 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001909/0.4695, allocations: 63.41 kB / 410.2 MB, free: 6.211 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.414e-05/0.4695, allocations: 0 / 410.2 MB, free: 6.211 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.34e-05/0.4695, allocations: 11.92 kB / 410.2 MB, free: 6.199 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.399e-06/0.4695, allocations: 0 / 410.2 MB, free: 6.199 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001332/0.4697, allocations: 31.97 kB / 410.2 MB, free: 6.168 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004797/0.4702, allocations: 280.8 kB / 410.5 MB, free: 5.844 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002396/0.4704, allocations: 54.56 kB / 410.5 MB, free: 5.781 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.743e-05/0.4705, allocations: 3.938 kB / 410.5 MB, free: 5.777 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.967e-05/0.4705, allocations: 34.64 kB / 410.6 MB, free: 5.734 MB / 330.7 MB Notification: Performance of pre-optimization done (n=3): time 2.272e-06/0.4705, allocations: 0 / 410.6 MB, free: 5.734 MB / 330.7 MB Notification: Performance of matching and sorting (n=5): time 0.0007228/0.4712, allocations: 161.4 kB / 410.7 MB, free: 5.57 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.324e-05/0.4713, allocations: 77.11 kB / 410.8 MB, free: 5.477 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001472/0.4715, allocations: 120.9 kB / 410.9 MB, free: 5.352 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 2.356e-05/0.4715, allocations: 25.7 kB / 411 MB, free: 5.32 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.896e-05/0.4716, allocations: 158.6 kB / 411.1 MB, free: 5.164 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.377e-05/0.4717, allocations: 23.73 kB / 411.1 MB, free: 5.141 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.902e-06/0.4717, allocations: 0 / 411.1 MB, free: 5.141 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001613/0.4719, allocations: 314.8 kB / 411.4 MB, free: 4.824 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001195/0.472, allocations: 31.97 kB / 411.5 MB, free: 4.793 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001213/0.4721, allocations: 41.7 kB / 411.5 MB, free: 4.746 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001417/0.4723, allocations: 57.69 kB / 411.6 MB, free: 4.684 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.973e-06/0.4723, allocations: 3.938 kB / 411.6 MB, free: 4.68 MB / 330.7 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0003264/0.4726, allocations: 127.2 kB / 411.7 MB, free: 4.543 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.467e-05/0.4727, allocations: 37.7 kB / 411.7 MB, free: 4.5 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.546e-06/0.4727, allocations: 0 / 411.7 MB, free: 4.5 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.43e-05/0.4727, allocations: 0 / 411.7 MB, free: 4.5 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.595e-05/0.4729, allocations: 15.98 kB / 411.8 MB, free: 4.484 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.636e-06/0.4729, allocations: 3.938 kB / 411.8 MB, free: 4.48 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.547e-05/0.473, allocations: 8 kB / 411.8 MB, free: 4.473 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.504e-05/0.473, allocations: 4 kB / 411.8 MB, free: 4.469 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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (6): * Single equations (assignments): 5 * 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.000133/0.4731, allocations: 125.8 kB / 411.9 MB, free: 4.336 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.442e-05/0.4732, allocations: 4 kB / 411.9 MB, free: 4.332 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003409/0.4735, allocations: 105.5 kB / 412 MB, free: 4.227 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.506e-06/0.4735, allocations: 0 / 412 MB, free: 4.227 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.379e-06/0.4736, allocations: 0 / 412 MB, free: 4.227 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.87e-06/0.4736, allocations: 7.984 kB / 412 MB, free: 4.219 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006555/0.4742, allocations: 358.8 kB / 412.4 MB, free: 3.812 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.986e-06/0.4743, allocations: 4.062 kB / 412.4 MB, free: 3.809 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.205e-05/0.4744, allocations: 15.98 kB / 412.4 MB, free: 3.793 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.823e-06/0.4744, allocations: 0 / 412.4 MB, free: 3.793 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.293e-06/0.4744, allocations: 4 kB / 412.4 MB, free: 3.789 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.044e-06/0.4744, allocations: 7.938 kB / 412.4 MB, free: 3.781 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.764e-06/0.4744, allocations: 0 / 412.4 MB, free: 3.781 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003377/0.4748, allocations: 183.5 kB / 412.6 MB, free: 3.586 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.052e-05/0.4749, allocations: 93.02 kB / 412.7 MB, free: 3.477 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.06e-05/0.4749, allocations: 0 / 412.7 MB, free: 3.477 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000104/0.475, allocations: 7.984 kB / 412.7 MB, free: 3.469 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.878e-05/0.4751, allocations: 4 kB / 412.7 MB, free: 3.465 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.128e-06/0.4751, allocations: 0 / 412.7 MB, free: 3.465 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0001054/0.4752, allocations: 99.27 kB / 412.8 MB, free: 3.367 MB / 330.7 MB Notification: Performance of sort global known variables: time 7.49e-07/0.4752, allocations: 0 / 412.8 MB, free: 3.367 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0003905/0.4756, allocations: 31.88 kB / 412.8 MB, free: 3.336 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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (5): * Single equations (assignments): 5 * 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.00103/0.4766, allocations: 341.7 kB / 413.1 MB, free: 3.074 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0003806/0.4771, allocations: 115.3 kB / 413.2 MB, free: 2.949 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 4.715e-06/0.4771, allocations: 0 / 413.2 MB, free: 2.949 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001235/0.4772, allocations: 35.97 kB / 413.3 MB, free: 2.914 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002402/0.4775, allocations: 8 kB / 413.3 MB, free: 2.906 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004818/0.478, allocations: 191 kB / 413.5 MB, free: 2.68 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003848/0.4784, allocations: 0.7004 MB / 414.2 MB, free: 1.953 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.69e-05/0.4785, allocations: 15.44 kB / 414.2 MB, free: 1.938 MB / 330.7 MB Notification: Performance of SimCode: time 1.888e-06/0.4785, allocations: 0 / 414.2 MB, free: 1.938 MB / 330.7 MB Notification: Performance of Templates: time 0.004111/0.4826, allocations: 1.462 MB / 415.6 MB, free: 488 kB / 330.7 MB