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.Test2.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.Test2,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.Test2") Notification: Performance of loadModel(ModelicaTest): time 1.969/1.969, allocations: 209.4 MB / 217.3 MB, free: 4.176 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 1.179e-05/1.182e-05, allocations: 0 / 271.3 MB, free: 14.14 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2594/0.2594, allocations: 48.69 MB / 320 MB, free: 14.41 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1109/0.3703, allocations: 73.73 MB / 393.7 MB, free: 6.73 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002247/0.3706, allocations: 67.97 kB / 393.8 MB, free: 6.664 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01026/0.3809, allocations: 2.536 MB / 396.3 MB, free: 4.121 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.75e-06/0.3809, allocations: 0 / 396.3 MB, free: 4.121 MB / 330.7 MB Notification: Performance of Transformations before backend: time 1.075e-05/0.381, allocations: 4 kB / 396.3 MB, free: 4.117 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.0004633/0.3814, allocations: 380.2 kB / 396.7 MB, free: 3.695 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.179e-05/0.3815, allocations: 8.031 kB / 396.7 MB, free: 3.688 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.401e-05/0.3815, allocations: 11.91 kB / 396.7 MB, free: 3.676 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002541/0.3818, allocations: 190.8 kB / 396.9 MB, free: 3.449 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.029e-05/0.3818, allocations: 0 / 396.9 MB, free: 3.449 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.286e-05/0.3819, allocations: 7.984 kB / 396.9 MB, free: 3.441 MB / 330.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 7.952e-05/0.382, allocations: 8 kB / 396.9 MB, free: 3.434 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.534e-05/0.3821, allocations: 45.58 kB / 397 MB, free: 3.383 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.447e-05/0.3821, allocations: 3.984 kB / 397 MB, free: 3.379 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.117e-05/0.3821, allocations: 4 kB / 397 MB, free: 3.375 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.661e-06/0.3821, allocations: 4 kB / 397 MB, free: 3.371 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003666/0.3825, allocations: 249.4 kB / 397.2 MB, free: 3.09 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001789/0.3827, allocations: 34.52 kB / 397.3 MB, free: 3.047 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.278e-05/0.3827, allocations: 8.859 kB / 397.3 MB, free: 3.035 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.227e-05/0.3828, allocations: 4.094 kB / 397.3 MB, free: 3.031 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.936e-05/0.3828, allocations: 38.55 kB / 397.3 MB, free: 2.984 MB / 330.7 MB Notification: Performance of pre-optimization done (n=3): time 2.174e-06/0.3828, allocations: 4 kB / 397.3 MB, free: 2.98 MB / 330.7 MB Notification: Performance of matching and sorting (n=5): time 0.0004391/0.3833, allocations: 93.42 kB / 397.4 MB, free: 2.883 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.551e-05/0.3833, allocations: 51.41 kB / 397.5 MB, free: 2.82 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001435/0.3835, allocations: 123.4 kB / 397.6 MB, free: 2.691 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 2.17e-05/0.3835, allocations: 25.7 kB / 397.6 MB, free: 2.66 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.558e-05/0.3836, allocations: 154.6 kB / 397.8 MB, free: 2.508 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.617e-05/0.3837, allocations: 23.73 kB / 397.8 MB, free: 2.484 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.343e-06/0.3837, allocations: 4 kB / 397.8 MB, free: 2.48 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001602/0.3838, allocations: 314.8 kB / 398.1 MB, free: 2.164 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.859e-05/0.3839, allocations: 12 kB / 398.1 MB, free: 2.152 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.009e-05/0.3839, allocations: 8 kB / 398.1 MB, free: 2.145 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.124e-05/0.384, allocations: 12 kB / 398.1 MB, free: 2.133 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.68e-06/0.384, allocations: 0 / 398.1 MB, free: 2.133 MB / 330.7 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001527/0.3842, allocations: 61.62 kB / 398.2 MB, free: 2.066 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.922e-05/0.3842, allocations: 30.48 kB / 398.2 MB, free: 2.031 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.8e-06/0.3842, allocations: 4 kB / 398.2 MB, free: 2.027 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.409e-05/0.3843, allocations: 4 kB / 398.2 MB, free: 2.023 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.762e-05/0.3844, allocations: 19.98 kB / 398.2 MB, free: 2.004 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.841e-06/0.3844, allocations: 3.984 kB / 398.2 MB, free: 2 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.562e-05/0.3844, allocations: 7.984 kB / 398.3 MB, free: 1.992 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.547e-05/0.3845, allocations: 4 kB / 398.3 MB, free: 1.988 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 8.59e-05/0.3846, allocations: 108 kB / 398.4 MB, free: 1.879 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.508e-05/0.3846, allocations: 7.906 kB / 398.4 MB, free: 1.871 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001793/0.3848, allocations: 70.09 kB / 398.4 MB, free: 1.801 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.119e-06/0.3848, allocations: 0 / 398.4 MB, free: 1.801 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.73e-06/0.3849, allocations: 7.875 kB / 398.4 MB, free: 1.793 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.866e-06/0.3849, allocations: 3.984 kB / 398.5 MB, free: 1.789 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004113/0.3853, allocations: 295.1 kB / 398.7 MB, free: 1.457 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.247e-06/0.3853, allocations: 384 / 398.7 MB, free: 1.457 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.163e-05/0.3854, allocations: 12 kB / 398.8 MB, free: 1.445 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.939e-06/0.3854, allocations: 4 kB / 398.8 MB, free: 1.441 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.704e-06/0.3854, allocations: 4 kB / 398.8 MB, free: 1.438 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.429e-06/0.3854, allocations: 3.984 kB / 398.8 MB, free: 1.434 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.524e-06/0.3855, allocations: 3.938 kB / 398.8 MB, free: 1.43 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000185/0.3857, allocations: 155.4 kB / 398.9 MB, free: 1.262 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.581e-05/0.3857, allocations: 89 kB / 399 MB, free: 1.156 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.918e-05/0.3858, allocations: 0 / 399 MB, free: 1.156 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001009/0.3859, allocations: 8 kB / 399 MB, free: 1.148 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.042e-05/0.3859, allocations: 12.12 kB / 399 MB, free: 1.137 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.088e-05/0.386, allocations: 4 kB / 399 MB, free: 1.133 MB / 330.7 MB Notification: Performance of sorting global known variables: time 9.205e-05/0.3861, allocations: 95.27 kB / 399.1 MB, free: 1.039 MB / 330.7 MB Notification: Performance of sort global known variables: time 7.58e-07/0.3861, allocations: 0 / 399.1 MB, free: 1.039 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0003297/0.3864, allocations: 16 kB / 399.1 MB, free: 1.023 MB / 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.0006306/0.3871, allocations: 210.7 kB / 399.3 MB, free: 0.8438 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0001692/0.3872, allocations: 87.33 kB / 399.4 MB, free: 0.7461 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 2.878e-06/0.3873, allocations: 0 / 399.4 MB, free: 0.7461 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 4.258e-05/0.3873, allocations: 16 kB / 399.4 MB, free: 0.7305 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002395/0.3876, allocations: 15.89 kB / 399.5 MB, free: 0.7148 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003526/0.3879, allocations: 126.8 kB / 399.6 MB, free: 0.5625 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003886/0.3883, allocations: 0.7002 MB / 400.3 MB, free: 15.84 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.897e-05/0.3884, allocations: 11.44 kB / 400.3 MB, free: 15.82 MB / 346.7 MB Notification: Performance of SimCode: time 1.455e-06/0.3884, allocations: 0 / 400.3 MB, free: 15.82 MB / 346.7 MB Notification: Performance of Templates: time 0.003329/0.3918, allocations: 1.156 MB / 401.5 MB, free: 14.68 MB / 346.7 MB