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.Test21.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.Test21,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.Test21") Notification: Performance of loadModel(ModelicaTest): time 2.008/2.008, allocations: 209.4 MB / 217.3 MB, free: 4.168 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 1.63e-05/1.617e-05, allocations: 0 / 271.3 MB, free: 14.14 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2634/0.2634, allocations: 48.69 MB / 320 MB, free: 14.41 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1116/0.3751, allocations: 73.99 MB / 394 MB, free: 6.457 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002254/0.3753, allocations: 71.97 kB / 394.1 MB, free: 6.387 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01202/0.3874, allocations: 3.11 MB / 397.2 MB, free: 3.27 MB / 330.7 MB Notification: Performance of FrontEnd: time 2.386e-06/0.3874, allocations: 0 / 397.2 MB, free: 3.27 MB / 330.7 MB Notification: Performance of Transformations before backend: time 1.047e-05/0.3874, allocations: 0 / 397.2 MB, free: 3.27 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.0004547/0.3879, allocations: 392.1 kB / 397.6 MB, free: 2.836 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.221e-05/0.3879, allocations: 8.031 kB / 397.6 MB, free: 2.828 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.049e-05/0.388, allocations: 7.906 kB / 397.6 MB, free: 2.82 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002523/0.3883, allocations: 186.9 kB / 397.8 MB, free: 2.598 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.05e-05/0.3883, allocations: 0 / 397.8 MB, free: 2.598 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.343e-05/0.3883, allocations: 4 kB / 397.8 MB, free: 2.594 MB / 330.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 7.931e-05/0.3884, allocations: 15.98 kB / 397.8 MB, free: 2.578 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001151/0.3885, allocations: 59.34 kB / 397.8 MB, free: 2.508 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.301e-05/0.3886, allocations: 0 / 397.8 MB, free: 2.508 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.873e-06/0.3886, allocations: 3.938 kB / 397.8 MB, free: 2.504 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.299e-06/0.3886, allocations: 3.938 kB / 397.8 MB, free: 2.5 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004244/0.389, allocations: 257.5 kB / 398.1 MB, free: 2.211 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001896/0.3892, allocations: 38.56 kB / 398.1 MB, free: 2.164 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.426e-05/0.3893, allocations: 16.8 kB / 398.2 MB, free: 2.145 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.545e-05/0.3893, allocations: 0 / 398.2 MB, free: 2.145 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.586e-05/0.3894, allocations: 34.56 kB / 398.2 MB, free: 2.102 MB / 330.7 MB Notification: Performance of pre-optimization done (n=3): time 2.12e-06/0.3894, allocations: 8 kB / 398.2 MB, free: 2.094 MB / 330.7 MB Notification: Performance of matching and sorting (n=5): time 0.0004666/0.3899, allocations: 105.5 kB / 398.3 MB, free: 1.984 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.038e-05/0.3899, allocations: 81.05 kB / 398.4 MB, free: 1.887 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001258/0.3901, allocations: 113.3 kB / 398.5 MB, free: 1.77 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 2.13e-05/0.3901, allocations: 25.7 kB / 398.5 MB, free: 1.738 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.344e-05/0.3902, allocations: 154.6 kB / 398.7 MB, free: 1.586 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.701e-05/0.3902, allocations: 19.66 kB / 398.7 MB, free: 1.566 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.772e-06/0.3903, allocations: 4 kB / 398.7 MB, free: 1.562 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.000152/0.3904, allocations: 314.8 kB / 399 MB, free: 1.246 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.687e-05/0.3905, allocations: 19.98 kB / 399 MB, free: 1.227 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.178e-05/0.3905, allocations: 21.72 kB / 399 MB, free: 1.199 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.661e-05/0.3906, allocations: 19.98 kB / 399.1 MB, free: 1.18 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.579e-06/0.3906, allocations: 0 / 399.1 MB, free: 1.18 MB / 330.7 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.000169/0.3908, allocations: 65.69 kB / 399.1 MB, free: 1.109 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.01e-05/0.3909, allocations: 29.7 kB / 399.1 MB, free: 1.074 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.081e-06/0.3909, allocations: 4.031 kB / 399.2 MB, free: 1.07 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.64e-05/0.3909, allocations: 4 kB / 399.2 MB, free: 1.066 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.692e-05/0.391, allocations: 15.92 kB / 399.2 MB, free: 1.051 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.35e-06/0.391, allocations: 4 kB / 399.2 MB, free: 1.047 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.805e-05/0.3911, allocations: 4 kB / 399.2 MB, free: 1.043 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.349e-05/0.3911, allocations: 4 kB / 399.2 MB, free: 1.039 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.405e-05/0.3912, allocations: 115.8 kB / 399.3 MB, free: 0.9219 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.396e-05/0.3913, allocations: 8 kB / 399.3 MB, free: 0.9141 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001941/0.3915, allocations: 70.14 kB / 399.4 MB, free: 0.8438 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.4e-06/0.3915, allocations: 15.91 kB / 399.4 MB, free: 0.8281 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.783e-06/0.3915, allocations: 0 / 399.4 MB, free: 0.8281 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.971e-06/0.3915, allocations: 0 / 399.4 MB, free: 0.8281 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000437/0.392, allocations: 311 kB / 399.7 MB, free: 492 kB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.9e-06/0.392, allocations: 0 / 399.7 MB, free: 492 kB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.783e-05/0.3921, allocations: 12 kB / 399.7 MB, free: 480 kB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.75e-06/0.3921, allocations: 4.375 kB / 399.7 MB, free: 476 kB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.076e-05/0.3921, allocations: 4 kB / 399.7 MB, free: 472 kB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.016e-06/0.3921, allocations: 4 kB / 399.7 MB, free: 468 kB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.416e-06/0.3922, allocations: 3.984 kB / 399.7 MB, free: 464 kB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001979/0.3924, allocations: 163.4 kB / 399.9 MB, free: 284 kB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.837e-05/0.3924, allocations: 81.02 kB / 400 MB, free: 184 kB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.97e-05/0.3925, allocations: 3.938 kB / 400 MB, free: 180 kB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001097/0.3926, allocations: 15.98 kB / 400 MB, free: 164 kB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.993e-05/0.3926, allocations: 0 / 400 MB, free: 164 kB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.824e-06/0.3927, allocations: 4 kB / 400 MB, free: 160 kB / 330.7 MB Notification: Performance of sorting global known variables: time 9.111e-05/0.3928, allocations: 99.31 kB / 400.1 MB, free: 60 kB / 330.7 MB Notification: Performance of sort global known variables: time 7.26e-07/0.3928, allocations: 0 / 400.1 MB, free: 60 kB / 330.7 MB Notification: Performance of remove unused functions: time 0.0003545/0.3931, allocations: 20 kB / 400.1 MB, free: 40 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.0008659/0.394, allocations: 285 kB / 400.4 MB, free: 15.8 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0001967/0.3942, allocations: 91.33 kB / 400.5 MB, free: 15.7 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 2.992e-06/0.3942, allocations: 0 / 400.5 MB, free: 15.7 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 5.079e-05/0.3943, allocations: 16 kB / 400.5 MB, free: 15.69 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002368/0.3946, allocations: 16.19 kB / 400.5 MB, free: 15.67 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003295/0.3949, allocations: 122.8 kB / 400.6 MB, free: 15.52 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003609/0.3953, allocations: 0.6924 MB / 401.3 MB, free: 14.8 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.024e-05/0.3954, allocations: 19.44 kB / 401.3 MB, free: 14.78 MB / 346.7 MB Notification: Performance of SimCode: time 1.503e-06/0.3954, allocations: 0 / 401.3 MB, free: 14.78 MB / 346.7 MB Notification: Performance of Templates: time 0.0039/0.3993, allocations: 1.476 MB / 402.8 MB, free: 13.31 MB / 346.7 MB