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.CombiTable2D.Test21.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.CombiTable2D.Test21,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|combiTable2D1D.y|combiTable2D1DT.y|clock1.y|combiTable1D.y.1.|combiTable2D.y|combiTable2DT.y|der1.y|der2.y|der3.y|der4.y|der5.y",fileNamePrefix="ModelicaTest_3.2.1_cpp_ModelicaTest.Tables.CombiTable2D.Test21") Notification: Performance of loadModel(ModelicaTest): time 1.888/1.888, allocations: 209.2 MB / 224.8 MB, free: 212 kB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004475/0.0004479, allocations: 12 kB / 282.5 MB, free: 9.648 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2847/0.2851, allocations: 48.7 MB / 331.2 MB, free: 6.5 MB / 266.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2D.Test21): time 0.002179/0.2874, allocations: 1.497 MB / 332.7 MB, free: 5.688 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.001488/0.2889, allocations: 0.7457 MB / 333.4 MB, free: 5.18 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001173/0.289, allocations: 2.438 kB / 333.4 MB, free: 5.18 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004954/0.2896, allocations: 220.4 kB / 333.7 MB, free: 5.156 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003269/0.2899, allocations: 146.8 kB / 333.8 MB, free: 5.121 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005069/0.2904, allocations: 135.9 kB / 333.9 MB, free: 5.051 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003119/0.2908, allocations: 179.6 kB / 334.1 MB, free: 4.977 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001576/0.2909, allocations: 44.56 kB / 334.1 MB, free: 4.961 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001554/0.2911, allocations: 107.2 kB / 334.3 MB, free: 4.926 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002365/0.2913, allocations: 135.3 kB / 334.4 MB, free: 4.895 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 2.892e-05/0.2914, allocations: 11.61 kB / 334.4 MB, free: 4.887 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002539/0.2917, allocations: 60.16 kB / 334.5 MB, free: 4.875 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 8.646e-05/0.2918, allocations: 56.81 kB / 334.5 MB, free: 4.855 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 5.396e-05/0.2918, allocations: 55.27 kB / 334.6 MB, free: 4.805 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003557/0.2922, allocations: 208.9 kB / 334.8 MB, free: 4.742 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.142e-06/0.2922, allocations: 0 / 334.8 MB, free: 4.742 MB / 266.7 MB Notification: Performance of FrontEnd: time 2.397e-06/0.2922, allocations: 1.125 kB / 334.8 MB, free: 4.742 MB / 266.7 MB Notification: Performance of Transformations before backend: time 1.34e-05/0.2922, allocations: 0 / 334.8 MB, free: 4.742 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: 25 * Number of variables: 25 Notification: Performance of Generate backend data structure: time 0.0006396/0.2929, allocations: 0.6756 MB / 335.4 MB, free: 4.086 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.801e-05/0.2929, allocations: 14.33 kB / 335.5 MB, free: 4.082 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.936e-05/0.293, allocations: 38.72 kB / 335.5 MB, free: 4.059 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002825/0.2933, allocations: 267.5 kB / 335.8 MB, free: 3.805 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.985e-05/0.2934, allocations: 9.062 kB / 335.8 MB, free: 3.801 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.194e-05/0.2934, allocations: 14.22 kB / 335.8 MB, free: 3.797 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002823/0.2937, allocations: 108.4 kB / 335.9 MB, free: 3.738 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.673e-05/0.2937, allocations: 1 kB / 335.9 MB, free: 3.738 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.662e-05/0.2938, allocations: 5.125 kB / 335.9 MB, free: 3.734 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.777e-06/0.2938, allocations: 2.219 kB / 335.9 MB, free: 3.734 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002324/0.294, allocations: 76.48 kB / 336 MB, free: 3.715 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007407/0.2948, allocations: 463.4 kB / 336.4 MB, free: 3.363 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002451/0.295, allocations: 98.91 kB / 336.5 MB, free: 3.312 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.219e-05/0.2951, allocations: 7.031 kB / 336.5 MB, free: 3.309 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.207e-05/0.2951, allocations: 37.41 kB / 336.6 MB, free: 3.266 MB / 266.7 MB Notification: Performance of pre-optimization done (n=11): time 2.875e-06/0.2951, allocations: 0 / 336.6 MB, free: 3.266 MB / 266.7 MB Notification: Performance of matching and sorting (n=17): time 0.001177/0.2963, allocations: 395.7 kB / 336.9 MB, free: 3.09 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.352e-05/0.2964, allocations: 54.33 kB / 337 MB, free: 3.027 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005915/0.297, allocations: 488.2 kB / 337.5 MB, free: 2.777 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.964e-05/0.297, allocations: 34.83 kB / 337.5 MB, free: 2.738 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001024/0.2971, allocations: 222.1 kB / 337.7 MB, free: 2.523 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.888e-05/0.2972, allocations: 62.12 kB / 337.8 MB, free: 2.469 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.176e-05/0.2972, allocations: 1.062 kB / 337.8 MB, free: 2.469 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 5.611e-05/0.2973, allocations: 321.8 kB / 338.1 MB, free: 2.148 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001861/0.2975, allocations: 64.12 kB / 338.2 MB, free: 2.121 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001678/0.2977, allocations: 70.02 kB / 338.2 MB, free: 2.09 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000216/0.2979, allocations: 201.5 kB / 338.4 MB, free: 1.902 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.371e-06/0.2979, allocations: 0 / 338.4 MB, free: 1.902 MB / 266.7 MB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0005319/0.2984, allocations: 340.8 kB / 338.8 MB, free: 1.641 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.577e-05/0.2985, allocations: 148.1 kB / 338.9 MB, free: 1.473 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.312e-06/0.2985, allocations: 0 / 338.9 MB, free: 1.473 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.718e-05/0.2986, allocations: 1.562 kB / 338.9 MB, free: 1.473 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001865/0.2988, allocations: 37.3 kB / 338.9 MB, free: 1.465 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.56e-06/0.2988, allocations: 1.75 kB / 338.9 MB, free: 1.465 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001202/0.2989, allocations: 15.08 kB / 339 MB, free: 1.457 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.403e-05/0.299, allocations: 6.344 kB / 339 MB, free: 1.457 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 (22): * Single equations (assignments): 17 * Array equations: 0 * Algorithm blocks: 5 * 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.0001963/0.2992, allocations: 170.1 kB / 339.1 MB, free: 1.312 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.512e-05/0.2992, allocations: 37.48 kB / 339.2 MB, free: 1.289 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006018/0.2999, allocations: 243.7 kB / 339.4 MB, free: 1.156 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.028e-06/0.2999, allocations: 1.406 kB / 339.4 MB, free: 1.156 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.982e-06/0.2999, allocations: 10.09 kB / 339.4 MB, free: 1.148 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.064e-06/0.2999, allocations: 0 / 339.4 MB, free: 1.148 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009379/0.3009, allocations: 0.6007 MB / 340 MB, free: 0.6523 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.934e-06/0.3009, allocations: 4 kB / 340 MB, free: 0.6484 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001737/0.3011, allocations: 40.48 kB / 340.1 MB, free: 0.6367 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.27e-06/0.3011, allocations: 1.781 kB / 340.1 MB, free: 0.6367 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.549e-05/0.3011, allocations: 1.812 kB / 340.1 MB, free: 0.6367 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.658e-06/0.3011, allocations: 1.844 kB / 340.1 MB, free: 0.6367 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.784e-06/0.3011, allocations: 0 / 340.1 MB, free: 0.6367 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004933/0.3016, allocations: 307.6 kB / 340.4 MB, free: 432 kB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.459e-05/0.3017, allocations: 108.2 kB / 340.5 MB, free: 312 kB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.888e-05/0.3018, allocations: 1.469 kB / 340.5 MB, free: 312 kB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001297/0.3019, allocations: 22.03 kB / 340.5 MB, free: 296 kB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.543e-05/0.302, allocations: 13.42 kB / 340.5 MB, free: 288 kB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.788e-05/0.302, allocations: 8.75 kB / 340.5 MB, free: 284 kB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0004457/0.3025, allocations: 353.8 kB / 340.9 MB, free: 92 kB / 266.7 MB Notification: Performance of sort global known variables: time 1.762e-06/0.3025, allocations: 0 / 340.9 MB, free: 92 kB / 266.7 MB Notification: Performance of remove unused functions: time 0.0004595/0.303, allocations: 65.92 kB / 340.9 MB, free: 68 kB / 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 (17): * Single equations (assignments): 17 * 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.002087/0.3051, allocations: 0.61 MB / 341.5 MB, free: 15.65 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0007559/0.3059, allocations: 431.6 kB / 342 MB, free: 15.27 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 4.388e-06/0.3059, allocations: 0 / 342 MB, free: 15.27 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002168/0.3061, allocations: 85.19 kB / 342 MB, free: 15.23 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004343/0.3066, allocations: 35.2 kB / 342.1 MB, free: 15.21 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001323/0.3079, allocations: 0.6628 MB / 342.7 MB, free: 14.77 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005381/0.3085, allocations: 0.7845 MB / 343.5 MB, free: 14.02 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001081/0.3086, allocations: 30.92 kB / 343.6 MB, free: 14 MB / 282.7 MB Notification: Performance of SimCode: time 1.808e-06/0.3086, allocations: 5.188 kB / 343.6 MB, free: 14 MB / 282.7 MB Notification: Performance of Templates: time 0.008564/0.3172, allocations: 3.897 MB / 347.5 MB, free: 11.99 MB / 282.7 MB