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.Test5.conf.json Using package ModelicaServices with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.1/package.mo) Using package Complex with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.1.mo) Using package Modelica with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.1/package.mo) Using package ModelicaTest with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaTest 3.2.1/package.mo) Running command: translateModel(ModelicaTest.Tables.CombiTable1Ds.Test5,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.Test5") Notification: Performance of loadModel(ModelicaTest): time 1.801/1.801, allocations: 209.2 MB / 224.8 MB, free: 208 kB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004293/0.0004295, allocations: 8 kB / 282.5 MB, free: 9.633 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2763/0.2768, allocations: 48.71 MB / 331.2 MB, free: 6.469 MB / 266.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test5): time 0.001792/0.2786, allocations: 1.205 MB / 332.4 MB, free: 5.875 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.0005151/0.2792, allocations: 245 kB / 332.6 MB, free: 5.723 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.595e-05/0.2792, allocations: 1.375 kB / 332.6 MB, free: 5.723 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002478/0.2795, allocations: 84.75 kB / 332.7 MB, free: 5.711 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001559/0.2797, allocations: 56.98 kB / 332.8 MB, free: 5.695 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000127/0.2798, allocations: 31.19 kB / 332.8 MB, free: 5.68 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.000129/0.28, allocations: 49.69 kB / 332.9 MB, free: 5.66 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.025e-05/0.2801, allocations: 10.25 kB / 332.9 MB, free: 5.656 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 6.992e-05/0.2802, allocations: 24.83 kB / 332.9 MB, free: 5.652 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.897e-05/0.2803, allocations: 39.23 kB / 332.9 MB, free: 5.641 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 1.317e-05/0.2803, allocations: 1.531 kB / 332.9 MB, free: 5.641 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.404e-05/0.2804, allocations: 16.33 kB / 332.9 MB, free: 5.637 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 3.779e-05/0.2804, allocations: 22.97 kB / 333 MB, free: 5.625 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 2.612e-05/0.2805, allocations: 38.22 kB / 333 MB, free: 5.586 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001308/0.2806, allocations: 54.31 kB / 333.1 MB, free: 5.574 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.706e-06/0.2806, allocations: 0 / 333.1 MB, free: 5.574 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.835e-06/0.2806, allocations: 0 / 333.1 MB, free: 5.574 MB / 266.7 MB Notification: Performance of Transformations before backend: time 5.062e-06/0.2806, allocations: 0 / 333.1 MB, free: 5.574 MB / 266.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.0003837/0.281, allocations: 408.6 kB / 333.5 MB, free: 5.156 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.405e-05/0.2811, allocations: 9.125 kB / 333.5 MB, free: 5.156 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.66e-05/0.2811, allocations: 9.422 kB / 333.5 MB, free: 5.152 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001556/0.2813, allocations: 201.2 kB / 333.7 MB, free: 4.93 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.316e-05/0.2813, allocations: 0.6094 kB / 333.7 MB, free: 4.93 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.348e-05/0.2814, allocations: 3.156 kB / 333.7 MB, free: 4.93 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001413/0.2815, allocations: 46.38 kB / 333.7 MB, free: 4.895 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.189e-05/0.2815, allocations: 3.938 kB / 333.7 MB, free: 4.891 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.722e-06/0.2816, allocations: 5.094 kB / 333.7 MB, free: 4.887 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.551e-06/0.2816, allocations: 0 / 333.7 MB, free: 4.887 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000116/0.2817, allocations: 30.28 kB / 333.8 MB, free: 4.879 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003123/0.282, allocations: 279.4 kB / 334 MB, free: 4.594 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002108/0.2822, allocations: 46.27 kB / 334.1 MB, free: 4.562 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.672e-05/0.2823, allocations: 1.312 kB / 334.1 MB, free: 4.562 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.518e-05/0.2823, allocations: 40.58 kB / 334.1 MB, free: 4.516 MB / 266.7 MB Notification: Performance of pre-optimization done (n=3): time 2.007e-06/0.2823, allocations: 0 / 334.1 MB, free: 4.516 MB / 266.7 MB Notification: Performance of matching and sorting (n=5): time 0.000633/0.283, allocations: 162 kB / 334.3 MB, free: 4.445 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.718e-05/0.283, allocations: 53.44 kB / 334.3 MB, free: 4.383 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002187/0.2832, allocations: 213.2 kB / 334.5 MB, free: 4.254 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.068e-05/0.2833, allocations: 25.7 kB / 334.6 MB, free: 4.223 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.108e-05/0.2833, allocations: 169.4 kB / 334.7 MB, free: 4.059 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.864e-05/0.2834, allocations: 12.11 kB / 334.7 MB, free: 4.051 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.156e-06/0.2834, allocations: 4 kB / 334.7 MB, free: 4.047 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 5.051e-05/0.2834, allocations: 317.7 kB / 335.1 MB, free: 3.73 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001023/0.2835, allocations: 26.66 kB / 335.1 MB, free: 3.723 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.689e-05/0.2836, allocations: 24.41 kB / 335.1 MB, free: 3.719 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001058/0.2838, allocations: 58.12 kB / 335.2 MB, free: 3.676 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.698e-06/0.2838, allocations: 0 / 335.2 MB, free: 3.676 MB / 266.7 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.000261/0.2841, allocations: 121.5 kB / 335.3 MB, free: 3.594 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.032e-05/0.2841, allocations: 32.77 kB / 335.3 MB, free: 3.562 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.895e-06/0.2841, allocations: 0 / 335.3 MB, free: 3.562 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.311e-05/0.2841, allocations: 1.188 kB / 335.3 MB, free: 3.562 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.5e-05/0.2842, allocations: 14.61 kB / 335.3 MB, free: 3.562 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.57e-06/0.2842, allocations: 0 / 335.3 MB, free: 3.562 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.898e-05/0.2843, allocations: 11.44 kB / 335.3 MB, free: 3.559 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.084e-05/0.2843, allocations: 1.953 kB / 335.3 MB, free: 3.559 MB / 266.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 8.948e-05/0.2844, allocations: 131.7 kB / 335.5 MB, free: 3.434 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.329e-05/0.2845, allocations: 10.33 kB / 335.5 MB, free: 3.43 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002871/0.2848, allocations: 107.4 kB / 335.6 MB, free: 3.367 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.855e-06/0.2848, allocations: 1.062 kB / 335.6 MB, free: 3.367 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.189e-06/0.2848, allocations: 1.344 kB / 335.6 MB, free: 3.367 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.76e-06/0.2848, allocations: 0.8438 kB / 335.6 MB, free: 3.367 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000492/0.2853, allocations: 375.6 kB / 336 MB, free: 3.023 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.393e-06/0.2854, allocations: 0 / 336 MB, free: 3.023 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.204e-05/0.2855, allocations: 14.14 kB / 336 MB, free: 3.023 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.831e-06/0.2855, allocations: 2.078 kB / 336 MB, free: 3.023 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.987e-06/0.2855, allocations: 4 kB / 336 MB, free: 3.02 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.386e-06/0.2855, allocations: 1.062 kB / 336 MB, free: 3.02 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.721e-06/0.2855, allocations: 0 / 336 MB, free: 3.02 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002645/0.2858, allocations: 194.9 kB / 336.2 MB, free: 2.863 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.117e-05/0.2858, allocations: 84.03 kB / 336.2 MB, free: 2.766 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.056e-05/0.2859, allocations: 2.125 kB / 336.2 MB, free: 2.766 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001024/0.286, allocations: 11.64 kB / 336.3 MB, free: 2.762 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.698e-05/0.286, allocations: 2.438 kB / 336.3 MB, free: 2.762 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.306e-06/0.2861, allocations: 3.828 kB / 336.3 MB, free: 2.762 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0001497/0.2862, allocations: 176.4 kB / 336.4 MB, free: 2.652 MB / 266.7 MB Notification: Performance of sort global known variables: time 7.02e-07/0.2862, allocations: 0 / 336.4 MB, free: 2.652 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0003193/0.2866, allocations: 15.34 kB / 336.5 MB, free: 2.648 MB / 266.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.0006741/0.2872, allocations: 247.7 kB / 336.7 MB, free: 2.488 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0002682/0.2875, allocations: 115.2 kB / 336.8 MB, free: 2.41 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 3.043e-06/0.2876, allocations: 0 / 336.8 MB, free: 2.41 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001058/0.2877, allocations: 32.23 kB / 336.8 MB, free: 2.402 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002478/0.2879, allocations: 13.02 kB / 336.8 MB, free: 2.395 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004611/0.2884, allocations: 266.9 kB / 337.1 MB, free: 2.195 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001612/0.2886, allocations: 0.7112 MB / 337.8 MB, free: 1.492 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.913e-05/0.2886, allocations: 16.56 kB / 337.8 MB, free: 1.48 MB / 266.7 MB Notification: Performance of SimCode: time 1.316e-06/0.2887, allocations: 0 / 337.8 MB, free: 1.48 MB / 266.7 MB Notification: Performance of Templates: time 0.003363/0.292, allocations: 1.293 MB / 339.1 MB, free: 1.039 MB / 266.7 MB