Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.MultiBody.Parts.Bodies.conf.json Using package ModelicaTest with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaTest 3.2.2/package.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 Complex with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo) Using package ModelicaServices with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.MultiBody.Parts.Bodies,fileNamePrefix="ModelicaTest_3_2_2_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.2/package.mo): time 0.01134/0.01134, allocations: 106.3 kB / 15.06 MB, free: 6.027 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo): time 0.001311/0.001311, allocations: 182.6 kB / 15.95 MB, free: 5.953 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo): time 1.972/1.972, allocations: 194.6 MB / 211.3 MB, free: 11.06 MB / 170.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaTest 3.2.2/package.mo): time 0.2683/0.2683, allocations: 40.04 MB / 296.5 MB, free: 6.293 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004889/0.0004891, allocations: 12 kB / 361.1 MB, free: 9.547 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1245/0.125, allocations: 54.88 MB / 416 MB, free: 2.574 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Parts.Bodies): time 0.4567/0.5817, allocations: 57.94 MB / 474 MB, free: 29.8 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.04966/0.6314, allocations: 13.41 MB / 487.4 MB, free: 23.23 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01841/0.6499, allocations: 293.5 kB / 487.7 MB, free: 23.18 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.01203/0.662, allocations: 2.941 MB / 490.6 MB, free: 22.3 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.03379/0.6959, allocations: 8.508 MB / 499.1 MB, free: 18.52 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.006392/0.7023, allocations: 0.9184 MB / 0.4883 GB, free: 18.19 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.05478/0.7572, allocations: 17.99 MB / 0.5059 GB, free: 12.95 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.008047/0.7653, allocations: 4.21 MB / 0.51 GB, free: 10.52 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003165/0.7685, allocations: 1.249 MB / 0.5112 GB, free: 9.828 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003578/0.7722, allocations: 1.828 MB / 0.513 GB, free: 8.465 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0007853/0.773, allocations: 140 kB / 0.5131 GB, free: 8.328 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00206/0.7751, allocations: 0.6049 MB / 0.5137 GB, free: 7.723 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.002441/0.7775, allocations: 1.921 MB / 0.5156 GB, free: 5.797 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001283/0.7788, allocations: 0.8038 MB / 0.5164 GB, free: 4.984 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.007224/0.7861, allocations: 5.444 MB / 0.5217 GB, free: 15.53 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.442e-06/0.7861, allocations: 0 / 0.5217 GB, free: 15.53 MB / 394.7 MB Notification: Performance of FrontEnd: time 3.717e-06/0.7862, allocations: 3.938 kB / 0.5217 GB, free: 15.52 MB / 394.7 MB Notification: Performance of Transformations before backend: time 0.0002065/0.7864, allocations: 1.5 kB / 0.5217 GB, free: 15.52 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.01846/0.8048, allocations: 4.663 MB / 0.5262 GB, free: 10.8 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.727e-05/0.8049, allocations: 8.031 kB / 0.5263 GB, free: 10.79 MB / 394.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001969/0.8069, allocations: 0.5078 MB / 0.5268 GB, free: 10.27 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.2115/1.018, allocations: 9.967 MB / 0.5365 GB, free: 296 kB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01765/1.036, allocations: 5.287 MB / 0.5416 GB, free: 10.93 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003281/1.037, allocations: 205.2 kB / 0.5418 GB, free: 10.73 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001432/1.038, allocations: 295.6 kB / 0.5421 GB, free: 10.44 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0206/1.059, allocations: 6.963 MB / 0.5489 GB, free: 2.93 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002539/1.059, allocations: 63.48 kB / 0.549 GB, free: 2.867 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006967/1.06, allocations: 123.9 kB / 0.5491 GB, free: 2.746 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002741/1.062, allocations: 1.002 MB / 0.5501 GB, free: 1.742 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0186/1.081, allocations: 5.014 MB / 0.555 GB, free: 12.73 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05596/1.137, allocations: 27.49 MB / 0.5818 GB, free: 0.5156 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004421/1.142, allocations: 0.7386 MB / 0.5825 GB, free: 15.73 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.354e-05/1.142, allocations: 12.42 kB / 0.5826 GB, free: 15.72 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.631e-05/1.142, allocations: 46.48 kB / 0.5826 GB, free: 15.66 MB / 458.7 MB Notification: Performance of pre-optimization done (n=37): time 3.957e-06/1.142, allocations: 4 kB / 0.5826 GB, free: 15.66 MB / 458.7 MB Notification: Performance of matching and sorting (n=37): time 0.01463/1.156, allocations: 2.245 MB / 0.5848 GB, free: 13.4 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001424/1.157, allocations: 239.3 kB / 0.585 GB, free: 13.11 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01316/1.17, allocations: 5.364 MB / 0.5903 GB, free: 7.75 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 9.221e-05/1.17, allocations: 33.7 kB / 0.5903 GB, free: 7.711 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.003599/1.174, allocations: 2.758 MB / 0.593 GB, free: 4.922 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003948/1.174, allocations: 198 kB / 0.5932 GB, free: 4.727 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003115/1.174, allocations: 69.12 kB / 0.5932 GB, free: 4.66 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.0003057/1.175, allocations: 457.3 kB / 0.5937 GB, free: 4.207 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002518/1.177, allocations: 0.7758 MB / 0.5944 GB, free: 3.43 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004908/1.182, allocations: 3.368 MB / 0.5977 GB, free: 14.74 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003948/1.186, allocations: 1.529 MB / 0.5992 GB, free: 13.21 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.334e-05/1.186, allocations: 28 kB / 0.5992 GB, free: 13.18 MB / 474.7 MB Notification: Performance of matching and sorting (n=446) (initialization): time 0.01172/1.198, allocations: 3.996 MB / 0.6031 GB, free: 9.18 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.613e-05/1.198, allocations: 44 kB / 0.6032 GB, free: 9.137 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001369/1.198, allocations: 92 kB / 0.6033 GB, free: 9.047 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001838/1.198, allocations: 136 kB / 0.6034 GB, free: 8.914 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004632/1.203, allocations: 0.8542 MB / 0.6042 GB, free: 8.059 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002151/1.203, allocations: 181.8 kB / 0.6044 GB, free: 7.883 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005227/1.209, allocations: 0.5618 MB / 0.605 GB, free: 7.316 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006347/1.209, allocations: 236 kB / 0.6052 GB, free: 7.086 MB / 474.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.004048/1.213, allocations: 1.622 MB / 0.6068 GB, free: 5.453 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001185/1.215, allocations: 383.1 kB / 0.6071 GB, free: 5.074 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001214/1.216, allocations: 401.4 kB / 0.6075 GB, free: 4.676 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.095e-05/1.216, allocations: 8 kB / 0.6075 GB, free: 4.668 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.498e-06/1.216, allocations: 0 / 0.6075 GB, free: 4.668 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.281e-05/1.216, allocations: 7.984 kB / 0.6075 GB, free: 4.66 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01184/1.228, allocations: 4.804 MB / 0.6122 GB, free: 15.59 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.626e-05/1.228, allocations: 16.22 kB / 0.6122 GB, free: 15.57 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006317/1.229, allocations: 120.6 kB / 0.6124 GB, free: 15.46 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.282e-05/1.229, allocations: 19.95 kB / 0.6124 GB, free: 15.44 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.436e-05/1.229, allocations: 28 kB / 0.6124 GB, free: 15.41 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.414e-05/1.229, allocations: 27.92 kB / 0.6124 GB, free: 15.38 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.255e-05/1.229, allocations: 20.25 kB / 0.6124 GB, free: 15.36 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003367/1.232, allocations: 3.273 MB / 0.6156 GB, free: 11.43 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001786/1.234, allocations: 0.5116 MB / 0.6161 GB, free: 10.9 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001121/1.235, allocations: 32.67 kB / 0.6162 GB, free: 10.87 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002425/1.238, allocations: 47.86 kB / 0.6162 GB, free: 10.82 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002016/1.238, allocations: 87.61 kB / 0.6163 GB, free: 10.73 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.852e-05/1.238, allocations: 36 kB / 0.6163 GB, free: 10.7 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.009521/1.247, allocations: 3.606 MB / 0.6199 GB, free: 7.102 MB / 490.7 MB Notification: Performance of sort global known variables: time 9.71e-07/1.247, allocations: 0 / 0.6199 GB, free: 7.102 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.005674/1.253, allocations: 0.8612 MB / 0.6207 GB, free: 6.238 MB / 490.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.3311/1.584, allocations: 6.683 MB / 0.6272 GB, free: 152.7 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.004461/1.589, allocations: 1.875 MB / 0.6291 GB, free: 152.4 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 1.641e-05/1.589, allocations: 2.875 kB / 0.6291 GB, free: 152.4 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005658/1.589, allocations: 270.4 kB / 0.6293 GB, free: 152.4 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005251/1.595, allocations: 0.6209 MB / 0.6299 GB, free: 152.4 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0899/1.685, allocations: 95.55 MB / 0.7232 GB, free: 68.88 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005894/1.691, allocations: 2.945 MB / 0.7261 GB, free: 67.71 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.005673/1.696, allocations: 1.169 MB / 0.7273 GB, free: 67.58 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003392/1.7, allocations: 1.724 MB / 0.7289 GB, free: 66.18 MB / 490.7 MB Notification: Performance of SimCode: time 1.313e-06/1.7, allocations: 0 / 0.7289 GB, free: 66.18 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1711/1.871, allocations: 69.13 MB / 0.7964 GB, free: 14.72 MB / 490.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000279/1.871, allocations: 162.4 kB / 0.7966 GB, free: 14.49 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 5.442/7.313, allocations: 0 / 0.7966 GB, free: 14.49 MB / 490.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.2_ModelicaTest.MultiBody.Parts.Bodies_res.mat does not exist to compare? outputFormat=mat