Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr ModelicaTest_3.2.2_cpp_ModelicaTest.Tables.CombiTable1Ds.Test21.conf.json Using package ModelicaServices with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo) Using package Complex with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo) Using package Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo) Using package ModelicaTest with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaTest 3.2.2/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.2_cpp_ModelicaTest.Tables.CombiTable1Ds.Test21") Notification: Performance of loadModel(ModelicaTest): time 2.465/2.465, allocations: 234.9 MB / 250.5 MB, free: 9.543 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004402/0.0004404, allocations: 12 kB / 314.3 MB, free: 9.598 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2808/0.2812, allocations: 54.87 MB / 369.2 MB, free: 10.71 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test21): time 0.002153/0.2834, allocations: 1.227 MB / 370.4 MB, free: 9.465 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.001464/0.2849, allocations: 0.8219 MB / 371.2 MB, free: 8.637 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.141e-05/0.285, allocations: 0 / 371.2 MB, free: 8.637 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001803/0.2852, allocations: 15.92 kB / 371.3 MB, free: 8.621 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001409/0.2854, allocations: 27.91 kB / 371.3 MB, free: 8.594 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001239/0.2855, allocations: 31.84 kB / 371.3 MB, free: 8.562 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001186/0.2856, allocations: 35.95 kB / 371.3 MB, free: 8.527 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.501e-05/0.2857, allocations: 16 kB / 371.4 MB, free: 8.512 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 4.96e-05/0.2858, allocations: 15.91 kB / 371.4 MB, free: 8.496 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001336/0.2859, allocations: 23.86 kB / 371.4 MB, free: 8.473 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 1.694e-05/0.286, allocations: 4 kB / 371.4 MB, free: 8.469 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.892e-05/0.2861, allocations: 35.97 kB / 371.4 MB, free: 8.434 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 3.091e-05/0.2861, allocations: 3.984 kB / 371.4 MB, free: 8.43 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 4.536e-05/0.2862, allocations: 33.7 kB / 371.5 MB, free: 8.391 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001529/0.2863, allocations: 63.8 kB / 371.5 MB, free: 8.328 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.476e-06/0.2864, allocations: 4 kB / 371.5 MB, free: 8.324 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.887e-06/0.2864, allocations: 0 / 371.5 MB, free: 8.324 MB / 298.7 MB Notification: Performance of Transformations before backend: time 8.993e-06/0.2864, allocations: 0 / 371.5 MB, free: 8.324 MB / 298.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.0005151/0.2869, allocations: 393.5 kB / 371.9 MB, free: 7.887 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.592e-05/0.287, allocations: 8.031 kB / 371.9 MB, free: 7.879 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.7e-05/0.287, allocations: 7.953 kB / 371.9 MB, free: 7.871 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002249/0.2872, allocations: 178.9 kB / 372.1 MB, free: 7.656 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.193e-05/0.2873, allocations: 0 / 372.1 MB, free: 7.656 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.609e-05/0.2873, allocations: 4 kB / 372.1 MB, free: 7.652 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001886/0.2875, allocations: 71.33 kB / 372.2 MB, free: 7.57 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.152e-05/0.2875, allocations: 0 / 372.2 MB, free: 7.57 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.133e-05/0.2876, allocations: 4 kB / 372.2 MB, free: 7.566 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.077e-06/0.2876, allocations: 0 / 372.2 MB, free: 7.566 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001242/0.2877, allocations: 27.94 kB / 372.2 MB, free: 7.539 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000454/0.2882, allocations: 272.9 kB / 372.5 MB, free: 7.223 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002322/0.2884, allocations: 46.5 kB / 372.5 MB, free: 7.168 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.136e-05/0.2885, allocations: 3.984 kB / 372.5 MB, free: 7.164 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.28e-05/0.2885, allocations: 34.56 kB / 372.6 MB, free: 7.121 MB / 298.7 MB Notification: Performance of pre-optimization done (n=3): time 2.242e-06/0.2885, allocations: 4 kB / 372.6 MB, free: 7.117 MB / 298.7 MB Notification: Performance of matching and sorting (n=5): time 0.000686/0.2892, allocations: 157.4 kB / 372.7 MB, free: 6.957 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.879e-05/0.2893, allocations: 81.11 kB / 372.8 MB, free: 6.859 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000158/0.2895, allocations: 125.8 kB / 372.9 MB, free: 6.727 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 2.385e-05/0.2895, allocations: 25.7 kB / 373 MB, free: 6.695 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.875e-05/0.2896, allocations: 158.5 kB / 373.1 MB, free: 6.539 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.707e-05/0.2897, allocations: 19.75 kB / 373.1 MB, free: 6.52 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.32e-06/0.2897, allocations: 0 / 373.1 MB, free: 6.52 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0001633/0.2899, allocations: 314.8 kB / 373.4 MB, free: 6.203 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001075/0.29, allocations: 27.98 kB / 373.5 MB, free: 6.176 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001142/0.2901, allocations: 41.7 kB / 373.5 MB, free: 6.129 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001293/0.2902, allocations: 53.7 kB / 373.6 MB, free: 6.07 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.725e-06/0.2903, allocations: 0 / 373.6 MB, free: 6.07 MB / 298.7 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0003018/0.2906, allocations: 123.3 kB / 373.7 MB, free: 5.938 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.424e-05/0.2906, allocations: 33.7 kB / 373.7 MB, free: 5.898 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.782e-06/0.2907, allocations: 3.984 kB / 373.7 MB, free: 5.895 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.475e-05/0.2907, allocations: 3.953 kB / 373.7 MB, free: 5.891 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.68e-05/0.2908, allocations: 12 kB / 373.7 MB, free: 5.879 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.759e-06/0.2908, allocations: 3.984 kB / 373.7 MB, free: 5.875 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.416e-05/0.2909, allocations: 12.23 kB / 373.7 MB, free: 5.863 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.214e-05/0.2909, allocations: 8 kB / 373.8 MB, free: 5.855 MB / 298.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 () * Number of clocked 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 0.0001146/0.291, allocations: 113.8 kB / 373.9 MB, free: 5.734 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.589e-05/0.2911, allocations: 7.906 kB / 373.9 MB, free: 5.727 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00031/0.2914, allocations: 101.6 kB / 374 MB, free: 5.621 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.757e-06/0.2914, allocations: 7.953 kB / 374 MB, free: 5.613 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.421e-06/0.2914, allocations: 0 / 374 MB, free: 5.613 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.393e-06/0.2915, allocations: 288 / 374 MB, free: 5.613 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006032/0.2921, allocations: 350.5 kB / 374.3 MB, free: 5.215 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.024e-06/0.2921, allocations: 0 / 374.3 MB, free: 5.215 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.072e-05/0.2922, allocations: 12 kB / 374.3 MB, free: 5.203 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.777e-06/0.2922, allocations: 15.81 kB / 374.3 MB, free: 5.188 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.96e-06/0.2922, allocations: 0 / 374.3 MB, free: 5.188 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.774e-06/0.2922, allocations: 0 / 374.3 MB, free: 5.188 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.846e-06/0.2923, allocations: 4 kB / 374.4 MB, free: 5.184 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003091/0.2926, allocations: 183.4 kB / 374.5 MB, free: 4.988 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.651e-05/0.2927, allocations: 85.11 kB / 374.6 MB, free: 4.887 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.372e-05/0.2927, allocations: 3.953 kB / 374.6 MB, free: 4.883 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.905e-05/0.2928, allocations: 7.984 kB / 374.6 MB, free: 4.875 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.076e-05/0.2929, allocations: 4 kB / 374.6 MB, free: 4.871 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.21e-06/0.2929, allocations: 0 / 374.6 MB, free: 4.871 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0001056/0.293, allocations: 103.3 kB / 374.7 MB, free: 4.77 MB / 298.7 MB Notification: Performance of sort global known variables: time 7.55e-07/0.293, allocations: 0 / 374.7 MB, free: 4.77 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0003799/0.2934, allocations: 27.98 kB / 374.8 MB, free: 4.742 MB / 298.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 () * Number of clocked 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.00128/0.2947, allocations: 391.3 kB / 375.1 MB, free: 4.445 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0003206/0.295, allocations: 115.3 kB / 375.3 MB, free: 4.32 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 3.36e-06/0.295, allocations: 0 / 375.3 MB, free: 4.32 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001135/0.2952, allocations: 31.98 kB / 375.3 MB, free: 4.289 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002682/0.2955, allocations: 14.77 kB / 375.3 MB, free: 4.277 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004715/0.2959, allocations: 190.4 kB / 375.5 MB, free: 4.059 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003729/0.2963, allocations: 0.6887 MB / 376.2 MB, free: 3.344 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.476e-05/0.2964, allocations: 23.42 kB / 376.2 MB, free: 3.32 MB / 298.7 MB Notification: Performance of SimCode: time 1.51e-06/0.2964, allocations: 0 / 376.2 MB, free: 3.32 MB / 298.7 MB Notification: Performance of Templates: time 0.004603/0.301, allocations: 1.436 MB / 377.6 MB, free: 1.883 MB / 298.7 MB