Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr ModelicaTest_3.2.1_cpp_ModelicaTest.MultiBody.Parts.Bodies.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.MultiBody.Parts.Bodies,fileNamePrefix="ModelicaTest_3_2_1_cpp_ModelicaTest_MultiBody_Parts_Bodies",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 1.96/1.96, allocations: 209.2 MB / 224.8 MB, free: 0.6289 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0005939/0.0005942, allocations: 12 kB / 282.6 MB, free: 9.605 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4117/0.4124, allocations: 48.7 MB / 331.3 MB, free: 6.52 MB / 266.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Parts.Bodies): time 0.08532/0.4977, allocations: 57.94 MB / 389.2 MB, free: 4.441 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.03756/0.5354, allocations: 13.39 MB / 402.6 MB, free: 7.004 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01214/0.5476, allocations: 291.2 kB / 402.9 MB, free: 6.719 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.01099/0.5586, allocations: 2.944 MB / 405.8 MB, free: 3.762 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.03386/0.5925, allocations: 8.505 MB / 414.3 MB, free: 11.23 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.005407/0.598, allocations: 0.9323 MB / 415.3 MB, free: 10.3 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.05361/0.6516, allocations: 18.06 MB / 433.3 MB, free: 8.219 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.009126/0.6608, allocations: 4.2 MB / 437.5 MB, free: 3.961 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003273/0.6642, allocations: 1.273 MB / 438.8 MB, free: 2.684 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003993/0.6682, allocations: 1.854 MB / 440.7 MB, free: 0.8242 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0008991/0.6691, allocations: 140 kB / 440.8 MB, free: 0.6875 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002556/0.6717, allocations: 0.6088 MB / 441.4 MB, free: 80 kB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 0.003588/0.6753, allocations: 1.909 MB / 443.3 MB, free: 14.16 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.00175/0.6771, allocations: 0.8038 MB / 444.1 MB, free: 13.35 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.009089/0.6863, allocations: 5.447 MB / 449.6 MB, free: 7.891 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.737e-06/0.6863, allocations: 0 / 449.6 MB, free: 7.891 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.535e-06/0.6863, allocations: 0 / 449.6 MB, free: 7.891 MB / 378.7 MB Notification: Performance of Transformations before backend: time 0.0002185/0.6866, allocations: 0 / 449.6 MB, free: 7.891 MB / 378.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1018 * Number of variables: 1018 Notification: Performance of Generate backend data structure: time 0.01869/0.7053, allocations: 4.672 MB / 454.2 MB, free: 3.148 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.618e-05/0.7053, allocations: 8.031 kB / 454.3 MB, free: 3.141 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001971/0.7073, allocations: 0.5156 MB / 454.8 MB, free: 2.617 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.2221/0.9295, allocations: 9.967 MB / 464.7 MB, free: 8.629 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01618/0.9457, allocations: 5.276 MB / 470 MB, free: 3.285 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003195/0.9461, allocations: 213.2 kB / 470.2 MB, free: 3.074 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001225/0.9473, allocations: 283.7 kB / 470.5 MB, free: 2.797 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.2901/1.237, allocations: 6.997 MB / 477.5 MB, free: 119 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.00027/1.238, allocations: 57.97 kB / 477.6 MB, free: 119 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006054/1.238, allocations: 124.8 kB / 477.7 MB, free: 118.9 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002693/1.241, allocations: 0.9966 MB / 478.7 MB, free: 118.8 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01774/1.259, allocations: 5.018 MB / 483.7 MB, free: 116.9 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04515/1.304, allocations: 27.48 MB / 0.4992 GB, free: 94.61 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004/1.308, allocations: 0.7356 MB / 0.4999 GB, free: 94.2 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.809e-05/1.308, allocations: 8.75 kB / 0.4999 GB, free: 94.2 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.876e-05/1.308, allocations: 48.53 kB / 0.5 GB, free: 94.15 MB / 394.7 MB Notification: Performance of pre-optimization done (n=37): time 3.627e-06/1.308, allocations: 0 / 0.5 GB, free: 94.15 MB / 394.7 MB Notification: Performance of matching and sorting (n=37): time 0.01331/1.322, allocations: 2.259 MB / 0.5022 GB, free: 92.16 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.328e-05/1.322, allocations: 247.2 kB / 0.5024 GB, free: 91.87 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01079/1.333, allocations: 5.362 MB / 0.5076 GB, free: 86.51 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 9.298e-05/1.333, allocations: 29.7 kB / 0.5077 GB, free: 86.48 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002355/1.335, allocations: 2.542 MB / 0.5101 GB, free: 83.94 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000271/1.335, allocations: 190 kB / 0.5103 GB, free: 83.76 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001872/1.336, allocations: 68 kB / 0.5104 GB, free: 83.69 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0002115/1.336, allocations: 458.2 kB / 0.5108 GB, free: 83.23 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001873/1.338, allocations: 0.7758 MB / 0.5116 GB, free: 82.46 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003047/1.341, allocations: 3.379 MB / 0.5149 GB, free: 77.84 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003446/1.344, allocations: 1.529 MB / 0.5164 GB, free: 76.31 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.47e-05/1.344, allocations: 28 kB / 0.5164 GB, free: 76.29 MB / 394.7 MB Notification: Performance of matching and sorting (n=446) (initialization): time 0.009534/1.354, allocations: 3.76 MB / 0.5201 GB, free: 72.52 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 7.043e-05/1.354, allocations: 44 kB / 0.5201 GB, free: 72.48 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.143e-05/1.354, allocations: 92 kB / 0.5202 GB, free: 72.39 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001375/1.354, allocations: 136 kB / 0.5203 GB, free: 72.25 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00411/1.358, allocations: 0.8502 MB / 0.5212 GB, free: 71.4 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000142/1.359, allocations: 184.7 kB / 0.5213 GB, free: 71.22 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005209/1.364, allocations: 0.5612 MB / 0.5219 GB, free: 70.66 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004739/1.364, allocations: 232.4 kB / 0.5221 GB, free: 70.43 MB / 394.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 427 * Number of states: 0 () * Number of discrete variables: 51 (world.gravitySphereColor[3],world.gravitySphereColor[2],world.gravitySphereColor[1],world.gravityArrowColor[3],world.gravityArrowColor[2],world.gravityArrowColor[1],world.axisColor_x[3],world.axisColor_x[2],world.axisColor_x[1],Fixed2.color[3],Fixed2.color[2],Fixed2.color[1],Fixed1.color[3],Fixed1.color[2],Fixed1.color[1],body1.sphereColor[3],body1.sphereColor[2],body1.sphereColor[1],Fixed5.color[3],Fixed5.color[2],Fixed5.color[1],Fixed4.color[3],Fixed4.color[2],Fixed4.color[1],Fixed3.color[3],Fixed3.color[2],Fixed3.color[1],bodyCylinder.color[3],bodyCylinder.color[2],bodyCylinder.color[1],bodyCylinder.body.sphereColor[3],bodyCylinder.body.sphereColor[2],bodyCylinder.body.sphereColor[1],BodyBox1.color[3],BodyBox1.color[2],BodyBox1.color[1],BodyBox1.body.sphereColor[3],BodyBox1.body.sphereColor[2],BodyBox1.body.sphereColor[1],bodyShape.color[3],bodyShape.color[2],bodyShape.color[1],bodyShape.body.sphereColor[3],bodyShape.body.sphereColor[2],bodyShape.body.sphereColor[1],bodyShape.frameTranslation.color[3],bodyShape.frameTranslation.color[2],bodyShape.frameTranslation.color[1],body2.sphereColor[3],body2.sphereColor[2],body2.sphereColor[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (446): * Single equations (assignments): 446 * 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.00286/1.367, allocations: 1.625 MB / 0.5237 GB, free: 68.79 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008149/1.368, allocations: 387.1 kB / 0.5241 GB, free: 68.41 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006949/1.369, allocations: 397.4 kB / 0.5245 GB, free: 68.02 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.305e-06/1.369, allocations: 7.984 kB / 0.5245 GB, free: 68.01 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.729e-06/1.369, allocations: 7.984 kB / 0.5245 GB, free: 68 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.834e-06/1.369, allocations: 4 kB / 0.5245 GB, free: 68 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007865/1.377, allocations: 4.813 MB / 0.5292 GB, free: 62.93 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.464e-05/1.377, allocations: 16 kB / 0.5292 GB, free: 62.91 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005622/1.377, allocations: 115.9 kB / 0.5293 GB, free: 62.8 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.366e-05/1.377, allocations: 24 kB / 0.5293 GB, free: 62.78 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.167e-05/1.377, allocations: 24 kB / 0.5293 GB, free: 62.75 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.042e-05/1.377, allocations: 31.86 kB / 0.5294 GB, free: 62.72 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.432e-05/1.377, allocations: 19.94 kB / 0.5294 GB, free: 62.7 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001642/1.379, allocations: 1.246 MB / 0.5306 GB, free: 61.23 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001254/1.38, allocations: 0.5389 MB / 0.5311 GB, free: 60.67 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006513/1.381, allocations: 31.98 kB / 0.5312 GB, free: 60.64 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001705/1.383, allocations: 39.98 kB / 0.5312 GB, free: 60.6 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.609e-05/1.383, allocations: 87.61 kB / 0.5313 GB, free: 60.52 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.95e-05/1.383, allocations: 32 kB / 0.5313 GB, free: 60.48 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.006642/1.39, allocations: 3.61 MB / 0.5348 GB, free: 56.88 MB / 394.7 MB Notification: Performance of sort global known variables: time 1.603e-06/1.39, allocations: 0 / 0.5348 GB, free: 56.88 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.004338/1.394, allocations: 0.8618 MB / 0.5357 GB, free: 56.02 MB / 394.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 61 * 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 (61): * Single equations (assignments): 61 * 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.002042/1.396, allocations: 1.85 MB / 0.5375 GB, free: 53.96 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.003943/1.4, allocations: 1.876 MB / 0.5393 GB, free: 52.11 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 8.817e-06/1.4, allocations: 0 / 0.5393 GB, free: 52.11 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004473/1.401, allocations: 271.2 kB / 0.5396 GB, free: 51.85 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0044/1.405, allocations: 0.6267 MB / 0.5402 GB, free: 51.22 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0721/1.477, allocations: 32.4 MB / 0.5718 GB, free: 15.18 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003587/1.481, allocations: 2.94 MB / 0.5747 GB, free: 12.21 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002717/1.483, allocations: 1.749 MB / 0.5764 GB, free: 10.46 MB / 394.7 MB Notification: Performance of SimCode: time 1.212e-06/1.483, allocations: 0 / 0.5764 GB, free: 10.46 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 4.129/5.612, allocations: 70.86 MB / 0.6456 GB, free: 119.2 MB / 426.7 MB