Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr ModelicaTest_3.2.2_cpp_ModelicaTest.Tables.CombiTable2D.Test6.conf.json Using package ModelicaServices with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo) Using package Complex with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo) Using package Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo) Using package ModelicaTest with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaTest 3.2.2/package.mo) Running command: translateModel(ModelicaTest.Tables.CombiTable2D.Test6,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y|d_t_new.y|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_3.2.2_cpp_ModelicaTest.Tables.CombiTable2D.Test6") Notification: Performance of loadModel(ModelicaTest): time 2.27/2.27, allocations: 234.9 MB / 250.5 MB, free: 9.465 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004305/0.0004307, allocations: 12 kB / 314.4 MB, free: 9.473 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.291/0.2915, allocations: 54.86 MB / 369.3 MB, free: 12.76 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1237/0.4153, allocations: 80.94 MB / 450.2 MB, free: 11.71 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002351/0.4155, allocations: 71.95 kB / 450.3 MB, free: 11.64 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.0174/0.433, allocations: 5.388 MB / 455.7 MB, free: 6.23 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.642e-06/0.433, allocations: 0 / 455.7 MB, free: 6.23 MB / 378.7 MB Notification: Performance of Transformations before backend: time 2.617e-05/0.433, allocations: 8 kB / 455.7 MB, free: 6.223 MB / 378.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0008465/0.4339, allocations: 0.6509 MB / 456.3 MB, free: 5.516 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.82e-05/0.434, allocations: 8.031 kB / 456.3 MB, free: 5.508 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.909e-05/0.4341, allocations: 43.44 kB / 456.4 MB, free: 5.465 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005415/0.4346, allocations: 311.4 kB / 456.7 MB, free: 5.121 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.182e-05/0.4346, allocations: 4 kB / 456.7 MB, free: 5.117 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.52e-05/0.4347, allocations: 4 kB / 456.7 MB, free: 5.113 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001985/0.4349, allocations: 69.58 kB / 456.8 MB, free: 5.039 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.473e-05/0.4349, allocations: 11.95 kB / 456.8 MB, free: 5.027 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.003e-05/0.4349, allocations: 0 / 456.8 MB, free: 5.027 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.454e-06/0.435, allocations: 0 / 456.8 MB, free: 5.027 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001682/0.4351, allocations: 39.97 kB / 456.8 MB, free: 4.988 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006992/0.4358, allocations: 428.6 kB / 457.2 MB, free: 4.52 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001577/0.436, allocations: 62.39 kB / 457.3 MB, free: 4.449 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.851e-05/0.4361, allocations: 0 / 457.3 MB, free: 4.449 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.195e-05/0.4361, allocations: 34.64 kB / 457.3 MB, free: 4.406 MB / 378.7 MB Notification: Performance of pre-optimization done (n=4): time 1.778e-06/0.4361, allocations: 0 / 457.3 MB, free: 4.406 MB / 378.7 MB Notification: Performance of matching and sorting (n=7): time 0.001033/0.4372, allocations: 317.8 kB / 457.6 MB, free: 4.09 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.978e-05/0.4372, allocations: 55.41 kB / 457.7 MB, free: 4.023 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001659/0.4389, allocations: 0.7666 MB / 458.4 MB, free: 3.25 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 2.588e-05/0.4389, allocations: 29.7 kB / 458.5 MB, free: 3.215 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002015/0.4391, allocations: 234.5 kB / 458.7 MB, free: 2.984 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.516e-05/0.4392, allocations: 27.72 kB / 458.7 MB, free: 2.957 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.197e-06/0.4392, allocations: 0 / 458.7 MB, free: 2.957 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001557/0.4394, allocations: 314.8 kB / 459 MB, free: 2.641 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001758/0.4396, allocations: 43.97 kB / 459.1 MB, free: 2.598 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001458/0.4397, allocations: 43.97 kB / 459.1 MB, free: 2.555 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002056/0.4399, allocations: 69.67 kB / 459.2 MB, free: 2.48 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.961e-06/0.44, allocations: 7.953 kB / 459.2 MB, free: 2.473 MB / 378.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0004231/0.4404, allocations: 151.3 kB / 459.3 MB, free: 2.312 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.386e-05/0.4405, allocations: 33.7 kB / 459.4 MB, free: 2.273 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.425e-06/0.4405, allocations: 0 / 459.4 MB, free: 2.273 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.623e-05/0.4405, allocations: 4 kB / 459.4 MB, free: 2.27 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001427/0.4407, allocations: 19.98 kB / 459.4 MB, free: 2.25 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.024e-06/0.4407, allocations: 0 / 459.4 MB, free: 2.25 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001434/0.4408, allocations: 19.98 kB / 459.4 MB, free: 2.23 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.437e-05/0.4409, allocations: 4 kB / 459.4 MB, free: 2.227 MB / 378.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 (8): * Single equations (assignments): 7 * 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.0002827/0.4412, allocations: 211.3 kB / 459.6 MB, free: 2.012 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001114/0.4413, allocations: 47.39 kB / 459.7 MB, free: 1.965 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004961/0.4418, allocations: 189.2 kB / 459.9 MB, free: 1.77 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.519e-06/0.4418, allocations: 0 / 459.9 MB, free: 1.77 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.27e-06/0.4418, allocations: 0 / 459.9 MB, free: 1.77 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.687e-06/0.4418, allocations: 0 / 459.9 MB, free: 1.77 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001192/0.443, allocations: 0.6271 MB / 460.5 MB, free: 1.086 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.058e-06/0.4431, allocations: 0 / 460.5 MB, free: 1.086 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001214/0.4432, allocations: 27.92 kB / 460.5 MB, free: 1.059 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.64e-06/0.4432, allocations: 3.938 kB / 460.5 MB, free: 1.055 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.185e-05/0.4432, allocations: 8 kB / 460.5 MB, free: 1.047 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.67e-06/0.4433, allocations: 480 / 460.5 MB, free: 1.047 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.4e-06/0.4433, allocations: 4 kB / 460.5 MB, free: 1.043 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004899/0.4438, allocations: 270.8 kB / 460.8 MB, free: 0.7617 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002191/0.444, allocations: 152.6 kB / 461 MB, free: 0.5938 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.433e-05/0.4441, allocations: 4 kB / 461 MB, free: 0.5898 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001656/0.4442, allocations: 11.98 kB / 461 MB, free: 0.5781 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.786e-05/0.4443, allocations: 11.98 kB / 461 MB, free: 0.5664 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.126e-05/0.4443, allocations: 4 kB / 461 MB, free: 0.5625 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0009826/0.4453, allocations: 0.6276 MB / 461.6 MB, free: 15.94 MB / 394.7 MB Notification: Performance of sort global known variables: time 8.28e-07/0.4453, allocations: 3.938 kB / 461.6 MB, free: 15.93 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0004308/0.4458, allocations: 59.94 kB / 461.7 MB, free: 15.88 MB / 394.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 (7): * Single equations (assignments): 7 * 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.001009/0.4468, allocations: 294.3 kB / 462 MB, free: 15.65 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0004495/0.4473, allocations: 151.3 kB / 462.1 MB, free: 15.49 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 3.568e-06/0.4473, allocations: 0 / 462.1 MB, free: 15.49 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001717/0.4475, allocations: 51.91 kB / 462.2 MB, free: 15.44 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003073/0.4478, allocations: 29.81 kB / 462.2 MB, free: 15.41 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00173/0.4495, allocations: 0.9521 MB / 463.1 MB, free: 14.43 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005851/0.4501, allocations: 0.8223 MB / 464 MB, free: 13.57 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001066/0.4503, allocations: 19.69 kB / 464 MB, free: 13.55 MB / 394.7 MB Notification: Performance of SimCode: time 1.569e-06/0.4503, allocations: 0 / 464 MB, free: 13.55 MB / 394.7 MB Notification: Performance of Templates: time 0.01017/0.4605, allocations: 4.038 MB / 468 MB, free: 9.508 MB / 394.7 MB