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.CombiTable2D.Test22.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.CombiTable2D.Test22,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|.tableR.1, 1..|.tableR.1, 2..|.tableR.1, 3..|.tableR.1, 4..|.tableR.2, 1..|.tableR.2, 2..|.tableR.2, 3..|.tableR.2, 4..|.tableR.3, 1..|.tableR.3, 2..|.tableR.3, 3..|.tableR.3, 4..|.tableR.4, 1..|.tableR.4, 2..|.tableR.4, 3..|.tableR.4, 4..|.tableL.1, 1..|.tableL.1, 2..|.tableL.1, 3..|.tableL.1, 4..|.tableL.2, 1..|.tableL.2, 2..|.tableL.2, 3..|.tableL.2, 4..|.tableL.3, 1..|.tableL.3, 2..|.tableL.3, 3..|.tableL.3, 4..|.tableL.4, 1..|.tableL.4, 2..|.tableL.4, 3..|.tableL.4, 4..|combiTable2D_1R.y|der_1R.y|combiTable2D_2R.y|der_2R.y|sine_R.y|const_R.y|combiTable2D_1L.y|der_1L.y|combiTable2D_2L.y|der_2L.y|sine_L.y|const_L.y",fileNamePrefix="ModelicaTest_3.2.1_cpp_ModelicaTest.Tables.CombiTable2D.Test22") Notification: Performance of loadModel(ModelicaTest): time 1.852/1.852, allocations: 209.3 MB / 222.4 MB, free: 7.73 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 2.519e-05/2.536e-05, allocations: 0 / 277.8 MB, free: 15.31 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08575/0.0858, allocations: 48.7 MB / 326.5 MB, free: 14.51 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3688/0.4546, allocations: 75.49 MB / 402 MB, free: 10.03 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000357/0.4551, allocations: 67.38 kB / 402.1 MB, free: 10.02 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02463/0.4797, allocations: 6.16 MB / 408.3 MB, free: 7.645 MB / 314.7 MB Notification: Performance of FrontEnd: time 2.861e-06/0.4798, allocations: 0 / 408.3 MB, free: 7.645 MB / 314.7 MB Notification: Performance of Transformations before backend: time 3.053e-05/0.4798, allocations: 15.66 kB / 408.3 MB, free: 7.637 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: 24 * Number of variables: 24 Notification: Performance of Generate backend data structure: time 0.0007326/0.4806, allocations: 0.724 MB / 409 MB, free: 6.973 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.986e-05/0.4806, allocations: 7.688 kB / 409 MB, free: 6.973 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000104/0.4807, allocations: 54.42 kB / 409.1 MB, free: 6.941 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000635/0.4814, allocations: 433.8 kB / 409.5 MB, free: 6.656 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.792e-05/0.4814, allocations: 7.125 kB / 409.5 MB, free: 6.656 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.574e-05/0.4815, allocations: 14.94 kB / 409.5 MB, free: 6.656 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000224/0.4817, allocations: 121.8 kB / 409.6 MB, free: 6.59 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.632e-05/0.4817, allocations: 3.844 kB / 409.6 MB, free: 6.59 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.793e-05/0.4818, allocations: 7.609 kB / 409.6 MB, free: 6.586 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.921e-06/0.4818, allocations: 3.844 kB / 409.6 MB, free: 6.586 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001617/0.4819, allocations: 56.33 kB / 409.7 MB, free: 6.582 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001078/0.483, allocations: 0.6849 MB / 410.4 MB, free: 6.109 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001969/0.4833, allocations: 104.9 kB / 410.5 MB, free: 6.047 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.79e-05/0.4834, allocations: 35.97 kB / 410.5 MB, free: 6.031 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.151e-05/0.4834, allocations: 7.781 kB / 410.5 MB, free: 6.027 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.711e-05/0.4834, allocations: 33.88 kB / 410.6 MB, free: 5.988 MB / 314.7 MB Notification: Performance of pre-optimization done (n=10): time 3.15e-06/0.4834, allocations: 0 / 410.6 MB, free: 5.988 MB / 314.7 MB Notification: Performance of matching and sorting (n=16): time 0.001294/0.4847, allocations: 440.5 kB / 411 MB, free: 5.781 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.413e-05/0.4848, allocations: 81.06 kB / 411.1 MB, free: 5.684 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001114/0.4859, allocations: 0.7195 MB / 411.8 MB, free: 5.492 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 2.937e-05/0.486, allocations: 28.83 kB / 411.8 MB, free: 5.461 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000144/0.4861, allocations: 257 kB / 412.1 MB, free: 5.297 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.605e-05/0.4862, allocations: 45.02 kB / 412.1 MB, free: 5.262 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.547e-05/0.4862, allocations: 11.06 kB / 412.1 MB, free: 5.258 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 5.599e-05/0.4863, allocations: 317.1 kB / 412.4 MB, free: 4.941 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001358/0.4864, allocations: 43 kB / 412.5 MB, free: 4.941 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001418/0.4866, allocations: 64.3 kB / 412.5 MB, free: 4.922 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001796/0.4868, allocations: 161 kB / 412.7 MB, free: 4.789 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.602e-06/0.4868, allocations: 0 / 412.7 MB, free: 4.789 MB / 314.7 MB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0004471/0.4873, allocations: 273.4 kB / 413 MB, free: 4.609 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.883e-05/0.4873, allocations: 110.5 kB / 413.1 MB, free: 4.484 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.221e-06/0.4873, allocations: 4 kB / 413.1 MB, free: 4.48 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.005e-05/0.4874, allocations: 3.953 kB / 413.1 MB, free: 4.477 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000285/0.4877, allocations: 49.81 kB / 413.1 MB, free: 4.465 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.867e-06/0.4877, allocations: 0 / 413.1 MB, free: 4.465 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002284/0.4879, allocations: 23.27 kB / 413.1 MB, free: 4.453 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.015e-05/0.488, allocations: 9.812 kB / 413.2 MB, free: 4.453 MB / 314.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (20): * Single equations (assignments): 16 * Array equations: 0 * Algorithm blocks: 4 * 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 7.217e-05/0.4881, allocations: 115.1 kB / 413.3 MB, free: 4.344 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000135/0.4882, allocations: 46.89 kB / 413.3 MB, free: 4.316 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005624/0.4888, allocations: 237.2 kB / 413.5 MB, free: 4.23 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.43e-06/0.4888, allocations: 7.828 kB / 413.6 MB, free: 4.227 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.755e-06/0.4888, allocations: 0 / 413.6 MB, free: 4.227 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.388e-06/0.4888, allocations: 0 / 413.6 MB, free: 4.227 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001195/0.49, allocations: 0.7855 MB / 414.3 MB, free: 3.734 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.504e-06/0.4901, allocations: 3.953 kB / 414.3 MB, free: 3.73 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002396/0.4903, allocations: 38.97 kB / 414.4 MB, free: 3.723 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.962e-06/0.4904, allocations: 7.781 kB / 414.4 MB, free: 3.719 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.989e-05/0.4904, allocations: 6.922 kB / 414.4 MB, free: 3.715 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.243e-06/0.4904, allocations: 8.219 kB / 414.4 MB, free: 3.711 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.91e-06/0.4904, allocations: 0 / 414.4 MB, free: 3.711 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004339/0.4909, allocations: 376.2 kB / 414.8 MB, free: 3.441 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002396/0.4911, allocations: 183.4 kB / 414.9 MB, free: 3.281 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.539e-05/0.4912, allocations: 4 kB / 415 MB, free: 3.277 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002667/0.4915, allocations: 23.73 kB / 415 MB, free: 3.258 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.234e-05/0.4915, allocations: 11.97 kB / 415 MB, free: 3.246 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.994e-05/0.4916, allocations: 11.81 kB / 415 MB, free: 3.238 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0007705/0.4924, allocations: 0.5714 MB / 415.6 MB, free: 2.793 MB / 314.7 MB Notification: Performance of sort global known variables: time 9.3e-07/0.4924, allocations: 0 / 415.6 MB, free: 2.793 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0005696/0.493, allocations: 95.48 kB / 415.7 MB, free: 2.703 MB / 314.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (16): * Single equations (assignments): 16 * 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.001393/0.4944, allocations: 455.8 kB / 416.1 MB, free: 2.352 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0004986/0.4949, allocations: 339.1 kB / 416.4 MB, free: 2.012 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 4.055e-06/0.4949, allocations: 0 / 416.4 MB, free: 2.012 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000148/0.4951, allocations: 64.48 kB / 416.5 MB, free: 1.965 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005225/0.4956, allocations: 45.34 kB / 416.5 MB, free: 1.941 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001338/0.497, allocations: 0.6843 MB / 417.2 MB, free: 1.293 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003214/0.4973, allocations: 0.8388 MB / 418.1 MB, free: 448 kB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001787/0.4975, allocations: 46.42 kB / 418.1 MB, free: 404 kB / 314.7 MB Notification: Performance of SimCode: time 1.72e-06/0.4975, allocations: 0 / 418.1 MB, free: 404 kB / 314.7 MB Notification: Performance of Templates: time 0.01125/0.5088, allocations: 5.419 MB / 423.5 MB, free: 11 MB / 330.7 MB