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.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.CombiTable1D.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.CombiTable1D.Test5") Notification: Performance of loadModel(ModelicaTest): time 1.974/1.974, allocations: 209.3 MB / 222.4 MB, free: 7.719 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 2.514e-05/2.535e-05, allocations: 0 / 277.8 MB, free: 15.3 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08907/0.08912, allocations: 48.69 MB / 326.5 MB, free: 14.51 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3341/0.4233, allocations: 74.44 MB / 401 MB, free: 10.34 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000205/0.4235, allocations: 67.8 kB / 401 MB, free: 10.34 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01045/0.434, allocations: 3.017 MB / 404.1 MB, free: 9.125 MB / 314.7 MB Notification: Performance of FrontEnd: time 2.22e-06/0.4341, allocations: 0 / 404.1 MB, free: 9.125 MB / 314.7 MB Notification: Performance of Transformations before backend: time 1.247e-05/0.4341, allocations: 0 / 404.1 MB, free: 9.125 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.0003294/0.4344, allocations: 417.8 kB / 404.5 MB, free: 8.699 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.869e-05/0.4345, allocations: 7.688 kB / 404.5 MB, free: 8.699 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.107e-05/0.4345, allocations: 11.75 kB / 404.5 MB, free: 8.691 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002096/0.4347, allocations: 205.4 kB / 404.7 MB, free: 8.473 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.212e-05/0.4348, allocations: 3.625 kB / 404.7 MB, free: 8.473 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.124e-05/0.4348, allocations: 3.844 kB / 404.7 MB, free: 8.473 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000103/0.4349, allocations: 40.27 kB / 404.7 MB, free: 8.441 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.227e-05/0.4349, allocations: 3.984 kB / 404.7 MB, free: 8.438 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.259e-06/0.435, allocations: 0 / 404.7 MB, free: 8.438 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.541e-06/0.435, allocations: 0 / 404.7 MB, free: 8.438 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.636e-05/0.435, allocations: 22.84 kB / 404.8 MB, free: 8.43 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00036/0.4354, allocations: 303.1 kB / 405.1 MB, free: 8.137 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001853/0.4356, allocations: 37.45 kB / 405.1 MB, free: 8.113 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.296e-05/0.4357, allocations: 16.69 kB / 405.1 MB, free: 8.102 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.639e-05/0.4357, allocations: 7.938 kB / 405.1 MB, free: 8.094 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.511e-05/0.4357, allocations: 34.53 kB / 405.1 MB, free: 8.055 MB / 314.7 MB Notification: Performance of pre-optimization done (n=3): time 2.415e-06/0.4357, allocations: 3.938 kB / 405.1 MB, free: 8.051 MB / 314.7 MB Notification: Performance of matching and sorting (n=5): time 0.0004277/0.4362, allocations: 119.9 kB / 405.3 MB, free: 7.988 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.8e-05/0.4362, allocations: 51.41 kB / 405.3 MB, free: 7.926 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000208/0.4364, allocations: 195.9 kB / 405.5 MB, free: 7.816 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 1.157e-05/0.4365, allocations: 25.7 kB / 405.5 MB, free: 7.785 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.587e-05/0.4365, allocations: 168.1 kB / 405.7 MB, free: 7.633 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.844e-05/0.4365, allocations: 18.5 kB / 405.7 MB, free: 7.617 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.886e-06/0.4366, allocations: 3.969 kB / 405.7 MB, free: 7.617 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 5.075e-05/0.4366, allocations: 322.1 kB / 406 MB, free: 7.297 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.26e-05/0.4367, allocations: 11.47 kB / 406 MB, free: 7.297 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.569e-05/0.4367, allocations: 11.59 kB / 406.1 MB, free: 7.297 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.762e-05/0.4368, allocations: 48 kB / 406.1 MB, free: 7.262 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.734e-06/0.4368, allocations: 3.938 kB / 406.1 MB, free: 7.258 MB / 314.7 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001476/0.437, allocations: 91.05 kB / 406.2 MB, free: 7.191 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.678e-05/0.437, allocations: 37.33 kB / 406.2 MB, free: 7.156 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.873e-06/0.437, allocations: 0 / 406.2 MB, free: 7.156 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.186e-05/0.437, allocations: 0 / 406.2 MB, free: 7.156 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.341e-05/0.4371, allocations: 15.45 kB / 406.2 MB, free: 7.152 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.048e-06/0.4372, allocations: 0 / 406.2 MB, free: 7.152 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.098e-05/0.4372, allocations: 7.656 kB / 406.3 MB, free: 7.152 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.136e-05/0.4373, allocations: 7.922 kB / 406.3 MB, free: 7.145 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.931e-05/0.4373, allocations: 115.3 kB / 406.4 MB, free: 7.031 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.816e-05/0.4374, allocations: 11.72 kB / 406.4 MB, free: 7.023 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001848/0.4376, allocations: 81.86 kB / 406.5 MB, free: 6.98 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.474e-06/0.4376, allocations: 7.844 kB / 406.5 MB, free: 6.977 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.843e-06/0.4376, allocations: 0 / 406.5 MB, free: 6.977 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.18e-06/0.4376, allocations: 0 / 406.5 MB, free: 6.977 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003862/0.438, allocations: 361.6 kB / 406.8 MB, free: 6.648 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.646e-06/0.438, allocations: 0 / 406.8 MB, free: 6.648 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.406e-05/0.4381, allocations: 18.56 kB / 406.8 MB, free: 6.645 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.488e-06/0.4381, allocations: 0 / 406.8 MB, free: 6.645 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.862e-06/0.4382, allocations: 0 / 406.8 MB, free: 6.645 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.34e-06/0.4382, allocations: 0 / 406.8 MB, free: 6.645 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.778e-06/0.4382, allocations: 0 / 406.8 MB, free: 6.645 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001537/0.4383, allocations: 175.5 kB / 407 MB, free: 6.496 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.505e-05/0.4384, allocations: 92.39 kB / 407.1 MB, free: 6.395 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.401e-05/0.4384, allocations: 6.719 kB / 407.1 MB, free: 6.395 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001023/0.4386, allocations: 11.67 kB / 407.1 MB, free: 6.387 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.981e-05/0.4386, allocations: 3.812 kB / 407.1 MB, free: 6.387 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.521e-06/0.4386, allocations: 0 / 407.1 MB, free: 6.387 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0001393/0.4388, allocations: 161.2 kB / 407.3 MB, free: 6.297 MB / 314.7 MB Notification: Performance of sort global known variables: time 7.98e-07/0.4388, allocations: 0 / 407.3 MB, free: 6.297 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0003287/0.4391, allocations: 22.81 kB / 407.3 MB, free: 6.293 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.0006621/0.4398, allocations: 244.2 kB / 407.5 MB, free: 6.133 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0001676/0.44, allocations: 100.9 kB / 407.6 MB, free: 6.059 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 3.408e-06/0.44, allocations: 0 / 407.6 MB, free: 6.059 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 5.136e-05/0.4401, allocations: 18.75 kB / 407.7 MB, free: 6.059 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002347/0.4403, allocations: 10.95 kB / 407.7 MB, free: 6.055 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004172/0.4407, allocations: 206 kB / 407.9 MB, free: 5.918 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001505/0.4409, allocations: 0.703 MB / 408.6 MB, free: 5.211 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.967e-05/0.441, allocations: 15.3 kB / 408.6 MB, free: 5.199 MB / 314.7 MB Notification: Performance of SimCode: time 1.53e-06/0.441, allocations: 0 / 408.6 MB, free: 5.199 MB / 314.7 MB Notification: Performance of Templates: time 0.003154/0.4442, allocations: 1.431 MB / 410 MB, free: 4.488 MB / 314.7 MB