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.Test16.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.Test16,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.Test16") Notification: Performance of loadModel(ModelicaTest): time 2.027/2.027, allocations: 209.4 MB / 217.3 MB, free: 4.16 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 1.594e-05/1.597e-05, allocations: 0 / 271.3 MB, free: 14.12 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2647/0.2648, allocations: 48.68 MB / 320 MB, free: 14.3 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1108/0.3756, allocations: 73.78 MB / 393.8 MB, free: 6.594 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002228/0.3759, allocations: 67.97 kB / 393.8 MB, free: 6.527 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.0114/0.3873, allocations: 2.956 MB / 396.8 MB, free: 3.566 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.891e-06/0.3874, allocations: 0 / 396.8 MB, free: 3.566 MB / 330.7 MB Notification: Performance of Transformations before backend: time 1.461e-05/0.3874, allocations: 8 kB / 396.8 MB, free: 3.559 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.0004867/0.3879, allocations: 404 kB / 397.2 MB, free: 3.113 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.917e-05/0.3879, allocations: 8.031 kB / 397.2 MB, free: 3.105 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.344e-05/0.388, allocations: 7.906 kB / 397.2 MB, free: 3.098 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002841/0.3883, allocations: 199.4 kB / 397.4 MB, free: 2.859 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.053e-05/0.3883, allocations: 0 / 397.4 MB, free: 2.859 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.219e-05/0.3884, allocations: 0 / 397.4 MB, free: 2.859 MB / 330.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 8.174e-05/0.3885, allocations: 19.98 kB / 397.4 MB, free: 2.84 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.847e-05/0.3886, allocations: 45.64 kB / 397.5 MB, free: 2.789 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.104e-05/0.3886, allocations: 0 / 397.5 MB, free: 2.789 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.222e-05/0.3886, allocations: 3.984 kB / 397.5 MB, free: 2.785 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.417e-06/0.3886, allocations: 0 / 397.5 MB, free: 2.785 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004338/0.3891, allocations: 265.4 kB / 397.7 MB, free: 2.488 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001947/0.3893, allocations: 46.5 kB / 397.8 MB, free: 2.434 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.787e-05/0.3893, allocations: 12.86 kB / 397.8 MB, free: 2.418 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.89e-05/0.3894, allocations: 4 kB / 397.8 MB, free: 2.414 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.836e-05/0.3894, allocations: 34.56 kB / 397.8 MB, free: 2.371 MB / 330.7 MB Notification: Performance of pre-optimization done (n=3): time 1.985e-06/0.3894, allocations: 0 / 397.8 MB, free: 2.371 MB / 330.7 MB Notification: Performance of matching and sorting (n=5): time 0.0004769/0.3899, allocations: 117.3 kB / 397.9 MB, free: 2.25 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.63e-05/0.3899, allocations: 51.41 kB / 398 MB, free: 2.188 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002302/0.3902, allocations: 182.8 kB / 398.2 MB, free: 2 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 2.183e-05/0.3902, allocations: 25.7 kB / 398.2 MB, free: 1.969 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.265e-05/0.3903, allocations: 158.6 kB / 398.4 MB, free: 1.812 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.722e-05/0.3904, allocations: 19.75 kB / 398.4 MB, free: 1.793 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.087e-06/0.3904, allocations: 0 / 398.4 MB, free: 1.793 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.000149/0.3905, allocations: 314.8 kB / 398.7 MB, free: 1.477 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.347e-05/0.3906, allocations: 15.98 kB / 398.7 MB, free: 1.461 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.895e-05/0.3907, allocations: 12 kB / 398.7 MB, free: 1.449 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.889e-05/0.3907, allocations: 20 kB / 398.7 MB, free: 1.43 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.772e-06/0.3907, allocations: 0 / 398.7 MB, free: 1.43 MB / 330.7 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001726/0.3909, allocations: 69.58 kB / 398.8 MB, free: 1.355 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.222e-05/0.391, allocations: 32.05 kB / 398.8 MB, free: 1.32 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.675e-06/0.391, allocations: 0 / 398.8 MB, free: 1.32 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.818e-05/0.391, allocations: 7.938 kB / 398.8 MB, free: 1.312 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.557e-05/0.3911, allocations: 16.08 kB / 398.9 MB, free: 1.297 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.558e-06/0.3911, allocations: 3.984 kB / 398.9 MB, free: 1.293 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.119e-05/0.3912, allocations: 4 kB / 398.9 MB, free: 1.289 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.132e-05/0.3912, allocations: 4 kB / 398.9 MB, free: 1.285 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 9.009e-05/0.3913, allocations: 112.9 kB / 399 MB, free: 1.168 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.894e-05/0.3914, allocations: 11.89 kB / 399 MB, free: 1.156 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002124/0.3916, allocations: 74.08 kB / 399.1 MB, free: 1.078 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.942e-06/0.3917, allocations: 4 kB / 399.1 MB, free: 1.074 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.917e-06/0.3917, allocations: 3.938 kB / 399.1 MB, free: 1.07 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.36e-06/0.3917, allocations: 0 / 399.1 MB, free: 1.07 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004791/0.3922, allocations: 335 kB / 399.4 MB, free: 0.6992 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.958e-06/0.3922, allocations: 0 / 399.4 MB, free: 0.6992 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.83e-05/0.3923, allocations: 15.98 kB / 399.4 MB, free: 0.6836 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.094e-06/0.3923, allocations: 0 / 399.4 MB, free: 0.6836 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.708e-06/0.3923, allocations: 384 / 399.4 MB, free: 0.6836 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.329e-06/0.3923, allocations: 0 / 399.4 MB, free: 0.6836 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.812e-06/0.3923, allocations: 4 kB / 399.4 MB, free: 0.6797 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002116/0.3926, allocations: 175.3 kB / 399.6 MB, free: 0.4922 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.488e-05/0.3927, allocations: 89.02 kB / 399.7 MB, free: 396 kB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.165e-05/0.3927, allocations: 0 / 399.7 MB, free: 396 kB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001087/0.3928, allocations: 7.984 kB / 399.7 MB, free: 388 kB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.639e-05/0.3929, allocations: 4 kB / 399.7 MB, free: 384 kB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.097e-06/0.3929, allocations: 0 / 399.7 MB, free: 384 kB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0001569/0.393, allocations: 143.2 kB / 399.8 MB, free: 240 kB / 330.7 MB Notification: Performance of sort global known variables: time 8.09e-07/0.3931, allocations: 0 / 399.8 MB, free: 240 kB / 330.7 MB Notification: Performance of remove unused functions: time 0.0003327/0.3934, allocations: 12 kB / 399.8 MB, free: 228 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 () * 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.0006149/0.394, allocations: 212.1 kB / 400 MB, free: 48 kB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0002016/0.3942, allocations: 91.34 kB / 400.1 MB, free: 15.95 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 2.872e-06/0.3943, allocations: 0 / 400.1 MB, free: 15.95 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 5.217e-05/0.3943, allocations: 19.98 kB / 400.2 MB, free: 15.93 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002317/0.3946, allocations: 19.89 kB / 400.2 MB, free: 15.91 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004539/0.395, allocations: 190.8 kB / 400.4 MB, free: 15.7 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003807/0.3954, allocations: 0.7041 MB / 401.1 MB, free: 14.96 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.311e-05/0.3955, allocations: 15.44 kB / 401.1 MB, free: 14.95 MB / 346.7 MB Notification: Performance of SimCode: time 1.529e-06/0.3955, allocations: 0 / 401.1 MB, free: 14.95 MB / 346.7 MB Notification: Performance of Templates: time 0.003655/0.3992, allocations: 1.37 MB / 402.4 MB, free: 13.59 MB / 346.7 MB