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.Test21.conf.json Using package ModelicaServices with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo) Using package Complex with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo) Using package Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo) Using package ModelicaTest with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OMCompiler/build/lib/omlibrary/ModelicaTest 3.2.2/package.mo) Running command: translateModel(ModelicaTest.Tables.CombiTable2D.Test21,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|clock1.y|combiTable2D1D.y|combiTable2D1DT.y|combiTable1D.y.1.|combiTable2D.y|combiTable2DT.y|der1.y|der2.y|der3.y|der4.y|der5.y",fileNamePrefix="ModelicaTest_3.2.2_cpp_ModelicaTest.Tables.CombiTable2D.Test21") Notification: Performance of loadModel(ModelicaTest): time 2.145/2.145, allocations: 235.1 MB / 243 MB, free: 9.492 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 2.084e-05/2.102e-05, allocations: 0 / 303.2 MB, free: 13.21 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2801/0.2802, allocations: 54.87 MB / 358 MB, free: 14.94 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1272/0.4074, allocations: 81.56 MB / 439.6 MB, free: 13.27 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002337/0.4077, allocations: 71.89 kB / 439.7 MB, free: 13.2 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02633/0.4341, allocations: 6.532 MB / 446.2 MB, free: 6.664 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.196e-06/0.4341, allocations: 0 / 446.2 MB, free: 6.664 MB / 378.7 MB Notification: Performance of Transformations before backend: time 3.197e-05/0.4341, allocations: 8 kB / 446.2 MB, free: 6.656 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: 25 * Number of variables: 25 Notification: Performance of Generate backend data structure: time 0.0009085/0.4351, allocations: 0.6777 MB / 446.9 MB, free: 5.902 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.412e-05/0.4351, allocations: 8.031 kB / 446.9 MB, free: 5.895 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000105/0.4352, allocations: 31.62 kB / 446.9 MB, free: 5.863 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005533/0.4358, allocations: 295.8 kB / 447.2 MB, free: 5.531 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.15e-05/0.4358, allocations: 4 kB / 447.2 MB, free: 5.527 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.313e-05/0.4359, allocations: 11.98 kB / 447.2 MB, free: 5.516 MB / 378.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001978/0.4361, allocations: 55.95 kB / 447.3 MB, free: 5.461 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002024/0.4363, allocations: 89.81 kB / 447.4 MB, free: 5.367 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.803e-05/0.4364, allocations: 4 kB / 447.4 MB, free: 5.363 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.436e-05/0.4364, allocations: 3.938 kB / 447.4 MB, free: 5.359 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.765e-06/0.4364, allocations: 4 kB / 447.4 MB, free: 5.355 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008261/0.4372, allocations: 448.8 kB / 447.8 MB, free: 4.879 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001951/0.4374, allocations: 82.56 kB / 447.9 MB, free: 4.789 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.214e-05/0.4376, allocations: 24.86 kB / 447.9 MB, free: 4.762 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.943e-05/0.4376, allocations: 4 kB / 447.9 MB, free: 4.758 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.998e-05/0.4376, allocations: 34.56 kB / 448 MB, free: 4.715 MB / 378.7 MB Notification: Performance of pre-optimization done (n=11): time 3.56e-06/0.4377, allocations: 0 / 448 MB, free: 4.715 MB / 378.7 MB Notification: Performance of matching and sorting (n=17): time 0.001004/0.4387, allocations: 308.4 kB / 448.3 MB, free: 4.406 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.806e-05/0.4388, allocations: 55.41 kB / 448.3 MB, free: 4.34 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006799/0.4394, allocations: 410.2 kB / 448.7 MB, free: 3.938 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 3.228e-05/0.4395, allocations: 25.7 kB / 448.7 MB, free: 3.906 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000169/0.4397, allocations: 222.9 kB / 449 MB, free: 3.688 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.655e-05/0.4398, allocations: 51.11 kB / 449 MB, free: 3.637 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.075e-05/0.4398, allocations: 4 kB / 449 MB, free: 3.633 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001557/0.4399, allocations: 314.8 kB / 449.3 MB, free: 3.316 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001294/0.4401, allocations: 56.3 kB / 449.4 MB, free: 3.258 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001103/0.4402, allocations: 41.31 kB / 449.4 MB, free: 3.219 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001488/0.4404, allocations: 58.8 kB / 449.5 MB, free: 3.164 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.918e-06/0.4404, allocations: 0 / 449.5 MB, free: 3.164 MB / 378.7 MB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0004183/0.4408, allocations: 165 kB / 449.6 MB, free: 3 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001195/0.441, allocations: 143.3 kB / 449.8 MB, free: 2.832 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.191e-05/0.441, allocations: 3.984 kB / 449.8 MB, free: 2.828 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.089e-05/0.441, allocations: 3.953 kB / 449.8 MB, free: 2.824 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002236/0.4412, allocations: 35.98 kB / 449.8 MB, free: 2.789 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.757e-06/0.4413, allocations: 3.938 kB / 449.8 MB, free: 2.785 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001543/0.4414, allocations: 19.91 kB / 449.8 MB, free: 2.766 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.59e-05/0.4415, allocations: 7.984 kB / 449.8 MB, free: 2.758 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 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (22): * Single equations (assignments): 17 * Array equations: 0 * Algorithm blocks: 5 * 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.0001196/0.4416, allocations: 110.7 kB / 450 MB, free: 2.645 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001027/0.4417, allocations: 31.62 kB / 450 MB, free: 2.613 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005559/0.4423, allocations: 200.7 kB / 450.2 MB, free: 2.402 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.358e-06/0.4423, allocations: 4 kB / 450.2 MB, free: 2.398 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.685e-06/0.4423, allocations: 3.953 kB / 450.2 MB, free: 2.395 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.255e-06/0.4424, allocations: 7.984 kB / 450.2 MB, free: 2.387 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001092/0.4435, allocations: 0.5807 MB / 450.8 MB, free: 1.762 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.264e-06/0.4435, allocations: 0 / 450.8 MB, free: 1.762 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001821/0.4437, allocations: 31.98 kB / 450.8 MB, free: 1.73 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.147e-05/0.4437, allocations: 3.953 kB / 450.8 MB, free: 1.727 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.803e-05/0.4437, allocations: 4 kB / 450.8 MB, free: 1.723 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.572e-06/0.4438, allocations: 7.984 kB / 450.8 MB, free: 1.715 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.866e-06/0.4438, allocations: 0 / 450.8 MB, free: 1.715 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000453/0.4442, allocations: 269.5 kB / 451.1 MB, free: 1.438 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001552/0.4444, allocations: 120.7 kB / 451.2 MB, free: 1.301 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.847e-05/0.4445, allocations: 3.953 kB / 451.2 MB, free: 1.297 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001479/0.4446, allocations: 11.98 kB / 451.2 MB, free: 1.285 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.56e-05/0.4447, allocations: 11.98 kB / 451.2 MB, free: 1.273 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.426e-05/0.4447, allocations: 12 kB / 451.2 MB, free: 1.262 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0004897/0.4452, allocations: 316.5 kB / 451.6 MB, free: 0.9531 MB / 378.7 MB Notification: Performance of sort global known variables: time 8.86e-07/0.4452, allocations: 0 / 451.6 MB, free: 0.9531 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0005436/0.4458, allocations: 91.73 kB / 451.6 MB, free: 0.8633 MB / 378.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 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (17): * Single equations (assignments): 17 * 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.002216/0.448, allocations: 0.6206 MB / 452.3 MB, free: 324 kB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0005805/0.4487, allocations: 388.9 kB / 452.6 MB, free: 15.88 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 4.998e-06/0.4487, allocations: 0 / 452.6 MB, free: 15.88 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001502/0.4488, allocations: 71.92 kB / 452.7 MB, free: 15.8 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004321/0.4493, allocations: 33.14 kB / 452.7 MB, free: 15.77 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001186/0.4505, allocations: 0.4922 MB / 453.2 MB, free: 15.25 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000526/0.451, allocations: 0.7865 MB / 454 MB, free: 14.44 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001437/0.4512, allocations: 31.44 kB / 454.1 MB, free: 14.41 MB / 394.7 MB Notification: Performance of SimCode: time 2.081e-06/0.4512, allocations: 0 / 454.1 MB, free: 14.41 MB / 394.7 MB Notification: Performance of Templates: time 0.008699/0.4599, allocations: 4.107 MB / 458.2 MB, free: 10.3 MB / 394.7 MB