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.Test16.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.Test16,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|.surface.y.1, 1..|.surface.y.5, 4..|.surface.y.9, 7..|.surface.y.13, 10..|.surface.y.17, 13..|.surface.y.21, 16..|.surface.y.25, 19..|.surface.y.29, 22..|.surface.y.33, 25..|.surface.y.37, 28..|.surface.y.41, 31..|.surface.y.45, 34..|.surface.y.49, 37..|.surface.y.53, 40..|.surface.y.57, 43..|.surface.y.61, 46..|.surface.y.65, 49..|.surface.y.69, 52..|.surface.y.73, 55..|.surface.y.77, 58..|.surface.y.81, 61..|.surface.y.85, 64..|.surface.y.89, 67..|.surface.y.93, 70..|.surface.y.101, 81..",fileNamePrefix="ModelicaTest_3.2.2_cpp_ModelicaTest.Tables.CombiTable2D.Test16") Notification: Performance of loadModel(ModelicaTest): time 2.183/2.183, allocations: 234.9 MB / 250.5 MB, free: 9.555 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004455/0.0004458, allocations: 12 kB / 314.3 MB, free: 9.602 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3026/0.3031, allocations: 54.87 MB / 369.2 MB, free: 10.72 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2D.Test16): time 0.002247/0.3054, allocations: 1.281 MB / 370.5 MB, free: 9.426 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.0009661/0.3064, allocations: 0.6407 MB / 371.1 MB, free: 8.781 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.639e-05/0.3064, allocations: 0 / 371.1 MB, free: 8.781 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001463/0.3066, allocations: 15.92 kB / 371.1 MB, free: 8.766 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001795/0.3068, allocations: 27.91 kB / 371.2 MB, free: 8.738 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 3.775e-06/0.3068, allocations: 0 / 371.2 MB, free: 8.738 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001125/0.3069, allocations: 27.95 kB / 371.2 MB, free: 8.711 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.522e-05/0.307, allocations: 0 / 371.2 MB, free: 8.711 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 2.857e-05/0.307, allocations: 15.92 kB / 371.2 MB, free: 8.695 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.869e-05/0.3071, allocations: 15.94 kB / 371.2 MB, free: 8.68 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 9.497e-06/0.3071, allocations: 0 / 371.2 MB, free: 8.68 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 3.84e-05/0.3072, allocations: 7.938 kB / 371.2 MB, free: 8.672 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 3.699e-05/0.3072, allocations: 11.98 kB / 371.2 MB, free: 8.66 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 3.554e-05/0.3073, allocations: 33.64 kB / 371.3 MB, free: 8.621 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001052/0.3074, allocations: 43.92 kB / 371.3 MB, free: 8.578 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.314e-06/0.3074, allocations: 4 kB / 371.3 MB, free: 8.574 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.836e-06/0.3074, allocations: 4 kB / 371.3 MB, free: 8.57 MB / 298.7 MB Notification: Performance of Transformations before backend: time 5.323e-06/0.3074, allocations: 0 / 371.3 MB, free: 8.57 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: 20 * Number of variables: 20 Notification: Performance of Generate backend data structure: time 0.0003835/0.3078, allocations: 355.9 kB / 371.7 MB, free: 8.176 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.577e-05/0.3079, allocations: 8.031 kB / 371.7 MB, free: 8.168 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.294e-05/0.3079, allocations: 11.86 kB / 371.7 MB, free: 8.156 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001746/0.3081, allocations: 171 kB / 371.9 MB, free: 7.949 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.324e-05/0.3081, allocations: 0 / 371.9 MB, free: 7.949 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.034e-05/0.3081, allocations: 3.984 kB / 371.9 MB, free: 7.945 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002105/0.3084, allocations: 126.8 kB / 372 MB, free: 7.797 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.133e-06/0.3084, allocations: 4 kB / 372 MB, free: 7.793 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.634e-06/0.3084, allocations: 0 / 372 MB, free: 7.793 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.712e-05/0.3085, allocations: 27.94 kB / 372 MB, free: 7.766 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.709e-05/0.3086, allocations: 35.92 kB / 372 MB, free: 7.73 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008437/0.3094, allocations: 0.8983 MB / 372.9 MB, free: 6.762 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001129/0.3096, allocations: 173.2 kB / 373.1 MB, free: 6.582 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.386e-05/0.3096, allocations: 83.27 kB / 373.2 MB, free: 6.5 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.409e-05/0.3097, allocations: 109.8 kB / 373.3 MB, free: 6.383 MB / 298.7 MB Notification: Performance of pre-optimization done (n=0): time 1.961e-06/0.3097, allocations: 0 / 373.3 MB, free: 6.383 MB / 298.7 MB Notification: Performance of matching and sorting (n=0): time 8.908e-05/0.3098, allocations: 37.55 kB / 373.3 MB, free: 6.34 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.976e-05/0.3099, allocations: 130.6 kB / 373.5 MB, free: 6.199 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002325/0.3102, allocations: 186.1 kB / 373.6 MB, free: 6.008 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.638e-05/0.3102, allocations: 25.7 kB / 373.7 MB, free: 5.977 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001562/0.3104, allocations: 217.6 kB / 373.9 MB, free: 5.762 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.485e-06/0.3104, allocations: 4 kB / 373.9 MB, free: 5.758 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.076e-05/0.3104, allocations: 0 / 373.9 MB, free: 5.758 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0001657/0.3106, allocations: 326.7 kB / 374.2 MB, free: 5.43 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.624e-05/0.3106, allocations: 31.97 kB / 374.2 MB, free: 5.398 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001676/0.3108, allocations: 150.2 kB / 374.4 MB, free: 5.191 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001297/0.311, allocations: 67.92 kB / 374.5 MB, free: 5.125 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.492e-06/0.311, allocations: 0 / 374.5 MB, free: 5.125 MB / 298.7 MB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0004213/0.3114, allocations: 205.3 kB / 374.7 MB, free: 4.918 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.073e-05/0.3114, allocations: 8 kB / 374.7 MB, free: 4.91 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.766e-06/0.3115, allocations: 4 kB / 374.7 MB, free: 4.906 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.797e-05/0.3115, allocations: 4 kB / 374.7 MB, free: 4.902 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001588/0.3117, allocations: 39.92 kB / 374.7 MB, free: 4.863 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.106e-05/0.3117, allocations: 4 kB / 374.7 MB, free: 4.859 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001197/0.3118, allocations: 23.75 kB / 374.7 MB, free: 4.836 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.229e-05/0.3118, allocations: 16.39 kB / 374.8 MB, free: 4.82 MB / 298.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 20 * 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 (20): * Single equations (assignments): 20 * 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 prepare postOptimizeDAE: time 0.0001685/0.312, allocations: 213 kB / 375 MB, free: 4.602 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001068/0.3121, allocations: 128.8 kB / 375.1 MB, free: 4.469 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.781e-05/0.3122, allocations: 116.7 kB / 375.2 MB, free: 4.352 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.596e-05/0.3123, allocations: 184.2 kB / 375.4 MB, free: 4.164 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.824e-05/0.3124, allocations: 176.3 kB / 375.6 MB, free: 3.984 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.46e-05/0.3126, allocations: 192.2 kB / 375.7 MB, free: 3.789 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003582/0.3129, allocations: 425.2 kB / 376.2 MB, free: 3.316 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.549e-05/0.313, allocations: 105 kB / 376.3 MB, free: 3.207 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.624e-05/0.3131, allocations: 104.9 kB / 376.4 MB, free: 3.098 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.33e-05/0.3132, allocations: 184.2 kB / 376.5 MB, free: 2.91 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.92e-05/0.3133, allocations: 180.3 kB / 376.7 MB, free: 2.727 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.515e-05/0.3134, allocations: 180.2 kB / 376.9 MB, free: 2.543 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.584e-05/0.3135, allocations: 176.3 kB / 377.1 MB, free: 2.363 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001945/0.3137, allocations: 315.7 kB / 377.4 MB, free: 2.031 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001236/0.3138, allocations: 186 kB / 377.6 MB, free: 1.824 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001111/0.3139, allocations: 196.1 kB / 377.7 MB, free: 1.625 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001149/0.3141, allocations: 101 kB / 377.8 MB, free: 1.52 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001043/0.3142, allocations: 184.2 kB / 378 MB, free: 1.332 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.463e-05/0.3142, allocations: 105 kB / 378.1 MB, free: 1.223 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0001475/0.3144, allocations: 131.2 kB / 378.3 MB, free: 1.094 MB / 298.7 MB Notification: Performance of sort global known variables: time 7.2e-07/0.3144, allocations: 0 / 378.3 MB, free: 1.094 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0003851/0.3148, allocations: 20 kB / 378.3 MB, free: 1.074 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 (0): * Single equations (assignments): 0 * 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.0006421/0.3155, allocations: 274.3 kB / 378.5 MB, free: 0.8359 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0001876/0.3157, allocations: 71.78 kB / 378.6 MB, free: 0.7656 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 2.685e-06/0.3157, allocations: 1.25 kB / 378.6 MB, free: 0.7656 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 2.801e-06/0.3157, allocations: 0 / 378.6 MB, free: 0.7656 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004129/0.3161, allocations: 0.5302 MB / 379.1 MB, free: 236 kB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004974/0.3166, allocations: 312.4 kB / 379.4 MB, free: 15.89 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004036/0.3171, allocations: 0.7009 MB / 380.1 MB, free: 15.16 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.759e-05/0.3171, allocations: 15.44 kB / 380.2 MB, free: 15.15 MB / 314.7 MB Notification: Performance of SimCode: time 1.371e-06/0.3172, allocations: 0 / 380.2 MB, free: 15.15 MB / 314.7 MB Notification: Performance of Templates: time 0.00327/0.3204, allocations: 1.243 MB / 381.4 MB, free: 13.91 MB / 314.7 MB