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.Test23.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.Test23,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|cosine_R.y|sine_R.y|combiTable2D_1L.y|der_1L.y|combiTable2D_2L.y|der_2L.y|cosine_L.y|sine_L.y",fileNamePrefix="ModelicaTest_3.2.1_cpp_ModelicaTest.Tables.CombiTable2D.Test23") Notification: Performance of loadModel(ModelicaTest): time 1.803/1.803, allocations: 209.3 MB / 222.4 MB, free: 7.723 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 4.144e-05/4.158e-05, allocations: 4 kB / 277.8 MB, free: 15.3 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1122/0.1123, allocations: 48.7 MB / 326.5 MB, free: 14.51 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3377/0.4501, allocations: 75.41 MB / 402 MB, free: 10.17 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002092/0.4503, allocations: 68.03 kB / 402 MB, free: 10.16 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02409/0.4744, allocations: 6.536 MB / 408.6 MB, free: 7.648 MB / 314.7 MB Notification: Performance of FrontEnd: time 2.407e-06/0.4745, allocations: 3.812 kB / 408.6 MB, free: 7.648 MB / 314.7 MB Notification: Performance of Transformations before backend: time 3.32e-05/0.4745, allocations: 3.844 kB / 408.6 MB, free: 7.648 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.0008163/0.4753, allocations: 0.7555 MB / 409.3 MB, free: 6.965 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.941e-05/0.4754, allocations: 7.781 kB / 409.3 MB, free: 6.965 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001134/0.4755, allocations: 57.86 kB / 409.4 MB, free: 6.934 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006479/0.4762, allocations: 438.1 kB / 409.8 MB, free: 6.645 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.887e-05/0.4762, allocations: 9.938 kB / 409.8 MB, free: 6.645 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.477e-05/0.4763, allocations: 18.78 kB / 409.8 MB, free: 6.641 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002423/0.4765, allocations: 124 kB / 410 MB, free: 6.574 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.456e-05/0.4766, allocations: 3.812 kB / 410 MB, free: 6.574 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.915e-05/0.4766, allocations: 3.438 kB / 410 MB, free: 6.574 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.426e-06/0.4766, allocations: 7.766 kB / 410 MB, free: 6.57 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001835/0.4768, allocations: 66.05 kB / 410 MB, free: 6.562 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0011/0.4779, allocations: 0.6953 MB / 410.7 MB, free: 6.094 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002093/0.4781, allocations: 108.1 kB / 410.8 MB, free: 6.043 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.202e-05/0.4782, allocations: 43.06 kB / 410.9 MB, free: 6.027 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.662e-05/0.4783, allocations: 11.36 kB / 410.9 MB, free: 6.023 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.872e-05/0.4783, allocations: 42.42 kB / 410.9 MB, free: 5.977 MB / 314.7 MB Notification: Performance of pre-optimization done (n=12): time 3.181e-06/0.4783, allocations: 0 / 410.9 MB, free: 5.977 MB / 314.7 MB Notification: Performance of matching and sorting (n=20): time 0.001736/0.4801, allocations: 0.5277 MB / 411.5 MB, free: 5.75 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.984e-05/0.4801, allocations: 77.11 kB / 411.5 MB, free: 5.656 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001049/0.4812, allocations: 0.7323 MB / 412.3 MB, free: 5.457 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 3.041e-05/0.4813, allocations: 29.27 kB / 412.3 MB, free: 5.426 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001267/0.4814, allocations: 253.7 kB / 412.5 MB, free: 5.27 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.642e-05/0.4815, allocations: 72.69 kB / 412.6 MB, free: 5.215 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.803e-05/0.4815, allocations: 7.75 kB / 412.6 MB, free: 5.211 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 5.498e-05/0.4816, allocations: 321.5 kB / 412.9 MB, free: 4.895 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001769/0.4817, allocations: 58.91 kB / 413 MB, free: 4.895 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001941/0.482, allocations: 88.19 kB / 413.1 MB, free: 4.871 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002261/0.4822, allocations: 181.2 kB / 413.3 MB, free: 4.734 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.068e-06/0.4822, allocations: 0 / 413.3 MB, free: 4.734 MB / 314.7 MB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0005629/0.4828, allocations: 321.5 kB / 413.6 MB, free: 4.551 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.179e-05/0.4829, allocations: 114.7 kB / 413.7 MB, free: 4.422 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.443e-06/0.4829, allocations: 7.984 kB / 413.7 MB, free: 4.414 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.652e-05/0.4829, allocations: 3.938 kB / 413.7 MB, free: 4.41 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004055/0.4833, allocations: 62.23 kB / 413.8 MB, free: 4.398 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.134e-05/0.4834, allocations: 7.828 kB / 413.8 MB, free: 4.395 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003054/0.4837, allocations: 39.44 kB / 413.8 MB, free: 4.375 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.196e-05/0.4837, allocations: 11.62 kB / 413.8 MB, free: 4.375 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 (24): * Single equations (assignments): 20 * 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 8.592e-05/0.4838, allocations: 116.4 kB / 413.9 MB, free: 4.262 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000147/0.484, allocations: 50.72 kB / 414 MB, free: 4.234 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007487/0.4847, allocations: 288.1 kB / 414.3 MB, free: 4.094 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.548e-06/0.4848, allocations: 8 kB / 414.3 MB, free: 4.086 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.842e-06/0.4848, allocations: 4 kB / 414.3 MB, free: 4.082 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.434e-06/0.4848, allocations: 3.953 kB / 414.3 MB, free: 4.078 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00146/0.4863, allocations: 0.8564 MB / 415.1 MB, free: 3.316 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.233e-06/0.4863, allocations: 0 / 415.1 MB, free: 3.316 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004214/0.4867, allocations: 70.2 kB / 415.2 MB, free: 3.25 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.909e-06/0.4868, allocations: 0 / 415.2 MB, free: 3.25 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.849e-05/0.4868, allocations: 10.89 kB / 415.2 MB, free: 3.242 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.612e-06/0.4868, allocations: 4.359 kB / 415.2 MB, free: 3.238 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.207e-06/0.4868, allocations: 0 / 415.2 MB, free: 3.238 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006191/0.4875, allocations: 426.6 kB / 415.6 MB, free: 2.852 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002724/0.4877, allocations: 189.5 kB / 415.8 MB, free: 2.664 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.897e-05/0.4878, allocations: 3.938 kB / 415.8 MB, free: 2.664 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003767/0.4882, allocations: 31.92 kB / 415.9 MB, free: 2.633 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.961e-05/0.4883, allocations: 19.72 kB / 415.9 MB, free: 2.617 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.613e-05/0.4884, allocations: 12 kB / 415.9 MB, free: 2.605 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0007834/0.4892, allocations: 0.5711 MB / 416.5 MB, free: 2.16 MB / 314.7 MB Notification: Performance of sort global known variables: time 8.35e-07/0.4892, allocations: 0 / 416.5 MB, free: 2.16 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0005901/0.4898, allocations: 109.5 kB / 416.6 MB, free: 2.062 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 (20): * Single equations (assignments): 20 * 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.001357/0.4911, allocations: 458.8 kB / 417 MB, free: 1.711 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0005398/0.4917, allocations: 384 kB / 417.4 MB, free: 1.344 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 3.665e-06/0.4917, allocations: 3.938 kB / 417.4 MB, free: 1.34 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002024/0.4919, allocations: 90.05 kB / 417.5 MB, free: 1.281 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005112/0.4925, allocations: 56.5 kB / 417.5 MB, free: 1.246 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001478/0.494, allocations: 0.7386 MB / 418.3 MB, free: 0.5508 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004659/0.4945, allocations: 0.8559 MB / 419.1 MB, free: 15.68 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002374/0.4947, allocations: 43.34 kB / 419.2 MB, free: 15.64 MB / 330.7 MB Notification: Performance of SimCode: time 1.881e-06/0.4947, allocations: 0 / 419.2 MB, free: 15.64 MB / 330.7 MB Notification: Performance of Templates: time 0.01227/0.507, allocations: 5.819 MB / 425 MB, free: 9.852 MB / 330.7 MB