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.Test20.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.Test20,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.Test20") Notification: Performance of loadModel(ModelicaTest): time 1.899/1.899, allocations: 209.4 MB / 217.3 MB, free: 4.156 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 1.684e-05/1.693e-05, allocations: 0 / 271.3 MB, free: 14.13 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.261/0.2611, allocations: 48.68 MB / 320 MB, free: 14.41 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1107/0.3718, allocations: 73.98 MB / 394 MB, free: 6.48 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002307/0.3721, allocations: 79.94 kB / 394.1 MB, free: 6.402 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01187/0.384, allocations: 3.094 MB / 397.2 MB, free: 3.301 MB / 330.7 MB Notification: Performance of FrontEnd: time 2.029e-06/0.384, allocations: 4 kB / 397.2 MB, free: 3.297 MB / 330.7 MB Notification: Performance of Transformations before backend: time 1.051e-05/0.384, allocations: 0 / 397.2 MB, free: 3.297 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.0004365/0.3845, allocations: 384.1 kB / 397.5 MB, free: 2.871 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.951e-05/0.3845, allocations: 8.031 kB / 397.5 MB, free: 2.863 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.117e-05/0.3846, allocations: 7.906 kB / 397.6 MB, free: 2.855 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002499/0.3849, allocations: 190.8 kB / 397.7 MB, free: 2.629 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.043e-05/0.3849, allocations: 0 / 397.7 MB, free: 2.629 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.226e-05/0.3849, allocations: 4 kB / 397.7 MB, free: 2.625 MB / 330.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 7.687e-05/0.385, allocations: 12 kB / 397.8 MB, free: 2.613 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001147/0.3851, allocations: 51.41 kB / 397.8 MB, free: 2.551 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.28e-05/0.3852, allocations: 7.938 kB / 397.8 MB, free: 2.543 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.005e-05/0.3852, allocations: 0 / 397.8 MB, free: 2.543 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.384e-06/0.3852, allocations: 0 / 397.8 MB, free: 2.543 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003668/0.3856, allocations: 253.4 kB / 398.1 MB, free: 2.258 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001685/0.3858, allocations: 34.58 kB / 398.1 MB, free: 2.215 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.978e-05/0.3858, allocations: 8.859 kB / 398.1 MB, free: 2.203 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.401e-05/0.3858, allocations: 0 / 398.1 MB, free: 2.203 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.142e-05/0.3859, allocations: 38.56 kB / 398.1 MB, free: 2.156 MB / 330.7 MB Notification: Performance of pre-optimization done (n=3): time 1.744e-06/0.3859, allocations: 0 / 398.1 MB, free: 2.156 MB / 330.7 MB Notification: Performance of matching and sorting (n=5): time 0.0004384/0.3863, allocations: 109.4 kB / 398.3 MB, free: 2.043 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.091e-05/0.3864, allocations: 77.11 kB / 398.3 MB, free: 1.949 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001283/0.3865, allocations: 116.9 kB / 398.4 MB, free: 1.828 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 2.2e-05/0.3866, allocations: 25.7 kB / 398.5 MB, free: 1.797 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.091e-05/0.3867, allocations: 150.6 kB / 398.6 MB, free: 1.648 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.924e-05/0.3867, allocations: 23.66 kB / 398.6 MB, free: 1.625 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.317e-06/0.3867, allocations: 0 / 398.6 MB, free: 1.625 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001493/0.3869, allocations: 314.8 kB / 398.9 MB, free: 1.309 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.932e-05/0.3869, allocations: 19.98 kB / 399 MB, free: 1.289 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.981e-05/0.387, allocations: 25.72 kB / 399 MB, free: 1.258 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.344e-05/0.387, allocations: 8 kB / 399 MB, free: 1.25 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.754e-06/0.3871, allocations: 4 kB / 399 MB, free: 1.246 MB / 330.7 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.000156/0.3872, allocations: 61.62 kB / 399.1 MB, free: 1.18 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.073e-05/0.3873, allocations: 37.7 kB / 399.1 MB, free: 1.137 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.558e-06/0.3873, allocations: 0 / 399.1 MB, free: 1.137 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.156e-05/0.3873, allocations: 0 / 399.1 MB, free: 1.137 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001036/0.3874, allocations: 20.02 kB / 399.1 MB, free: 1.117 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.239e-06/0.3874, allocations: 0 / 399.1 MB, free: 1.117 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.06e-05/0.3875, allocations: 4 kB / 399.1 MB, free: 1.113 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.899e-05/0.3876, allocations: 11.97 kB / 399.1 MB, free: 1.102 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.578e-05/0.3876, allocations: 104.9 kB / 399.2 MB, free: 0.9922 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.458e-05/0.3877, allocations: 7.938 kB / 399.2 MB, free: 0.9844 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001782/0.3879, allocations: 78.19 kB / 399.3 MB, free: 0.9062 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.884e-06/0.3879, allocations: 4 kB / 399.3 MB, free: 0.9023 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.775e-06/0.3879, allocations: 4 kB / 399.3 MB, free: 0.8984 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.692e-06/0.3879, allocations: 0 / 399.3 MB, free: 0.8984 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004043/0.3884, allocations: 299.1 kB / 399.6 MB, free: 0.5625 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.687e-06/0.3884, allocations: 4 kB / 399.6 MB, free: 0.5586 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.17e-05/0.3885, allocations: 8 kB / 399.6 MB, free: 0.5508 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.641e-06/0.3885, allocations: 7.938 kB / 399.6 MB, free: 0.543 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.053e-05/0.3885, allocations: 3.984 kB / 399.6 MB, free: 0.5391 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.064e-06/0.3885, allocations: 0 / 399.6 MB, free: 0.5391 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.387e-06/0.3885, allocations: 4 kB / 399.6 MB, free: 0.5352 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001783/0.3887, allocations: 151.5 kB / 399.8 MB, free: 380 kB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.411e-05/0.3888, allocations: 89.02 kB / 399.9 MB, free: 272 kB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.869e-05/0.3888, allocations: 0 / 399.9 MB, free: 272 kB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.819e-05/0.3889, allocations: 4 kB / 399.9 MB, free: 268 kB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.097e-05/0.389, allocations: 7.984 kB / 399.9 MB, free: 260 kB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.464e-06/0.389, allocations: 0 / 399.9 MB, free: 260 kB / 330.7 MB Notification: Performance of sorting global known variables: time 8.341e-05/0.3891, allocations: 99.27 kB / 400 MB, free: 160 kB / 330.7 MB Notification: Performance of sort global known variables: time 7.8e-07/0.3891, allocations: 0 / 400 MB, free: 160 kB / 330.7 MB Notification: Performance of remove unused functions: time 0.0003594/0.3895, allocations: 24 kB / 400 MB, free: 136 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.0008614/0.3904, allocations: 290.8 kB / 400.3 MB, free: 15.89 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.000171/0.3905, allocations: 79.41 kB / 400.4 MB, free: 15.8 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 2.669e-06/0.3906, allocations: 0 / 400.4 MB, free: 15.8 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 4.446e-05/0.3906, allocations: 20 kB / 400.4 MB, free: 15.78 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002224/0.3909, allocations: 15.94 kB / 400.4 MB, free: 15.77 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003182/0.3912, allocations: 122.8 kB / 400.5 MB, free: 15.61 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003659/0.3916, allocations: 0.6911 MB / 401.2 MB, free: 14.9 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.847e-05/0.3916, allocations: 11.44 kB / 401.2 MB, free: 14.89 MB / 346.7 MB Notification: Performance of SimCode: time 1.632e-06/0.3917, allocations: 0 / 401.2 MB, free: 14.89 MB / 346.7 MB Notification: Performance of Templates: time 0.003778/0.3955, allocations: 1.442 MB / 402.7 MB, free: 13.45 MB / 346.7 MB