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.Test27.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.Test27,fileNamePrefix="ModelicaTest_3_2_2_cpp_ModelicaTest_Tables_CombiTable2D_Test27",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.259/2.259, allocations: 234.9 MB / 250.5 MB, free: 9.566 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004283/0.0004284, allocations: 12 kB / 314.4 MB, free: 9.52 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3492/0.3497, allocations: 54.86 MB / 369.3 MB, free: 12.76 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2D.Test27): time 0.002457/0.3522, allocations: 1.246 MB / 370.5 MB, free: 11.49 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.0007118/0.353, allocations: 265.1 kB / 370.8 MB, free: 11.23 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.516e-05/0.353, allocations: 0 / 370.8 MB, free: 11.23 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002387/0.3533, allocations: 51.81 kB / 370.8 MB, free: 11.18 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001703/0.3535, allocations: 35.94 kB / 370.9 MB, free: 11.14 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001414/0.3536, allocations: 31.86 kB / 370.9 MB, free: 11.11 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001762/0.3538, allocations: 47.88 kB / 370.9 MB, free: 11.07 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001103/0.3539, allocations: 15.98 kB / 371 MB, free: 11.05 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 6.93e-05/0.354, allocations: 27.91 kB / 371 MB, free: 11.02 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001062/0.3541, allocations: 27.91 kB / 371 MB, free: 11 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 1.462e-05/0.3542, allocations: 0 / 371 MB, free: 11 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.138e-05/0.3543, allocations: 19.98 kB / 371 MB, free: 10.98 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 4.122e-05/0.3543, allocations: 11.94 kB / 371 MB, free: 10.96 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 3.408e-05/0.3544, allocations: 33.69 kB / 371.1 MB, free: 10.93 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001449/0.3545, allocations: 55.92 kB / 371.1 MB, free: 10.87 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.635e-06/0.3545, allocations: 0 / 371.1 MB, free: 10.87 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.994e-06/0.3545, allocations: 4 kB / 371.1 MB, free: 10.87 MB / 298.7 MB Notification: Performance of Transformations before backend: time 7.213e-06/0.3546, allocations: 0 / 371.1 MB, free: 10.87 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0005638/0.3551, allocations: 417.6 kB / 371.5 MB, free: 10.41 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.832e-05/0.3552, allocations: 8.031 kB / 371.5 MB, free: 10.4 MB / 298.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.012e-05/0.3552, allocations: 34.56 kB / 371.6 MB, free: 10.36 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.645e-05/0.3553, allocations: 11.86 kB / 371.6 MB, free: 10.34 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002174/0.3555, allocations: 179 kB / 371.8 MB, free: 10.13 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.308e-05/0.3555, allocations: 7.938 kB / 371.8 MB, free: 10.12 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.446e-05/0.3556, allocations: 8 kB / 371.8 MB, free: 10.11 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002261/0.3558, allocations: 57.69 kB / 371.8 MB, free: 10.05 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.273e-05/0.3558, allocations: 0 / 371.8 MB, free: 10.05 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.437e-05/0.3559, allocations: 7.969 kB / 371.8 MB, free: 10.04 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.573e-06/0.3559, allocations: 3.953 kB / 371.8 MB, free: 10.04 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002403/0.3561, allocations: 47.91 kB / 371.9 MB, free: 9.992 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004229/0.3566, allocations: 284.8 kB / 372.2 MB, free: 9.664 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001864/0.3568, allocations: 50.56 kB / 372.2 MB, free: 9.605 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.806e-05/0.3568, allocations: 4.078 kB / 372.2 MB, free: 9.602 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.707e-05/0.3569, allocations: 46.45 kB / 372.3 MB, free: 9.547 MB / 298.7 MB Notification: Performance of pre-optimization done (n=4): time 1.543e-06/0.3569, allocations: 0 / 372.3 MB, free: 9.547 MB / 298.7 MB Notification: Performance of matching and sorting (n=7): time 0.001234/0.3581, allocations: 241.1 kB / 372.5 MB, free: 9.305 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.934e-05/0.3582, allocations: 51.41 kB / 372.6 MB, free: 9.242 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000211/0.3584, allocations: 162.8 kB / 372.7 MB, free: 9.07 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.728e-05/0.3584, allocations: 29.64 kB / 372.7 MB, free: 9.035 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.826e-05/0.3585, allocations: 170.5 kB / 372.9 MB, free: 8.867 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.011e-05/0.3586, allocations: 19.72 kB / 372.9 MB, free: 8.848 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.534e-06/0.3586, allocations: 0 / 372.9 MB, free: 8.848 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0001194/0.3587, allocations: 314.8 kB / 373.2 MB, free: 8.531 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002178/0.3589, allocations: 43.97 kB / 373.3 MB, free: 8.488 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002095/0.3592, allocations: 39.97 kB / 373.3 MB, free: 8.449 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002411/0.3594, allocations: 77.89 kB / 373.4 MB, free: 8.367 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.158e-06/0.3594, allocations: 7.953 kB / 373.4 MB, free: 8.359 MB / 298.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0005396/0.36, allocations: 159.3 kB / 373.6 MB, free: 8.191 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.149e-05/0.36, allocations: 31.73 kB / 373.6 MB, free: 8.156 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.256e-06/0.3601, allocations: 0 / 373.6 MB, free: 8.156 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.536e-05/0.3601, allocations: 7.938 kB / 373.6 MB, free: 8.148 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002011/0.3603, allocations: 19.98 kB / 373.6 MB, free: 8.129 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.372e-06/0.3603, allocations: 4 kB / 373.6 MB, free: 8.125 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001113/0.3604, allocations: 15.98 kB / 373.6 MB, free: 8.109 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.233e-05/0.3605, allocations: 0 / 373.6 MB, free: 8.109 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 (8): * Single equations (assignments): 7 * Array equations: 0 * Algorithm blocks: 1 * 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.0001175/0.3606, allocations: 121.8 kB / 373.8 MB, free: 7.98 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.797e-05/0.3607, allocations: 11.86 kB / 373.8 MB, free: 7.969 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005716/0.3612, allocations: 158.2 kB / 373.9 MB, free: 7.805 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.579e-06/0.3613, allocations: 0 / 373.9 MB, free: 7.805 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.919e-06/0.3613, allocations: 0 / 373.9 MB, free: 7.805 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.817e-06/0.3613, allocations: 0 / 373.9 MB, free: 7.805 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000836/0.3621, allocations: 402.5 kB / 374.3 MB, free: 7.355 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.515e-06/0.3621, allocations: 4 kB / 374.3 MB, free: 7.352 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001669/0.3623, allocations: 23.98 kB / 374.3 MB, free: 7.328 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.953e-06/0.3623, allocations: 0 / 374.3 MB, free: 7.328 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.173e-05/0.3624, allocations: 3.938 kB / 374.3 MB, free: 7.324 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.681e-06/0.3624, allocations: 4 kB / 374.3 MB, free: 7.32 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.873e-06/0.3624, allocations: 0 / 374.3 MB, free: 7.32 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000551/0.3629, allocations: 227.4 kB / 374.6 MB, free: 7.082 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.933e-05/0.363, allocations: 89 kB / 374.7 MB, free: 6.977 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.434e-05/0.3631, allocations: 0 / 374.7 MB, free: 6.977 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001422/0.3632, allocations: 12 kB / 374.7 MB, free: 6.965 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.901e-05/0.3633, allocations: 7.984 kB / 374.7 MB, free: 6.957 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.323e-05/0.3633, allocations: 8 kB / 374.7 MB, free: 6.949 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0001612/0.3635, allocations: 126.5 kB / 374.8 MB, free: 6.828 MB / 298.7 MB Notification: Performance of sort global known variables: time 4.31e-07/0.3635, allocations: 0 / 374.8 MB, free: 6.828 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0003156/0.3638, allocations: 19.98 kB / 374.8 MB, free: 6.809 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 (7): * Single equations (assignments): 7 * 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.001593/0.3654, allocations: 0.9624 MB / 375.8 MB, free: 5.902 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0005745/0.366, allocations: 155.3 kB / 375.9 MB, free: 5.738 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 5.04e-06/0.366, allocations: 0 / 375.9 MB, free: 5.738 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002362/0.3663, allocations: 59.84 kB / 376 MB, free: 5.68 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002908/0.3666, allocations: 7.938 kB / 376 MB, free: 5.672 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000881/0.3675, allocations: 472.4 kB / 376.5 MB, free: 5.156 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003052/0.3678, allocations: 0.6965 MB / 377.2 MB, free: 4.434 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.38e-05/0.3679, allocations: 27.42 kB / 377.2 MB, free: 4.406 MB / 298.7 MB Notification: Performance of SimCode: time 1.132e-06/0.3679, allocations: 4 kB / 377.2 MB, free: 4.402 MB / 298.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.471/2.839, allocations: 1.775 MB / 379 MB, free: 2.625 MB / 298.7 MB