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.CombiTable1D.Test27.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.CombiTable1D.Test27,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.CombiTable1D.Test27") Notification: Performance of loadModel(ModelicaTest): time 2.148/2.148, allocations: 234.9 MB / 250.5 MB, free: 9.547 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004352/0.0004354, allocations: 8 kB / 314.3 MB, free: 9.602 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2725/0.273, allocations: 54.87 MB / 369.2 MB, free: 10.72 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1D.Test27): time 0.002085/0.2751, allocations: 1.231 MB / 370.4 MB, free: 9.469 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.000627/0.2757, allocations: 257.2 kB / 370.7 MB, free: 9.215 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.659e-05/0.2758, allocations: 0 / 370.7 MB, free: 9.215 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002788/0.2761, allocations: 107.8 kB / 370.8 MB, free: 9.109 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000178/0.2763, allocations: 71.83 kB / 370.8 MB, free: 9.039 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001253/0.2764, allocations: 35.91 kB / 370.9 MB, free: 9.004 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001496/0.2766, allocations: 59.86 kB / 370.9 MB, free: 8.945 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.666e-05/0.2767, allocations: 7.984 kB / 370.9 MB, free: 8.938 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.354e-05/0.2768, allocations: 39.89 kB / 371 MB, free: 8.898 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001299/0.2769, allocations: 51.88 kB / 371 MB, free: 8.848 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 1.441e-05/0.277, allocations: 0 / 371 MB, free: 8.848 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.79e-05/0.277, allocations: 23.92 kB / 371.1 MB, free: 8.824 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 5.376e-05/0.2771, allocations: 31.91 kB / 371.1 MB, free: 8.793 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 4.436e-05/0.2772, allocations: 37.64 kB / 371.1 MB, free: 8.75 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001401/0.2773, allocations: 59.91 kB / 371.2 MB, free: 8.691 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.994e-06/0.2773, allocations: 4 kB / 371.2 MB, free: 8.688 MB / 298.7 MB Notification: Performance of FrontEnd: time 2.136e-06/0.2774, allocations: 0 / 371.2 MB, free: 8.688 MB / 298.7 MB Notification: Performance of Transformations before backend: time 4.897e-06/0.2774, allocations: 0 / 371.2 MB, free: 8.688 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.0005466/0.2779, allocations: 417.3 kB / 371.6 MB, free: 8.227 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.7e-05/0.278, allocations: 8.031 kB / 371.6 MB, free: 8.219 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.09e-05/0.278, allocations: 23.77 kB / 371.6 MB, free: 8.195 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000237/0.2783, allocations: 202.8 kB / 371.8 MB, free: 7.957 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.87e-06/0.2783, allocations: 0 / 371.8 MB, free: 7.957 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.445e-05/0.2783, allocations: 0 / 371.8 MB, free: 7.957 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001689/0.2785, allocations: 57.62 kB / 371.9 MB, free: 7.895 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.228e-05/0.2785, allocations: 0 / 371.9 MB, free: 7.895 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.281e-06/0.2786, allocations: 0 / 371.9 MB, free: 7.895 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.751e-06/0.2786, allocations: 3.938 kB / 371.9 MB, free: 7.891 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001278/0.2787, allocations: 35.92 kB / 371.9 MB, free: 7.855 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004747/0.2792, allocations: 292.9 kB / 372.2 MB, free: 7.52 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002539/0.2795, allocations: 46.5 kB / 372.2 MB, free: 7.465 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.323e-05/0.2795, allocations: 11.94 kB / 372.3 MB, free: 7.453 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.187e-05/0.2796, allocations: 34.56 kB / 372.3 MB, free: 7.41 MB / 298.7 MB Notification: Performance of pre-optimization done (n=3): time 2.17e-06/0.2796, allocations: 0 / 372.3 MB, free: 7.41 MB / 298.7 MB Notification: Performance of matching and sorting (n=5): time 0.0007318/0.2803, allocations: 181.2 kB / 372.5 MB, free: 7.227 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.988e-05/0.2804, allocations: 51.41 kB / 372.5 MB, free: 7.164 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003373/0.2807, allocations: 255.4 kB / 372.8 MB, free: 6.898 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 2.583e-05/0.2808, allocations: 33.7 kB / 372.8 MB, free: 6.859 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001119/0.2809, allocations: 166.5 kB / 373 MB, free: 6.695 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.095e-05/0.2809, allocations: 19.75 kB / 373 MB, free: 6.676 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.505e-06/0.281, allocations: 0 / 373 MB, free: 6.676 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0001562/0.2811, allocations: 318.8 kB / 373.3 MB, free: 6.355 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001097/0.2812, allocations: 23.98 kB / 373.3 MB, free: 6.332 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000102/0.2814, allocations: 27.98 kB / 373.3 MB, free: 6.305 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001233/0.2815, allocations: 53.69 kB / 373.4 MB, free: 6.246 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.978e-06/0.2815, allocations: 4 kB / 373.4 MB, free: 6.242 MB / 298.7 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0003088/0.2818, allocations: 127.3 kB / 373.5 MB, free: 6.105 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.426e-05/0.2819, allocations: 29.7 kB / 373.6 MB, free: 6.07 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.955e-06/0.2819, allocations: 288 / 373.6 MB, free: 6.07 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.72e-05/0.2819, allocations: 7.953 kB / 373.6 MB, free: 6.062 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.535e-05/0.282, allocations: 19.98 kB / 373.6 MB, free: 6.043 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.625e-06/0.2821, allocations: 0 / 373.6 MB, free: 6.043 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.946e-05/0.2821, allocations: 4 kB / 373.6 MB, free: 6.039 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.351e-05/0.2822, allocations: 3.984 kB / 373.6 MB, free: 6.035 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.0001397/0.2823, allocations: 133.8 kB / 373.7 MB, free: 5.895 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.758e-05/0.2824, allocations: 19.8 kB / 373.7 MB, free: 5.875 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003266/0.2827, allocations: 110.8 kB / 373.9 MB, free: 5.766 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.212e-05/0.2827, allocations: 7.953 kB / 373.9 MB, free: 5.758 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.681e-06/0.2828, allocations: 4.062 kB / 373.9 MB, free: 5.754 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.586e-06/0.2828, allocations: 3.984 kB / 373.9 MB, free: 5.75 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006768/0.2835, allocations: 370.6 kB / 374.2 MB, free: 5.332 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.116e-06/0.2835, allocations: 0 / 374.2 MB, free: 5.332 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.645e-05/0.2836, allocations: 19.92 kB / 374.2 MB, free: 5.312 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.442e-06/0.2836, allocations: 3.953 kB / 374.3 MB, free: 5.309 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.097e-05/0.2836, allocations: 0 / 374.3 MB, free: 5.309 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.638e-06/0.2836, allocations: 3.938 kB / 374.3 MB, free: 5.305 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.71e-06/0.2837, allocations: 4 kB / 374.3 MB, free: 5.301 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003249/0.284, allocations: 199.3 kB / 374.5 MB, free: 5.09 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.035e-05/0.2841, allocations: 85.02 kB / 374.5 MB, free: 4.988 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.214e-05/0.2841, allocations: 7.891 kB / 374.5 MB, free: 4.98 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.753e-05/0.2842, allocations: 4 kB / 374.5 MB, free: 4.977 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.802e-05/0.2843, allocations: 11.98 kB / 374.6 MB, free: 4.965 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.505e-06/0.2843, allocations: 4 kB / 374.6 MB, free: 4.961 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0002307/0.2845, allocations: 193.2 kB / 374.8 MB, free: 4.773 MB / 298.7 MB Notification: Performance of sort global known variables: time 7.26e-07/0.2845, allocations: 0 / 374.8 MB, free: 4.773 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0003259/0.2849, allocations: 16 kB / 374.8 MB, free: 4.758 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.0009544/0.2858, allocations: 302.2 kB / 375.1 MB, free: 4.535 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0003289/0.2862, allocations: 123.4 kB / 375.2 MB, free: 4.402 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 3.114e-06/0.2862, allocations: 0 / 375.2 MB, free: 4.402 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001198/0.2863, allocations: 27.98 kB / 375.2 MB, free: 4.375 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002602/0.2866, allocations: 16.11 kB / 375.2 MB, free: 4.359 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006463/0.2873, allocations: 319 kB / 375.5 MB, free: 4.012 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004205/0.2877, allocations: 0.716 MB / 376.3 MB, free: 3.27 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.12e-05/0.2878, allocations: 11.44 kB / 376.3 MB, free: 3.258 MB / 298.7 MB Notification: Performance of SimCode: time 1.334e-06/0.2878, allocations: 4 kB / 376.3 MB, free: 3.254 MB / 298.7 MB Notification: Performance of Templates: time 0.003793/0.2916, allocations: 1.421 MB / 377.7 MB, free: 1.832 MB / 298.7 MB