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.Test20.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.Test20,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|combiTable2D1D.y|combiTable2D1DT.y|clock1.y|combiTable1D.y.1.|combiTable2D.y|combiTable2DT.y|der1.y|der2.y|der3.y|der4.y|der5.y",fileNamePrefix="ModelicaTest_3.2.1_cpp_ModelicaTest.Tables.CombiTable2D.Test20") Notification: Performance of loadModel(ModelicaTest): time 1.791/1.791, allocations: 209.3 MB / 222.4 MB, free: 7.73 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 4.262e-05/4.274e-05, allocations: 4 kB / 277.8 MB, free: 15.3 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1269/0.127, allocations: 48.7 MB / 326.5 MB, free: 14.51 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3764/0.5035, allocations: 75.61 MB / 402.2 MB, free: 10.16 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002173/0.5037, allocations: 73.91 kB / 402.2 MB, free: 10.15 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02196/0.5257, allocations: 6.085 MB / 408.3 MB, free: 7.836 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.904e-06/0.5257, allocations: 0 / 408.3 MB, free: 7.836 MB / 314.7 MB Notification: Performance of Transformations before backend: time 4.009e-05/0.5258, allocations: 19.42 kB / 408.3 MB, free: 7.828 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: 25 * Number of variables: 25 Notification: Performance of Generate backend data structure: time 0.0006122/0.5264, allocations: 0.6755 MB / 409 MB, free: 7.172 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.244e-05/0.5265, allocations: 7.656 kB / 409 MB, free: 7.172 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.491e-05/0.5266, allocations: 46.59 kB / 409.1 MB, free: 7.145 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000405/0.527, allocations: 288 kB / 409.3 MB, free: 6.895 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.054e-05/0.527, allocations: 15.53 kB / 409.4 MB, free: 6.891 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.476e-05/0.5271, allocations: 14.66 kB / 409.4 MB, free: 6.887 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002143/0.5273, allocations: 104.4 kB / 409.5 MB, free: 6.84 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.663e-05/0.5273, allocations: 7.906 kB / 409.5 MB, free: 6.832 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.558e-05/0.5274, allocations: 2.75 kB / 409.5 MB, free: 6.832 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.008e-06/0.5274, allocations: 3.812 kB / 409.5 MB, free: 6.832 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001625/0.5276, allocations: 56.03 kB / 409.5 MB, free: 6.832 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006535/0.5282, allocations: 473 kB / 410 MB, free: 6.484 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000179/0.5284, allocations: 93.78 kB / 410.1 MB, free: 6.449 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.473e-05/0.5285, allocations: 30.17 kB / 410.1 MB, free: 6.441 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.613e-05/0.5286, allocations: 11.3 kB / 410.1 MB, free: 6.438 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.761e-05/0.5286, allocations: 32.94 kB / 410.2 MB, free: 6.398 MB / 314.7 MB Notification: Performance of pre-optimization done (n=11): time 2.713e-06/0.5286, allocations: 0 / 410.2 MB, free: 6.398 MB / 314.7 MB Notification: Performance of matching and sorting (n=17): time 0.0008754/0.5295, allocations: 322.7 kB / 410.5 MB, free: 6.277 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.252e-05/0.5295, allocations: 51.41 kB / 410.5 MB, free: 6.215 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005565/0.5301, allocations: 420.9 kB / 410.9 MB, free: 6.07 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 1.948e-05/0.5301, allocations: 29.27 kB / 411 MB, free: 6.039 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.374e-05/0.5302, allocations: 219.9 kB / 411.2 MB, free: 5.875 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.619e-05/0.5303, allocations: 60.61 kB / 411.2 MB, free: 5.832 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.176e-05/0.5303, allocations: 3.688 kB / 411.2 MB, free: 5.832 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 5.532e-05/0.5304, allocations: 326.3 kB / 411.6 MB, free: 5.512 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001172/0.5305, allocations: 50 kB / 411.6 MB, free: 5.504 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001075/0.5306, allocations: 60.09 kB / 411.7 MB, free: 5.496 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001525/0.5308, allocations: 186.7 kB / 411.9 MB, free: 5.332 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.034e-06/0.5308, allocations: 0 / 411.9 MB, free: 5.332 MB / 314.7 MB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0004034/0.5312, allocations: 316 kB / 412.2 MB, free: 5.125 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.307e-05/0.5313, allocations: 141.2 kB / 412.3 MB, free: 4.965 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.743e-06/0.5313, allocations: 0 / 412.3 MB, free: 4.965 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.704e-05/0.5313, allocations: 3.781 kB / 412.3 MB, free: 4.965 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002128/0.5316, allocations: 38.2 kB / 412.3 MB, free: 4.957 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.215e-06/0.5316, allocations: 0 / 412.3 MB, free: 4.957 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001245/0.5317, allocations: 14.97 kB / 412.4 MB, free: 4.953 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.444e-05/0.5318, allocations: 11.33 kB / 412.4 MB, free: 4.949 MB / 314.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 6.577e-05/0.5318, allocations: 112.2 kB / 412.5 MB, free: 4.84 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.372e-05/0.5319, allocations: 30.62 kB / 412.5 MB, free: 4.824 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004725/0.5324, allocations: 223.2 kB / 412.7 MB, free: 4.742 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.587e-06/0.5324, allocations: 3.719 kB / 412.7 MB, free: 4.742 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.647e-06/0.5325, allocations: 4 kB / 412.7 MB, free: 4.738 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.748e-06/0.5325, allocations: 3.984 kB / 412.7 MB, free: 4.734 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008927/0.5334, allocations: 0.6183 MB / 413.4 MB, free: 4.348 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.723e-06/0.5334, allocations: 0 / 413.4 MB, free: 4.348 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001779/0.5336, allocations: 33.52 kB / 413.4 MB, free: 4.344 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.054e-06/0.5336, allocations: 7.875 kB / 413.4 MB, free: 4.34 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.491e-05/0.5336, allocations: 0 / 413.4 MB, free: 4.34 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.931e-06/0.5336, allocations: 3.953 kB / 413.4 MB, free: 4.336 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.683e-06/0.5337, allocations: 3.812 kB / 413.4 MB, free: 4.336 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003736/0.534, allocations: 278.8 kB / 413.7 MB, free: 4.172 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001094/0.5342, allocations: 127.2 kB / 413.8 MB, free: 4.055 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.865e-05/0.5342, allocations: 2.688 kB / 413.8 MB, free: 4.055 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000149/0.5344, allocations: 18.73 kB / 413.8 MB, free: 4.047 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.811e-05/0.5345, allocations: 15.78 kB / 413.8 MB, free: 4.039 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.828e-05/0.5345, allocations: 11.09 kB / 413.8 MB, free: 4.035 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0004272/0.5349, allocations: 329.7 kB / 414.2 MB, free: 3.926 MB / 314.7 MB Notification: Performance of sort global known variables: time 8.86e-07/0.5349, allocations: 3.938 kB / 414.2 MB, free: 3.922 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0004871/0.5354, allocations: 101.6 kB / 414.3 MB, free: 3.883 MB / 314.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.001833/0.5373, allocations: 0.5665 MB / 414.8 MB, free: 3.504 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0004319/0.5377, allocations: 402.9 kB / 415.2 MB, free: 3.16 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 3.477e-06/0.5378, allocations: 0 / 415.2 MB, free: 3.16 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001375/0.5379, allocations: 74.48 kB / 415.3 MB, free: 3.105 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004157/0.5383, allocations: 33.95 kB / 415.3 MB, free: 3.086 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009506/0.5393, allocations: 0.507 MB / 415.8 MB, free: 2.613 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002551/0.5396, allocations: 0.7788 MB / 416.6 MB, free: 1.812 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001127/0.5397, allocations: 38.67 kB / 416.7 MB, free: 1.777 MB / 314.7 MB Notification: Performance of SimCode: time 1.681e-06/0.5397, allocations: 0 / 416.7 MB, free: 1.777 MB / 314.7 MB Notification: Performance of Templates: time 0.007864/0.5476, allocations: 4.089 MB / 420.8 MB, free: 13.71 MB / 330.7 MB