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.Test21.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.Test21,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.Test21") Notification: Performance of loadModel(ModelicaTest): time 1.885/1.885, allocations: 209.4 MB / 217.3 MB, free: 4.176 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 1.691e-05/1.698e-05, allocations: 0 / 271.3 MB, free: 14.13 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2605/0.2605, allocations: 48.68 MB / 320 MB, free: 14.41 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.111/0.3715, allocations: 73.99 MB / 394 MB, free: 6.469 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.00023/0.3718, allocations: 71.95 kB / 394.1 MB, free: 6.398 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01169/0.3835, allocations: 3.094 MB / 397.2 MB, free: 3.297 MB / 330.7 MB Notification: Performance of FrontEnd: time 2.329e-06/0.3835, allocations: 0 / 397.2 MB, free: 3.297 MB / 330.7 MB Notification: Performance of Transformations before backend: time 1.553e-05/0.3836, allocations: 4 kB / 397.2 MB, free: 3.293 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.0004379/0.384, allocations: 380.1 kB / 397.5 MB, free: 2.871 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.409e-05/0.3841, allocations: 12.03 kB / 397.5 MB, free: 2.859 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.024e-05/0.3841, allocations: 3.906 kB / 397.6 MB, free: 2.855 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002455/0.3844, allocations: 190.8 kB / 397.7 MB, free: 2.629 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.108e-05/0.3844, allocations: 4 kB / 397.7 MB, free: 2.625 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.247e-05/0.3845, allocations: 4 kB / 397.7 MB, free: 2.621 MB / 330.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 7.054e-05/0.3845, allocations: 8 kB / 397.8 MB, free: 2.613 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001145/0.3847, allocations: 59.41 kB / 397.8 MB, free: 2.543 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.274e-05/0.3847, allocations: 0 / 397.8 MB, free: 2.543 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.708e-06/0.3847, allocations: 3.938 kB / 397.8 MB, free: 2.539 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.626e-06/0.3847, allocations: 4 kB / 397.8 MB, free: 2.535 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003591/0.3851, allocations: 249.4 kB / 398.1 MB, free: 2.254 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001695/0.3853, allocations: 34.58 kB / 398.1 MB, free: 2.211 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.231e-05/0.3853, allocations: 12.86 kB / 398.1 MB, free: 2.195 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.464e-05/0.3854, allocations: 0 / 398.1 MB, free: 2.195 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.995e-05/0.3854, allocations: 34.56 kB / 398.1 MB, free: 2.152 MB / 330.7 MB Notification: Performance of pre-optimization done (n=3): time 1.788e-06/0.3854, allocations: 0 / 398.1 MB, free: 2.152 MB / 330.7 MB Notification: Performance of matching and sorting (n=5): time 0.0004318/0.3858, allocations: 109.4 kB / 398.3 MB, free: 2.039 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.275e-05/0.3859, allocations: 77.11 kB / 398.3 MB, free: 1.945 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001271/0.3861, allocations: 116.9 kB / 398.4 MB, free: 1.824 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 2.032e-05/0.3861, allocations: 29.7 kB / 398.5 MB, free: 1.789 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.488e-05/0.3862, allocations: 154.6 kB / 398.6 MB, free: 1.637 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.398e-05/0.3862, allocations: 15.66 kB / 398.6 MB, free: 1.621 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.812e-06/0.3862, allocations: 4 kB / 398.6 MB, free: 1.617 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001549/0.3864, allocations: 318.8 kB / 399 MB, free: 1.297 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.716e-05/0.3865, allocations: 12 kB / 399 MB, free: 1.285 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.903e-05/0.3865, allocations: 29.7 kB / 399 MB, free: 1.25 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.505e-05/0.3866, allocations: 11.94 kB / 399 MB, free: 1.238 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.656e-06/0.3866, allocations: 0 / 399 MB, free: 1.238 MB / 330.7 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001607/0.3868, allocations: 65.69 kB / 399.1 MB, free: 1.168 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.717e-05/0.3868, allocations: 29.7 kB / 399.1 MB, free: 1.133 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.897e-06/0.3868, allocations: 0 / 399.1 MB, free: 1.133 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.204e-05/0.3868, allocations: 4 kB / 399.1 MB, free: 1.129 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.367e-05/0.3869, allocations: 20.02 kB / 399.1 MB, free: 1.109 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.406e-06/0.387, allocations: 0 / 399.1 MB, free: 1.109 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.81e-05/0.387, allocations: 4 kB / 399.1 MB, free: 1.105 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.055e-05/0.3871, allocations: 0 / 399.1 MB, free: 1.105 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.996e-05/0.3872, allocations: 112.9 kB / 399.2 MB, free: 0.9883 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.085e-05/0.3872, allocations: 7.938 kB / 399.2 MB, free: 0.9805 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001767/0.3874, allocations: 73.94 kB / 399.3 MB, free: 0.9062 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.141e-06/0.3874, allocations: 3.938 kB / 399.3 MB, free: 0.9023 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.363e-06/0.3874, allocations: 4 kB / 399.3 MB, free: 0.8984 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.703e-06/0.3875, allocations: 0 / 399.3 MB, free: 0.8984 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003986/0.3879, allocations: 295.4 kB / 399.6 MB, free: 0.5664 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.645e-06/0.3879, allocations: 64 / 399.6 MB, free: 0.5664 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.66e-05/0.388, allocations: 19.94 kB / 399.6 MB, free: 0.5469 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.351e-06/0.388, allocations: 0 / 399.6 MB, free: 0.5469 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.086e-05/0.388, allocations: 4 kB / 399.6 MB, free: 0.543 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.602e-06/0.388, allocations: 3.984 kB / 399.6 MB, free: 0.5391 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.43e-06/0.388, allocations: 4 kB / 399.6 MB, free: 0.5352 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000185/0.3882, allocations: 151.7 kB / 399.8 MB, free: 380 kB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.326e-05/0.3883, allocations: 88.98 kB / 399.9 MB, free: 272 kB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.905e-05/0.3883, allocations: 4 kB / 399.9 MB, free: 268 kB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.974e-05/0.3885, allocations: 4 kB / 399.9 MB, free: 264 kB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.949e-05/0.3885, allocations: 3.984 kB / 399.9 MB, free: 260 kB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.715e-06/0.3885, allocations: 4 kB / 399.9 MB, free: 256 kB / 330.7 MB Notification: Performance of sorting global known variables: time 8.332e-05/0.3886, allocations: 99.27 kB / 400 MB, free: 156 kB / 330.7 MB Notification: Performance of sort global known variables: time 7.2e-07/0.3886, allocations: 0 / 400 MB, free: 156 kB / 330.7 MB Notification: Performance of remove unused functions: time 0.0003454/0.389, allocations: 20 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.0008413/0.3898, allocations: 298.5 kB / 400.3 MB, free: 15.88 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0001684/0.39, allocations: 83.41 kB / 400.4 MB, free: 15.79 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 2.514e-06/0.39, allocations: 0 / 400.4 MB, free: 15.79 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 4.552e-05/0.3901, allocations: 20 kB / 400.4 MB, free: 15.77 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002164/0.3903, allocations: 7.891 kB / 400.4 MB, free: 15.76 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000304/0.3907, allocations: 126.8 kB / 400.5 MB, free: 15.61 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003552/0.391, allocations: 0.6911 MB / 401.2 MB, free: 14.89 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.773e-05/0.3911, allocations: 15.42 kB / 401.2 MB, free: 14.88 MB / 346.7 MB Notification: Performance of SimCode: time 1.317e-06/0.3911, allocations: 0 / 401.2 MB, free: 14.88 MB / 346.7 MB Notification: Performance of Templates: time 0.003721/0.3948, allocations: 1.431 MB / 402.7 MB, free: 13.44 MB / 346.7 MB