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/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.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 2.048/2.048, allocations: 209.4 MB / 217.3 MB, free: 4.164 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 1.8e-05/1.8e-05, allocations: 3.938 kB / 271.3 MB, free: 14.12 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2624/0.2624, allocations: 48.69 MB / 320 MB, free: 14.4 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1137/0.3762, allocations: 73.77 MB / 393.8 MB, free: 6.676 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002241/0.3764, allocations: 67.97 kB / 393.8 MB, free: 6.609 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01162/0.3881, allocations: 2.976 MB / 396.8 MB, free: 3.629 MB / 330.7 MB Notification: Performance of FrontEnd: time 2.393e-06/0.3881, allocations: 0 / 396.8 MB, free: 3.629 MB / 330.7 MB Notification: Performance of Transformations before backend: time 1.567e-05/0.3882, allocations: 4 kB / 396.8 MB, free: 3.625 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.0004868/0.3887, allocations: 411.2 kB / 397.2 MB, free: 3.176 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.315e-05/0.3887, allocations: 8.031 kB / 397.2 MB, free: 3.168 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.524e-05/0.3888, allocations: 11.91 kB / 397.2 MB, free: 3.156 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002903/0.3891, allocations: 202.8 kB / 397.4 MB, free: 2.918 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.069e-05/0.3891, allocations: 0 / 397.4 MB, free: 2.918 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.208e-05/0.3891, allocations: 11.94 kB / 397.5 MB, free: 2.906 MB / 330.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 7.721e-05/0.3892, allocations: 8 kB / 397.5 MB, free: 2.898 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.515e-05/0.3893, allocations: 49.56 kB / 397.5 MB, free: 2.844 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.136e-05/0.3894, allocations: 0 / 397.5 MB, free: 2.844 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.942e-06/0.3894, allocations: 0 / 397.5 MB, free: 2.844 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.201e-06/0.3894, allocations: 4 kB / 397.5 MB, free: 2.84 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003912/0.3898, allocations: 261.4 kB / 397.8 MB, free: 2.547 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001835/0.39, allocations: 38.58 kB / 397.8 MB, free: 2.5 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.114e-05/0.39, allocations: 8.859 kB / 397.8 MB, free: 2.488 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.786e-05/0.3901, allocations: 4 kB / 397.8 MB, free: 2.484 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.567e-05/0.3901, allocations: 38.58 kB / 397.9 MB, free: 2.438 MB / 330.7 MB Notification: Performance of pre-optimization done (n=3): time 2.439e-06/0.3901, allocations: 0 / 397.9 MB, free: 2.438 MB / 330.7 MB Notification: Performance of matching and sorting (n=5): time 0.0004659/0.3906, allocations: 109.2 kB / 398 MB, free: 2.324 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.43e-05/0.3907, allocations: 51.41 kB / 398 MB, free: 2.262 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002561/0.3909, allocations: 193.3 kB / 398.2 MB, free: 2.066 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 2.237e-05/0.391, allocations: 25.7 kB / 398.2 MB, free: 2.035 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001001/0.3911, allocations: 162.6 kB / 398.4 MB, free: 1.875 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.698e-05/0.3911, allocations: 19.73 kB / 398.4 MB, free: 1.855 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.93e-06/0.3912, allocations: 0 / 398.4 MB, free: 1.855 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.000161/0.3913, allocations: 318.8 kB / 398.7 MB, free: 1.535 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.844e-05/0.3914, allocations: 11.94 kB / 398.7 MB, free: 1.523 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.241e-05/0.3914, allocations: 16 kB / 398.7 MB, free: 1.508 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.985e-05/0.3915, allocations: 8 kB / 398.8 MB, free: 1.5 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.71e-06/0.3915, allocations: 0 / 398.8 MB, free: 1.5 MB / 330.7 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001569/0.3916, allocations: 69.88 kB / 398.8 MB, free: 1.426 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.191e-05/0.3917, allocations: 30.48 kB / 398.9 MB, free: 1.391 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.509e-06/0.3917, allocations: 0 / 398.9 MB, free: 1.391 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.304e-05/0.3917, allocations: 144 / 398.9 MB, free: 1.391 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001013/0.3919, allocations: 15.98 kB / 398.9 MB, free: 1.375 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.919e-06/0.3919, allocations: 3.984 kB / 398.9 MB, free: 1.371 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.239e-05/0.392, allocations: 15.98 kB / 398.9 MB, free: 1.355 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.312e-05/0.392, allocations: 3.984 kB / 398.9 MB, free: 1.352 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.077e-05/0.3921, allocations: 104.9 kB / 399 MB, free: 1.242 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.382e-05/0.3922, allocations: 19.75 kB / 399 MB, free: 1.223 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001855/0.3923, allocations: 70.08 kB / 399.1 MB, free: 1.148 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.816e-06/0.3924, allocations: 4 kB / 399.1 MB, free: 1.145 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.304e-06/0.3924, allocations: 7.922 kB / 399.1 MB, free: 1.137 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.051e-06/0.3924, allocations: 0 / 399.1 MB, free: 1.137 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004728/0.3929, allocations: 319.1 kB / 399.4 MB, free: 0.7812 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.012e-06/0.3929, allocations: 3.938 kB / 399.4 MB, free: 0.7773 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.593e-05/0.393, allocations: 19.98 kB / 399.4 MB, free: 0.7578 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.527e-06/0.393, allocations: 0 / 399.4 MB, free: 0.7578 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.031e-05/0.3931, allocations: 7.938 kB / 399.4 MB, free: 0.75 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.142e-06/0.3931, allocations: 0 / 399.4 MB, free: 0.75 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.036e-06/0.3931, allocations: 0 / 399.4 MB, free: 0.75 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001946/0.3933, allocations: 159.4 kB / 399.6 MB, free: 0.5781 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.677e-05/0.3934, allocations: 100.9 kB / 399.7 MB, free: 472 kB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.382e-05/0.3934, allocations: 256 / 399.7 MB, free: 472 kB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001088/0.3935, allocations: 8 kB / 399.7 MB, free: 464 kB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.698e-05/0.3936, allocations: 7.984 kB / 399.7 MB, free: 456 kB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.388e-06/0.3936, allocations: 4 kB / 399.7 MB, free: 452 kB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0001818/0.3938, allocations: 152.1 kB / 399.9 MB, free: 300 kB / 330.7 MB Notification: Performance of sort global known variables: time 8e-07/0.3938, allocations: 4 kB / 399.9 MB, free: 296 kB / 330.7 MB Notification: Performance of remove unused functions: time 0.0003391/0.3942, allocations: 16 kB / 399.9 MB, free: 280 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.0006292/0.3948, allocations: 210.4 kB / 400.1 MB, free: 100 kB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.000166/0.395, allocations: 79.41 kB / 400.2 MB, free: 8 kB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 2.481e-06/0.395, allocations: 0 / 400.2 MB, free: 8 kB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 7.218e-05/0.3951, allocations: 20.08 kB / 400.2 MB, free: 15.98 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000243/0.3954, allocations: 23.81 kB / 400.2 MB, free: 15.96 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004541/0.3958, allocations: 189.8 kB / 400.4 MB, free: 15.75 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004081/0.3963, allocations: 0.708 MB / 401.1 MB, free: 15.01 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.439e-05/0.3963, allocations: 15.44 kB / 401.1 MB, free: 15 MB / 346.7 MB Notification: Performance of SimCode: time 1.521e-06/0.3963, allocations: 0 / 401.1 MB, free: 15 MB / 346.7 MB Notification: Performance of Templates: time 0.003805/0.4002, allocations: 1.376 MB / 402.5 MB, free: 13.62 MB / 346.7 MB