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/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo) Using package Complex with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo) Using package Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo) Using package ModelicaTest with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/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.253/2.253, allocations: 235.1 MB / 243 MB, free: 15.69 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 2.808e-05/2.805e-05, allocations: 4 kB / 303.3 MB, free: 3.34 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3447/0.3448, allocations: 54.86 MB / 358.1 MB, free: 15.64 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1732/0.518, allocations: 94.47 MB / 452.6 MB, free: 1.031 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002775/0.5184, allocations: 79.97 kB / 452.7 MB, free: 0.9531 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.6957/1.214, allocations: 95 MB / 0.5348 GB, free: 63.94 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.024e-06/1.214, allocations: 0 / 0.5348 GB, free: 63.94 MB / 410.7 MB Notification: Performance of Transformations before backend: time 0.0005502/1.215, allocations: 84 kB / 0.5349 GB, free: 63.86 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: 1018 * Number of variables: 1018 Notification: Performance of Generate backend data structure: time 0.02079/1.236, allocations: 4.085 MB / 0.5389 GB, free: 59.73 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.344e-05/1.236, allocations: 8.031 kB / 0.5389 GB, free: 59.72 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.06652/1.302, allocations: 5.997 MB / 0.5448 GB, free: 53.71 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.03974/1.342, allocations: 8.968 MB / 0.5535 GB, free: 44.77 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003742/1.342, allocations: 108.9 kB / 0.5536 GB, free: 44.66 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002102/1.345, allocations: 211.8 kB / 0.5538 GB, free: 44.45 MB / 410.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.01539/1.36, allocations: 4.075 MB / 0.5578 GB, free: 40.38 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01297/1.373, allocations: 5.845 MB / 0.5635 GB, free: 33.96 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002623/1.373, allocations: 67.39 kB / 0.5636 GB, free: 33.89 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006057/1.374, allocations: 19.94 kB / 0.5636 GB, free: 33.88 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001668/1.376, allocations: 0.5797 MB / 0.5642 GB, free: 33.29 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04168/1.417, allocations: 27.17 MB / 0.5907 GB, free: 5.375 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000624/1.418, allocations: 325.1 kB / 0.591 GB, free: 5.012 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002963/1.418, allocations: 164.4 kB / 0.5912 GB, free: 4.836 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.217e-05/1.418, allocations: 3.984 kB / 0.5912 GB, free: 4.832 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.235e-05/1.418, allocations: 42.56 kB / 0.5912 GB, free: 4.781 MB / 410.7 MB Notification: Performance of pre-optimization done (n=28): time 3.607e-06/1.418, allocations: 0 / 0.5912 GB, free: 4.781 MB / 410.7 MB Notification: Performance of matching and sorting (n=28): time 0.009174/1.428, allocations: 1.484 MB / 0.5927 GB, free: 3.285 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.685e-05/1.428, allocations: 235.3 kB / 0.5929 GB, free: 3 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.009102/1.437, allocations: 3.405 MB / 0.5962 GB, free: 15.57 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 8.878e-05/1.437, allocations: 25.7 kB / 0.5962 GB, free: 15.54 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.00363/1.441, allocations: 2.642 MB / 0.5988 GB, free: 12.87 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003644/1.441, allocations: 162.5 kB / 0.599 GB, free: 12.71 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003512/1.441, allocations: 0 / 0.599 GB, free: 12.71 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0003741/1.442, allocations: 466.2 kB / 0.5994 GB, free: 12.24 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001803/1.444, allocations: 0.6666 MB / 0.6001 GB, free: 11.57 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004616/1.448, allocations: 3.24 MB / 0.6032 GB, free: 7.016 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003545/1.452, allocations: 1.416 MB / 0.6046 GB, free: 5.598 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001079/1.452, allocations: 24 kB / 0.6046 GB, free: 5.574 MB / 426.7 MB Notification: Performance of matching and sorting (n=446) (initialization): time 0.00995/1.462, allocations: 3.133 MB / 0.6077 GB, free: 2.434 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001025/1.462, allocations: 50.5 kB / 0.6077 GB, free: 2.387 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001572/1.462, allocations: 99.94 kB / 0.6078 GB, free: 2.289 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000206/1.463, allocations: 136 kB / 0.608 GB, free: 2.156 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005104/1.468, allocations: 0.8584 MB / 0.6088 GB, free: 1.297 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001952/1.468, allocations: 179.3 kB / 0.609 GB, free: 1.121 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005892/1.474, allocations: 0.4992 MB / 0.6095 GB, free: 0.6172 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007539/1.475, allocations: 232 kB / 0.6097 GB, free: 400 kB / 426.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 () * 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.0006352/1.475, allocations: 363.8 kB / 0.61 GB, free: 24 kB / 426.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.00169/1.477, allocations: 0.5792 MB / 0.6106 GB, free: 15.43 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006654/1.478, allocations: 339.7 kB / 0.6109 GB, free: 15.1 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001238/1.479, allocations: 345.2 kB / 0.6113 GB, free: 14.75 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.113e-05/1.479, allocations: 4 kB / 0.6113 GB, free: 14.75 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.141e-05/1.479, allocations: 4 kB / 0.6113 GB, free: 14.75 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.806e-06/1.479, allocations: 3.984 kB / 0.6113 GB, free: 14.74 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009668/1.489, allocations: 3.463 MB / 0.6146 GB, free: 11.09 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.715e-05/1.489, allocations: 8 kB / 0.6147 GB, free: 11.08 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000463/1.489, allocations: 88.09 kB / 0.6147 GB, free: 10.99 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.285e-05/1.489, allocations: 16.73 kB / 0.6148 GB, free: 10.98 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.561e-05/1.489, allocations: 16 kB / 0.6148 GB, free: 10.96 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.881e-05/1.489, allocations: 19.94 kB / 0.6148 GB, free: 10.94 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.234e-05/1.489, allocations: 19.89 kB / 0.6148 GB, free: 10.92 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002498/1.492, allocations: 2.053 MB / 0.6168 GB, free: 8.281 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00128/1.493, allocations: 416.6 kB / 0.6172 GB, free: 7.852 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006444/1.494, allocations: 15.98 kB / 0.6172 GB, free: 7.836 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001858/1.496, allocations: 51.94 kB / 0.6173 GB, free: 7.785 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001263/1.496, allocations: 55.75 kB / 0.6173 GB, free: 7.73 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.451e-05/1.496, allocations: 24 kB / 0.6174 GB, free: 7.707 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.007042/1.503, allocations: 2.405 MB / 0.6197 GB, free: 5.297 MB / 442.7 MB Notification: Performance of sort global known variables: time 1.603e-06/1.503, allocations: 0 / 0.6197 GB, free: 5.297 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.005724/1.509, allocations: 0.8366 MB / 0.6205 GB, free: 4.457 MB / 442.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 43 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (43): * Single equations (assignments): 43 * 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.003916/1.513, allocations: 4.853 MB / 0.6253 GB, free: 15.29 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.004123/1.517, allocations: 1.568 MB / 0.6268 GB, free: 13.74 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 1.555e-05/1.517, allocations: 4 kB / 0.6268 GB, free: 13.73 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.00039/1.517, allocations: 159 kB / 0.6269 GB, free: 13.58 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004939/1.522, allocations: 0.5367 MB / 0.6275 GB, free: 13.04 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02467/1.547, allocations: 6.879 MB / 0.6342 GB, free: 5.98 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.007154/1.554, allocations: 2.934 MB / 0.637 GB, free: 3.016 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.004088/1.559, allocations: 1.722 MB / 0.6387 GB, free: 1.293 MB / 458.7 MB Notification: Performance of SimCode: time 1.763e-06/1.559, allocations: 0 / 0.6387 GB, free: 1.293 MB / 458.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 3.872/5.431, allocations: 65.32 MB / 0.7025 GB, free: 112.1 MB / 474.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