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.BodyShape.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.BodyShape,fileNamePrefix="ModelicaTest_3_2_2_cpp_ModelicaTest_MultiBody_Parts_BodyShape",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.326/2.326, allocations: 235 MB / 248.1 MB, free: 14.36 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.724e-05/3.745e-05, allocations: 4 kB / 309.8 MB, free: 1.234 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3833/0.3834, allocations: 54.85 MB / 364.6 MB, free: 5.578 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1778/0.5613, allocations: 99.47 MB / 464.1 MB, free: 12.98 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002811/0.5616, allocations: 76.77 kB / 464.2 MB, free: 12.9 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.673/1.235, allocations: 82.11 MB / 0.5335 GB, free: 104.9 MB / 458.7 MB Notification: Performance of FrontEnd: time 2.325e-06/1.235, allocations: 0 / 0.5335 GB, free: 104.9 MB / 458.7 MB Notification: Performance of Transformations before backend: time 0.0002828/1.235, allocations: 80.12 kB / 0.5335 GB, free: 104.9 MB / 458.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1491 * Number of variables: 1491 Notification: Performance of Generate backend data structure: time 0.01572/1.251, allocations: 3.923 MB / 0.5374 GB, free: 103.2 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.851e-05/1.251, allocations: 10.91 kB / 0.5374 GB, free: 103.2 MB / 458.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.003277/1.254, allocations: 0.7537 MB / 0.5381 GB, free: 103.2 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01927/1.273, allocations: 2.338 MB / 0.5404 GB, free: 102.9 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02053/1.294, allocations: 5.195 MB / 0.5455 GB, free: 102.3 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006146/1.295, allocations: 323.5 kB / 0.5458 GB, free: 102.3 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002731/1.297, allocations: 418.8 kB / 0.5462 GB, free: 102.3 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03072/1.328, allocations: 10.32 MB / 0.5563 GB, free: 99.48 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002791/1.329, allocations: 64.66 kB / 0.5563 GB, free: 99.48 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001418/1.33, allocations: 209 kB / 0.5565 GB, free: 99.48 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002118/1.332, allocations: 1.006 MB / 0.5575 GB, free: 99.46 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02466/1.357, allocations: 8.304 MB / 0.5656 GB, free: 98.85 MB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06758/1.424, allocations: 48.29 MB / 0.6128 GB, free: 61.61 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01399/1.438, allocations: 3.553 MB / 0.6162 GB, free: 60.14 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003043/1.442, allocations: 1.53 MB / 0.6177 GB, free: 59.47 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01535/1.457, allocations: 6.989 MB / 0.6246 GB, free: 55.5 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.225e-05/1.457, allocations: 51.69 kB / 0.6246 GB, free: 55.45 MB / 458.7 MB Notification: Performance of pre-optimization done (n=139): time 5.35e-06/1.457, allocations: 0 / 0.6246 GB, free: 55.45 MB / 458.7 MB Notification: Performance of matching and sorting (n=155): time 0.05195/1.509, allocations: 11.88 MB / 0.6362 GB, free: 45.86 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.001311/1.51, allocations: 1.599 MB / 0.6378 GB, free: 44.15 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006615/1.517, allocations: 3.431 MB / 0.6411 GB, free: 41.12 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0004119/1.518, allocations: 49.7 kB / 0.6412 GB, free: 41.07 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002369/1.52, allocations: 3.077 MB / 0.6442 GB, free: 38.28 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001012/1.521, allocations: 0.6343 MB / 0.6448 GB, free: 37.73 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007241/1.522, allocations: 120 kB / 0.6449 GB, free: 37.61 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.0003601/1.522, allocations: 0.564 MB / 0.6455 GB, free: 37.11 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004565/1.527, allocations: 1.961 MB / 0.6474 GB, free: 35.34 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007002/1.534, allocations: 5.739 MB / 0.653 GB, free: 27.99 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.007044/1.541, allocations: 3.321 MB / 0.6562 GB, free: 25.14 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.86e-05/1.541, allocations: 40 kB / 0.6563 GB, free: 25.1 MB / 458.7 MB Notification: Performance of matching and sorting (n=785) (initialization): time 0.02162/1.563, allocations: 8.124 MB / 0.6642 GB, free: 18.08 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 8.98e-05/1.563, allocations: 67.84 kB / 0.6643 GB, free: 18.02 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.007912/1.571, allocations: 2.51 MB / 0.6667 GB, free: 15.97 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005963/1.577, allocations: 1.139 MB / 0.6678 GB, free: 14.83 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008393/1.585, allocations: 1.38 MB / 0.6692 GB, free: 13.45 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007031/1.592, allocations: 4.659 MB / 0.6737 GB, free: 8.523 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006868/1.599, allocations: 387.3 kB / 0.6741 GB, free: 8.145 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001167/1.6, allocations: 380 kB / 0.6745 GB, free: 7.773 MB / 458.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 616 * Number of states: 0 () * Number of discrete variables: 36 (freeMotion.arrowColor[3],freeMotion.arrowColor[2],freeMotion.arrowColor[1],spring2.color[3],spring2.color[2],spring2.color[1],spring2.massColor[3],spring2.massColor[2],spring2.massColor[1],body.color[3],body.color[2],body.color[1],body.body.sphereColor[3],body.body.sphereColor[2],body.body.sphereColor[1],body.frameTranslation.color[3],body.frameTranslation.color[2],body.frameTranslation.color[1],spring1.color[3],spring1.color[2],spring1.color[1],spring1.massColor[3],spring1.massColor[2],spring1.massColor[1],bar2.color[3],bar2.color[2],bar2.color[1],world.gravityArrowColor[3],world.gravityArrowColor[2],world.gravityArrowColor[1],world.axisColor_x[3],world.axisColor_x[2],world.axisColor_x[1],world.gravitySphereColor[3],world.gravitySphereColor[2],world.gravitySphereColor[1]) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (747): * Single equations (assignments): 738 * Array equations: 5 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 3 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 2 {(4,100.0%),(3,100.0%)} * Non-linear Jacobian: 1 {4} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(2,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.001256/1.602, allocations: 0.5676 MB / 0.675 GB, free: 7.203 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008445/1.602, allocations: 339.6 kB / 0.6753 GB, free: 6.867 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009135/1.612, allocations: 2.918 MB / 0.6782 GB, free: 3.93 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.007832/1.619, allocations: 2.437 MB / 0.6806 GB, free: 1.473 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.008e-05/1.62, allocations: 8 kB / 0.6806 GB, free: 1.465 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.286e-05/1.62, allocations: 7.969 kB / 0.6806 GB, free: 1.457 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03085/1.65, allocations: 9.182 MB / 0.6896 GB, free: 8.145 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.661e-05/1.651, allocations: 4.375 kB / 0.6896 GB, free: 8.141 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002581/1.653, allocations: 255.6 kB / 0.6898 GB, free: 7.891 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.006073/1.659, allocations: 1.006 MB / 0.6908 GB, free: 6.871 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004369/1.66, allocations: 43.98 kB / 0.6908 GB, free: 6.828 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009713/1.67, allocations: 4.838 MB / 0.6955 GB, free: 1.73 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.001539/1.671, allocations: 1.446 MB / 0.697 GB, free: 152 kB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01521/1.686, allocations: 5.555 MB / 0.7024 GB, free: 10.47 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001431/1.688, allocations: 396.6 kB / 0.7028 GB, free: 10.06 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001098/1.689, allocations: 39.92 kB / 0.7028 GB, free: 10.02 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00324/1.692, allocations: 127.8 kB / 0.7029 GB, free: 9.895 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005887/1.693, allocations: 104.5 kB / 0.703 GB, free: 9.793 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002088/1.693, allocations: 47.98 kB / 0.7031 GB, free: 9.746 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.006942/1.7, allocations: 2.369 MB / 0.7054 GB, free: 7.398 MB / 490.7 MB Notification: Performance of sort global known variables: time 1.352e-06/1.7, allocations: 4 kB / 0.7054 GB, free: 7.395 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.007628/1.708, allocations: 1.019 MB / 0.7064 GB, free: 6.375 MB / 490.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 16 * Number of states: 12 ($STATESET1.x[3],$STATESET1.x[2],$STATESET1.x[1],freeMotion.r_rel_a[1],freeMotion.r_rel_a[2],freeMotion.r_rel_a[3],freeMotion.v_rel_a[1],freeMotion.v_rel_a[2],freeMotion.v_rel_a[3],freeMotion.w_rel_b[1],freeMotion.w_rel_b[2],freeMotion.w_rel_b[3]) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (124): * Single equations (assignments): 117 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 3 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 2 {(4,100.0%),(3,100.0%)} * Non-linear Jacobian: 1 {4} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(2,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.3658/2.074, allocations: 7.019 MB / 0.7132 GB, free: 122.1 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.01547/2.089, allocations: 5.353 MB / 0.7185 GB, free: 121.7 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 1.068e-05/2.089, allocations: 1.281 kB / 0.7185 GB, free: 121.7 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.007279/2.096, allocations: 2.095 MB / 0.7205 GB, free: 121.2 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003602/2.1, allocations: 413.9 kB / 0.7209 GB, free: 121.2 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03159/2.132, allocations: 9.627 MB / 0.7303 GB, free: 119.4 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006291/2.138, allocations: 3.295 MB / 0.7335 GB, free: 118.6 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.004134/2.142, allocations: 1.895 MB / 0.7354 GB, free: 118.6 MB / 490.7 MB Notification: Performance of SimCode: time 1.983e-06/2.142, allocations: 0 / 0.7354 GB, free: 118.6 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 4.508/6.651, allocations: 147.7 MB / 0.8796 GB, free: 10.27 MB / 490.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.2_cpp_ModelicaTest.MultiBody.Parts.BodyShape_res.mat does not exist to compare? outputFormat=mat