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.Test16.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.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.CombiTable1Ds.Test16") Notification: Performance of loadModel(ModelicaTest): time 1.867/1.867, allocations: 209.3 MB / 222.4 MB, free: 7.727 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 2.885e-05/2.901e-05, allocations: 4 kB / 277.8 MB, free: 15.31 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09117/0.09123, allocations: 48.69 MB / 326.5 MB, free: 14.52 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3411/0.4323, allocations: 74.43 MB / 401 MB, free: 10.27 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002009/0.4326, allocations: 69.95 kB / 401 MB, free: 10.27 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01053/0.4431, allocations: 2.953 MB / 404 MB, free: 9.09 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.956e-06/0.4432, allocations: 3.844 kB / 404 MB, free: 9.09 MB / 314.7 MB Notification: Performance of Transformations before backend: time 1.34e-05/0.4432, allocations: 3.906 kB / 404 MB, free: 9.09 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.0003268/0.4435, allocations: 406.6 kB / 404.4 MB, free: 8.668 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.844e-05/0.4436, allocations: 11.34 kB / 404.4 MB, free: 8.668 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.788e-05/0.4437, allocations: 14.97 kB / 404.4 MB, free: 8.66 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001934/0.4439, allocations: 197.8 kB / 404.6 MB, free: 8.445 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.188e-05/0.4439, allocations: 0 / 404.6 MB, free: 8.445 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.884e-05/0.4439, allocations: 3.812 kB / 404.6 MB, free: 8.445 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001024/0.444, allocations: 43.06 kB / 404.7 MB, free: 8.41 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.334e-05/0.4441, allocations: 0 / 404.7 MB, free: 8.41 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.486e-06/0.4441, allocations: 3.938 kB / 404.7 MB, free: 8.406 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.109e-06/0.4441, allocations: 0 / 404.7 MB, free: 8.406 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.611e-05/0.4441, allocations: 11.62 kB / 404.7 MB, free: 8.406 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003121/0.4445, allocations: 295.3 kB / 405 MB, free: 8.117 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00018/0.4447, allocations: 41.73 kB / 405 MB, free: 8.086 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.968e-05/0.4447, allocations: 16.55 kB / 405 MB, free: 8.074 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.18e-05/0.4448, allocations: 0 / 405 MB, free: 8.074 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.323e-05/0.4448, allocations: 30.56 kB / 405 MB, free: 8.035 MB / 314.7 MB Notification: Performance of pre-optimization done (n=3): time 1.829e-06/0.4448, allocations: 0 / 405 MB, free: 8.035 MB / 314.7 MB Notification: Performance of matching and sorting (n=5): time 0.0004343/0.4452, allocations: 120.4 kB / 405.2 MB, free: 7.969 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.48e-05/0.4453, allocations: 51.41 kB / 405.2 MB, free: 7.906 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001831/0.4455, allocations: 177.2 kB / 405.4 MB, free: 7.801 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 1.101e-05/0.4455, allocations: 25.7 kB / 405.4 MB, free: 7.77 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.535e-05/0.4456, allocations: 163.5 kB / 405.6 MB, free: 7.621 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.844e-05/0.4456, allocations: 15.73 kB / 405.6 MB, free: 7.605 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.321e-06/0.4456, allocations: 11.28 kB / 405.6 MB, free: 7.602 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 4.96e-05/0.4457, allocations: 318.8 kB / 405.9 MB, free: 7.281 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.745e-05/0.4457, allocations: 11.62 kB / 405.9 MB, free: 7.281 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.225e-05/0.4458, allocations: 11.69 kB / 405.9 MB, free: 7.281 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.162e-05/0.4458, allocations: 41.16 kB / 406 MB, free: 7.246 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.61e-06/0.4458, allocations: 3.938 kB / 406 MB, free: 7.242 MB / 314.7 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001595/0.446, allocations: 88.38 kB / 406.1 MB, free: 7.176 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.064e-05/0.446, allocations: 36.91 kB / 406.1 MB, free: 7.141 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.117e-06/0.4461, allocations: 0 / 406.1 MB, free: 7.141 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.326e-05/0.4461, allocations: 7.781 kB / 406.1 MB, free: 7.137 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001069/0.4462, allocations: 15.62 kB / 406.1 MB, free: 7.133 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.243e-06/0.4462, allocations: 3.984 kB / 406.1 MB, free: 7.129 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.325e-05/0.4463, allocations: 3.75 kB / 406.1 MB, free: 7.129 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.209e-05/0.4463, allocations: 3.812 kB / 406.1 MB, free: 7.129 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.967e-05/0.4464, allocations: 108.3 kB / 406.2 MB, free: 7.02 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.735e-05/0.4464, allocations: 7.75 kB / 406.2 MB, free: 7.016 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000178/0.4466, allocations: 79.52 kB / 406.3 MB, free: 6.973 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.603e-06/0.4467, allocations: 4 kB / 406.3 MB, free: 6.969 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.201e-06/0.4467, allocations: 8 kB / 406.3 MB, free: 6.961 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.614e-06/0.4467, allocations: 0 / 406.3 MB, free: 6.961 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000386/0.4471, allocations: 340.8 kB / 406.7 MB, free: 6.641 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.409e-06/0.4471, allocations: 0 / 406.7 MB, free: 6.641 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.047e-05/0.4472, allocations: 11.53 kB / 406.7 MB, free: 6.641 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.663e-06/0.4472, allocations: 0 / 406.7 MB, free: 6.641 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.062e-05/0.4472, allocations: 3.812 kB / 406.7 MB, free: 6.641 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.694e-06/0.4472, allocations: 3.984 kB / 406.7 MB, free: 6.637 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.805e-06/0.4472, allocations: 7.906 kB / 406.7 MB, free: 6.633 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001379/0.4474, allocations: 164.6 kB / 406.9 MB, free: 6.488 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.974e-05/0.4474, allocations: 84.89 kB / 406.9 MB, free: 6.391 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.259e-05/0.4475, allocations: 7.125 kB / 406.9 MB, free: 6.391 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000111/0.4476, allocations: 3.969 kB / 406.9 MB, free: 6.391 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.231e-05/0.4477, allocations: 7.859 kB / 407 MB, free: 6.387 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.914e-06/0.4477, allocations: 0 / 407 MB, free: 6.387 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.000125/0.4478, allocations: 151.1 kB / 407.1 MB, free: 6.301 MB / 314.7 MB Notification: Performance of sort global known variables: time 7.7e-07/0.4478, allocations: 0 / 407.1 MB, free: 6.301 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.000337/0.4482, allocations: 15.34 kB / 407.1 MB, free: 6.301 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.0006601/0.4488, allocations: 244.7 kB / 407.4 MB, free: 6.137 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0001607/0.449, allocations: 94.16 kB / 407.4 MB, free: 6.066 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 3.078e-06/0.449, allocations: 0 / 407.4 MB, free: 6.066 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 4.502e-05/0.4491, allocations: 19.22 kB / 407.5 MB, free: 6.062 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002483/0.4494, allocations: 14.52 kB / 407.5 MB, free: 6.055 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003893/0.4498, allocations: 181.7 kB / 407.7 MB, free: 5.926 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00015/0.4499, allocations: 0.7068 MB / 408.4 MB, free: 5.215 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.903e-05/0.45, allocations: 11.25 kB / 408.4 MB, free: 5.207 MB / 314.7 MB Notification: Performance of SimCode: time 1.576e-06/0.45, allocations: 7.938 kB / 408.4 MB, free: 5.199 MB / 314.7 MB Notification: Performance of Templates: time 0.003183/0.4532, allocations: 1.325 MB / 409.7 MB, free: 4.543 MB / 314.7 MB