Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr ModelicaTest_3.2.2_cpp_ModelicaTest.Tables.CombiTable2D.Test29.conf.json Using package ModelicaServices with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo) Using package Complex with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo) Using package Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo) Using package ModelicaTest with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaTest 3.2.2/package.mo) Running command: translateModel(ModelicaTest.Tables.CombiTable2D.Test29,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.Test29") Notification: Performance of loadModel(ModelicaTest): time 2.542/2.542, allocations: 234.9 MB / 251.1 MB, free: 9.551 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004427/0.0004429, allocations: 8 kB / 314.9 MB, free: 9.613 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.371/0.3715, allocations: 54.86 MB / 369.8 MB, free: 10.75 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1557/0.5272, allocations: 80.96 MB / 450.8 MB, free: 9.676 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002979/0.5276, allocations: 75.95 kB / 450.8 MB, free: 9.602 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01305/0.5406, allocations: 3.026 MB / 453.9 MB, free: 6.57 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.395e-06/0.5407, allocations: 0 / 453.9 MB, free: 6.57 MB / 378.7 MB Notification: Performance of Transformations before backend: time 1.352e-05/0.5407, allocations: 0 / 453.9 MB, free: 6.57 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.0006197/0.5414, allocations: 424.6 kB / 454.3 MB, free: 6.102 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.541e-05/0.5414, allocations: 12.03 kB / 454.3 MB, free: 6.09 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.304e-05/0.5415, allocations: 11.86 kB / 454.3 MB, free: 6.078 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002847/0.5418, allocations: 196.4 kB / 454.5 MB, free: 5.844 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.716e-05/0.5418, allocations: 8 kB / 454.5 MB, free: 5.836 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.926e-05/0.5419, allocations: 4 kB / 454.5 MB, free: 5.832 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000241/0.5421, allocations: 65.61 kB / 454.6 MB, free: 5.762 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.433e-05/0.5421, allocations: 4 kB / 454.6 MB, free: 5.758 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.205e-05/0.5422, allocations: 0 / 454.6 MB, free: 5.758 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.905e-06/0.5422, allocations: 3.953 kB / 454.6 MB, free: 5.754 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002391/0.5424, allocations: 47.95 kB / 454.6 MB, free: 5.707 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004776/0.5429, allocations: 288.8 kB / 454.9 MB, free: 5.375 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002177/0.5431, allocations: 54.5 kB / 455 MB, free: 5.312 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.992e-05/0.5432, allocations: 4 kB / 455 MB, free: 5.309 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.744e-05/0.5432, allocations: 34.52 kB / 455 MB, free: 5.266 MB / 378.7 MB Notification: Performance of pre-optimization done (n=4): time 1.543e-06/0.5432, allocations: 0 / 455 MB, free: 5.266 MB / 378.7 MB Notification: Performance of matching and sorting (n=7): time 0.001266/0.5445, allocations: 247.1 kB / 455.2 MB, free: 5.02 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.247e-05/0.5446, allocations: 55.39 kB / 455.3 MB, free: 4.953 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002847/0.5449, allocations: 193.8 kB / 455.5 MB, free: 4.754 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.93e-05/0.5449, allocations: 25.7 kB / 455.5 MB, free: 4.723 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.731e-05/0.545, allocations: 166.5 kB / 455.7 MB, free: 4.559 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.113e-05/0.545, allocations: 19.7 kB / 455.7 MB, free: 4.539 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.042e-05/0.5451, allocations: 4 kB / 455.7 MB, free: 4.535 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001281/0.5452, allocations: 318.8 kB / 456 MB, free: 4.215 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002205/0.5454, allocations: 39.97 kB / 456 MB, free: 4.176 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002114/0.5457, allocations: 43.97 kB / 456.1 MB, free: 4.133 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002407/0.5459, allocations: 73.61 kB / 456.2 MB, free: 4.055 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.804e-06/0.5459, allocations: 0 / 456.2 MB, free: 4.055 MB / 378.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0005415/0.5465, allocations: 167.1 kB / 456.3 MB, free: 3.879 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.175e-05/0.5465, allocations: 29.7 kB / 456.3 MB, free: 3.844 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.362e-06/0.5466, allocations: 0 / 456.3 MB, free: 3.844 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.024e-05/0.5466, allocations: 4 kB / 456.4 MB, free: 3.84 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000202/0.5468, allocations: 23.98 kB / 456.4 MB, free: 3.816 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.418e-06/0.5468, allocations: 320 / 456.4 MB, free: 3.816 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001277/0.547, allocations: 19.92 kB / 456.4 MB, free: 3.797 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.238e-05/0.547, allocations: 0 / 456.4 MB, free: 3.797 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.0001625/0.5471, allocations: 133.8 kB / 456.5 MB, free: 3.656 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.659e-05/0.5472, allocations: 11.86 kB / 456.5 MB, free: 3.645 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005903/0.5478, allocations: 154.2 kB / 456.7 MB, free: 3.488 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.278e-06/0.5478, allocations: 0 / 456.7 MB, free: 3.488 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.941e-06/0.5478, allocations: 0 / 456.7 MB, free: 3.488 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.348e-06/0.5479, allocations: 0 / 456.7 MB, free: 3.488 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008902/0.5488, allocations: 422.4 kB / 457.1 MB, free: 3.02 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.747e-06/0.5488, allocations: 4 kB / 457.1 MB, free: 3.016 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001672/0.549, allocations: 19.98 kB / 457.1 MB, free: 2.996 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.252e-06/0.549, allocations: 0 / 457.1 MB, free: 2.996 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.824e-05/0.549, allocations: 8 kB / 457.1 MB, free: 2.988 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.567e-06/0.549, allocations: 0 / 457.1 MB, free: 2.988 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.355e-06/0.549, allocations: 0 / 457.1 MB, free: 2.988 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005669/0.5496, allocations: 231.2 kB / 457.4 MB, free: 2.746 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.407e-05/0.5497, allocations: 93 kB / 457.4 MB, free: 2.637 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.954e-05/0.5497, allocations: 0 / 457.4 MB, free: 2.637 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001501/0.5499, allocations: 20 kB / 457.5 MB, free: 2.617 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.389e-05/0.55, allocations: 7.922 kB / 457.5 MB, free: 2.609 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.648e-06/0.55, allocations: 4 kB / 457.5 MB, free: 2.605 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0002119/0.5502, allocations: 139.2 kB / 457.6 MB, free: 2.469 MB / 378.7 MB Notification: Performance of sort global known variables: time 3.51e-07/0.5502, allocations: 0 / 457.6 MB, free: 2.469 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0003604/0.5506, allocations: 24 kB / 457.6 MB, free: 2.445 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 () * 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.0009235/0.5515, allocations: 312.5 kB / 457.9 MB, free: 2.199 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0006026/0.5522, allocations: 151.3 kB / 458.1 MB, free: 2.039 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 3.917e-06/0.5522, allocations: 0 / 458.1 MB, free: 2.039 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002426/0.5524, allocations: 59.91 kB / 458.2 MB, free: 1.98 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002869/0.5527, allocations: 4 kB / 458.2 MB, free: 1.977 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007043/0.5535, allocations: 274.9 kB / 458.4 MB, free: 1.668 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003395/0.5538, allocations: 0.7082 MB / 459.1 MB, free: 0.9336 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.6e-05/0.5539, allocations: 11.44 kB / 459.1 MB, free: 0.9219 MB / 378.7 MB Notification: Performance of SimCode: time 1.352e-06/0.5539, allocations: 0 / 459.1 MB, free: 0.9219 MB / 378.7 MB Notification: Performance of Templates: time 0.004654/0.5586, allocations: 1.438 MB / 460.6 MB, free: 15.48 MB / 394.7 MB