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.CombiTable1Ds.Test5.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.CombiTable1Ds.Test5,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.CombiTable1Ds.Test5") Notification: Performance of loadModel(ModelicaTest): time 1.956/1.956, allocations: 209.3 MB / 222.4 MB, free: 7.723 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 2.899e-05/2.91e-05, allocations: 4 kB / 277.8 MB, free: 15.3 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0878/0.08785, allocations: 48.7 MB / 326.5 MB, free: 14.51 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3437/0.4316, allocations: 74.44 MB / 401 MB, free: 10.41 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001983/0.4318, allocations: 72.03 kB / 401 MB, free: 10.4 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01047/0.4423, allocations: 2.988 MB / 404 MB, free: 9.207 MB / 314.7 MB Notification: Performance of FrontEnd: time 2.111e-06/0.4423, allocations: 0 / 404 MB, free: 9.207 MB / 314.7 MB Notification: Performance of Transformations before backend: time 1.966e-05/0.4424, allocations: 0 / 404 MB, free: 9.207 MB / 314.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.000331/0.4427, allocations: 416.2 kB / 404.4 MB, free: 8.785 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.708e-05/0.4428, allocations: 7.656 kB / 404.4 MB, free: 8.785 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.326e-05/0.4428, allocations: 19.45 kB / 404.5 MB, free: 8.773 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001907/0.443, allocations: 204.1 kB / 404.7 MB, free: 8.559 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.144e-05/0.443, allocations: 0 / 404.7 MB, free: 8.559 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.134e-05/0.4431, allocations: 3.969 kB / 404.7 MB, free: 8.559 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.947e-05/0.4432, allocations: 44.41 kB / 404.7 MB, free: 8.523 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.148e-05/0.4432, allocations: 0 / 404.7 MB, free: 8.523 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.932e-06/0.4432, allocations: 3.938 kB / 404.7 MB, free: 8.52 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.612e-06/0.4432, allocations: 0 / 404.7 MB, free: 8.52 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.408e-05/0.4433, allocations: 14.91 kB / 404.7 MB, free: 8.52 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003366/0.4437, allocations: 289 kB / 405 MB, free: 8.23 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000168/0.4438, allocations: 41.59 kB / 405.1 MB, free: 8.203 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.958e-05/0.4439, allocations: 12.67 kB / 405.1 MB, free: 8.191 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.034e-05/0.4439, allocations: 0 / 405.1 MB, free: 8.191 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.677e-05/0.444, allocations: 34.55 kB / 405.1 MB, free: 8.148 MB / 314.7 MB Notification: Performance of pre-optimization done (n=3): time 1.872e-06/0.444, allocations: 4 kB / 405.1 MB, free: 8.145 MB / 314.7 MB Notification: Performance of matching and sorting (n=5): time 0.0004144/0.4444, allocations: 124.8 kB / 405.2 MB, free: 8.078 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.969e-05/0.4444, allocations: 51.41 kB / 405.3 MB, free: 8.016 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002164/0.4447, allocations: 195.5 kB / 405.5 MB, free: 7.906 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 1.106e-05/0.4447, allocations: 25.7 kB / 405.5 MB, free: 7.875 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.386e-05/0.4447, allocations: 161.5 kB / 405.7 MB, free: 7.727 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.831e-05/0.4448, allocations: 15.59 kB / 405.7 MB, free: 7.715 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.188e-06/0.4448, allocations: 3.562 kB / 405.7 MB, free: 7.715 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 4.957e-05/0.4449, allocations: 322.8 kB / 406 MB, free: 7.391 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.997e-05/0.4449, allocations: 10.81 kB / 406 MB, free: 7.391 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.457e-05/0.445, allocations: 14.47 kB / 406 MB, free: 7.391 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.037e-05/0.445, allocations: 36.73 kB / 406 MB, free: 7.359 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.737e-06/0.445, allocations: 3.938 kB / 406 MB, free: 7.355 MB / 314.7 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001437/0.4452, allocations: 88.92 kB / 406.1 MB, free: 7.289 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.819e-05/0.4452, allocations: 37.33 kB / 406.2 MB, free: 7.254 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.237e-06/0.4452, allocations: 0 / 406.2 MB, free: 7.254 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.534e-05/0.4453, allocations: 3.938 kB / 406.2 MB, free: 7.25 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.474e-05/0.4454, allocations: 19.48 kB / 406.2 MB, free: 7.242 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.938e-06/0.4454, allocations: 0 / 406.2 MB, free: 7.242 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.294e-05/0.4455, allocations: 11.62 kB / 406.2 MB, free: 7.238 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.299e-05/0.4455, allocations: 7.922 kB / 406.2 MB, free: 7.234 MB / 314.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 4.735e-05/0.4456, allocations: 108.7 kB / 406.3 MB, free: 7.125 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.91e-05/0.4456, allocations: 11.69 kB / 406.3 MB, free: 7.117 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001705/0.4458, allocations: 75.06 kB / 406.4 MB, free: 7.074 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.443e-06/0.4458, allocations: 3.75 kB / 406.4 MB, free: 7.074 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.244e-06/0.4458, allocations: 3.938 kB / 406.4 MB, free: 7.07 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.258e-06/0.4458, allocations: 3.984 kB / 406.4 MB, free: 7.066 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000365/0.4462, allocations: 345.4 kB / 406.8 MB, free: 6.746 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.989e-06/0.4462, allocations: 3.938 kB / 406.8 MB, free: 6.746 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.108e-05/0.4463, allocations: 7.688 kB / 406.8 MB, free: 6.746 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.383e-06/0.4463, allocations: 3.844 kB / 406.8 MB, free: 6.746 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.08e-06/0.4464, allocations: 4 kB / 406.8 MB, free: 6.742 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.171e-06/0.4464, allocations: 3.984 kB / 406.8 MB, free: 6.738 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.687e-06/0.4464, allocations: 0 / 406.8 MB, free: 6.738 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001364/0.4465, allocations: 162.6 kB / 406.9 MB, free: 6.598 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.411e-05/0.4466, allocations: 96.66 kB / 407 MB, free: 6.492 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.469e-05/0.4466, allocations: 7.031 kB / 407 MB, free: 6.492 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000103/0.4467, allocations: 3.844 kB / 407 MB, free: 6.492 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.261e-05/0.4468, allocations: 7.984 kB / 407 MB, free: 6.484 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.399e-06/0.4468, allocations: 3.812 kB / 407.1 MB, free: 6.484 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0001376/0.4469, allocations: 152.8 kB / 407.2 MB, free: 6.402 MB / 314.7 MB Notification: Performance of sort global known variables: time 8.62e-07/0.447, allocations: 3.562 kB / 407.2 MB, free: 6.402 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0003312/0.4473, allocations: 22.03 kB / 407.2 MB, free: 6.398 MB / 314.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.0006859/0.448, allocations: 255.2 kB / 407.5 MB, free: 6.227 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0001525/0.4482, allocations: 90.84 kB / 407.6 MB, free: 6.16 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 2.574e-06/0.4482, allocations: 0 / 407.6 MB, free: 6.16 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 4.376e-05/0.4482, allocations: 18.73 kB / 407.6 MB, free: 6.156 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002295/0.4485, allocations: 7 kB / 407.6 MB, free: 6.156 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003865/0.4489, allocations: 193.6 kB / 407.8 MB, free: 6.027 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001529/0.4491, allocations: 0.7108 MB / 408.5 MB, free: 5.312 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.707e-05/0.4491, allocations: 11.25 kB / 408.5 MB, free: 5.305 MB / 314.7 MB Notification: Performance of SimCode: time 1.488e-06/0.4491, allocations: 3.938 kB / 408.5 MB, free: 5.301 MB / 314.7 MB Notification: Performance of Templates: time 0.003191/0.4523, allocations: 1.389 MB / 409.9 MB, free: 4.609 MB / 314.7 MB