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.CombiTable1D.Test2.conf.json Using package ModelicaServices with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.1/package.mo) Using package Complex with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OMCompiler/build/lib/omlibrary/Complex 3.2.1.mo) Using package Modelica with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OMCompiler/build/lib/omlibrary/Modelica 3.2.1/package.mo) Using package ModelicaTest with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OMCompiler/build/lib/omlibrary/ModelicaTest 3.2.1/package.mo) Running command: translateModel(ModelicaTest.Tables.CombiTable1D.Test2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_3.2.1_cpp_ModelicaTest.Tables.CombiTable1D.Test2") Notification: Performance of loadModel(ModelicaTest): time 1.962/1.962, allocations: 209.4 MB / 217.3 MB, free: 4.172 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 1.72e-05/1.729e-05, allocations: 0 / 271.3 MB, free: 14.13 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.258/0.2581, allocations: 48.68 MB / 320 MB, free: 14.41 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1091/0.3672, allocations: 73.74 MB / 393.7 MB, free: 6.711 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001911/0.3674, allocations: 63.97 kB / 393.8 MB, free: 6.648 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01001/0.3774, allocations: 2.552 MB / 396.4 MB, free: 4.09 MB / 330.7 MB Notification: Performance of FrontEnd: time 2.268e-06/0.3775, allocations: 0 / 396.4 MB, free: 4.09 MB / 330.7 MB Notification: Performance of Transformations before backend: time 1.293e-05/0.3775, allocations: 4 kB / 396.4 MB, free: 4.086 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.000434/0.3779, allocations: 380.2 kB / 396.7 MB, free: 3.664 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.901e-05/0.378, allocations: 12.03 kB / 396.7 MB, free: 3.652 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.358e-05/0.3781, allocations: 11.89 kB / 396.8 MB, free: 3.641 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002524/0.3783, allocations: 190.8 kB / 396.9 MB, free: 3.414 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.144e-06/0.3783, allocations: 0 / 396.9 MB, free: 3.414 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.449e-05/0.3784, allocations: 4 kB / 396.9 MB, free: 3.41 MB / 330.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 8.074e-05/0.3785, allocations: 12 kB / 397 MB, free: 3.398 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.86e-05/0.3786, allocations: 45.62 kB / 397 MB, free: 3.348 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.072e-05/0.3786, allocations: 0 / 397 MB, free: 3.348 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.317e-06/0.3786, allocations: 0 / 397 MB, free: 3.348 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.138e-06/0.3786, allocations: 4 kB / 397 MB, free: 3.344 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004118/0.379, allocations: 265.4 kB / 397.3 MB, free: 3.047 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000182/0.3792, allocations: 38.55 kB / 397.3 MB, free: 3 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.213e-05/0.3793, allocations: 12.86 kB / 397.3 MB, free: 2.984 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.375e-05/0.3793, allocations: 0 / 397.3 MB, free: 2.984 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.063e-05/0.3794, allocations: 38.56 kB / 397.4 MB, free: 2.938 MB / 330.7 MB Notification: Performance of pre-optimization done (n=3): time 1.758e-06/0.3794, allocations: 0 / 397.4 MB, free: 2.938 MB / 330.7 MB Notification: Performance of matching and sorting (n=5): time 0.000439/0.3798, allocations: 101.5 kB / 397.5 MB, free: 2.832 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.696e-05/0.3799, allocations: 55.41 kB / 397.5 MB, free: 2.766 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001335/0.38, allocations: 119.1 kB / 397.6 MB, free: 2.641 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 2.287e-05/0.3801, allocations: 25.7 kB / 397.6 MB, free: 2.609 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.82e-05/0.3802, allocations: 162.6 kB / 397.8 MB, free: 2.449 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.634e-05/0.3802, allocations: 19.73 kB / 397.8 MB, free: 2.43 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.205e-06/0.3802, allocations: 0 / 397.8 MB, free: 2.43 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001504/0.3804, allocations: 318.8 kB / 398.1 MB, free: 2.109 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.258e-05/0.3804, allocations: 12 kB / 398.1 MB, free: 2.098 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.603e-05/0.3805, allocations: 12 kB / 398.2 MB, free: 2.086 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.72e-05/0.3805, allocations: 20.17 kB / 398.2 MB, free: 2.066 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.563e-06/0.3805, allocations: 0 / 398.2 MB, free: 2.066 MB / 330.7 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001608/0.3807, allocations: 69.62 kB / 398.2 MB, free: 1.992 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.921e-05/0.3808, allocations: 34.48 kB / 398.3 MB, free: 1.953 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.894e-06/0.3808, allocations: 4 kB / 398.3 MB, free: 1.949 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.148e-05/0.3808, allocations: 0 / 398.3 MB, free: 1.949 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.388e-05/0.3809, allocations: 15.98 kB / 398.3 MB, free: 1.934 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.068e-05/0.3809, allocations: 3.984 kB / 398.3 MB, free: 1.93 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.117e-05/0.381, allocations: 11.98 kB / 398.3 MB, free: 1.918 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.989e-06/0.381, allocations: 0 / 398.3 MB, free: 1.918 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 () * 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 8.54e-05/0.3811, allocations: 104.9 kB / 398.4 MB, free: 1.809 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.224e-05/0.3812, allocations: 11.91 kB / 398.4 MB, free: 1.797 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002019/0.3814, allocations: 81.95 kB / 398.5 MB, free: 1.715 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.956e-06/0.3814, allocations: 0 / 398.5 MB, free: 1.715 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.758e-06/0.3814, allocations: 3.938 kB / 398.5 MB, free: 1.711 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.973e-06/0.3814, allocations: 0 / 398.5 MB, free: 1.711 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004214/0.3819, allocations: 307.1 kB / 398.8 MB, free: 1.367 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.71e-06/0.3819, allocations: 0 / 398.8 MB, free: 1.367 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.43e-05/0.382, allocations: 12 kB / 398.8 MB, free: 1.355 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.242e-06/0.382, allocations: 4 kB / 398.8 MB, free: 1.352 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.262e-05/0.382, allocations: 4 kB / 398.8 MB, free: 1.348 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.995e-06/0.382, allocations: 0 / 398.8 MB, free: 1.348 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.259e-06/0.382, allocations: 3.984 kB / 398.8 MB, free: 1.344 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001945/0.3822, allocations: 167.3 kB / 399 MB, free: 1.164 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.307e-05/0.3823, allocations: 81.02 kB / 399.1 MB, free: 1.066 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.179e-05/0.3824, allocations: 4.25 kB / 399.1 MB, free: 1.062 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001033/0.3825, allocations: 15.98 kB / 399.1 MB, free: 1.047 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.351e-05/0.3825, allocations: 0 / 399.1 MB, free: 1.047 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.087e-05/0.3825, allocations: 4 kB / 399.1 MB, free: 1.043 MB / 330.7 MB Notification: Performance of sorting global known variables: time 8.972e-05/0.3826, allocations: 100.1 kB / 399.2 MB, free: 0.9453 MB / 330.7 MB Notification: Performance of sort global known variables: time 7.85e-07/0.3826, allocations: 0 / 399.2 MB, free: 0.9453 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.00032/0.383, allocations: 16 kB / 399.2 MB, free: 0.9297 MB / 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 () * 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.0006044/0.3836, allocations: 218.8 kB / 399.4 MB, free: 0.7422 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.000172/0.3838, allocations: 87.34 kB / 399.5 MB, free: 0.6445 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 2.492e-06/0.3838, allocations: 0 / 399.5 MB, free: 0.6445 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 5.304e-05/0.3839, allocations: 19.98 kB / 399.5 MB, free: 0.625 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002165/0.3841, allocations: 11.95 kB / 399.5 MB, free: 0.6133 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003402/0.3844, allocations: 142.8 kB / 399.7 MB, free: 456 kB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003774/0.3848, allocations: 0.6924 MB / 400.4 MB, free: 15.73 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.624e-05/0.3849, allocations: 11.44 kB / 400.4 MB, free: 15.71 MB / 346.7 MB Notification: Performance of SimCode: time 1.382e-06/0.3849, allocations: 0 / 400.4 MB, free: 15.71 MB / 346.7 MB Notification: Performance of Templates: time 0.003292/0.3882, allocations: 1.195 MB / 401.6 MB, free: 14.52 MB / 346.7 MB