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 2.216/2.216, allocations: 209.2 MB / 224.8 MB, free: 0.6094 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0006013/0.0006013, allocations: 8 kB / 282.7 MB, free: 9.555 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3465/0.3472, allocations: 48.69 MB / 331.4 MB, free: 6.398 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1606/0.5079, allocations: 88.54 MB / 419.9 MB, free: 5.738 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003094/0.5082, allocations: 75.97 kB / 420 MB, free: 5.664 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.687/1.195, allocations: 96.13 MB / 0.504 GB, free: 87.48 MB / 394.7 MB Notification: Performance of FrontEnd: time 3.146e-06/1.195, allocations: 0 / 0.504 GB, free: 87.48 MB / 394.7 MB Notification: Performance of Transformations before backend: time 0.0004146/1.196, allocations: 79.47 kB / 0.5041 GB, free: 87.48 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.01923/1.215, allocations: 4.784 MB / 0.5088 GB, free: 84.36 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.172e-05/1.215, allocations: 9.469 kB / 0.5088 GB, free: 84.36 MB / 394.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.002632/1.218, allocations: 0.5362 MB / 0.5093 GB, free: 83.98 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.04641/1.264, allocations: 5.985 MB / 0.5151 GB, free: 80.97 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02864/1.293, allocations: 9.021 MB / 0.5239 GB, free: 72.09 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000332/1.293, allocations: 260.6 kB / 0.5242 GB, free: 71.85 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001836/1.295, allocations: 348.7 kB / 0.5245 GB, free: 71.52 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02269/1.318, allocations: 6.866 MB / 0.5312 GB, free: 64.12 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003515/1.318, allocations: 67.44 kB / 0.5313 GB, free: 64.05 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001291/1.32, allocations: 153.1 kB / 0.5314 GB, free: 63.92 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001901/1.321, allocations: 0.584 MB / 0.532 GB, free: 63.33 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01796/1.339, allocations: 5.013 MB / 0.5369 GB, free: 58.31 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04619/1.386, allocations: 28.35 MB / 0.5646 GB, free: 29.32 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003991/1.39, allocations: 0.7153 MB / 0.5653 GB, free: 28.55 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.94e-05/1.39, allocations: 10.97 kB / 0.5653 GB, free: 28.55 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.75e-05/1.39, allocations: 46.55 kB / 0.5653 GB, free: 28.49 MB / 394.7 MB Notification: Performance of pre-optimization done (n=37): time 4.198e-06/1.39, allocations: 4 kB / 0.5653 GB, free: 28.49 MB / 394.7 MB Notification: Performance of matching and sorting (n=37): time 0.01354/1.404, allocations: 2.136 MB / 0.5674 GB, free: 26.34 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.877e-05/1.404, allocations: 243.2 kB / 0.5677 GB, free: 26.05 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01199/1.416, allocations: 4.24 MB / 0.5718 GB, free: 21.82 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001104/1.416, allocations: 29.7 kB / 0.5718 GB, free: 21.78 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002787/1.419, allocations: 2.534 MB / 0.5743 GB, free: 19.25 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003266/1.419, allocations: 195.9 kB / 0.5745 GB, free: 19.06 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002831/1.419, allocations: 68.38 kB / 0.5746 GB, free: 19 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0002168/1.42, allocations: 466.2 kB / 0.575 GB, free: 18.53 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002488/1.422, allocations: 0.8148 MB / 0.5758 GB, free: 17.71 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004165/1.426, allocations: 3.411 MB / 0.5791 GB, free: 12.98 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004053/1.43, allocations: 1.572 MB / 0.5807 GB, free: 11.41 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.495e-05/1.43, allocations: 28 kB / 0.5807 GB, free: 11.38 MB / 394.7 MB Notification: Performance of matching and sorting (n=446) (initialization): time 0.01111/1.442, allocations: 3.851 MB / 0.5844 GB, free: 7.527 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 7.676e-05/1.442, allocations: 44 kB / 0.5845 GB, free: 7.484 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001054/1.442, allocations: 92 kB / 0.5846 GB, free: 7.395 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001343/1.442, allocations: 136 kB / 0.5847 GB, free: 7.262 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004534/1.447, allocations: 0.8579 MB / 0.5855 GB, free: 6.402 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001642/1.447, allocations: 183.4 kB / 0.5857 GB, free: 6.223 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006088/1.453, allocations: 0.6271 MB / 0.5863 GB, free: 5.59 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007223/1.454, allocations: 232 kB / 0.5865 GB, free: 5.363 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.004168/1.458, allocations: 1.631 MB / 0.5881 GB, free: 3.723 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0011/1.459, allocations: 379.1 kB / 0.5885 GB, free: 3.348 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001347/1.46, allocations: 397.4 kB / 0.5889 GB, free: 2.957 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.558e-06/1.46, allocations: 4 kB / 0.5889 GB, free: 2.953 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.979e-06/1.46, allocations: 4 kB / 0.5889 GB, free: 2.949 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.072e-05/1.46, allocations: 7.984 kB / 0.5889 GB, free: 2.941 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01169/1.472, allocations: 4.551 MB / 0.5933 GB, free: 14.16 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.377e-05/1.472, allocations: 19.98 kB / 0.5934 GB, free: 14.14 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005312/1.473, allocations: 103.8 kB / 0.5935 GB, free: 14.04 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.627e-05/1.473, allocations: 16 kB / 0.5935 GB, free: 14.03 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.715e-05/1.473, allocations: 20 kB / 0.5935 GB, free: 14.01 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.01e-05/1.473, allocations: 23.92 kB / 0.5935 GB, free: 13.98 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2e-05/1.473, allocations: 19.88 kB / 0.5935 GB, free: 13.96 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003152/1.476, allocations: 2.842 MB / 0.5963 GB, free: 10.55 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001939/1.478, allocations: 0.4999 MB / 0.5968 GB, free: 10.03 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00116/1.479, allocations: 43.81 kB / 0.5968 GB, free: 9.984 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002535/1.482, allocations: 63.94 kB / 0.5969 GB, free: 9.922 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001813/1.482, allocations: 67.73 kB / 0.597 GB, free: 9.855 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.059e-05/1.482, allocations: 28 kB / 0.597 GB, free: 9.828 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0104/1.492, allocations: 3.141 MB / 0.6001 GB, free: 6.695 MB / 410.7 MB Notification: Performance of sort global known variables: time 9.52e-07/1.493, allocations: 0 / 0.6001 GB, free: 6.695 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.00569/1.498, allocations: 0.8532 MB / 0.6009 GB, free: 5.84 MB / 410.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.004635/1.503, allocations: 5.805 MB / 0.6066 GB, free: 15.66 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.00584/1.509, allocations: 1.887 MB / 0.6084 GB, free: 13.79 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 1.757e-05/1.509, allocations: 0 / 0.6084 GB, free: 13.79 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006127/1.51, allocations: 230.5 kB / 0.6086 GB, free: 13.57 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005866/1.515, allocations: 0.6217 MB / 0.6092 GB, free: 12.94 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.4047/1.92, allocations: 94.34 MB / 0.7014 GB, free: 34.02 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.008762/1.929, allocations: 2.938 MB / 0.7042 GB, free: 33.25 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.005539/1.935, allocations: 1.739 MB / 0.7059 GB, free: 33.25 MB / 426.7 MB Notification: Performance of SimCode: time 2.364e-06/1.935, allocations: 3.375 kB / 0.7059 GB, free: 33.25 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 4.24/6.174, allocations: 69.87 MB / 0.7742 GB, free: 8.645 MB / 442.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.1_cpp_ModelicaTest.MultiBody.Parts.Bodies_res.mat does not exist to compare? outputFormat=mat