Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr ModelicaTest_3.2.1_cpp_ModelicaTest.Tables.CombiTable2D.Test21.conf.json Using package ModelicaServices with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.1/package.mo) Using package Complex with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.1.mo) Using package Modelica with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.1/package.mo) Using package ModelicaTest with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaTest 3.2.1/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2D.Test21,fileNamePrefix="ModelicaTest_3_2_1_cpp_ModelicaTest_Tables_CombiTable2D_Test21",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.092/2.092, allocations: 209.2 MB / 224.8 MB, free: 0.6211 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004389/0.000439, allocations: 12 kB / 282.6 MB, free: 9.605 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3736/0.374, allocations: 48.7 MB / 331.3 MB, free: 6.496 MB / 266.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2D.Test21): time 0.003639/0.3778, allocations: 1.494 MB / 332.8 MB, free: 5.711 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.002495/0.3803, allocations: 0.7449 MB / 333.5 MB, free: 5.203 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000144/0.3805, allocations: 2.344 kB / 333.5 MB, free: 5.203 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0007606/0.3813, allocations: 217.2 kB / 333.7 MB, free: 5.184 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0005289/0.3818, allocations: 146.2 kB / 333.9 MB, free: 5.148 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007863/0.3826, allocations: 140.2 kB / 334 MB, free: 5.074 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004996/0.3832, allocations: 179.6 kB / 334.2 MB, free: 5 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00023/0.3834, allocations: 45.5 kB / 334.2 MB, free: 4.984 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002485/0.3837, allocations: 106.1 kB / 334.3 MB, free: 4.949 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003848/0.3841, allocations: 143.1 kB / 334.5 MB, free: 4.91 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 4.01e-05/0.3841, allocations: 4.219 kB / 334.5 MB, free: 4.91 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003783/0.3845, allocations: 60.52 kB / 334.5 MB, free: 4.898 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001305/0.3847, allocations: 56.03 kB / 334.6 MB, free: 4.879 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 7.307e-05/0.3848, allocations: 63.64 kB / 334.7 MB, free: 4.82 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0005438/0.3853, allocations: 205.1 kB / 334.9 MB, free: 4.766 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.537e-06/0.3853, allocations: 0 / 334.9 MB, free: 4.766 MB / 266.7 MB Notification: Performance of FrontEnd: time 2.665e-06/0.3854, allocations: 0 / 334.9 MB, free: 4.766 MB / 266.7 MB Notification: Performance of Transformations before backend: time 8.646e-06/0.3854, allocations: 1.438 kB / 334.9 MB, free: 4.766 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.0009913/0.3864, allocations: 0.6792 MB / 335.5 MB, free: 4.105 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 7.086e-05/0.3865, allocations: 9.953 kB / 335.5 MB, free: 4.105 MB / 266.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.977e-05/0.3866, allocations: 42.02 kB / 335.6 MB, free: 4.062 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.524e-05/0.3867, allocations: 34.91 kB / 335.6 MB, free: 4.043 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004385/0.3871, allocations: 266.9 kB / 335.9 MB, free: 3.789 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.774e-05/0.3872, allocations: 9.719 kB / 335.9 MB, free: 3.785 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.222e-05/0.3872, allocations: 17.67 kB / 335.9 MB, free: 3.777 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004482/0.3877, allocations: 112.5 kB / 336 MB, free: 3.715 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.212e-05/0.3877, allocations: 5.188 kB / 336 MB, free: 3.711 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.352e-05/0.3878, allocations: 5.219 kB / 336 MB, free: 3.707 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.15e-05/0.3878, allocations: 2.344 kB / 336 MB, free: 3.707 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003854/0.3882, allocations: 70.59 kB / 336.1 MB, free: 3.691 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001133/0.3894, allocations: 476.7 kB / 336.6 MB, free: 3.328 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003833/0.3898, allocations: 96.08 kB / 336.7 MB, free: 3.281 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.986e-05/0.3898, allocations: 7.203 kB / 336.7 MB, free: 3.277 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.757e-05/0.3899, allocations: 39.58 kB / 336.7 MB, free: 3.23 MB / 266.7 MB Notification: Performance of pre-optimization done (n=11): time 4.478e-06/0.3899, allocations: 0 / 336.7 MB, free: 3.23 MB / 266.7 MB Notification: Performance of matching and sorting (n=17): time 0.001601/0.3915, allocations: 383.5 kB / 337.1 MB, free: 3.051 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.924e-05/0.3916, allocations: 58.22 kB / 337.1 MB, free: 2.984 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000829/0.3924, allocations: 490.3 kB / 337.6 MB, free: 2.723 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 2.071e-05/0.3924, allocations: 32.14 kB / 337.6 MB, free: 2.688 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001119/0.3926, allocations: 217.9 kB / 337.9 MB, free: 2.477 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.448e-05/0.3926, allocations: 58.23 kB / 337.9 MB, free: 2.426 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.436e-05/0.3927, allocations: 5.219 kB / 337.9 MB, free: 2.422 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 6.129e-05/0.3927, allocations: 316.1 kB / 338.2 MB, free: 2.105 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002307/0.393, allocations: 64.59 kB / 338.3 MB, free: 2.078 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002197/0.3932, allocations: 74.17 kB / 338.4 MB, free: 2.047 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002728/0.3935, allocations: 201.3 kB / 338.6 MB, free: 1.859 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.878e-06/0.3935, allocations: 3.953 kB / 338.6 MB, free: 1.855 MB / 266.7 MB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0006428/0.3942, allocations: 338 kB / 338.9 MB, free: 1.594 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.441e-05/0.3942, allocations: 145.4 kB / 339 MB, free: 1.43 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.583e-06/0.3943, allocations: 0 / 339 MB, free: 1.43 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.678e-05/0.3943, allocations: 0 / 339 MB, free: 1.43 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000276/0.3946, allocations: 37.7 kB / 339.1 MB, free: 1.422 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.089e-05/0.3946, allocations: 5.266 kB / 339.1 MB, free: 1.418 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001539/0.3948, allocations: 19.31 kB / 339.1 MB, free: 1.406 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.586e-05/0.3948, allocations: 6.406 kB / 339.1 MB, free: 1.406 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.0002325/0.395, allocations: 162.5 kB / 339.3 MB, free: 1.27 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.787e-05/0.3951, allocations: 37.67 kB / 339.3 MB, free: 1.246 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007416/0.3959, allocations: 251.2 kB / 339.5 MB, free: 1.105 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.761e-06/0.3959, allocations: 2.438 kB / 339.5 MB, free: 1.105 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.17e-06/0.3959, allocations: 0 / 339.5 MB, free: 1.105 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.551e-06/0.3959, allocations: 1.562 kB / 339.5 MB, free: 1.105 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00108/0.397, allocations: 0.608 MB / 340.2 MB, free: 0.6055 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.627e-06/0.397, allocations: 0 / 340.2 MB, free: 0.6055 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002228/0.3973, allocations: 36.02 kB / 340.2 MB, free: 0.5977 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.051e-06/0.3973, allocations: 1.125 kB / 340.2 MB, free: 0.5977 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.784e-05/0.3973, allocations: 6.281 kB / 340.2 MB, free: 0.5938 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.37e-06/0.3973, allocations: 0.9688 kB / 340.2 MB, free: 0.5938 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.926e-06/0.3973, allocations: 9.078 kB / 340.2 MB, free: 0.5859 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005894/0.3979, allocations: 304.5 kB / 340.5 MB, free: 380 kB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.407e-05/0.398, allocations: 107.9 kB / 340.6 MB, free: 260 kB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.471e-05/0.3981, allocations: 1.188 kB / 340.6 MB, free: 260 kB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001417/0.3982, allocations: 18.02 kB / 340.6 MB, free: 248 kB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.138e-05/0.3983, allocations: 10.11 kB / 340.6 MB, free: 244 kB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.051e-05/0.3983, allocations: 4.906 kB / 340.6 MB, free: 244 kB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0005467/0.3989, allocations: 353.6 kB / 341 MB, free: 52 kB / 266.7 MB Notification: Performance of sort global known variables: time 4.41e-07/0.3989, allocations: 0 / 341 MB, free: 52 kB / 266.7 MB Notification: Performance of remove unused functions: time 0.0004703/0.3994, allocations: 61.39 kB / 341 MB, free: 32 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.002619/0.402, allocations: 1.361 MB / 342.4 MB, free: 14.95 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0008534/0.4029, allocations: 435.7 kB / 342.8 MB, free: 14.56 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 3.747e-06/0.4029, allocations: 4 kB / 342.8 MB, free: 14.55 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002689/0.4032, allocations: 81.5 kB / 342.9 MB, free: 14.52 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000501/0.4037, allocations: 34.88 kB / 343 MB, free: 14.5 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002013/0.4058, allocations: 0.9698 MB / 343.9 MB, free: 13.77 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004902/0.4063, allocations: 0.7959 MB / 344.7 MB, free: 13.01 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002613/0.4066, allocations: 100.9 kB / 344.8 MB, free: 12.93 MB / 282.7 MB Notification: Performance of SimCode: time 1.022e-06/0.4066, allocations: 0 / 344.8 MB, free: 12.93 MB / 282.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.699/3.106, allocations: 5.19 MB / 350 MB, free: 10.28 MB / 282.7 MB