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.Test16.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.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.1_cpp_ModelicaTest.Tables.CombiTable2D.Test16") Notification: Performance of loadModel(ModelicaTest): time 1.848/1.848, allocations: 209.3 MB / 224.8 MB, free: 204 kB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004354/0.0004354, allocations: 8 kB / 282.5 MB, free: 9.637 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2843/0.2848, allocations: 48.7 MB / 331.2 MB, free: 6.461 MB / 266.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2D.Test16): time 0.001988/0.2868, allocations: 1.265 MB / 332.5 MB, free: 5.84 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.0007758/0.2876, allocations: 0.6344 MB / 333.1 MB, free: 5.375 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.73e-05/0.2877, allocations: 1.406 kB / 333.1 MB, free: 5.375 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001444/0.2879, allocations: 20.55 kB / 333.1 MB, free: 5.363 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001697/0.288, allocations: 27.92 kB / 333.1 MB, free: 5.352 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 3.689e-06/0.2881, allocations: 5.219 kB / 333.2 MB, free: 5.348 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001113/0.2882, allocations: 23.45 kB / 333.2 MB, free: 5.34 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.667e-05/0.2882, allocations: 2.578 kB / 333.2 MB, free: 5.34 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 2.428e-05/0.2883, allocations: 11.11 kB / 333.2 MB, free: 5.336 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.188e-05/0.2884, allocations: 16.27 kB / 333.2 MB, free: 5.328 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 1.06e-05/0.2884, allocations: 1.219 kB / 333.2 MB, free: 5.328 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 3.646e-05/0.2884, allocations: 2.828 kB / 333.2 MB, free: 5.328 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 3.782e-05/0.2885, allocations: 18.66 kB / 333.2 MB, free: 5.32 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 2.111e-05/0.2885, allocations: 40.48 kB / 333.3 MB, free: 5.277 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001069/0.2886, allocations: 40.36 kB / 333.3 MB, free: 5.273 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.008e-06/0.2886, allocations: 0 / 333.3 MB, free: 5.273 MB / 266.7 MB Notification: Performance of FrontEnd: time 2.43e-06/0.2887, allocations: 0.6562 kB / 333.3 MB, free: 5.273 MB / 266.7 MB Notification: Performance of Transformations before backend: time 4.901e-06/0.2887, allocations: 1.406 kB / 333.3 MB, free: 5.273 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: 20 * Number of variables: 20 Notification: Performance of Generate backend data structure: time 0.0002519/0.2889, allocations: 355.1 kB / 333.7 MB, free: 4.898 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.567e-05/0.289, allocations: 8.688 kB / 333.7 MB, free: 4.898 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.723e-05/0.289, allocations: 7.094 kB / 333.7 MB, free: 4.895 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000102/0.2891, allocations: 175.9 kB / 333.8 MB, free: 4.688 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.418e-05/0.2892, allocations: 5.234 kB / 333.8 MB, free: 4.684 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.539e-05/0.2892, allocations: 1.156 kB / 333.8 MB, free: 4.684 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001769/0.2894, allocations: 120.5 kB / 334 MB, free: 4.586 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.119e-05/0.2894, allocations: 5.25 kB / 334 MB, free: 4.582 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.184e-05/0.2894, allocations: 5.203 kB / 334 MB, free: 4.578 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.265e-05/0.2895, allocations: 19.34 kB / 334 MB, free: 4.578 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.764e-05/0.2896, allocations: 45.64 kB / 334 MB, free: 4.562 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005216/0.2901, allocations: 0.9005 MB / 334.9 MB, free: 3.668 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 5.112e-05/0.2902, allocations: 167.1 kB / 335.1 MB, free: 3.496 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.668e-05/0.2902, allocations: 79.28 kB / 335.2 MB, free: 3.418 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.303e-05/0.2903, allocations: 112.2 kB / 335.3 MB, free: 3.301 MB / 266.7 MB Notification: Performance of pre-optimization done (n=0): time 1.924e-06/0.2903, allocations: 0 / 335.3 MB, free: 3.301 MB / 266.7 MB Notification: Performance of matching and sorting (n=0): time 7.659e-05/0.2903, allocations: 34.52 kB / 335.3 MB, free: 3.266 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.291e-05/0.2904, allocations: 127.3 kB / 335.4 MB, free: 3.129 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001857/0.2906, allocations: 185.6 kB / 335.6 MB, free: 3 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 5.947e-06/0.2906, allocations: 26.41 kB / 335.7 MB, free: 2.969 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.709e-05/0.2907, allocations: 219.3 kB / 335.9 MB, free: 2.766 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.665e-06/0.2907, allocations: 2.234 kB / 335.9 MB, free: 2.766 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.983e-06/0.2907, allocations: 4 kB / 335.9 MB, free: 2.762 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 5.096e-05/0.2908, allocations: 325 kB / 336.2 MB, free: 2.441 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.418e-05/0.2909, allocations: 31.02 kB / 336.2 MB, free: 2.434 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000112/0.291, allocations: 152.5 kB / 336.4 MB, free: 2.258 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001177/0.2911, allocations: 69.97 kB / 336.4 MB, free: 2.23 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.74e-06/0.2911, allocations: 5.562 kB / 336.4 MB, free: 2.227 MB / 266.7 MB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0003714/0.2915, allocations: 192.8 kB / 336.6 MB, free: 2.133 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.168e-05/0.2915, allocations: 12.03 kB / 336.6 MB, free: 2.129 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.081e-05/0.2916, allocations: 4.125 kB / 336.6 MB, free: 2.129 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.132e-05/0.2916, allocations: 7.406 kB / 336.7 MB, free: 2.129 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001575/0.2918, allocations: 40.61 kB / 336.7 MB, free: 2.121 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.402e-05/0.2918, allocations: 12.41 kB / 336.7 MB, free: 2.117 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001159/0.2919, allocations: 23.78 kB / 336.7 MB, free: 2.102 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.98e-05/0.292, allocations: 9.625 kB / 336.7 MB, free: 2.102 MB / 266.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.0001016/0.2921, allocations: 213.2 kB / 336.9 MB, free: 1.898 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.95e-05/0.2921, allocations: 122 kB / 337.1 MB, free: 1.777 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.993e-05/0.2922, allocations: 115.8 kB / 337.2 MB, free: 1.66 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.935e-05/0.2922, allocations: 182.3 kB / 337.4 MB, free: 1.477 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.886e-05/0.2923, allocations: 181.7 kB / 337.5 MB, free: 1.293 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.948e-05/0.2923, allocations: 182.8 kB / 337.7 MB, free: 1.109 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000183/0.2925, allocations: 427 kB / 338.1 MB, free: 0.6523 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.706e-05/0.2925, allocations: 103.1 kB / 338.2 MB, free: 0.5469 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.822e-05/0.2926, allocations: 106 kB / 338.3 MB, free: 448 kB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.759e-05/0.2926, allocations: 181.4 kB / 338.5 MB, free: 260 kB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.703e-05/0.2926, allocations: 178.5 kB / 338.7 MB, free: 76 kB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.255e-05/0.2927, allocations: 182.3 kB / 338.9 MB, free: 15.89 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.698e-05/0.2928, allocations: 181.5 kB / 339 MB, free: 15.71 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001993/0.293, allocations: 320.1 kB / 339.4 MB, free: 15.38 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001211/0.2932, allocations: 187.1 kB / 339.5 MB, free: 15.18 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001056/0.2933, allocations: 185.4 kB / 339.7 MB, free: 14.99 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001193/0.2934, allocations: 107.4 kB / 339.8 MB, free: 14.88 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001024/0.2935, allocations: 182.5 kB / 340 MB, free: 14.7 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.935e-05/0.2936, allocations: 109.9 kB / 340.1 MB, free: 14.58 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.0001702/0.2938, allocations: 126.8 kB / 340.2 MB, free: 14.5 MB / 282.7 MB Notification: Performance of sort global known variables: time 7.04e-07/0.2938, allocations: 0 / 340.2 MB, free: 14.5 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0003996/0.2942, allocations: 17.75 kB / 340.2 MB, free: 14.49 MB / 282.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.0005362/0.2948, allocations: 242.9 kB / 340.5 MB, free: 14.3 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0001959/0.295, allocations: 77.7 kB / 340.6 MB, free: 14.27 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 5.738e-06/0.295, allocations: 0 / 340.6 MB, free: 14.27 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 3.76e-06/0.295, allocations: 5.062 kB / 340.6 MB, free: 14.27 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004153/0.2954, allocations: 0.5255 MB / 341.1 MB, free: 13.74 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005054/0.296, allocations: 316.8 kB / 341.4 MB, free: 13.46 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004325/0.2964, allocations: 0.7015 MB / 342.1 MB, free: 12.77 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.975e-05/0.2965, allocations: 15.97 kB / 342.1 MB, free: 12.76 MB / 282.7 MB Notification: Performance of SimCode: time 1.399e-06/0.2965, allocations: 0 / 342.1 MB, free: 12.76 MB / 282.7 MB Notification: Performance of Templates: time 0.003429/0.3, allocations: 1.237 MB / 343.4 MB, free: 12.44 MB / 282.7 MB