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.Test8.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.Test8,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y|const.y|clock.y",fileNamePrefix="ModelicaTest_3.2.2_cpp_ModelicaTest.Tables.CombiTable2D.Test8") Notification: Performance of loadModel(ModelicaTest): time 2.161/2.161, allocations: 234.9 MB / 250.5 MB, free: 9.562 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0009515/0.0009514, allocations: 16 kB / 314.3 MB, free: 9.605 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2921/0.2931, allocations: 54.86 MB / 369.2 MB, free: 10.72 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2D.Test8): time 0.002049/0.2952, allocations: 1.207 MB / 370.4 MB, free: 9.492 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.0005538/0.2958, allocations: 241.3 kB / 370.6 MB, free: 9.254 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.412e-05/0.2959, allocations: 0 / 370.6 MB, free: 9.254 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0006093/0.2965, allocations: 439.2 kB / 371.1 MB, free: 8.824 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003622/0.2969, allocations: 235.5 kB / 371.3 MB, free: 8.594 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001084/0.297, allocations: 23.97 kB / 371.3 MB, free: 8.57 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002077/0.2972, allocations: 111.8 kB / 371.4 MB, free: 8.461 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 7.516e-05/0.2973, allocations: 4 kB / 371.4 MB, free: 8.457 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001405/0.2975, allocations: 103.8 kB / 371.5 MB, free: 8.355 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002371/0.2977, allocations: 139.8 kB / 371.7 MB, free: 8.219 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 1.827e-05/0.2978, allocations: 0 / 371.7 MB, free: 8.219 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.147e-05/0.2978, allocations: 11.98 kB / 371.7 MB, free: 8.207 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 9.576e-05/0.2979, allocations: 67.77 kB / 371.7 MB, free: 8.141 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 6.664e-05/0.298, allocations: 69.45 kB / 371.8 MB, free: 8.066 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002454/0.2983, allocations: 163.7 kB / 372 MB, free: 7.906 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.76e-06/0.2983, allocations: 8 kB / 372 MB, free: 7.898 MB / 298.7 MB Notification: Performance of FrontEnd: time 2.275e-06/0.2983, allocations: 0 / 372 MB, free: 7.898 MB / 298.7 MB Notification: Performance of Transformations before backend: time 1.083e-05/0.2983, allocations: 0 / 372 MB, free: 7.898 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0007917/0.2991, allocations: 0.5895 MB / 372.6 MB, free: 7.254 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.726e-05/0.2992, allocations: 12.03 kB / 372.6 MB, free: 7.242 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.023e-05/0.2993, allocations: 39.48 kB / 372.6 MB, free: 7.203 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003386/0.2996, allocations: 275.3 kB / 372.9 MB, free: 6.891 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.133e-05/0.2996, allocations: 0 / 372.9 MB, free: 6.891 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.51e-05/0.2997, allocations: 0 / 372.9 MB, free: 6.891 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001606/0.2998, allocations: 53.62 kB / 372.9 MB, free: 6.832 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.025e-05/0.2999, allocations: 7.938 kB / 372.9 MB, free: 6.824 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.208e-05/0.2999, allocations: 4 kB / 372.9 MB, free: 6.82 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.48e-06/0.2999, allocations: 0 / 372.9 MB, free: 6.82 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001195/0.3, allocations: 31.94 kB / 373 MB, free: 6.789 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005304/0.3006, allocations: 360.9 kB / 373.3 MB, free: 6.387 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001116/0.3007, allocations: 34.5 kB / 373.4 MB, free: 6.344 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.534e-05/0.3007, allocations: 4.062 kB / 373.4 MB, free: 6.34 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.134e-05/0.3008, allocations: 30.56 kB / 373.4 MB, free: 6.301 MB / 298.7 MB Notification: Performance of pre-optimization done (n=2): time 2.182e-06/0.3008, allocations: 0 / 373.4 MB, free: 6.301 MB / 298.7 MB Notification: Performance of matching and sorting (n=2): time 0.0003422/0.3011, allocations: 113.1 kB / 373.5 MB, free: 6.184 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.104e-05/0.3012, allocations: 51.41 kB / 373.6 MB, free: 6.121 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001118/0.3023, allocations: 0.8417 MB / 374.4 MB, free: 5.27 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 2.286e-05/0.3024, allocations: 33.7 kB / 374.4 MB, free: 5.23 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002082/0.3026, allocations: 230.5 kB / 374.7 MB, free: 5.004 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.045e-05/0.3026, allocations: 15.89 kB / 374.7 MB, free: 4.988 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.215e-06/0.3026, allocations: 0 / 374.7 MB, free: 4.988 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0001591/0.3028, allocations: 318.9 kB / 375 MB, free: 4.668 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.277e-05/0.3029, allocations: 8 kB / 375 MB, free: 4.66 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.33e-05/0.303, allocations: 15.98 kB / 375 MB, free: 4.645 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.448e-05/0.3031, allocations: 37.64 kB / 375 MB, free: 4.602 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.376e-06/0.3031, allocations: 0 / 375 MB, free: 4.602 MB / 298.7 MB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0002165/0.3033, allocations: 91.38 kB / 375.1 MB, free: 4.5 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.807e-05/0.3034, allocations: 33.7 kB / 375.2 MB, free: 4.461 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.557e-06/0.3034, allocations: 0 / 375.2 MB, free: 4.461 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.665e-05/0.3034, allocations: 3.953 kB / 375.2 MB, free: 4.457 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.707e-05/0.3035, allocations: 7.984 kB / 375.2 MB, free: 4.449 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.145e-06/0.3035, allocations: 0 / 375.2 MB, free: 4.449 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.255e-05/0.3036, allocations: 4 kB / 375.2 MB, free: 4.445 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.258e-05/0.3036, allocations: 4 kB / 375.2 MB, free: 4.441 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 (3): * Single equations (assignments): 2 * 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.0002522/0.3039, allocations: 209.7 kB / 375.4 MB, free: 4.227 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.238e-05/0.304, allocations: 39.58 kB / 375.4 MB, free: 4.188 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002724/0.3043, allocations: 120.5 kB / 375.6 MB, free: 4.066 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.888e-06/0.3043, allocations: 0 / 375.6 MB, free: 4.066 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.63e-06/0.3043, allocations: 3.953 kB / 375.6 MB, free: 4.062 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.702e-06/0.3043, allocations: 0 / 375.6 MB, free: 4.062 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003793/0.3047, allocations: 273.6 kB / 375.8 MB, free: 3.746 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.047e-06/0.3047, allocations: 4.031 kB / 375.8 MB, free: 3.742 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.095e-05/0.3048, allocations: 7.984 kB / 375.8 MB, free: 3.734 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.517e-06/0.3048, allocations: 4 kB / 375.8 MB, free: 3.73 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.433e-06/0.3048, allocations: 0 / 375.8 MB, free: 3.73 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.354e-06/0.3048, allocations: 0 / 375.8 MB, free: 3.73 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.072e-06/0.3048, allocations: 0 / 375.8 MB, free: 3.73 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002759/0.3051, allocations: 198.9 kB / 376 MB, free: 3.52 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001025/0.3053, allocations: 104.6 kB / 376.1 MB, free: 3.398 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.223e-05/0.3053, allocations: 3.984 kB / 376.1 MB, free: 3.395 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001082/0.3054, allocations: 4 kB / 376.1 MB, free: 3.391 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.044e-05/0.3055, allocations: 0 / 376.1 MB, free: 3.391 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.192e-06/0.3055, allocations: 4 kB / 376.1 MB, free: 3.387 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0008503/0.3063, allocations: 0.6393 MB / 376.8 MB, free: 2.75 MB / 298.7 MB Notification: Performance of sort global known variables: time 7.52e-07/0.3064, allocations: 0 / 376.8 MB, free: 2.75 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0003483/0.3067, allocations: 31.89 kB / 376.8 MB, free: 2.719 MB / 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 (2): * Single equations (assignments): 2 * 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.0007801/0.3075, allocations: 238.6 kB / 377 MB, free: 2.531 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0002301/0.3078, allocations: 79.39 kB / 377.1 MB, free: 2.441 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 2.836e-06/0.3078, allocations: 7.938 kB / 377.1 MB, free: 2.434 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 6.819e-05/0.3079, allocations: 15.98 kB / 377.1 MB, free: 2.418 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002906/0.3082, allocations: 13.97 kB / 377.2 MB, free: 2.402 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001391/0.3096, allocations: 0.8149 MB / 378 MB, free: 1.551 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005875/0.3102, allocations: 0.8184 MB / 378.8 MB, free: 0.7031 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.627e-05/0.3102, allocations: 11.44 kB / 378.8 MB, free: 0.6914 MB / 298.7 MB Notification: Performance of SimCode: time 1.621e-06/0.3102, allocations: 4 kB / 378.8 MB, free: 0.6875 MB / 298.7 MB Notification: Performance of Templates: time 0.008867/0.3191, allocations: 3.093 MB / 381.9 MB, free: 13.59 MB / 314.7 MB