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.Test20.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.Test20,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|combiTable2D1D.y|combiTable2D1DT.y|clock1.y|combiTable1D.y.1.|combiTable2D.y|combiTable2DT.y|der1.y|der2.y|der3.y|der4.y|der5.y",fileNamePrefix="ModelicaTest_3.2.1_cpp_ModelicaTest.Tables.CombiTable2D.Test20") Notification: Performance of loadModel(ModelicaTest): time 1.908/1.908, allocations: 209.3 MB / 224.8 MB, free: 196 kB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004395/0.0004397, allocations: 11.98 kB / 282.5 MB, free: 9.633 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2855/0.286, allocations: 48.71 MB / 331.2 MB, free: 6.477 MB / 266.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2D.Test20): time 0.002201/0.2882, allocations: 1.486 MB / 332.7 MB, free: 5.676 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.001552/0.2898, allocations: 0.7475 MB / 333.4 MB, free: 5.168 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001148/0.2899, allocations: 1.344 kB / 333.4 MB, free: 5.168 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004715/0.2904, allocations: 213.4 kB / 333.6 MB, free: 5.152 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003291/0.2908, allocations: 146.5 kB / 333.8 MB, free: 5.117 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004849/0.2913, allocations: 140.2 kB / 333.9 MB, free: 5.043 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003047/0.2916, allocations: 179.3 kB / 334.1 MB, free: 4.969 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001617/0.2918, allocations: 48.36 kB / 334.1 MB, free: 4.949 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001521/0.2919, allocations: 103.7 kB / 334.2 MB, free: 4.918 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002363/0.2922, allocations: 142.4 kB / 334.4 MB, free: 4.879 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 3.009e-05/0.2922, allocations: 4.125 kB / 334.4 MB, free: 4.879 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002134/0.2925, allocations: 63.78 kB / 334.5 MB, free: 4.863 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 8.376e-05/0.2926, allocations: 52.75 kB / 334.5 MB, free: 4.848 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 4.812e-05/0.2926, allocations: 63.17 kB / 334.6 MB, free: 4.789 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003466/0.293, allocations: 209.5 kB / 334.8 MB, free: 4.727 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.803e-06/0.293, allocations: 0 / 334.8 MB, free: 4.727 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.965e-06/0.293, allocations: 0 / 334.8 MB, free: 4.727 MB / 266.7 MB Notification: Performance of Transformations before backend: time 7.554e-06/0.293, allocations: 0 / 334.8 MB, free: 4.727 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: 25 * Number of variables: 25 Notification: Performance of Generate backend data structure: time 0.0006607/0.2937, allocations: 0.68 MB / 335.4 MB, free: 4.066 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.985e-05/0.2937, allocations: 10.72 kB / 335.5 MB, free: 4.066 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.383e-05/0.2938, allocations: 33.34 kB / 335.5 MB, free: 4.047 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002875/0.2941, allocations: 260.2 kB / 335.7 MB, free: 3.801 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.092e-05/0.2942, allocations: 10.03 kB / 335.8 MB, free: 3.797 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.191e-05/0.2942, allocations: 12.62 kB / 335.8 MB, free: 3.793 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002831/0.2945, allocations: 112.9 kB / 335.9 MB, free: 3.73 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.686e-05/0.2945, allocations: 1.031 kB / 335.9 MB, free: 3.73 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.62e-05/0.2946, allocations: 5.281 kB / 335.9 MB, free: 3.727 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.207e-06/0.2946, allocations: 6.469 kB / 335.9 MB, free: 3.723 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002362/0.2948, allocations: 75.88 kB / 336 MB, free: 3.703 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007247/0.2956, allocations: 464.2 kB / 336.4 MB, free: 3.352 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002359/0.2958, allocations: 103.2 kB / 336.5 MB, free: 3.297 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.692e-05/0.2959, allocations: 2.859 kB / 336.5 MB, free: 3.297 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.252e-05/0.2959, allocations: 37.69 kB / 336.6 MB, free: 3.254 MB / 266.7 MB Notification: Performance of pre-optimization done (n=11): time 3.274e-06/0.2959, allocations: 0 / 336.6 MB, free: 3.254 MB / 266.7 MB Notification: Performance of matching and sorting (n=17): time 0.001223/0.2972, allocations: 393.4 kB / 336.9 MB, free: 3.078 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.296e-05/0.2972, allocations: 53.81 kB / 337 MB, free: 3.016 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006049/0.2978, allocations: 487.6 kB / 337.5 MB, free: 2.766 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 2.398e-05/0.2979, allocations: 34.67 kB / 337.5 MB, free: 2.727 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.844e-05/0.298, allocations: 226.2 kB / 337.7 MB, free: 2.508 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.72e-05/0.298, allocations: 53.95 kB / 337.8 MB, free: 2.461 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.148e-05/0.2981, allocations: 1.562 kB / 337.8 MB, free: 2.461 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 5.413e-05/0.2981, allocations: 317.6 kB / 338.1 MB, free: 2.145 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001913/0.2983, allocations: 67.7 kB / 338.2 MB, free: 2.113 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00017/0.2985, allocations: 65.62 kB / 338.2 MB, free: 2.086 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002248/0.2988, allocations: 201.1 kB / 338.4 MB, free: 1.898 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.438e-06/0.2988, allocations: 1.156 kB / 338.4 MB, free: 1.898 MB / 266.7 MB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0005382/0.2993, allocations: 350.5 kB / 338.8 MB, free: 1.629 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.489e-05/0.2994, allocations: 138.7 kB / 338.9 MB, free: 1.469 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.037e-06/0.2994, allocations: 1.375 kB / 338.9 MB, free: 1.469 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.857e-05/0.2994, allocations: 1.094 kB / 338.9 MB, free: 1.469 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001928/0.2996, allocations: 41.91 kB / 338.9 MB, free: 1.457 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.844e-06/0.2997, allocations: 0 / 338.9 MB, free: 1.457 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001169/0.2998, allocations: 11.16 kB / 338.9 MB, free: 1.453 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.377e-05/0.2998, allocations: 6.688 kB / 339 MB, free: 1.453 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 (22): * Single equations (assignments): 17 * Array equations: 0 * Algorithm blocks: 5 * 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.0001864/0.3, allocations: 167.9 kB / 339.1 MB, free: 1.312 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.268e-05/0.3001, allocations: 35.92 kB / 339.2 MB, free: 1.289 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006005/0.3007, allocations: 251 kB / 339.4 MB, free: 1.148 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.306e-06/0.3007, allocations: 2.062 kB / 339.4 MB, free: 1.148 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.133e-06/0.3008, allocations: 5.125 kB / 339.4 MB, free: 1.145 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.1e-06/0.3008, allocations: 3.984 kB / 339.4 MB, free: 1.141 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000945/0.3017, allocations: 0.6061 MB / 340 MB, free: 0.6406 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.005e-06/0.3018, allocations: 4 kB / 340 MB, free: 0.6367 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001586/0.3019, allocations: 36.86 kB / 340.1 MB, free: 0.6289 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.469e-06/0.3019, allocations: 5.062 kB / 340.1 MB, free: 0.625 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.568e-05/0.302, allocations: 2.281 kB / 340.1 MB, free: 0.625 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.1e-06/0.302, allocations: 5.391 kB / 340.1 MB, free: 0.6211 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.204e-06/0.302, allocations: 0 / 340.1 MB, free: 0.6211 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004863/0.3025, allocations: 312.1 kB / 340.4 MB, free: 412 kB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.336e-05/0.3026, allocations: 100.1 kB / 340.5 MB, free: 300 kB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.754e-05/0.3026, allocations: 9.219 kB / 340.5 MB, free: 292 kB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001264/0.3028, allocations: 9.422 kB / 340.5 MB, free: 288 kB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.66e-05/0.3028, allocations: 11.11 kB / 340.5 MB, free: 284 kB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.059e-05/0.3028, allocations: 8.812 kB / 340.5 MB, free: 280 kB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0004628/0.3033, allocations: 353 kB / 340.9 MB, free: 88 kB / 266.7 MB Notification: Performance of sort global known variables: time 8.42e-07/0.3033, allocations: 0 / 340.9 MB, free: 88 kB / 266.7 MB Notification: Performance of remove unused functions: time 0.0004543/0.3038, allocations: 62.58 kB / 340.9 MB, free: 68 kB / 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 (17): * Single equations (assignments): 17 * 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.002079/0.3059, allocations: 0.6122 MB / 341.5 MB, free: 15.64 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0007605/0.3067, allocations: 431.5 kB / 341.9 MB, free: 15.26 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 4.063e-06/0.3067, allocations: 4 kB / 342 MB, free: 15.26 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002169/0.3069, allocations: 84.8 kB / 342 MB, free: 15.22 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000429/0.3074, allocations: 36.25 kB / 342.1 MB, free: 15.2 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001322/0.3087, allocations: 0.6628 MB / 342.7 MB, free: 14.75 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005412/0.3093, allocations: 0.7836 MB / 343.5 MB, free: 14.01 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001043/0.3094, allocations: 31.86 kB / 343.5 MB, free: 13.99 MB / 282.7 MB Notification: Performance of SimCode: time 1.57e-06/0.3094, allocations: 0 / 343.5 MB, free: 13.99 MB / 282.7 MB Notification: Performance of Templates: time 0.00872/0.3182, allocations: 3.917 MB / 347.5 MB, free: 11.96 MB / 282.7 MB