Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr ModelicaTest_3.2.2_cpp_ModelicaTest.Tables.CombiTable1D.Test2.conf.json Using package ModelicaServices with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo) Using package Complex with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo) Using package Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo) Using package ModelicaTest with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaTest 3.2.2/package.mo) Running command: translateModel(ModelicaTest.Tables.CombiTable1D.Test2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_3.2.2_cpp_ModelicaTest.Tables.CombiTable1D.Test2") Notification: Performance of loadModel(ModelicaTest): time 2.107/2.107, allocations: 234.9 MB / 250.5 MB, free: 9.531 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004215/0.0004217, allocations: 8 kB / 314.4 MB, free: 9.547 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2733/0.2738, allocations: 54.85 MB / 369.3 MB, free: 10.71 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1208/0.3947, allocations: 80.95 MB / 450.2 MB, free: 9.641 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002403/0.395, allocations: 71.97 kB / 450.3 MB, free: 9.57 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01111/0.4061, allocations: 2.731 MB / 453 MB, free: 6.828 MB / 378.7 MB Notification: Performance of FrontEnd: time 4.769e-06/0.4061, allocations: 7.938 kB / 453 MB, free: 6.82 MB / 378.7 MB Notification: Performance of Transformations before backend: time 1.023e-05/0.4062, allocations: 3.938 kB / 453 MB, free: 6.816 MB / 378.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.0004715/0.4066, allocations: 396.9 kB / 453.4 MB, free: 6.375 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.982e-05/0.4067, allocations: 8.031 kB / 453.4 MB, free: 6.367 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.273e-05/0.4068, allocations: 15.86 kB / 453.4 MB, free: 6.352 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002358/0.407, allocations: 186.9 kB / 453.6 MB, free: 6.129 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.048e-05/0.407, allocations: 3.938 kB / 453.6 MB, free: 6.125 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.02e-05/0.4071, allocations: 8 kB / 453.6 MB, free: 6.117 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001556/0.4072, allocations: 45.69 kB / 453.7 MB, free: 6.066 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.078e-05/0.4072, allocations: 0 / 453.7 MB, free: 6.066 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.506e-06/0.4073, allocations: 0 / 453.7 MB, free: 6.066 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.251e-06/0.4073, allocations: 4 kB / 453.7 MB, free: 6.062 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001283/0.4074, allocations: 39.86 kB / 453.7 MB, free: 6.023 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004423/0.4079, allocations: 273 kB / 454 MB, free: 5.707 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002221/0.4081, allocations: 46.56 kB / 454 MB, free: 5.652 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.812e-05/0.4082, allocations: 4 kB / 454 MB, free: 5.648 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.994e-05/0.4082, allocations: 36.38 kB / 454.1 MB, free: 5.605 MB / 378.7 MB Notification: Performance of pre-optimization done (n=3): time 2.051e-06/0.4082, allocations: 0 / 454.1 MB, free: 5.605 MB / 378.7 MB Notification: Performance of matching and sorting (n=5): time 0.0007197/0.4089, allocations: 169.7 kB / 454.2 MB, free: 5.434 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.167e-05/0.409, allocations: 51.41 kB / 454.3 MB, free: 5.371 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001434/0.4092, allocations: 121.2 kB / 454.4 MB, free: 5.242 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 2.28e-05/0.4092, allocations: 25.7 kB / 454.4 MB, free: 5.211 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.069e-05/0.4093, allocations: 166.3 kB / 454.6 MB, free: 5.047 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.529e-05/0.4093, allocations: 15.81 kB / 454.6 MB, free: 5.031 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.579e-06/0.4093, allocations: 4 kB / 454.6 MB, free: 5.027 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001469/0.4095, allocations: 310.8 kB / 454.9 MB, free: 4.715 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001128/0.4096, allocations: 27.97 kB / 454.9 MB, free: 4.688 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001008/0.4097, allocations: 31.98 kB / 455 MB, free: 4.656 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001255/0.4099, allocations: 53.69 kB / 455 MB, free: 4.598 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.797e-06/0.4099, allocations: 0 / 455 MB, free: 4.598 MB / 378.7 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0003095/0.4102, allocations: 123.4 kB / 455.2 MB, free: 4.465 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.787e-05/0.4103, allocations: 29.7 kB / 455.2 MB, free: 4.43 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.054e-06/0.4103, allocations: 0 / 455.2 MB, free: 4.43 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.779e-05/0.4103, allocations: 7.953 kB / 455.2 MB, free: 4.422 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.675e-05/0.4104, allocations: 15.98 kB / 455.2 MB, free: 4.406 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.373e-06/0.4104, allocations: 4 kB / 455.2 MB, free: 4.402 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.713e-05/0.4105, allocations: 11.92 kB / 455.2 MB, free: 4.391 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.017e-05/0.4105, allocations: 0 / 455.2 MB, free: 4.391 MB / 378.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 () * Number of clocked 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 0.0001165/0.4106, allocations: 121.8 kB / 455.3 MB, free: 4.262 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.497e-05/0.4107, allocations: 3.906 kB / 455.3 MB, free: 4.258 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000328/0.411, allocations: 113.9 kB / 455.5 MB, free: 4.137 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.641e-06/0.4111, allocations: 7.953 kB / 455.5 MB, free: 4.129 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.276e-06/0.4111, allocations: 0 / 455.5 MB, free: 4.129 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.403e-06/0.4111, allocations: 3.938 kB / 455.5 MB, free: 4.125 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006022/0.4117, allocations: 362.5 kB / 455.8 MB, free: 3.715 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.917e-06/0.4117, allocations: 4 kB / 455.8 MB, free: 3.711 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.757e-05/0.4118, allocations: 11.98 kB / 455.8 MB, free: 3.699 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.953e-06/0.4118, allocations: 7.953 kB / 455.8 MB, free: 3.691 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.588e-06/0.4119, allocations: 0 / 455.8 MB, free: 3.691 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.266e-06/0.4119, allocations: 0 / 455.8 MB, free: 3.691 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.631e-06/0.4119, allocations: 0 / 455.8 MB, free: 3.691 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003271/0.4122, allocations: 199.4 kB / 456 MB, free: 3.48 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.044e-05/0.4123, allocations: 81.02 kB / 456.1 MB, free: 3.383 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.421e-05/0.4123, allocations: 7.953 kB / 456.1 MB, free: 3.375 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.488e-05/0.4124, allocations: 4 kB / 456.1 MB, free: 3.371 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.712e-05/0.4125, allocations: 7.984 kB / 456.1 MB, free: 3.363 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.108e-05/0.4125, allocations: 8 kB / 456.1 MB, free: 3.355 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001066/0.4126, allocations: 95.77 kB / 456.2 MB, free: 3.262 MB / 378.7 MB Notification: Performance of sort global known variables: time 7.92e-07/0.4126, allocations: 0 / 456.2 MB, free: 3.262 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0003434/0.413, allocations: 19.94 kB / 456.3 MB, free: 3.242 MB / 378.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 () * Number of clocked 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.0009675/0.414, allocations: 308.1 kB / 456.6 MB, free: 3.004 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0003139/0.4143, allocations: 119.4 kB / 456.7 MB, free: 2.875 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.99e-06/0.4143, allocations: 3.938 kB / 456.7 MB, free: 2.871 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001155/0.4144, allocations: 27.98 kB / 456.7 MB, free: 2.844 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002149/0.4147, allocations: 11.91 kB / 456.7 MB, free: 2.832 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004728/0.4152, allocations: 210.5 kB / 456.9 MB, free: 2.59 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00036/0.4155, allocations: 0.6887 MB / 457.6 MB, free: 1.875 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.847e-05/0.4156, allocations: 15.42 kB / 457.6 MB, free: 1.859 MB / 378.7 MB Notification: Performance of SimCode: time 1.432e-06/0.4156, allocations: 4 kB / 457.6 MB, free: 1.855 MB / 378.7 MB Notification: Performance of Templates: time 0.003292/0.4189, allocations: 1.183 MB / 458.8 MB, free: 0.6758 MB / 378.7 MB