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.Test12.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.Test12,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y|d_t_new.y|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_3.2.1_cpp_ModelicaTest.Tables.CombiTable2D.Test12") Notification: Performance of loadModel(ModelicaTest): time 2.002/2.002, allocations: 209.2 MB / 224.8 MB, free: 212 kB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004387/0.000439, allocations: 12 kB / 282.5 MB, free: 9.652 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2806/0.281, allocations: 48.71 MB / 331.2 MB, free: 6.484 MB / 266.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2D.Test12): time 0.001803/0.2829, allocations: 1.23 MB / 332.4 MB, free: 5.863 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.00116/0.2841, allocations: 0.8401 MB / 333.3 MB, free: 5.258 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.566e-05/0.2841, allocations: 0 / 333.3 MB, free: 5.258 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001479/0.2843, allocations: 10.52 kB / 333.3 MB, free: 5.258 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001544/0.2845, allocations: 31.47 kB / 333.3 MB, free: 5.238 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000119/0.2846, allocations: 31.56 kB / 333.3 MB, free: 5.223 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001054/0.2847, allocations: 33.86 kB / 333.4 MB, free: 5.207 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.999e-05/0.2848, allocations: 21.17 kB / 333.4 MB, free: 5.195 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 5.227e-05/0.2849, allocations: 17.22 kB / 333.4 MB, free: 5.188 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001328/0.285, allocations: 25.66 kB / 333.4 MB, free: 5.176 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 1.419e-05/0.2851, allocations: 2.406 kB / 333.4 MB, free: 5.176 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001014/0.2852, allocations: 36.16 kB / 333.5 MB, free: 5.164 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 2.126e-05/0.2852, allocations: 7.016 kB / 333.5 MB, free: 5.16 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 2.356e-05/0.2853, allocations: 33.14 kB / 333.5 MB, free: 5.125 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001529/0.2854, allocations: 57.33 kB / 333.6 MB, free: 5.113 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.447e-06/0.2854, allocations: 0 / 333.6 MB, free: 5.113 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.643e-06/0.2854, allocations: 0 / 333.6 MB, free: 5.113 MB / 266.7 MB Notification: Performance of Transformations before backend: time 4.893e-06/0.2855, allocations: 0 / 333.6 MB, free: 5.113 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0003974/0.2859, allocations: 404.5 kB / 334 MB, free: 4.699 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.63e-05/0.2859, allocations: 8.938 kB / 334 MB, free: 4.699 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.018e-05/0.286, allocations: 11.36 kB / 334 MB, free: 4.691 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001437/0.2861, allocations: 185.7 kB / 334.2 MB, free: 4.48 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.293e-05/0.2861, allocations: 2.047 kB / 334.2 MB, free: 4.48 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.243e-05/0.2862, allocations: 2.438 kB / 334.2 MB, free: 4.48 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002007/0.2864, allocations: 80.78 kB / 334.2 MB, free: 4.418 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.319e-05/0.2864, allocations: 1.438 kB / 334.2 MB, free: 4.418 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.272e-05/0.2864, allocations: 4.656 kB / 334.2 MB, free: 4.414 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.109e-06/0.2865, allocations: 1.344 kB / 334.2 MB, free: 4.414 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000171/0.2866, allocations: 43.22 kB / 334.3 MB, free: 4.406 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003527/0.287, allocations: 284 kB / 334.6 MB, free: 4.117 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001455/0.2872, allocations: 48.25 kB / 334.6 MB, free: 4.086 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.484e-05/0.2872, allocations: 5.781 kB / 334.6 MB, free: 4.082 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.862e-05/0.2872, allocations: 31.56 kB / 334.7 MB, free: 4.043 MB / 266.7 MB Notification: Performance of pre-optimization done (n=4): time 2.215e-06/0.2872, allocations: 3.938 kB / 334.7 MB, free: 4.039 MB / 266.7 MB Notification: Performance of matching and sorting (n=7): time 0.000921/0.2882, allocations: 238.4 kB / 334.9 MB, free: 3.957 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.322e-05/0.2882, allocations: 79.06 kB / 335 MB, free: 3.863 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001147/0.2884, allocations: 131.3 kB / 335.1 MB, free: 3.746 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.36e-05/0.2884, allocations: 29.7 kB / 335.1 MB, free: 3.711 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.731e-05/0.2884, allocations: 161.8 kB / 335.3 MB, free: 3.555 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.491e-05/0.2885, allocations: 24.12 kB / 335.3 MB, free: 3.535 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.881e-06/0.2885, allocations: 0 / 335.3 MB, free: 3.535 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 5.107e-05/0.2886, allocations: 317.3 kB / 335.6 MB, free: 3.219 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001603/0.2887, allocations: 44.73 kB / 335.7 MB, free: 3.211 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001625/0.2889, allocations: 59.98 kB / 335.7 MB, free: 3.184 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001647/0.2891, allocations: 76.44 kB / 335.8 MB, free: 3.137 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.772e-06/0.2891, allocations: 0 / 335.8 MB, free: 3.137 MB / 266.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0003829/0.2895, allocations: 155.5 kB / 335.9 MB, free: 3.055 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.277e-05/0.2895, allocations: 32.75 kB / 336 MB, free: 3.023 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.577e-06/0.2896, allocations: 0 / 336 MB, free: 3.023 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.459e-05/0.2896, allocations: 1.5 kB / 336 MB, free: 3.023 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001464/0.2897, allocations: 26.52 kB / 336 MB, free: 3.02 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.94e-06/0.2898, allocations: 5.406 kB / 336 MB, free: 3.016 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.352e-05/0.2899, allocations: 17.28 kB / 336 MB, free: 3.012 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.369e-05/0.2899, allocations: 5.438 kB / 336 MB, free: 3.008 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 (8): * Single equations (assignments): 7 * 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 7.555e-05/0.29, allocations: 118.6 kB / 336.1 MB, free: 2.887 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.583e-05/0.29, allocations: 7.797 kB / 336.2 MB, free: 2.883 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000399/0.2904, allocations: 146.6 kB / 336.3 MB, free: 2.816 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.926e-06/0.2905, allocations: 0 / 336.3 MB, free: 2.816 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.606e-06/0.2905, allocations: 1.344 kB / 336.3 MB, free: 2.816 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.921e-06/0.2905, allocations: 5.078 kB / 336.3 MB, free: 2.812 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006182/0.2911, allocations: 402.4 kB / 336.7 MB, free: 2.473 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.733e-06/0.2911, allocations: 0 / 336.7 MB, free: 2.473 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001117/0.2913, allocations: 22.77 kB / 336.7 MB, free: 2.473 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.654e-06/0.2913, allocations: 0 / 336.7 MB, free: 2.473 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.181e-05/0.2913, allocations: 6.562 kB / 336.7 MB, free: 2.469 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.104e-06/0.2913, allocations: 1.188 kB / 336.7 MB, free: 2.469 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.961e-06/0.2913, allocations: 3.953 kB / 336.7 MB, free: 2.465 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003668/0.2917, allocations: 224.8 kB / 336.9 MB, free: 2.309 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.255e-05/0.2917, allocations: 93.41 kB / 337 MB, free: 2.203 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.311e-05/0.2918, allocations: 5.188 kB / 337 MB, free: 2.199 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001206/0.2919, allocations: 12.33 kB / 337.1 MB, free: 2.199 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.803e-05/0.292, allocations: 6.25 kB / 337.1 MB, free: 2.199 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.88e-06/0.292, allocations: 5.203 kB / 337.1 MB, free: 2.195 MB / 266.7 MB Notification: Performance of sorting global known variables: time 6.49e-05/0.2921, allocations: 97.28 kB / 337.2 MB, free: 2.113 MB / 266.7 MB Notification: Performance of sort global known variables: time 7.46e-07/0.2921, allocations: 0 / 337.2 MB, free: 2.113 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0003677/0.2925, allocations: 32.12 kB / 337.2 MB, free: 2.102 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 (7): * Single equations (assignments): 7 * 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.0009449/0.2934, allocations: 325.3 kB / 337.5 MB, free: 1.902 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0004176/0.2938, allocations: 153.5 kB / 337.7 MB, free: 1.82 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 3.228e-06/0.2939, allocations: 3.938 kB / 337.7 MB, free: 1.816 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001686/0.294, allocations: 50.42 kB / 337.7 MB, free: 1.809 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002463/0.2943, allocations: 6.203 kB / 337.7 MB, free: 1.809 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000417/0.2947, allocations: 205.7 kB / 337.9 MB, free: 1.621 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001316/0.2949, allocations: 0.6894 MB / 338.6 MB, free: 0.9258 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.353e-05/0.295, allocations: 16.06 kB / 338.6 MB, free: 0.918 MB / 266.7 MB Notification: Performance of SimCode: time 1.387e-06/0.295, allocations: 3.938 kB / 338.6 MB, free: 0.9141 MB / 266.7 MB Notification: Performance of Templates: time 0.003949/0.2989, allocations: 1.559 MB / 340.2 MB, free: 316 kB / 266.7 MB