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.Test1.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.Test1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y|d_t_new.y|clock.y|const.y",fileNamePrefix="ModelicaTest_3.2.1_cpp_ModelicaTest.Tables.CombiTable2D.Test1") Notification: Performance of loadModel(ModelicaTest): time 1.874/1.874, allocations: 209.3 MB / 224.8 MB, free: 200 kB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004548/0.000455, allocations: 16 kB / 282.5 MB, free: 9.625 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2915/0.292, allocations: 48.7 MB / 331.2 MB, free: 6.48 MB / 266.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2D.Test1): time 0.001772/0.2938, allocations: 1.218 MB / 332.4 MB, free: 5.867 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.0005172/0.2943, allocations: 261.4 kB / 332.7 MB, free: 5.707 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.892e-05/0.2944, allocations: 5.344 kB / 332.7 MB, free: 5.703 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000594/0.295, allocations: 438.2 kB / 333.1 MB, free: 5.684 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003423/0.2954, allocations: 225.7 kB / 333.3 MB, free: 5.672 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001168/0.2955, allocations: 30.77 kB / 333.4 MB, free: 5.656 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001971/0.2957, allocations: 115.9 kB / 333.5 MB, free: 5.633 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.646e-05/0.2958, allocations: 13.11 kB / 333.5 MB, free: 5.629 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001448/0.296, allocations: 104.2 kB / 333.6 MB, free: 5.617 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002485/0.2962, allocations: 137.6 kB / 333.7 MB, free: 5.609 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 1.932e-05/0.2963, allocations: 2.125 kB / 333.7 MB, free: 5.609 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.794e-05/0.2964, allocations: 15.14 kB / 333.7 MB, free: 5.605 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 8.919e-05/0.2965, allocations: 78.78 kB / 333.8 MB, free: 5.582 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 4.028e-05/0.2965, allocations: 70.7 kB / 333.9 MB, free: 5.516 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002382/0.2968, allocations: 165.4 kB / 334 MB, free: 5.477 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.146e-06/0.2968, allocations: 0 / 334 MB, free: 5.477 MB / 266.7 MB Notification: Performance of FrontEnd: time 2.076e-06/0.2968, allocations: 0 / 334 MB, free: 5.477 MB / 266.7 MB Notification: Performance of Transformations before backend: time 7.527e-06/0.2968, allocations: 0 / 334 MB, free: 5.477 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.0005974/0.2974, allocations: 0.5973 MB / 334.6 MB, free: 4.934 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.473e-05/0.2975, allocations: 9.625 kB / 334.6 MB, free: 4.934 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.456e-05/0.2975, allocations: 40.81 kB / 334.7 MB, free: 4.91 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002414/0.2978, allocations: 265.8 kB / 334.9 MB, free: 4.656 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.52e-05/0.2978, allocations: 19.83 kB / 335 MB, free: 4.637 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.524e-05/0.2979, allocations: 3 kB / 335 MB, free: 4.637 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001674/0.298, allocations: 53.78 kB / 335 MB, free: 4.598 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.124e-05/0.2981, allocations: 3.938 kB / 335 MB, free: 4.594 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.019e-05/0.2981, allocations: 1.125 kB / 335 MB, free: 4.594 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.815e-06/0.2981, allocations: 1.219 kB / 335 MB, free: 4.594 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001223/0.2982, allocations: 27.09 kB / 335.1 MB, free: 4.59 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000457/0.2987, allocations: 390.5 kB / 335.4 MB, free: 4.262 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002121/0.2989, allocations: 43.45 kB / 335.5 MB, free: 4.234 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.771e-05/0.299, allocations: 0.7031 kB / 335.5 MB, free: 4.234 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.976e-05/0.299, allocations: 35.72 kB / 335.5 MB, free: 4.191 MB / 266.7 MB Notification: Performance of pre-optimization done (n=3): time 2.113e-06/0.299, allocations: 0 / 335.5 MB, free: 4.191 MB / 266.7 MB Notification: Performance of matching and sorting (n=5): time 0.0007201/0.2997, allocations: 238 kB / 335.7 MB, free: 4.07 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.912e-05/0.2998, allocations: 53.3 kB / 335.8 MB, free: 4.008 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009874/0.3008, allocations: 0.8493 MB / 336.6 MB, free: 3.594 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.156e-05/0.3008, allocations: 25.7 kB / 336.7 MB, free: 3.562 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001306/0.3009, allocations: 237.3 kB / 336.9 MB, free: 3.336 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.134e-05/0.301, allocations: 18.92 kB / 336.9 MB, free: 3.32 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.353e-06/0.301, allocations: 0 / 336.9 MB, free: 3.32 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 4.814e-05/0.3011, allocations: 320.3 kB / 337.2 MB, free: 3 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001026/0.3012, allocations: 26.98 kB / 337.3 MB, free: 2.988 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.708e-05/0.3013, allocations: 23.55 kB / 337.3 MB, free: 2.98 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001059/0.3014, allocations: 55.34 kB / 337.3 MB, free: 2.938 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.823e-06/0.3014, allocations: 0 / 337.3 MB, free: 2.938 MB / 266.7 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0002611/0.3017, allocations: 124 kB / 337.5 MB, free: 2.844 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.917e-05/0.3017, allocations: 32.17 kB / 337.5 MB, free: 2.812 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.833e-06/0.3017, allocations: 4.062 kB / 337.5 MB, free: 2.809 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.449e-05/0.3018, allocations: 1.188 kB / 337.5 MB, free: 2.809 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.735e-05/0.3019, allocations: 15.3 kB / 337.5 MB, free: 2.805 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.407e-06/0.3019, allocations: 1.188 kB / 337.5 MB, free: 2.805 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.867e-05/0.302, allocations: 8.469 kB / 337.5 MB, free: 2.801 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.094e-05/0.302, allocations: 2.438 kB / 337.5 MB, free: 2.801 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 0.0001969/0.3022, allocations: 213.2 kB / 337.7 MB, free: 2.648 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.018e-05/0.3023, allocations: 43.8 kB / 337.8 MB, free: 2.621 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003391/0.3026, allocations: 147.5 kB / 337.9 MB, free: 2.539 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.054e-06/0.3027, allocations: 1.781 kB / 337.9 MB, free: 2.539 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.868e-06/0.3027, allocations: 0 / 337.9 MB, free: 2.539 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.428e-06/0.3027, allocations: 0 / 337.9 MB, free: 2.539 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006187/0.3033, allocations: 476.3 kB / 338.4 MB, free: 2.125 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.818e-06/0.3033, allocations: 0 / 338.4 MB, free: 2.125 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.584e-05/0.3034, allocations: 16.05 kB / 338.4 MB, free: 2.121 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.697e-06/0.3034, allocations: 0 / 338.4 MB, free: 2.121 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.337e-06/0.3034, allocations: 1.375 kB / 338.4 MB, free: 2.121 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.539e-06/0.3035, allocations: 0 / 338.4 MB, free: 2.121 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.929e-06/0.3035, allocations: 0 / 338.4 MB, free: 2.121 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002702/0.3037, allocations: 230.3 kB / 338.6 MB, free: 1.934 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.276e-05/0.3038, allocations: 106.2 kB / 338.7 MB, free: 1.82 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.381e-05/0.3039, allocations: 3.984 kB / 338.7 MB, free: 1.816 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00012/0.304, allocations: 6.156 kB / 338.7 MB, free: 1.816 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.276e-05/0.304, allocations: 5.625 kB / 338.7 MB, free: 1.812 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.103e-05/0.3041, allocations: 9.641 kB / 338.8 MB, free: 1.805 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0007232/0.3048, allocations: 0.6453 MB / 339.4 MB, free: 1.484 MB / 266.7 MB Notification: Performance of sort global known variables: time 8.8e-07/0.3048, allocations: 1.281 kB / 339.4 MB, free: 1.484 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0003427/0.3052, allocations: 21.53 kB / 339.4 MB, free: 1.48 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.000685/0.3059, allocations: 244 kB / 339.7 MB, free: 1.32 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0002864/0.3062, allocations: 115.6 kB / 339.8 MB, free: 1.234 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 3.286e-06/0.3062, allocations: 0 / 339.8 MB, free: 1.234 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001067/0.3063, allocations: 31.58 kB / 339.8 MB, free: 1.223 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002974/0.3066, allocations: 21.39 kB / 339.8 MB, free: 1.207 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001286/0.3079, allocations: 0.8461 MB / 340.7 MB, free: 0.707 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003792/0.3083, allocations: 0.8212 MB / 341.5 MB, free: 15.94 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.665e-05/0.3084, allocations: 14.89 kB / 341.5 MB, free: 15.93 MB / 282.7 MB Notification: Performance of SimCode: time 1.391e-06/0.3084, allocations: 0 / 341.5 MB, free: 15.93 MB / 282.7 MB Notification: Performance of Templates: time 0.009121/0.3175, allocations: 3.346 MB / 344.9 MB, free: 14.21 MB / 282.7 MB