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.Test1.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.Test1,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.Test1") Notification: Performance of loadModel(ModelicaTest): time 1.955/1.955, allocations: 209.3 MB / 222.4 MB, free: 7.73 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 4.487e-05/4.498e-05, allocations: 4 kB / 277.8 MB, free: 15.3 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1137/0.1138, allocations: 48.7 MB / 326.5 MB, free: 14.52 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3598/0.4736, allocations: 74.38 MB / 400.9 MB, free: 10.39 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002079/0.4739, allocations: 74.73 kB / 401 MB, free: 10.39 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.009768/0.4836, allocations: 2.551 MB / 403.5 MB, free: 9.367 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.774e-06/0.4837, allocations: 0 / 403.5 MB, free: 9.367 MB / 314.7 MB Notification: Performance of Transformations before backend: time 1.12e-05/0.4837, allocations: 7.844 kB / 403.6 MB, free: 9.363 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.0003076/0.484, allocations: 386.9 kB / 403.9 MB, free: 8.957 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.752e-05/0.4841, allocations: 7.625 kB / 403.9 MB, free: 8.957 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.068e-05/0.4841, allocations: 11.67 kB / 404 MB, free: 8.949 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001675/0.4843, allocations: 189.9 kB / 404.1 MB, free: 8.742 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.359e-06/0.4843, allocations: 0 / 404.1 MB, free: 8.742 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.206e-05/0.4844, allocations: 3.844 kB / 404.1 MB, free: 8.742 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001039/0.4845, allocations: 47.75 kB / 404.2 MB, free: 8.703 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.142e-05/0.4845, allocations: 3.984 kB / 404.2 MB, free: 8.699 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.274e-06/0.4845, allocations: 0 / 404.2 MB, free: 8.699 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.032e-06/0.4845, allocations: 0 / 404.2 MB, free: 8.699 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.256e-05/0.4846, allocations: 17.66 kB / 404.2 MB, free: 8.695 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002857/0.4849, allocations: 268.2 kB / 404.5 MB, free: 8.414 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001664/0.4851, allocations: 40.88 kB / 404.5 MB, free: 8.383 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.916e-05/0.4851, allocations: 15.11 kB / 404.5 MB, free: 8.375 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.898e-05/0.4852, allocations: 3.938 kB / 404.5 MB, free: 8.371 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.376e-05/0.4852, allocations: 33.81 kB / 404.6 MB, free: 8.332 MB / 314.7 MB Notification: Performance of pre-optimization done (n=3): time 2.132e-06/0.4852, allocations: 0 / 404.6 MB, free: 8.332 MB / 314.7 MB Notification: Performance of matching and sorting (n=5): time 0.0004016/0.4856, allocations: 100.4 kB / 404.7 MB, free: 8.281 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.916e-05/0.4856, allocations: 55.34 kB / 404.7 MB, free: 8.215 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000105/0.4858, allocations: 130 kB / 404.8 MB, free: 8.105 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 1.141e-05/0.4858, allocations: 29.61 kB / 404.9 MB, free: 8.074 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.664e-05/0.4858, allocations: 153.7 kB / 405 MB, free: 7.926 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.753e-05/0.4859, allocations: 14.25 kB / 405 MB, free: 7.914 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.739e-06/0.4859, allocations: 3.906 kB / 405 MB, free: 7.914 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 4.747e-05/0.4859, allocations: 322 kB / 405.4 MB, free: 7.594 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.875e-05/0.486, allocations: 10.47 kB / 405.4 MB, free: 7.594 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.308e-05/0.486, allocations: 18.38 kB / 405.4 MB, free: 7.59 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.708e-05/0.4861, allocations: 40.83 kB / 405.4 MB, free: 7.555 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.841e-06/0.4861, allocations: 3.938 kB / 405.4 MB, free: 7.551 MB / 314.7 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001377/0.4863, allocations: 88.89 kB / 405.5 MB, free: 7.484 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.649e-05/0.4863, allocations: 29.67 kB / 405.5 MB, free: 7.453 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.75e-06/0.4863, allocations: 256 / 405.5 MB, free: 7.453 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.128e-05/0.4863, allocations: 0 / 405.5 MB, free: 7.453 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.154e-05/0.4864, allocations: 23.17 kB / 405.6 MB, free: 7.441 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.971e-06/0.4865, allocations: 3.875 kB / 405.6 MB, free: 7.441 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.464e-05/0.4865, allocations: 11.08 kB / 405.6 MB, free: 7.438 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.044e-05/0.4865, allocations: 4 kB / 405.6 MB, free: 7.434 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.585e-05/0.4866, allocations: 108.8 kB / 405.7 MB, free: 7.324 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.082e-05/0.4867, allocations: 7.75 kB / 405.7 MB, free: 7.32 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001666/0.4868, allocations: 67.16 kB / 405.8 MB, free: 7.285 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.284e-06/0.4869, allocations: 3.875 kB / 405.8 MB, free: 7.285 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.244e-06/0.4869, allocations: 0 / 405.8 MB, free: 7.285 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.922e-06/0.4869, allocations: 3.984 kB / 405.8 MB, free: 7.281 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003337/0.4872, allocations: 330.5 kB / 406.1 MB, free: 6.961 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.464e-06/0.4872, allocations: 0 / 406.1 MB, free: 6.961 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.966e-05/0.4873, allocations: 15.45 kB / 406.1 MB, free: 6.957 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.404e-06/0.4874, allocations: 0 / 406.1 MB, free: 6.957 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.503e-06/0.4874, allocations: 3.125 kB / 406.1 MB, free: 6.957 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.467e-06/0.4874, allocations: 0 / 406.1 MB, free: 6.957 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.272e-06/0.4874, allocations: 0 / 406.1 MB, free: 6.957 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001366/0.4876, allocations: 169.4 kB / 406.3 MB, free: 6.809 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.914e-05/0.4876, allocations: 84.86 kB / 406.4 MB, free: 6.711 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.843e-05/0.4876, allocations: 0 / 406.4 MB, free: 6.711 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.811e-05/0.4877, allocations: 7.672 kB / 406.4 MB, free: 6.707 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.143e-05/0.4878, allocations: 7.594 kB / 406.4 MB, free: 6.707 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.697e-06/0.4878, allocations: 0 / 406.4 MB, free: 6.707 MB / 314.7 MB Notification: Performance of sorting global known variables: time 6.369e-05/0.4879, allocations: 101.9 kB / 406.5 MB, free: 6.629 MB / 314.7 MB Notification: Performance of sort global known variables: time 7.45e-07/0.4879, allocations: 0 / 406.5 MB, free: 6.629 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0003189/0.4882, allocations: 14.66 kB / 406.5 MB, free: 6.625 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.0006485/0.4889, allocations: 249.3 kB / 406.7 MB, free: 6.457 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0001464/0.489, allocations: 90.75 kB / 406.8 MB, free: 6.391 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 2.726e-06/0.4891, allocations: 0 / 406.8 MB, free: 6.391 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 4.26e-05/0.4891, allocations: 15.44 kB / 406.8 MB, free: 6.391 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002165/0.4894, allocations: 15.36 kB / 406.8 MB, free: 6.383 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002917/0.4897, allocations: 123.8 kB / 407 MB, free: 6.27 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001308/0.4898, allocations: 0.6914 MB / 407.7 MB, free: 5.566 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.789e-05/0.4899, allocations: 11.31 kB / 407.7 MB, free: 5.559 MB / 314.7 MB Notification: Performance of SimCode: time 1.417e-06/0.4899, allocations: 0 / 407.7 MB, free: 5.559 MB / 314.7 MB Notification: Performance of Templates: time 0.002773/0.4927, allocations: 1.174 MB / 408.8 MB, free: 4.969 MB / 314.7 MB