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.526/2.526, allocations: 234.9 MB / 250.5 MB, free: 9.555 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004414/0.0004413, allocations: 16 kB / 314.5 MB, free: 9.461 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3532/0.3537, allocations: 54.85 MB / 369.3 MB, free: 10.62 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1688/0.5226, allocations: 95.24 MB / 464.6 MB, free: 11.24 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002959/0.5229, allocations: 83.91 kB / 464.7 MB, free: 11.16 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.7035/1.226, allocations: 96.12 MB / 0.5476 GB, free: 23.06 MB / 394.7 MB Notification: Performance of FrontEnd: time 3.246e-06/1.227, allocations: 0 / 0.5476 GB, free: 23.06 MB / 394.7 MB Notification: Performance of Transformations before backend: time 0.0004255/1.227, allocations: 84 kB / 0.5477 GB, free: 22.98 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.01881/1.246, allocations: 4.767 MB / 0.5524 GB, free: 18.14 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.449e-05/1.246, allocations: 12.03 kB / 0.5524 GB, free: 18.13 MB / 394.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.002569/1.248, allocations: 0.5313 MB / 0.5529 GB, free: 17.59 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.04802/1.297, allocations: 5.986 MB / 0.5588 GB, free: 11.59 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02777/1.324, allocations: 9.021 MB / 0.5676 GB, free: 2.496 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003091/1.325, allocations: 250.5 kB / 0.5678 GB, free: 2.25 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001673/1.326, allocations: 355.7 kB / 0.5681 GB, free: 1.902 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02288/1.349, allocations: 6.861 MB / 0.5748 GB, free: 10.47 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003513/1.35, allocations: 63.39 kB / 0.5749 GB, free: 10.41 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001282/1.351, allocations: 152 kB / 0.575 GB, free: 10.26 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002063/1.353, allocations: 0.584 MB / 0.5756 GB, free: 9.672 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01928/1.372, allocations: 5.017 MB / 0.5805 GB, free: 4.648 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05432/1.427, allocations: 28.34 MB / 0.6082 GB, free: 7.531 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004239/1.431, allocations: 0.7231 MB / 0.6089 GB, free: 6.762 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.782e-05/1.431, allocations: 16.27 kB / 0.6089 GB, free: 6.746 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.529e-05/1.431, allocations: 46.56 kB / 0.609 GB, free: 6.691 MB / 442.7 MB Notification: Performance of pre-optimization done (n=37): time 3.477e-06/1.431, allocations: 0 / 0.609 GB, free: 6.691 MB / 442.7 MB Notification: Performance of matching and sorting (n=37): time 0.01444/1.446, allocations: 2.147 MB / 0.6111 GB, free: 4.531 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000191/1.446, allocations: 239.3 kB / 0.6113 GB, free: 4.242 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01308/1.459, allocations: 4.232 MB / 0.6154 GB, free: 16 kB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001403/1.459, allocations: 29.7 kB / 0.6154 GB, free: 15.98 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.003751/1.463, allocations: 2.535 MB / 0.6179 GB, free: 13.42 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003987/1.463, allocations: 190.1 kB / 0.6181 GB, free: 13.23 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003386/1.464, allocations: 72 kB / 0.6182 GB, free: 13.16 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.0003615/1.464, allocations: 462.2 kB / 0.6186 GB, free: 12.7 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002893/1.467, allocations: 0.8187 MB / 0.6194 GB, free: 11.88 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005729/1.473, allocations: 3.407 MB / 0.6227 GB, free: 7.152 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004785/1.478, allocations: 1.576 MB / 0.6243 GB, free: 5.574 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.227e-05/1.478, allocations: 32 kB / 0.6243 GB, free: 5.543 MB / 458.7 MB Notification: Performance of matching and sorting (n=446) (initialization): time 0.01248/1.49, allocations: 3.85 MB / 0.6281 GB, free: 1.688 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.36e-05/1.49, allocations: 44 kB / 0.6281 GB, free: 1.645 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001646/1.491, allocations: 92 kB / 0.6282 GB, free: 1.555 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00019/1.491, allocations: 139.9 kB / 0.6283 GB, free: 1.418 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004993/1.496, allocations: 0.8618 MB / 0.6292 GB, free: 0.5547 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002229/1.496, allocations: 180 kB / 0.6293 GB, free: 388 kB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006201/1.502, allocations: 0.6194 MB / 0.6299 GB, free: 15.75 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007793/1.503, allocations: 232 kB / 0.6302 GB, free: 15.53 MB / 474.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.004631/1.508, allocations: 1.629 MB / 0.6318 GB, free: 13.88 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001196/1.509, allocations: 383.1 kB / 0.6321 GB, free: 13.5 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001461/1.511, allocations: 397.4 kB / 0.6325 GB, free: 13.11 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.248e-05/1.511, allocations: 8.031 kB / 0.6325 GB, free: 13.11 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.137e-05/1.511, allocations: 4 kB / 0.6325 GB, free: 13.1 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.108e-05/1.511, allocations: 7.984 kB / 0.6325 GB, free: 13.09 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01241/1.523, allocations: 4.559 MB / 0.637 GB, free: 8.301 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.912e-05/1.523, allocations: 12 kB / 0.637 GB, free: 8.289 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005303/1.524, allocations: 100.1 kB / 0.6371 GB, free: 8.191 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.604e-05/1.524, allocations: 16 kB / 0.6371 GB, free: 8.176 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.914e-05/1.524, allocations: 27.95 kB / 0.6371 GB, free: 8.148 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.734e-05/1.524, allocations: 23.92 kB / 0.6371 GB, free: 8.125 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.854e-05/1.524, allocations: 19.88 kB / 0.6372 GB, free: 8.105 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003334/1.527, allocations: 2.846 MB / 0.6399 GB, free: 4.688 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001688/1.529, allocations: 487.9 kB / 0.6404 GB, free: 4.188 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009427/1.53, allocations: 27.98 kB / 0.6404 GB, free: 4.16 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002204/1.532, allocations: 67.89 kB / 0.6405 GB, free: 4.094 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001507/1.532, allocations: 71.67 kB / 0.6406 GB, free: 4.023 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.902e-05/1.532, allocations: 28 kB / 0.6406 GB, free: 3.996 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.01013/1.542, allocations: 3.141 MB / 0.6437 GB, free: 0.8633 MB / 474.7 MB Notification: Performance of sort global known variables: time 8.32e-07/1.543, allocations: 0 / 0.6437 GB, free: 0.8633 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.005563/1.548, allocations: 0.8532 MB / 0.6445 GB, free: 8 kB / 474.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 52 * 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 (52): * Single equations (assignments): 52 * 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.3642/1.912, allocations: 5.795 MB / 0.6502 GB, free: 110.3 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.005463/1.918, allocations: 1.887 MB / 0.652 GB, free: 110.3 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 1.557e-05/1.918, allocations: 5.156 kB / 0.652 GB, free: 110.3 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005371/1.918, allocations: 223.9 kB / 0.6522 GB, free: 110.3 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005212/1.924, allocations: 0.6207 MB / 0.6528 GB, free: 110.3 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.08536/2.009, allocations: 94.36 MB / 0.745 GB, free: 30.15 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005893/2.015, allocations: 2.94 MB / 0.7478 GB, free: 29.38 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003765/2.019, allocations: 1.741 MB / 0.7495 GB, free: 29.37 MB / 474.7 MB Notification: Performance of SimCode: time 1.112e-06/2.019, allocations: 0 / 0.7495 GB, free: 29.37 MB / 474.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 4.157/6.176, allocations: 69.88 MB / 0.8178 GB, free: 3.895 MB / 490.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.2_cpp_ModelicaTest.MultiBody.Parts.Bodies_res.mat does not exist to compare? outputFormat=mat