Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr ModelicaTest_3.2.2_cpp_ModelicaTest.MultiBody.Parts.Bodies.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.MultiBody.Parts.Bodies,fileNamePrefix="ModelicaTest_3_2_2_cpp_ModelicaTest_MultiBody_Parts_Bodies",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.289/2.289, allocations: 234.9 MB / 250.5 MB, free: 10.53 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004283/0.0004286, allocations: 8 kB / 314.4 MB, free: 10.49 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3413/0.3417, allocations: 54.88 MB / 369.3 MB, free: 10.84 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Parts.Bodies): time 0.08755/0.4293, allocations: 57.95 MB / 427.2 MB, free: 0.7344 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.03692/0.4663, allocations: 13.4 MB / 440.6 MB, free: 3.293 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01165/0.478, allocations: 295.2 kB / 440.9 MB, free: 3.004 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.01022/0.4883, allocations: 2.94 MB / 443.8 MB, free: 52 kB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.03183/0.5202, allocations: 8.513 MB / 452.4 MB, free: 7.516 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.005436/0.5257, allocations: 0.9205 MB / 453.3 MB, free: 6.594 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.05352/0.5793, allocations: 18.07 MB / 471.3 MB, free: 4.504 MB / 394.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.008935/0.5883, allocations: 4.2 MB / 475.5 MB, free: 256 kB / 394.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.3364/0.9247, allocations: 1.267 MB / 476.8 MB, free: 20.71 MB / 394.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004636/0.9294, allocations: 1.852 MB / 478.7 MB, free: 20.71 MB / 394.7 MB Notification: Performance of NFPackage.collectConstants: time 0.001429/0.9309, allocations: 139.4 kB / 478.8 MB, free: 20.71 MB / 394.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003037/0.9339, allocations: 0.6158 MB / 479.4 MB, free: 20.71 MB / 394.7 MB Notification: Performance of NFScalarize.scalarize: time 0.003691/0.9377, allocations: 1.908 MB / 481.3 MB, free: 20.71 MB / 394.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001849/0.9396, allocations: 0.8035 MB / 482.1 MB, free: 20.68 MB / 394.7 MB Notification: Performance of NFConvertDAE.convert: time 0.008148/0.9477, allocations: 5.453 MB / 487.6 MB, free: 20.31 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.319e-06/0.9478, allocations: 0 / 487.6 MB, free: 20.31 MB / 394.7 MB Notification: Performance of FrontEnd: time 2.866e-06/0.9478, allocations: 0 / 487.6 MB, free: 20.31 MB / 394.7 MB Notification: Performance of Transformations before backend: time 0.0002285/0.9481, allocations: 0 / 487.6 MB, free: 20.31 MB / 394.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.01804/0.9661, allocations: 4.661 MB / 492.2 MB, free: 18.36 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.029e-05/0.9662, allocations: 10.31 kB / 492.3 MB, free: 18.36 MB / 394.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.002103/0.9683, allocations: 0.5134 MB / 492.8 MB, free: 18.3 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.211/1.179, allocations: 9.967 MB / 0.491 GB, free: 16.21 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01465/1.194, allocations: 5.275 MB / 0.4961 GB, free: 14.75 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002626/1.194, allocations: 209.8 kB / 0.4963 GB, free: 14.74 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001393/1.196, allocations: 290.2 kB / 0.4966 GB, free: 14.73 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01883/1.215, allocations: 6.997 MB / 0.5034 GB, free: 11.48 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002313/1.215, allocations: 60.2 kB / 0.5035 GB, free: 11.45 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005067/1.215, allocations: 121.8 kB / 0.5036 GB, free: 11.41 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002307/1.218, allocations: 0.9962 MB / 0.5046 GB, free: 10.6 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0164/1.234, allocations: 5.024 MB / 0.5095 GB, free: 7.109 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04917/1.283, allocations: 27.48 MB / 0.5363 GB, free: 15.19 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004199/1.288, allocations: 0.7397 MB / 0.537 GB, free: 14.52 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.087e-05/1.288, allocations: 9.719 kB / 0.537 GB, free: 14.51 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.015e-05/1.288, allocations: 45.75 kB / 0.5371 GB, free: 14.46 MB / 426.7 MB Notification: Performance of pre-optimization done (n=37): time 3.296e-06/1.288, allocations: 4 kB / 0.5371 GB, free: 14.46 MB / 426.7 MB Notification: Performance of matching and sorting (n=37): time 0.01418/1.302, allocations: 2.254 MB / 0.5393 GB, free: 12.44 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000139/1.302, allocations: 241.5 kB / 0.5395 GB, free: 12.16 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01294/1.315, allocations: 5.361 MB / 0.5448 GB, free: 8.176 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.000107/1.315, allocations: 28.95 kB / 0.5448 GB, free: 8.145 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.003345/1.319, allocations: 2.54 MB / 0.5473 GB, free: 6.418 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004053/1.319, allocations: 188 kB / 0.5474 GB, free: 6.273 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000252/1.319, allocations: 74.25 kB / 0.5475 GB, free: 6.258 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0003168/1.32, allocations: 458.1 kB / 0.5479 GB, free: 5.855 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002238/1.322, allocations: 0.7697 MB / 0.5487 GB, free: 5.297 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004427/1.326, allocations: 3.385 MB / 0.552 GB, free: 0.9922 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003985/1.33, allocations: 1.522 MB / 0.5535 GB, free: 15.98 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.256e-05/1.331, allocations: 28 kB / 0.5535 GB, free: 15.96 MB / 442.7 MB Notification: Performance of matching and sorting (n=446) (initialization): time 0.01087/1.341, allocations: 3.769 MB / 0.5572 GB, free: 13.5 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.823e-05/1.342, allocations: 45.97 kB / 0.5572 GB, free: 13.46 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001521/1.342, allocations: 96 kB / 0.5573 GB, free: 13.37 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000191/1.342, allocations: 132 kB / 0.5575 GB, free: 13.24 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004652/1.347, allocations: 0.8476 MB / 0.5583 GB, free: 12.5 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002011/1.347, allocations: 185.5 kB / 0.5585 GB, free: 12.36 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005462/1.352, allocations: 0.5571 MB / 0.559 GB, free: 11.86 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006368/1.353, allocations: 235.8 kB / 0.5592 GB, free: 11.66 MB / 442.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.00401/1.357, allocations: 1.627 MB / 0.5608 GB, free: 10.6 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001165/1.358, allocations: 385.6 kB / 0.5612 GB, free: 10.22 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001101/1.359, allocations: 401 kB / 0.5616 GB, free: 9.926 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.026e-05/1.359, allocations: 5.688 kB / 0.5616 GB, free: 9.922 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.174e-05/1.359, allocations: 8 kB / 0.5616 GB, free: 9.914 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.604e-06/1.359, allocations: 0 / 0.5616 GB, free: 9.914 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01127/1.371, allocations: 4.814 MB / 0.5663 GB, free: 6.02 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.014e-05/1.371, allocations: 12 kB / 0.5663 GB, free: 6.008 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006131/1.371, allocations: 119.8 kB / 0.5664 GB, free: 5.906 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.334e-05/1.371, allocations: 20 kB / 0.5664 GB, free: 5.887 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.29e-05/1.372, allocations: 26.69 kB / 0.5665 GB, free: 5.867 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.782e-05/1.372, allocations: 26.64 kB / 0.5665 GB, free: 5.848 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.226e-05/1.372, allocations: 27.27 kB / 0.5665 GB, free: 5.828 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002439/1.374, allocations: 1.233 MB / 0.5677 GB, free: 4.551 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001859/1.376, allocations: 0.5118 MB / 0.5682 GB, free: 4.062 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001158/1.377, allocations: 32.23 kB / 0.5682 GB, free: 4.039 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00224/1.379, allocations: 36.23 kB / 0.5683 GB, free: 4.012 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001778/1.38, allocations: 92.05 kB / 0.5684 GB, free: 3.941 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.622e-05/1.38, allocations: 32.5 kB / 0.5684 GB, free: 3.914 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.009502/1.389, allocations: 3.611 MB / 0.5719 GB, free: 1.312 MB / 442.7 MB Notification: Performance of sort global known variables: time 7.82e-07/1.389, allocations: 0 / 0.5719 GB, free: 1.312 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.005389/1.395, allocations: 0.8566 MB / 0.5728 GB, free: 0.5195 MB / 442.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.003091/1.398, allocations: 1.844 MB / 0.5746 GB, free: 14.66 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.004948/1.403, allocations: 1.879 MB / 0.5764 GB, free: 13.4 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 1.792e-05/1.403, allocations: 5.969 kB / 0.5764 GB, free: 13.4 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006431/1.403, allocations: 263.2 kB / 0.5767 GB, free: 13.23 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005205/1.409, allocations: 0.6181 MB / 0.5773 GB, free: 12.8 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.08771/1.496, allocations: 32.4 MB / 0.6089 GB, free: 13.34 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005357/1.502, allocations: 2.947 MB / 0.6118 GB, free: 10.71 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003834/1.506, allocations: 1.749 MB / 0.6135 GB, free: 8.957 MB / 490.7 MB Notification: Performance of SimCode: time 1.102e-06/1.506, allocations: 0 / 0.6135 GB, free: 8.957 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 4.197/5.703, allocations: 70.87 MB / 0.6827 GB, free: 186 MB / 0.5105 GB