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.Test20.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.Test20,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.Test20") Notification: Performance of loadModel(ModelicaTest): time 2.499/2.499, allocations: 234.9 MB / 251.1 MB, free: 9.547 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004514/0.0004517, allocations: 11.98 kB / 314.9 MB, free: 9.598 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3492/0.3497, allocations: 54.86 MB / 369.8 MB, free: 10.72 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1515/0.5012, allocations: 82.17 MB / 452 MB, free: 8.434 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003047/0.5016, allocations: 79.89 kB / 452.1 MB, free: 8.355 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02823/0.5299, allocations: 6.457 MB / 458.5 MB, free: 1.891 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.835e-06/0.5299, allocations: 4 kB / 458.5 MB, free: 1.887 MB / 378.7 MB Notification: Performance of Transformations before backend: time 3.701e-05/0.53, allocations: 8.156 kB / 458.5 MB, free: 1.879 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.001062/0.531, allocations: 0.7207 MB / 459.2 MB, free: 1.078 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.789e-05/0.5311, allocations: 16.02 kB / 459.3 MB, free: 1.062 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001083/0.5312, allocations: 35.53 kB / 459.3 MB, free: 1.027 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005927/0.5318, allocations: 291 kB / 459.6 MB, free: 0.7031 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.402e-05/0.5319, allocations: 8 kB / 459.6 MB, free: 0.6953 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.192e-05/0.5319, allocations: 15.94 kB / 459.6 MB, free: 0.6797 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003637/0.5323, allocations: 117.5 kB / 459.7 MB, free: 0.5586 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.98e-05/0.5324, allocations: 3.906 kB / 459.7 MB, free: 0.5547 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.218e-05/0.5324, allocations: 8 kB / 459.7 MB, free: 0.5469 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.163e-06/0.5324, allocations: 0 / 459.7 MB, free: 0.5469 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002932/0.5327, allocations: 79.89 kB / 459.8 MB, free: 480 kB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009591/0.5337, allocations: 476.3 kB / 460.3 MB, free: 15.95 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002905/0.534, allocations: 94.55 kB / 460.4 MB, free: 15.85 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.897e-05/0.534, allocations: 7.984 kB / 460.4 MB, free: 15.84 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.692e-05/0.5341, allocations: 38.5 kB / 460.4 MB, free: 15.8 MB / 394.7 MB Notification: Performance of pre-optimization done (n=11): time 1.954e-06/0.5341, allocations: 0 / 460.4 MB, free: 15.8 MB / 394.7 MB Notification: Performance of matching and sorting (n=17): time 0.001592/0.5357, allocations: 394.9 kB / 460.8 MB, free: 15.41 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.305e-05/0.5358, allocations: 55.41 kB / 460.8 MB, free: 15.34 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008683/0.5367, allocations: 465.6 kB / 461.3 MB, free: 14.88 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 3.562e-05/0.5367, allocations: 25.7 kB / 461.3 MB, free: 14.84 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001681/0.5369, allocations: 222.9 kB / 461.5 MB, free: 14.62 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.954e-05/0.537, allocations: 51.17 kB / 461.6 MB, free: 14.57 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.532e-05/0.537, allocations: 4 kB / 461.6 MB, free: 14.57 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001357/0.5371, allocations: 318.8 kB / 461.9 MB, free: 14.25 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002572/0.5374, allocations: 64.34 kB / 462 MB, free: 14.18 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002369/0.5377, allocations: 69.66 kB / 462 MB, free: 14.12 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003404/0.538, allocations: 203.1 kB / 462.2 MB, free: 13.89 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.504e-06/0.538, allocations: 0 / 462.2 MB, free: 13.89 MB / 394.7 MB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0007836/0.5388, allocations: 350.4 kB / 462.6 MB, free: 13.52 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001024/0.539, allocations: 144.4 kB / 462.7 MB, free: 13.34 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.017e-06/0.539, allocations: 4 kB / 462.7 MB, free: 13.34 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.06e-05/0.539, allocations: 4 kB / 462.7 MB, free: 13.34 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002701/0.5393, allocations: 35.97 kB / 462.8 MB, free: 13.3 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.957e-06/0.5393, allocations: 0 / 462.8 MB, free: 13.3 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001731/0.5395, allocations: 19.94 kB / 462.8 MB, free: 13.28 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.904e-05/0.5395, allocations: 8 kB / 462.8 MB, free: 13.27 MB / 394.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 (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.0002666/0.5398, allocations: 169.7 kB / 463 MB, free: 13.1 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001028/0.5399, allocations: 35.61 kB / 463 MB, free: 13.06 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008267/0.5408, allocations: 256.8 kB / 463.2 MB, free: 12.79 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.35e-06/0.5408, allocations: 0 / 463.2 MB, free: 12.79 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.17e-06/0.5408, allocations: 3.938 kB / 463.2 MB, free: 12.79 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.813e-06/0.5408, allocations: 3.984 kB / 463.3 MB, free: 12.79 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001401/0.5422, allocations: 0.6486 MB / 463.9 MB, free: 12.08 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.027e-06/0.5423, allocations: 0 / 463.9 MB, free: 12.08 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002354/0.5425, allocations: 39.91 kB / 463.9 MB, free: 12.04 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.963e-06/0.5425, allocations: 0 / 463.9 MB, free: 12.04 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.007e-05/0.5426, allocations: 8 kB / 463.9 MB, free: 12.04 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.378e-06/0.5426, allocations: 0 / 463.9 MB, free: 12.04 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.464e-06/0.5426, allocations: 0 / 463.9 MB, free: 12.04 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007176/0.5433, allocations: 307 kB / 464.2 MB, free: 11.72 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001691/0.5435, allocations: 128.7 kB / 464.4 MB, free: 11.57 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.241e-05/0.5436, allocations: 0 / 464.4 MB, free: 11.57 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001545/0.5437, allocations: 15.98 kB / 464.4 MB, free: 11.56 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.431e-05/0.5438, allocations: 15.89 kB / 464.4 MB, free: 11.54 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.183e-05/0.5438, allocations: 8 kB / 464.4 MB, free: 11.54 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.000605/0.5445, allocations: 339.1 kB / 464.7 MB, free: 11.21 MB / 394.7 MB Notification: Performance of sort global known variables: time 4.81e-07/0.5445, allocations: 0 / 464.7 MB, free: 11.21 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0005226/0.545, allocations: 95.8 kB / 464.8 MB, free: 11.12 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 (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.002358/0.5474, allocations: 0.7879 MB / 465.6 MB, free: 10.4 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0008076/0.5482, allocations: 431.4 kB / 466 MB, free: 9.922 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 4.128e-06/0.5482, allocations: 0 / 466 MB, free: 9.922 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002616/0.5485, allocations: 91.84 kB / 466.1 MB, free: 9.832 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004955/0.549, allocations: 33.39 kB / 466.2 MB, free: 9.797 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00163/0.5507, allocations: 0.7002 MB / 466.9 MB, free: 9.066 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000509/0.5512, allocations: 0.7829 MB / 467.7 MB, free: 8.258 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001594/0.5514, allocations: 35.44 kB / 467.7 MB, free: 8.223 MB / 394.7 MB Notification: Performance of SimCode: time 1.403e-06/0.5514, allocations: 0 / 467.7 MB, free: 8.223 MB / 394.7 MB Notification: Performance of Templates: time 0.01047/0.5619, allocations: 4.088 MB / 471.8 MB, free: 4.129 MB / 394.7 MB