Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr ModelicaTest_3.2.1_cpp_ModelicaTest.Tables.CombiTable2D.Test7.conf.json Using package ModelicaServices with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.1/package.mo) Using package Complex with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.1.mo) Using package Modelica with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.1/package.mo) Using package ModelicaTest with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaTest 3.2.1/package.mo) Running command: translateModel(ModelicaTest.Tables.CombiTable2D.Test7,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y|clock.y|const.y",fileNamePrefix="ModelicaTest_3.2.1_cpp_ModelicaTest.Tables.CombiTable2D.Test7") Notification: Performance of loadModel(ModelicaTest): time 2.088/2.088, allocations: 209.2 MB / 225.4 MB, free: 0.7656 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004791/0.0004795, allocations: 12 kB / 283.1 MB, free: 9.719 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1117/0.1122, allocations: 48.71 MB / 331.8 MB, free: 8.918 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4251/0.5373, allocations: 74.4 MB / 406.2 MB, free: 10.79 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002864/0.5376, allocations: 75.97 kB / 406.3 MB, free: 10.72 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01851/0.5562, allocations: 5.047 MB / 411.3 MB, free: 5.668 MB / 330.7 MB Notification: Performance of FrontEnd: time 2.124e-06/0.5562, allocations: 3.938 kB / 411.3 MB, free: 5.664 MB / 330.7 MB Notification: Performance of Transformations before backend: time 3.179e-05/0.5563, allocations: 8 kB / 411.3 MB, free: 5.656 MB / 330.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0009464/0.5572, allocations: 0.6328 MB / 412 MB, free: 4.973 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.567e-05/0.5573, allocations: 8.031 kB / 412 MB, free: 4.965 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001145/0.5574, allocations: 43.44 kB / 412 MB, free: 4.922 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006284/0.5581, allocations: 319.3 kB / 412.3 MB, free: 4.57 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.575e-05/0.5581, allocations: 0 / 412.3 MB, free: 4.57 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.835e-05/0.5581, allocations: 12 kB / 412.3 MB, free: 4.559 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000198/0.5583, allocations: 41.69 kB / 412.4 MB, free: 4.512 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.236e-05/0.5584, allocations: 4 kB / 412.4 MB, free: 4.508 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.374e-05/0.5584, allocations: 7.984 kB / 412.4 MB, free: 4.5 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.591e-06/0.5584, allocations: 0 / 412.4 MB, free: 4.5 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001459/0.5586, allocations: 27.92 kB / 412.4 MB, free: 4.473 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007728/0.5593, allocations: 412.7 kB / 412.8 MB, free: 4.02 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001355/0.5595, allocations: 38.56 kB / 412.9 MB, free: 3.973 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.1e-05/0.5595, allocations: 3.984 kB / 412.9 MB, free: 3.969 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.581e-05/0.5596, allocations: 42.5 kB / 412.9 MB, free: 3.918 MB / 330.7 MB Notification: Performance of pre-optimization done (n=2): time 1.533e-06/0.5596, allocations: 0 / 412.9 MB, free: 3.918 MB / 330.7 MB Notification: Performance of matching and sorting (n=2): time 0.0003983/0.56, allocations: 97.33 kB / 413 MB, free: 3.816 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.674e-05/0.5601, allocations: 55.41 kB / 413.1 MB, free: 3.75 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001941/0.562, allocations: 0.8338 MB / 413.9 MB, free: 2.906 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 2.747e-05/0.5621, allocations: 25.7 kB / 413.9 MB, free: 2.875 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002193/0.5623, allocations: 234.6 kB / 414.2 MB, free: 2.645 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.389e-05/0.5623, allocations: 7.844 kB / 414.2 MB, free: 2.637 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.688e-06/0.5624, allocations: 0 / 414.2 MB, free: 2.637 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001436/0.5625, allocations: 314.8 kB / 414.5 MB, free: 2.32 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001117/0.5626, allocations: 16 kB / 414.5 MB, free: 2.305 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.081e-05/0.5627, allocations: 11.98 kB / 414.5 MB, free: 2.293 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001052/0.5628, allocations: 41.64 kB / 414.5 MB, free: 2.246 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.695e-06/0.5629, allocations: 0 / 414.5 MB, free: 2.246 MB / 330.7 MB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0002503/0.5631, allocations: 87.38 kB / 414.6 MB, free: 2.148 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.24e-05/0.5632, allocations: 29.7 kB / 414.6 MB, free: 2.113 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.402e-06/0.5632, allocations: 4 kB / 414.7 MB, free: 2.109 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.636e-05/0.5632, allocations: 0 / 414.7 MB, free: 2.109 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001009/0.5633, allocations: 8 kB / 414.7 MB, free: 2.102 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.856e-06/0.5633, allocations: 3.984 kB / 414.7 MB, free: 2.098 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000119/0.5635, allocations: 11.91 kB / 414.7 MB, free: 2.086 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.388e-05/0.5635, allocations: 3.953 kB / 414.7 MB, free: 2.082 MB / 330.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 (3): * Single equations (assignments): 2 * 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.0003008/0.5638, allocations: 205.8 kB / 414.9 MB, free: 1.871 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001057/0.5639, allocations: 35.53 kB / 414.9 MB, free: 1.836 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000319/0.5643, allocations: 112.5 kB / 415 MB, free: 1.723 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.238e-06/0.5643, allocations: 3.938 kB / 415 MB, free: 1.719 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.678e-06/0.5643, allocations: 0 / 415 MB, free: 1.719 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.46e-06/0.5643, allocations: 3.984 kB / 415 MB, free: 1.715 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004608/0.5648, allocations: 317.4 kB / 415.3 MB, free: 1.355 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.174e-06/0.5648, allocations: 0 / 415.3 MB, free: 1.355 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.301e-05/0.5649, allocations: 4 kB / 415.3 MB, free: 1.352 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.098e-06/0.5649, allocations: 0 / 415.3 MB, free: 1.352 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.057e-05/0.5649, allocations: 8.016 kB / 415.4 MB, free: 1.344 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.548e-06/0.5649, allocations: 4 kB / 415.4 MB, free: 1.34 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.803e-06/0.5649, allocations: 0 / 415.4 MB, free: 1.34 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000323/0.5653, allocations: 191 kB / 415.5 MB, free: 1.137 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002733/0.5655, allocations: 164.5 kB / 415.7 MB, free: 0.957 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.799e-05/0.5656, allocations: 4.031 kB / 415.7 MB, free: 0.9531 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001269/0.5658, allocations: 4 kB / 415.7 MB, free: 0.9492 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.42e-05/0.5658, allocations: 4 kB / 415.7 MB, free: 0.9453 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.7e-06/0.5658, allocations: 0 / 415.7 MB, free: 0.9453 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.001128/0.567, allocations: 0.6276 MB / 416.3 MB, free: 328 kB / 330.7 MB Notification: Performance of sort global known variables: time 3.61e-07/0.567, allocations: 0 / 416.3 MB, free: 328 kB / 330.7 MB Notification: Performance of remove unused functions: time 0.0004078/0.5674, allocations: 48 kB / 416.4 MB, free: 280 kB / 330.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 (2): * Single equations (assignments): 2 * 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.000613/0.568, allocations: 216.1 kB / 416.6 MB, free: 96 kB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.000295/0.5683, allocations: 79.39 kB / 416.7 MB, free: 4 kB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 2.916e-06/0.5683, allocations: 0 / 416.7 MB, free: 4 kB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001329/0.5685, allocations: 11.98 kB / 416.7 MB, free: 15.99 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000356/0.5689, allocations: 25.86 kB / 416.7 MB, free: 15.96 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002016/0.5709, allocations: 0.9008 MB / 417.6 MB, free: 15.03 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005949/0.5715, allocations: 0.8184 MB / 418.4 MB, free: 14.19 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001163/0.5717, allocations: 27.61 kB / 418.5 MB, free: 14.16 MB / 346.7 MB Notification: Performance of SimCode: time 9.72e-07/0.5717, allocations: 0 / 418.5 MB, free: 14.16 MB / 346.7 MB Notification: Performance of Templates: time 0.0114/0.5831, allocations: 3.676 MB / 422.1 MB, free: 10.47 MB / 346.7 MB