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.CombiTable2D.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.CombiTable2D.Test21,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|clock1.y|combiTable2D1D.y|combiTable2D1DT.y|combiTable1D.y.1.|combiTable2D.y|combiTable2DT.y|der1.y|der2.y|der3.y|der4.y|der5.y",fileNamePrefix="ModelicaTest_3.2.2_cpp_ModelicaTest.Tables.CombiTable2D.Test21") Notification: Performance of loadModel(ModelicaTest): time 2.177/2.177, allocations: 234.9 MB / 250.5 MB, free: 9.484 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004433/0.0004435, allocations: 12 kB / 314.3 MB, free: 9.527 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2813/0.2817, allocations: 54.87 MB / 369.2 MB, free: 10.72 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2D.Test21): time 0.002603/0.2844, allocations: 1.508 MB / 370.7 MB, free: 9.195 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.001683/0.2861, allocations: 0.7522 MB / 371.4 MB, free: 8.438 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001141/0.2862, allocations: 3.938 kB / 371.5 MB, free: 8.434 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005001/0.2868, allocations: 223.5 kB / 371.7 MB, free: 8.215 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003407/0.2871, allocations: 139.7 kB / 371.8 MB, free: 8.078 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004781/0.2876, allocations: 131.6 kB / 371.9 MB, free: 7.949 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003318/0.288, allocations: 183.4 kB / 372.1 MB, free: 7.77 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001682/0.2882, allocations: 44.27 kB / 372.2 MB, free: 7.727 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000172/0.2883, allocations: 107.6 kB / 372.3 MB, free: 7.621 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002482/0.2886, allocations: 143.5 kB / 372.4 MB, free: 7.48 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 2.804e-05/0.2886, allocations: 7.938 kB / 372.4 MB, free: 7.473 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002281/0.2889, allocations: 67.91 kB / 372.5 MB, free: 7.406 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 8.655e-05/0.289, allocations: 51.81 kB / 372.5 MB, free: 7.355 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 6.941e-05/0.2891, allocations: 61.52 kB / 372.6 MB, free: 7.289 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003579/0.2894, allocations: 203.7 kB / 372.8 MB, free: 7.09 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.764e-06/0.2895, allocations: 0 / 372.8 MB, free: 7.09 MB / 298.7 MB Notification: Performance of FrontEnd: time 2.169e-06/0.2895, allocations: 4 kB / 372.8 MB, free: 7.086 MB / 298.7 MB Notification: Performance of Transformations before backend: time 6.347e-06/0.2895, allocations: 0 / 372.8 MB, free: 7.086 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: 25 * Number of variables: 25 Notification: Performance of Generate backend data structure: time 0.0008653/0.2904, allocations: 0.6826 MB / 373.5 MB, free: 6.324 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.886e-05/0.2904, allocations: 8.031 kB / 373.5 MB, free: 6.316 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.634e-05/0.2905, allocations: 39.58 kB / 373.5 MB, free: 6.277 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003708/0.2909, allocations: 262.9 kB / 373.8 MB, free: 5.977 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.518e-05/0.2909, allocations: 8 kB / 373.8 MB, free: 5.969 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.98e-05/0.291, allocations: 15.94 kB / 373.8 MB, free: 5.953 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003267/0.2913, allocations: 109.6 kB / 373.9 MB, free: 5.84 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.627e-05/0.2914, allocations: 4 kB / 373.9 MB, free: 5.836 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.777e-05/0.2914, allocations: 4 kB / 373.9 MB, free: 5.832 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.73e-06/0.2914, allocations: 4 kB / 373.9 MB, free: 5.828 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002459/0.2917, allocations: 79.91 kB / 374 MB, free: 5.75 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008271/0.2925, allocations: 460.4 kB / 374.4 MB, free: 5.25 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000256/0.2928, allocations: 102.5 kB / 374.5 MB, free: 5.141 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.02e-05/0.2928, allocations: 4 kB / 374.5 MB, free: 5.137 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.331e-05/0.2929, allocations: 34.55 kB / 374.6 MB, free: 5.094 MB / 298.7 MB Notification: Performance of pre-optimization done (n=11): time 3.015e-06/0.2929, allocations: 4 kB / 374.6 MB, free: 5.09 MB / 298.7 MB Notification: Performance of matching and sorting (n=17): time 0.001238/0.2941, allocations: 384.4 kB / 375 MB, free: 4.707 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.955e-05/0.2942, allocations: 59.41 kB / 375 MB, free: 4.637 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006868/0.2949, allocations: 485.4 kB / 375.5 MB, free: 4.152 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 3.47e-05/0.295, allocations: 29.7 kB / 375.5 MB, free: 4.117 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001692/0.2951, allocations: 218.9 kB / 375.7 MB, free: 3.902 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.776e-05/0.2952, allocations: 59.19 kB / 375.8 MB, free: 3.844 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.431e-05/0.2953, allocations: 7.938 kB / 375.8 MB, free: 3.836 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0001774/0.2955, allocations: 318.8 kB / 376.1 MB, free: 3.516 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002116/0.2957, allocations: 76.22 kB / 376.2 MB, free: 3.441 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001904/0.2959, allocations: 62.78 kB / 376.2 MB, free: 3.383 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002937/0.2962, allocations: 201.4 kB / 376.4 MB, free: 3.156 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.432e-06/0.2962, allocations: 0 / 376.4 MB, free: 3.156 MB / 298.7 MB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0006339/0.2969, allocations: 350.1 kB / 376.8 MB, free: 2.781 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001101/0.297, allocations: 136.5 kB / 376.9 MB, free: 2.617 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.725e-06/0.297, allocations: 0 / 376.9 MB, free: 2.617 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.639e-05/0.297, allocations: 0 / 376.9 MB, free: 2.617 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002001/0.2972, allocations: 47.91 kB / 377 MB, free: 2.57 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.652e-06/0.2973, allocations: 0 / 377 MB, free: 2.57 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000114/0.2974, allocations: 15.95 kB / 377 MB, free: 2.555 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.415e-05/0.2974, allocations: 4 kB / 377 MB, free: 2.551 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 (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.0002372/0.2977, allocations: 165.8 kB / 377.1 MB, free: 2.379 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.396e-05/0.2978, allocations: 35.53 kB / 377.2 MB, free: 2.344 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006666/0.2984, allocations: 248.9 kB / 377.4 MB, free: 2.094 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.167e-06/0.2985, allocations: 0 / 377.4 MB, free: 2.094 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.7e-06/0.2985, allocations: 3.984 kB / 377.4 MB, free: 2.09 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.885e-06/0.2985, allocations: 0 / 377.4 MB, free: 2.09 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001149/0.2997, allocations: 0.6086 MB / 378 MB, free: 1.426 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.393e-06/0.2997, allocations: 0 / 378 MB, free: 1.426 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001585/0.2998, allocations: 31.98 kB / 378.1 MB, free: 1.395 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.184e-06/0.2999, allocations: 3.984 kB / 378.1 MB, free: 1.391 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.848e-05/0.2999, allocations: 7.953 kB / 378.1 MB, free: 1.383 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.675e-06/0.2999, allocations: 0 / 378.1 MB, free: 1.383 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.551e-06/0.2999, allocations: 3.938 kB / 378.1 MB, free: 1.379 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005551/0.3005, allocations: 308.8 kB / 378.4 MB, free: 1.062 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001069/0.3006, allocations: 108.7 kB / 378.5 MB, free: 0.9375 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.775e-05/0.3007, allocations: 4 kB / 378.5 MB, free: 0.9336 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001285/0.3008, allocations: 11.95 kB / 378.5 MB, free: 0.9219 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.327e-05/0.3009, allocations: 15.98 kB / 378.5 MB, free: 0.9062 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.432e-05/0.3009, allocations: 8 kB / 378.5 MB, free: 0.8984 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.000492/0.3014, allocations: 359 kB / 378.9 MB, free: 0.5508 MB / 298.7 MB Notification: Performance of sort global known variables: time 8.17e-07/0.3014, allocations: 3.938 kB / 378.9 MB, free: 0.5469 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0004454/0.3019, allocations: 59.98 kB / 378.9 MB, free: 500 kB / 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 (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.002848/0.3047, allocations: 0.7789 MB / 379.7 MB, free: 15.8 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0007709/0.3055, allocations: 428.9 kB / 380.1 MB, free: 15.32 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 3.916e-06/0.3056, allocations: 0 / 380.1 MB, free: 15.32 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002298/0.3058, allocations: 83.91 kB / 380.2 MB, free: 15.23 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004361/0.3063, allocations: 41.34 kB / 380.3 MB, free: 15.2 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001331/0.3076, allocations: 0.6574 MB / 380.9 MB, free: 14.5 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005369/0.3082, allocations: 0.7906 MB / 381.7 MB, free: 13.69 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.698e-05/0.3083, allocations: 23.44 kB / 381.7 MB, free: 13.66 MB / 314.7 MB Notification: Performance of SimCode: time 2.047e-06/0.3083, allocations: 0 / 381.7 MB, free: 13.66 MB / 314.7 MB Notification: Performance of Templates: time 0.008396/0.3167, allocations: 3.906 MB / 385.6 MB, free: 9.75 MB / 314.7 MB