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.FlyingBodies.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.FlyingBodies,fileNamePrefix="ModelicaTest_3_2_1_cpp_ModelicaTest_MultiBody_Parts_FlyingBodies",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.17/2.17, allocations: 209.2 MB / 224.8 MB, free: 0.6289 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004535/0.0004536, allocations: 11.94 kB / 282.7 MB, free: 9.566 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3566/0.3571, allocations: 48.7 MB / 331.4 MB, free: 6.398 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1667/0.5239, allocations: 89.87 MB / 421.2 MB, free: 4.418 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003028/0.5243, allocations: 75.95 kB / 421.3 MB, free: 4.344 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.06/1.584, allocations: 196.3 MB / 0.6032 GB, free: 6.516 MB / 410.7 MB Notification: Performance of FrontEnd: time 4.789e-06/1.584, allocations: 7.938 kB / 0.6032 GB, free: 6.508 MB / 410.7 MB Notification: Performance of Transformations before backend: time 0.0005678/1.585, allocations: 156 kB / 0.6033 GB, free: 6.355 MB / 410.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 3302 * Number of variables: 3302 Notification: Performance of Generate backend data structure: time 0.06998/1.655, allocations: 10.13 MB / 0.6132 GB, free: 12.13 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.533e-05/1.655, allocations: 12.03 kB / 0.6132 GB, free: 12.12 MB / 426.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.009192/1.664, allocations: 1.655 MB / 0.6149 GB, free: 10.45 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.7621/2.426, allocations: 11.98 MB / 0.6266 GB, free: 58.35 MB / 426.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.04371/2.47, allocations: 11.9 MB / 0.6382 GB, free: 58.08 MB / 426.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001041/2.471, allocations: 0.625 MB / 0.6388 GB, free: 58.06 MB / 426.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.005968/2.477, allocations: 0.8421 MB / 0.6396 GB, free: 58.05 MB / 426.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.06387/2.541, allocations: 21.74 MB / 0.6608 GB, free: 55.17 MB / 426.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0005713/2.542, allocations: 77.72 kB / 0.6609 GB, free: 55.16 MB / 426.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.004445/2.546, allocations: 380.8 kB / 0.6613 GB, free: 55.16 MB / 426.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.005318/2.552, allocations: 2.462 MB / 0.6637 GB, free: 55.12 MB / 426.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.05949/2.611, allocations: 21.25 MB / 0.6844 GB, free: 52.77 MB / 426.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1825/2.794, allocations: 80.95 MB / 0.7635 GB, free: 10.94 MB / 442.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.03288/2.827, allocations: 9.748 MB / 0.773 GB, free: 2.195 MB / 442.8 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0007577/2.827, allocations: 80.17 kB / 0.7731 GB, free: 2.137 MB / 442.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.869e-05/2.827, allocations: 82.56 kB / 0.7732 GB, free: 2.047 MB / 442.8 MB Notification: Performance of pre-optimization done (n=583): time 9.709e-06/2.827, allocations: 3.469 kB / 0.7732 GB, free: 2.047 MB / 442.8 MB Notification: Performance of matching and sorting (n=611): time 0.4766/3.304, allocations: 43.25 MB / 0.8154 GB, free: 78.73 MB / 458.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.004823/3.309, allocations: 6.196 MB / 0.8214 GB, free: 73 MB / 458.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01479/3.324, allocations: 5.746 MB / 0.8271 GB, free: 72.5 MB / 458.8 MB Notification: Performance of collectPreVariables (initialization): time 0.001603/3.325, allocations: 106.5 kB / 0.8272 GB, free: 72.46 MB / 458.8 MB Notification: Performance of collectInitialEqns (initialization): time 0.005422/3.331, allocations: 5.66 MB / 0.8327 GB, free: 69.42 MB / 458.8 MB Notification: Performance of collectInitialBindings (initialization): time 0.004128/3.335, allocations: 2.25 MB / 0.8349 GB, free: 68.07 MB / 458.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00211/3.337, allocations: 240.2 kB / 0.8351 GB, free: 68.07 MB / 458.8 MB Notification: Performance of setup shared object (initialization): time 0.001083/3.338, allocations: 0.8505 MB / 0.8359 GB, free: 67.73 MB / 458.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01585/3.354, allocations: 6.363 MB / 0.8422 GB, free: 67.7 MB / 458.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.02057/3.375, allocations: 12.56 MB / 0.8544 GB, free: 59.93 MB / 458.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.02091/3.396, allocations: 8.945 MB / 0.8632 GB, free: 58.68 MB / 458.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002594/3.396, allocations: 61.59 kB / 0.8632 GB, free: 58.68 MB / 458.8 MB Notification: Performance of matching and sorting (n=1637) (initialization): time 0.06492/3.461, allocations: 21.2 MB / 0.8839 GB, free: 51.87 MB / 458.8 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001781/3.461, allocations: 99.67 kB / 0.884 GB, free: 51.86 MB / 458.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.04162/3.503, allocations: 12.99 MB / 0.8967 GB, free: 47.81 MB / 458.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.02082/3.524, allocations: 3.232 MB / 0.8999 GB, free: 47.33 MB / 458.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.02042/3.544, allocations: 2.987 MB / 0.9028 GB, free: 47.01 MB / 458.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01158/3.556, allocations: 10.58 MB / 0.9131 GB, free: 37.37 MB / 458.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01792/3.574, allocations: 1.104 MB / 0.9142 GB, free: 36.59 MB / 458.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00337/3.577, allocations: 0.665 MB / 0.9148 GB, free: 35.95 MB / 458.8 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 972 * Number of states: 0 () * Number of discrete variables: 45 (fixedFrame3.color_x[3],fixedFrame3.color_x[2],fixedFrame3.color_x[1],fixedFrame2.color_x[3],fixedFrame2.color_x[2],fixedFrame2.color_x[1],fixedFrame1.color_x[3],fixedFrame1.color_x[2],fixedFrame1.color_x[1],fixedFrame.color_x[3],fixedFrame.color_x[2],fixedFrame.color_x[1],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],body1.sphereColor[3],body1.sphereColor[2],body1.sphereColor[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]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1501): * Single equations (assignments): 1467 * Array equations: 20 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 12 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 8 {(4,100.0%),(3,100.0%),(4,100.0%),(3,100.0%),(4,100.0%),(3,100.0%),(4,100.0%),(3,100.0%)} * Non-linear Jacobian: 4 {1,1,1,1} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(2,100.0%) 1,(2,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.01476/3.592, allocations: 4.493 MB / 0.9192 GB, free: 32.09 MB / 458.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.003117/3.595, allocations: 0.6503 MB / 0.9199 GB, free: 31.43 MB / 458.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.05727/3.653, allocations: 14.66 MB / 0.9342 GB, free: 19.59 MB / 458.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.05933/3.712, allocations: 13.12 MB / 0.947 GB, free: 8.777 MB / 458.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.752e-05/3.712, allocations: 4 kB / 0.947 GB, free: 8.773 MB / 458.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001847/3.712, allocations: 28.7 kB / 0.947 GB, free: 8.77 MB / 458.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.4483/4.161, allocations: 33.54 MB / 0.9798 GB, free: 69.56 MB / 458.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.15e-05/4.161, allocations: 7.562 kB / 0.9798 GB, free: 69.56 MB / 458.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.01064/4.171, allocations: 1.138 MB / 0.9809 GB, free: 69.56 MB / 458.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.02333/4.195, allocations: 3.613 MB / 0.9844 GB, free: 69.45 MB / 458.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001747/4.196, allocations: 158 kB / 0.9846 GB, free: 69.45 MB / 458.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02124/4.218, allocations: 13.9 MB / 0.9981 GB, free: 61.73 MB / 458.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.004528/4.222, allocations: 5.945 MB / 1.004 GB, free: 56.29 MB / 458.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.06239/4.285, allocations: 23.73 MB / 1.027 GB, free: 53.01 MB / 458.8 MB Notification: Performance of postOpt removeConstants (simulation): time 0.007444/4.292, allocations: 1.734 MB / 1.029 GB, free: 52.53 MB / 458.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.004425/4.297, allocations: 132 kB / 1.029 GB, free: 52.46 MB / 458.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01069/4.308, allocations: 0.5998 MB / 1.03 GB, free: 52.4 MB / 458.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00252/4.31, allocations: 375.2 kB / 1.03 GB, free: 52.35 MB / 458.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.001667/4.312, allocations: 157 kB / 1.03 GB, free: 52.32 MB / 458.8 MB Notification: Performance of sorting global known variables: time 0.01208/4.324, allocations: 4.003 MB / 1.034 GB, free: 51.02 MB / 458.8 MB Notification: Performance of sort global known variables: time 1.001e-06/4.324, allocations: 0 / 1.034 GB, free: 51.02 MB / 458.8 MB Notification: Performance of remove unused functions: time 0.01653/4.341, allocations: 2.522 MB / 1.036 GB, free: 50.77 MB / 458.8 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 44 * Number of states: 48 ($STATESET4.x[3],$STATESET4.x[2],$STATESET4.x[1],bodyCylinder.v_0[1],bodyCylinder.v_0[2],bodyCylinder.v_0[3],bodyCylinder.body.frame_a.r_0[1],bodyCylinder.body.frame_a.r_0[2],bodyCylinder.body.frame_a.r_0[3],bodyCylinder.body.w_a[1],bodyCylinder.body.w_a[2],bodyCylinder.body.w_a[3],$STATESET3.x[3],$STATESET3.x[2],$STATESET3.x[1],BodyBox1.v_0[1],BodyBox1.v_0[2],BodyBox1.v_0[3],BodyBox1.body.frame_a.r_0[1],BodyBox1.body.frame_a.r_0[2],BodyBox1.body.frame_a.r_0[3],BodyBox1.body.w_a[1],BodyBox1.body.w_a[2],BodyBox1.body.w_a[3],$STATESET2.x[3],$STATESET2.x[2],$STATESET2.x[1],bodyShape.v_0[1],bodyShape.v_0[2],bodyShape.v_0[3],bodyShape.body.frame_a.r_0[1],bodyShape.body.frame_a.r_0[2],bodyShape.body.frame_a.r_0[3],bodyShape.body.w_a[1],bodyShape.body.w_a[2],bodyShape.body.w_a[3],$STATESET1.x[3],$STATESET1.x[2],$STATESET1.x[1],body1.frame_a.r_0[1],body1.frame_a.r_0[2],body1.frame_a.r_0[3],body1.v_0[1],body1.v_0[2],body1.v_0[3],body1.w_a[1],body1.w_a[2],body1.w_a[3]) * 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 (475): * Single equations (assignments): 449 * Array equations: 12 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 12 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 8 {(3,100.0%),(4,100.0%),(3,100.0%),(4,100.0%),(3,100.0%),(4,100.0%),(3,100.0%),(4,100.0%)} * Non-linear Jacobian: 4 {4,4,4,4} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(2,100.0%) 1,(2,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.06576/4.406, allocations: 26.34 MB / 1.062 GB, free: 38.85 MB / 458.8 MB Notification: Performance of simCode: created initialization part: time 0.03916/4.446, allocations: 16.38 MB / 1.078 GB, free: 27.39 MB / 458.8 MB Notification: Performance of simCode: created event and clocks part: time 1.735e-05/4.446, allocations: 4 kB / 1.078 GB, free: 27.38 MB / 458.8 MB Notification: Performance of simCode: created simulation system equations: time 0.02155/4.467, allocations: 8.224 MB / 1.086 GB, free: 20.06 MB / 458.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.008564/4.476, allocations: 0.8742 MB / 1.087 GB, free: 19.34 MB / 458.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.6299/5.106, allocations: 239.9 MB / 1.321 GB, free: 17.58 MB / 0.5418 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01702/5.123, allocations: 6.826 MB / 1.328 GB, free: 16.66 MB / 0.5418 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.01308/5.136, allocations: 4.445 MB / 1.332 GB, free: 16.23 MB / 0.5418 GB Notification: Performance of SimCode: time 1.643e-06/5.136, allocations: 0 / 1.332 GB, free: 16.23 MB / 0.5418 GB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 10.03/15.17, allocations: 0.7114 GB / 2.044 GB, free: 102.8 MB / 0.5418 GB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.1_cpp_ModelicaTest.MultiBody.Parts.FlyingBodies_res.mat does not exist to compare? outputFormat=mat