Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.MultiBody.Parts.Bodies.conf.json Using package ModelicaTest with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaTest 3.2.1/package.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 Complex with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.1.mo) Using package ModelicaServices with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.1/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.MultiBody.Parts.Bodies,fileNamePrefix="ModelicaTest_3_2_1_ModelicaTest_MultiBody_Parts_Bodies",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.1/package.mo): time 0.0112/0.01121, allocations: 104.8 kB / 15.05 MB, free: 5.555 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.1.mo): time 0.001171/0.001171, allocations: 171.1 kB / 15.93 MB, free: 5.527 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.1/package.mo): time 1.653/1.653, allocations: 170.9 MB / 187.5 MB, free: 0.9805 MB / 154.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaTest 3.2.1/package.mo): time 0.2476/0.2476, allocations: 38.09 MB / 265.1 MB, free: 3.965 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004698/0.0004701, allocations: 12 kB / 323.6 MB, free: 29.65 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09719/0.0977, allocations: 48.71 MB / 372.3 MB, free: 12.85 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Parts.Bodies): time 0.08602/0.1838, allocations: 57.93 MB / 430.2 MB, free: 2.777 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.324/0.5078, allocations: 13.39 MB / 443.6 MB, free: 8.867 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01535/0.5232, allocations: 294.6 kB / 443.9 MB, free: 8.867 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0112/0.5345, allocations: 2.943 MB / 446.8 MB, free: 8.863 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.03579/0.5703, allocations: 8.509 MB / 455.4 MB, free: 6.93 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.006054/0.5764, allocations: 0.9296 MB / 456.3 MB, free: 6.68 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.05055/0.6271, allocations: 17.99 MB / 474.3 MB, free: 0.5664 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.008929/0.636, allocations: 4.205 MB / 478.5 MB, free: 13.46 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003552/0.6397, allocations: 1.246 MB / 479.7 MB, free: 12.48 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004219/0.6439, allocations: 1.828 MB / 481.6 MB, free: 10.95 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 0.001021/0.645, allocations: 136 kB / 481.7 MB, free: 10.82 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00274/0.6478, allocations: 0.6149 MB / 482.3 MB, free: 10.3 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 0.00363/0.6514, allocations: 1.909 MB / 484.2 MB, free: 8.707 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001763/0.6532, allocations: 0.8064 MB / 485 MB, free: 8.215 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.009179/0.6625, allocations: 5.443 MB / 490.5 MB, free: 3.473 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.547e-06/0.6625, allocations: 1.203 kB / 490.5 MB, free: 3.473 MB / 346.7 MB Notification: Performance of FrontEnd: time 2.735e-06/0.6625, allocations: 4 kB / 490.5 MB, free: 3.469 MB / 346.7 MB Notification: Performance of Transformations before backend: time 0.0002205/0.6628, allocations: 4 kB / 490.5 MB, free: 3.465 MB / 346.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.02333/0.6861, allocations: 4.659 MB / 495.1 MB, free: 15.11 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.072e-05/0.6862, allocations: 8.031 kB / 495.1 MB, free: 15.1 MB / 362.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.002069/0.6882, allocations: 0.5099 MB / 495.6 MB, free: 14.8 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.2128/0.9011, allocations: 9.974 MB / 0.4938 GB, free: 5.441 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02231/0.9235, allocations: 5.284 MB / 0.4989 GB, free: 1.418 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003179/0.9238, allocations: 204.8 kB / 0.4991 GB, free: 1.301 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001434/0.9253, allocations: 284.3 kB / 0.4994 GB, free: 1.117 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02068/0.946, allocations: 6.976 MB / 0.5062 GB, free: 11.41 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002463/0.9463, allocations: 57.91 kB / 0.5063 GB, free: 11.35 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006224/0.9469, allocations: 134 kB / 0.5064 GB, free: 11.31 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002709/0.9496, allocations: 0.9946 MB / 0.5074 GB, free: 10.48 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01805/0.9677, allocations: 5.018 MB / 0.5123 GB, free: 6.855 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0711/1.039, allocations: 27.49 MB / 0.5391 GB, free: 11.94 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004446/1.043, allocations: 0.7269 MB / 0.5398 GB, free: 11.16 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.584e-05/1.044, allocations: 10.58 kB / 0.5398 GB, free: 11.16 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.024e-05/1.044, allocations: 38.69 kB / 0.5399 GB, free: 11.11 MB / 410.7 MB Notification: Performance of pre-optimization done (n=37): time 3.116e-06/1.044, allocations: 1.312 kB / 0.5399 GB, free: 11.11 MB / 410.7 MB Notification: Performance of matching and sorting (n=37): time 0.01463/1.058, allocations: 2.258 MB / 0.5421 GB, free: 8.844 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001378/1.058, allocations: 247.3 kB / 0.5423 GB, free: 8.547 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01227/1.071, allocations: 5.362 MB / 0.5475 GB, free: 3.191 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 9.618e-05/1.071, allocations: 37.73 kB / 0.5476 GB, free: 3.148 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.003393/1.074, allocations: 2.762 MB / 0.5503 GB, free: 412 kB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003152/1.075, allocations: 188.7 kB / 0.5505 GB, free: 224 kB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000194/1.075, allocations: 72 kB / 0.5505 GB, free: 152 kB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0003099/1.075, allocations: 453.4 kB / 0.551 GB, free: 15.7 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002102/1.077, allocations: 0.7811 MB / 0.5517 GB, free: 14.92 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004364/1.082, allocations: 3.364 MB / 0.555 GB, free: 10.23 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003801/1.085, allocations: 1.529 MB / 0.5565 GB, free: 8.703 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.262e-05/1.086, allocations: 28 kB / 0.5565 GB, free: 8.676 MB / 426.7 MB Notification: Performance of matching and sorting (n=446) (initialization): time 0.01147/1.097, allocations: 3.999 MB / 0.5604 GB, free: 4.668 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.41e-05/1.097, allocations: 44.97 kB / 0.5605 GB, free: 4.625 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001494/1.097, allocations: 96.06 kB / 0.5606 GB, free: 4.531 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001982/1.098, allocations: 136 kB / 0.5607 GB, free: 4.398 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004823/1.102, allocations: 0.8499 MB / 0.5615 GB, free: 3.547 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002163/1.103, allocations: 187.2 kB / 0.5617 GB, free: 3.363 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005401/1.108, allocations: 0.5597 MB / 0.5623 GB, free: 2.809 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006303/1.109, allocations: 237.2 kB / 0.5625 GB, free: 2.578 MB / 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 () * 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.00407/1.113, allocations: 1.618 MB / 0.5641 GB, free: 0.9492 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001157/1.114, allocations: 379.1 kB / 0.5644 GB, free: 0.5742 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001204/1.115, allocations: 405.4 kB / 0.5648 GB, free: 180 kB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.423e-05/1.115, allocations: 8.031 kB / 0.5648 GB, free: 172 kB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.198e-06/1.115, allocations: 0 / 0.5648 GB, free: 172 kB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.602e-05/1.115, allocations: 11.94 kB / 0.5648 GB, free: 160 kB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0121/1.127, allocations: 4.81 MB / 0.5695 GB, free: 11.09 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.534e-05/1.128, allocations: 16 kB / 0.5695 GB, free: 11.08 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006484/1.128, allocations: 115.8 kB / 0.5697 GB, free: 10.96 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.622e-05/1.128, allocations: 20 kB / 0.5697 GB, free: 10.95 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.499e-05/1.128, allocations: 25.64 kB / 0.5697 GB, free: 10.92 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.258e-05/1.128, allocations: 28 kB / 0.5697 GB, free: 10.89 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.57e-05/1.128, allocations: 27.86 kB / 0.5697 GB, free: 10.87 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003596/1.132, allocations: 3.28 MB / 0.573 GB, free: 6.934 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001993/1.134, allocations: 0.5389 MB / 0.5735 GB, free: 6.371 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001039/1.135, allocations: 31.98 kB / 0.5735 GB, free: 6.34 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002322/1.138, allocations: 39.94 kB / 0.5735 GB, free: 6.301 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001917/1.138, allocations: 87.66 kB / 0.5736 GB, free: 6.215 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.961e-05/1.138, allocations: 32 kB / 0.5737 GB, free: 6.184 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.00997/1.148, allocations: 3.61 MB / 0.5772 GB, free: 2.582 MB / 442.7 MB Notification: Performance of sort global known variables: time 6.81e-07/1.148, allocations: 0 / 0.5772 GB, free: 2.582 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.005478/1.153, allocations: 0.8573 MB / 0.578 GB, free: 1.727 MB / 442.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 61 * 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 (61): * Single equations (assignments): 61 * 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.005494/1.159, allocations: 6.679 MB / 0.5845 GB, free: 10.61 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.005086/1.164, allocations: 1.871 MB / 0.5864 GB, free: 8.754 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 1.998e-05/1.164, allocations: 7.938 kB / 0.5864 GB, free: 8.746 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006768/1.165, allocations: 264.3 kB / 0.5866 GB, free: 8.492 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005292/1.17, allocations: 0.6348 MB / 0.5873 GB, free: 7.855 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.4014/1.572, allocations: 95.54 MB / 0.6806 GB, free: 94.66 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005891/1.578, allocations: 2.941 MB / 0.6834 GB, free: 93.43 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 0.006001/1.584, allocations: 1.168 MB / 0.6846 GB, free: 92.9 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003673/1.587, allocations: 1.729 MB / 0.6863 GB, free: 91.36 MB / 458.7 MB Notification: Performance of SimCode: time 1.452e-06/1.587, allocations: 0 / 0.6863 GB, free: 91.36 MB / 458.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1981/1.786, allocations: 69.11 MB / 0.7538 GB, free: 24.86 MB / 458.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002571/1.786, allocations: 174.3 kB / 0.7539 GB, free: 24.61 MB / 458.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 5.227/7.013, allocations: 0 / 0.7539 GB, free: 24.61 MB / 458.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.1_ModelicaTest.MultiBody.Parts.Bodies_res.mat does not exist to compare? outputFormat=mat