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.Test2.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.Test2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y|d_t_new.y|clock.y|const.y",fileNamePrefix="ModelicaTest_3.2.1_cpp_ModelicaTest.Tables.CombiTable2D.Test2") Notification: Performance of loadModel(ModelicaTest): time 1.813/1.813, allocations: 209.3 MB / 224.8 MB, free: 196 kB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000442/0.0004417, allocations: 16 kB / 282.6 MB, free: 9.582 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2848/0.2852, allocations: 48.7 MB / 331.3 MB, free: 6.488 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1523/0.4376, allocations: 74.58 MB / 405.9 MB, free: 3.859 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002343/0.4379, allocations: 71.95 kB / 405.9 MB, free: 3.789 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01692/0.4549, allocations: 5.288 MB / 411.2 MB, free: 14.49 MB / 346.7 MB Notification: Performance of FrontEnd: time 2.785e-06/0.4549, allocations: 0 / 411.2 MB, free: 14.49 MB / 346.7 MB Notification: Performance of Transformations before backend: time 3.031e-05/0.4549, allocations: 4 kB / 411.2 MB, free: 14.49 MB / 346.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.0008779/0.4558, allocations: 0.6355 MB / 411.9 MB, free: 13.8 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.135e-05/0.4559, allocations: 11.97 kB / 411.9 MB, free: 13.79 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.299e-05/0.456, allocations: 43.44 kB / 411.9 MB, free: 13.74 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005349/0.4565, allocations: 311.3 kB / 412.2 MB, free: 13.39 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.459e-05/0.4566, allocations: 8 kB / 412.2 MB, free: 13.39 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.198e-05/0.4566, allocations: 4 kB / 412.2 MB, free: 13.38 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001692/0.4568, allocations: 53.69 kB / 412.3 MB, free: 13.32 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.599e-05/0.4568, allocations: 0 / 412.3 MB, free: 13.32 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.205e-05/0.4568, allocations: 7.922 kB / 412.3 MB, free: 13.32 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.821e-06/0.4569, allocations: 4 kB / 412.3 MB, free: 13.31 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000129/0.457, allocations: 27.97 kB / 412.3 MB, free: 13.29 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007247/0.4577, allocations: 432.6 kB / 412.7 MB, free: 12.81 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002355/0.458, allocations: 46.56 kB / 412.8 MB, free: 12.76 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.059e-05/0.458, allocations: 0 / 412.8 MB, free: 12.76 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.171e-05/0.4581, allocations: 34.5 kB / 412.8 MB, free: 12.71 MB / 346.7 MB Notification: Performance of pre-optimization done (n=3): time 4.103e-06/0.4581, allocations: 4 kB / 412.8 MB, free: 12.71 MB / 346.7 MB Notification: Performance of matching and sorting (n=5): time 0.0008029/0.4589, allocations: 240.3 kB / 413.1 MB, free: 12.47 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.042e-05/0.459, allocations: 59.34 kB / 413.1 MB, free: 12.4 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001705/0.4607, allocations: 0.7744 MB / 413.9 MB, free: 11.62 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 2.489e-05/0.4607, allocations: 25.7 kB / 413.9 MB, free: 11.59 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002116/0.461, allocations: 234.6 kB / 414.1 MB, free: 11.36 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.748e-05/0.461, allocations: 15.75 kB / 414.2 MB, free: 11.34 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.361e-06/0.461, allocations: 0 / 414.2 MB, free: 11.34 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001569/0.4612, allocations: 310.8 kB / 414.5 MB, free: 11.03 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001229/0.4613, allocations: 27.98 kB / 414.5 MB, free: 11 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.297e-05/0.4614, allocations: 23.98 kB / 414.5 MB, free: 10.98 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001321/0.4616, allocations: 53.88 kB / 414.6 MB, free: 10.92 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.434e-06/0.4616, allocations: 4 kB / 414.6 MB, free: 10.91 MB / 346.7 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0003199/0.4619, allocations: 123.4 kB / 414.7 MB, free: 10.78 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.077e-05/0.462, allocations: 29.7 kB / 414.7 MB, free: 10.75 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.79e-06/0.462, allocations: 0 / 414.7 MB, free: 10.75 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.455e-05/0.462, allocations: 4.031 kB / 414.7 MB, free: 10.74 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.577e-05/0.4621, allocations: 19.92 kB / 414.7 MB, free: 10.72 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.537e-05/0.4622, allocations: 7.953 kB / 414.8 MB, free: 10.71 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000131/0.4623, allocations: 15.94 kB / 414.8 MB, free: 10.7 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.499e-05/0.4623, allocations: 0 / 414.8 MB, free: 10.7 MB / 346.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 (6): * Single equations (assignments): 5 * 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.000419/0.4628, allocations: 209.8 kB / 415 MB, free: 10.48 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002055/0.463, allocations: 43.44 kB / 415 MB, free: 10.44 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006075/0.4636, allocations: 140.9 kB / 415.2 MB, free: 10.3 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.47e-06/0.4637, allocations: 4 kB / 415.2 MB, free: 10.29 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.377e-06/0.4637, allocations: 4 kB / 415.2 MB, free: 10.29 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.095e-05/0.4637, allocations: 3.953 kB / 415.2 MB, free: 10.29 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001092/0.4648, allocations: 0.5803 MB / 415.7 MB, free: 9.648 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.582e-06/0.4648, allocations: 0 / 415.7 MB, free: 9.648 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.326e-05/0.4649, allocations: 16 kB / 415.8 MB, free: 9.633 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.64e-06/0.465, allocations: 3.984 kB / 415.8 MB, free: 9.629 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.104e-05/0.465, allocations: 4 kB / 415.8 MB, free: 9.625 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.251e-06/0.465, allocations: 3.953 kB / 415.8 MB, free: 9.621 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.889e-06/0.465, allocations: 0 / 415.8 MB, free: 9.621 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003935/0.4654, allocations: 227.2 kB / 416 MB, free: 9.383 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002296/0.4657, allocations: 156.6 kB / 416.1 MB, free: 9.211 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.263e-05/0.4657, allocations: 4 kB / 416.2 MB, free: 9.207 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001354/0.4659, allocations: 4 kB / 416.2 MB, free: 9.203 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.524e-05/0.4659, allocations: 11.94 kB / 416.2 MB, free: 9.191 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.869e-06/0.4659, allocations: 0 / 416.2 MB, free: 9.191 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0009787/0.4669, allocations: 0.6276 MB / 416.8 MB, free: 8.566 MB / 346.7 MB Notification: Performance of sort global known variables: time 1.32e-06/0.4669, allocations: 4 kB / 416.8 MB, free: 8.562 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0004356/0.4674, allocations: 52 kB / 416.9 MB, free: 8.512 MB / 346.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 (5): * Single equations (assignments): 5 * 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.0007588/0.4682, allocations: 250 kB / 417.1 MB, free: 8.309 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0003194/0.4685, allocations: 123.3 kB / 417.2 MB, free: 8.176 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 3.06e-06/0.4685, allocations: 0 / 417.2 MB, free: 8.176 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001091/0.4686, allocations: 27.98 kB / 417.2 MB, free: 8.148 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002828/0.4689, allocations: 13.97 kB / 417.3 MB, free: 8.137 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001695/0.4706, allocations: 0.9288 MB / 418.2 MB, free: 7.176 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006132/0.4713, allocations: 0.8301 MB / 419 MB, free: 6.32 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.445e-05/0.4714, allocations: 19.69 kB / 419 MB, free: 6.301 MB / 346.7 MB Notification: Performance of SimCode: time 1.703e-06/0.4714, allocations: 0 / 419 MB, free: 6.301 MB / 346.7 MB Notification: Performance of Templates: time 0.009812/0.4812, allocations: 3.93 MB / 423 MB, free: 2.359 MB / 346.7 MB