Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr ModelicaTest_3.2.2_cpp_ModelicaTest.Tables.CombiTable2D.Test21.conf.json Using package ModelicaServices with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo) Using package Complex with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo) Using package Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo) Using package ModelicaTest with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaTest 3.2.2/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2D.Test21,fileNamePrefix="ModelicaTest_3_2_2_cpp_ModelicaTest_Tables_CombiTable2D_Test21",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.254/2.254, allocations: 234.9 MB / 250.4 MB, free: 9.703 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004202/0.0004203, allocations: 16 kB / 314.4 MB, free: 9.652 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3521/0.3526, allocations: 54.86 MB / 369.3 MB, free: 12.79 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2D.Test21): time 0.002862/0.3555, allocations: 1.512 MB / 370.8 MB, free: 11.26 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.001924/0.3575, allocations: 0.7483 MB / 371.5 MB, free: 10.51 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.986e-05/0.3576, allocations: 4 kB / 371.5 MB, free: 10.5 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005213/0.3581, allocations: 219.5 kB / 371.7 MB, free: 10.29 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003632/0.3585, allocations: 143.7 kB / 371.9 MB, free: 10.15 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004417/0.3589, allocations: 131.6 kB / 372 MB, free: 10.02 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003501/0.3593, allocations: 179.4 kB / 372.2 MB, free: 9.844 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001764/0.3595, allocations: 52.27 kB / 372.2 MB, free: 9.793 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001627/0.3597, allocations: 111.6 kB / 372.4 MB, free: 9.684 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002653/0.36, allocations: 139.5 kB / 372.5 MB, free: 9.547 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 2.715e-05/0.36, allocations: 0 / 372.5 MB, free: 9.547 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002136/0.3602, allocations: 67.92 kB / 372.6 MB, free: 9.48 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 9.367e-05/0.3603, allocations: 55.77 kB / 372.6 MB, free: 9.426 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 6.195e-05/0.3604, allocations: 57.58 kB / 372.7 MB, free: 9.363 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003714/0.3608, allocations: 211.7 kB / 372.9 MB, free: 9.156 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.164e-06/0.3608, allocations: 0 / 372.9 MB, free: 9.156 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.573e-06/0.3608, allocations: 0 / 372.9 MB, free: 9.156 MB / 298.7 MB Notification: Performance of Transformations before backend: time 5.811e-06/0.3608, allocations: 0 / 372.9 MB, free: 9.156 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: 25 * Number of variables: 25 Notification: Performance of Generate backend data structure: time 0.0008626/0.3617, allocations: 0.6807 MB / 373.6 MB, free: 8.398 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.377e-05/0.3617, allocations: 8.031 kB / 373.6 MB, free: 8.391 MB / 298.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.513e-05/0.3618, allocations: 46.55 kB / 373.6 MB, free: 8.336 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.468e-05/0.3619, allocations: 35.58 kB / 373.6 MB, free: 8.301 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000363/0.3623, allocations: 266.9 kB / 373.9 MB, free: 7.996 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.973e-05/0.3623, allocations: 8 kB / 373.9 MB, free: 7.988 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.7e-05/0.3624, allocations: 16 kB / 373.9 MB, free: 7.973 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003289/0.3627, allocations: 105.6 kB / 374 MB, free: 7.863 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.891e-05/0.3628, allocations: 4 kB / 374 MB, free: 7.859 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.64e-05/0.3628, allocations: 4 kB / 374 MB, free: 7.855 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.24e-05/0.3628, allocations: 11.94 kB / 374 MB, free: 7.844 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002723/0.3631, allocations: 71.95 kB / 374.1 MB, free: 7.773 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008393/0.364, allocations: 468.2 kB / 374.6 MB, free: 7.266 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000272/0.3642, allocations: 98.55 kB / 374.7 MB, free: 7.16 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.888e-05/0.3643, allocations: 11.97 kB / 374.7 MB, free: 7.148 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.566e-05/0.3643, allocations: 30.56 kB / 374.7 MB, free: 7.109 MB / 298.7 MB Notification: Performance of pre-optimization done (n=11): time 2.104e-06/0.3644, allocations: 0 / 374.7 MB, free: 7.109 MB / 298.7 MB Notification: Performance of matching and sorting (n=17): time 0.001471/0.3658, allocations: 396.6 kB / 375.1 MB, free: 6.715 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.167e-05/0.3659, allocations: 55.36 kB / 375.2 MB, free: 6.648 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007569/0.3667, allocations: 489.5 kB / 375.6 MB, free: 6.16 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 3.077e-05/0.3667, allocations: 25.7 kB / 375.7 MB, free: 6.129 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001617/0.3669, allocations: 226.9 kB / 375.9 MB, free: 5.906 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 7e-05/0.367, allocations: 59.19 kB / 375.9 MB, free: 5.848 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.211e-05/0.367, allocations: 3.938 kB / 375.9 MB, free: 5.844 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0001281/0.3672, allocations: 318.8 kB / 376.3 MB, free: 5.523 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002476/0.3674, allocations: 64.34 kB / 376.3 MB, free: 5.461 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002306/0.3677, allocations: 71.53 kB / 376.4 MB, free: 5.395 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003192/0.368, allocations: 205.4 kB / 376.6 MB, free: 5.164 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.154e-06/0.368, allocations: 0 / 376.6 MB, free: 5.164 MB / 298.7 MB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0006918/0.3687, allocations: 335.3 kB / 376.9 MB, free: 4.801 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.567e-05/0.3688, allocations: 144.5 kB / 377.1 MB, free: 4.629 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.648e-06/0.3688, allocations: 7.938 kB / 377.1 MB, free: 4.621 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.507e-05/0.3689, allocations: 0 / 377.1 MB, free: 4.621 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002596/0.3691, allocations: 31.98 kB / 377.1 MB, free: 4.59 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.165e-06/0.3691, allocations: 0 / 377.1 MB, free: 4.59 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001293/0.3693, allocations: 19.94 kB / 377.1 MB, free: 4.57 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.65e-05/0.3693, allocations: 8 kB / 377.1 MB, free: 4.562 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 (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.0002227/0.3696, allocations: 173.7 kB / 377.3 MB, free: 4.383 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.24e-05/0.3696, allocations: 35.53 kB / 377.3 MB, free: 4.348 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007623/0.3704, allocations: 241 kB / 377.6 MB, free: 4.105 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.923e-06/0.3704, allocations: 4 kB / 377.6 MB, free: 4.102 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.599e-06/0.3704, allocations: 0 / 377.6 MB, free: 4.102 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.108e-06/0.3705, allocations: 7.938 kB / 377.6 MB, free: 4.094 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001146/0.3716, allocations: 0.5977 MB / 378.2 MB, free: 3.441 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.665e-06/0.3716, allocations: 4 kB / 378.2 MB, free: 3.438 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002174/0.3719, allocations: 39.91 kB / 378.2 MB, free: 3.398 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.029e-06/0.3719, allocations: 8 kB / 378.2 MB, free: 3.391 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.89e-05/0.3719, allocations: 7.953 kB / 378.2 MB, free: 3.383 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.749e-06/0.3719, allocations: 4 kB / 378.2 MB, free: 3.379 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.743e-06/0.3719, allocations: 0 / 378.2 MB, free: 3.379 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006102/0.3726, allocations: 299 kB / 378.5 MB, free: 3.07 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001018/0.3727, allocations: 108.7 kB / 378.6 MB, free: 2.945 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.235e-05/0.3727, allocations: 0 / 378.6 MB, free: 2.945 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001498/0.3729, allocations: 15.95 kB / 378.6 MB, free: 2.93 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.539e-05/0.373, allocations: 11.92 kB / 378.7 MB, free: 2.918 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.569e-05/0.373, allocations: 11.98 kB / 378.7 MB, free: 2.906 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0005151/0.3735, allocations: 359.1 kB / 379 MB, free: 2.559 MB / 298.7 MB Notification: Performance of sort global known variables: time 4.21e-07/0.3735, allocations: 0 / 379 MB, free: 2.559 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.000421/0.374, allocations: 63.98 kB / 379.1 MB, free: 2.496 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 (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.003086/0.3771, allocations: 1.514 MB / 380.6 MB, free: 1.051 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0007832/0.3779, allocations: 436.8 kB / 381 MB, free: 0.5625 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 3.467e-06/0.3779, allocations: 0 / 381 MB, free: 0.5625 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002555/0.3782, allocations: 79.91 kB / 381.1 MB, free: 496 kB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004962/0.3787, allocations: 41.3 kB / 381.1 MB, free: 456 kB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001833/0.3805, allocations: 0.9824 MB / 382.1 MB, free: 15.39 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004368/0.381, allocations: 0.7829 MB / 382.9 MB, free: 14.59 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002135/0.3812, allocations: 99.39 kB / 383 MB, free: 14.49 MB / 314.7 MB Notification: Performance of SimCode: time 1.092e-06/0.3812, allocations: 4 kB / 383 MB, free: 14.48 MB / 314.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.556/2.937, allocations: 5.206 MB / 388.2 MB, free: 9.27 MB / 314.7 MB