Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.MultiBody.Parts.Bodies.conf.json Using package ModelicaTest with version 3.2.1 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+maint.om/package.mo) Using package ModelicaServices with version 3.2.1 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo) Using package Modelica with version 3.2.1 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo) Using package Complex with version 3.2.1 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/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/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo): time 0.02622/0.02622, allocations: 163.3 kB / 15.12 MB, free: 6.035 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo): time 1.885/1.885, allocations: 170.8 MB / 186.7 MB, free: 1.109 MB / 154.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo): time 0.002747/0.002747, allocations: 114.7 kB / 226.2 MB, free: 10.09 MB / 186.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+maint.om/package.mo): time 0.4953/0.4953, allocations: 38.05 MB / 303.7 MB, free: 42.46 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0005033/0.0005036, allocations: 16 kB / 363 MB, free: 5.484 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1162/0.1167, allocations: 48.71 MB / 411.7 MB, free: 4.699 MB / 314.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Parts.Bodies): time 0.3605/0.4772, allocations: 61.43 MB / 473.1 MB, free: 13.75 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.03803/0.5153, allocations: 12.78 MB / 485.9 MB, free: 5.055 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01517/0.5306, allocations: 293.9 kB / 486.2 MB, free: 5.008 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.01169/0.5423, allocations: 2.981 MB / 489.2 MB, free: 4.02 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.03892/0.5813, allocations: 10.55 MB / 499.7 MB, free: 14.7 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.006003/0.5874, allocations: 0.9444 MB / 0.4889 GB, free: 14.13 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.06543/0.6528, allocations: 28.67 MB / 0.5169 GB, free: 6.762 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01346/0.6664, allocations: 4.25 MB / 0.5211 GB, free: 2.492 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005654/0.6721, allocations: 1.483 MB / 0.5225 GB, free: 1.004 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.008288/0.6805, allocations: 2.548 MB / 0.525 GB, free: 14.45 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 0.001953/0.6825, allocations: 143.9 kB / 0.5252 GB, free: 14.31 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004542/0.6871, allocations: 0.6359 MB / 0.5258 GB, free: 13.67 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.005696/0.6929, allocations: 2.061 MB / 0.5278 GB, free: 11.61 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.003332/0.6963, allocations: 0.8 MB / 0.5286 GB, free: 10.8 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01338/0.7098, allocations: 5.455 MB / 0.5339 GB, free: 5.328 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 8.996e-06/0.7098, allocations: 0 / 0.5339 GB, free: 5.328 MB / 378.7 MB Notification: Performance of FrontEnd: time 3.266e-06/0.7099, allocations: 0 / 0.5339 GB, free: 5.328 MB / 378.7 MB Notification: Performance of Transformations before backend: time 0.0002661/0.7101, allocations: 4 kB / 0.5339 GB, free: 5.324 MB / 378.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.02739/0.7376, allocations: 4.667 MB / 0.5385 GB, free: 0.5898 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.693e-05/0.7376, allocations: 16.03 kB / 0.5385 GB, free: 0.5742 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.002929/0.7406, allocations: 0.5078 MB / 0.539 GB, free: 60 kB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.2411/0.9817, allocations: 8.396 MB / 0.5472 GB, free: 7.641 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01903/1.001, allocations: 6.282 MB / 0.5533 GB, free: 1.285 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003494/1.001, allocations: 213.2 kB / 0.5535 GB, free: 1.074 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001191/1.002, allocations: 283.8 kB / 0.5538 GB, free: 0.7969 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02013/1.023, allocations: 6.924 MB / 0.5605 GB, free: 9.328 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002217/1.023, allocations: 59.45 kB / 0.5606 GB, free: 9.27 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005033/1.023, allocations: 123.9 kB / 0.5607 GB, free: 9.148 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002653/1.026, allocations: 1.002 MB / 0.5617 GB, free: 8.145 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01732/1.043, allocations: 4.943 MB / 0.5665 GB, free: 3.195 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.3505/1.394, allocations: 27.24 MB / 0.5931 GB, free: 113.1 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004356/1.398, allocations: 0.7291 MB / 0.5938 GB, free: 113 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005645/1.399, allocations: 221.8 kB / 0.594 GB, free: 113 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.2e-05/1.399, allocations: 11.12 kB / 0.5941 GB, free: 113 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.289e-05/1.399, allocations: 42.38 kB / 0.5941 GB, free: 112.9 MB / 426.7 MB Notification: Performance of pre-optimization done (n=37): time 2.885e-06/1.399, allocations: 2.906 kB / 0.5941 GB, free: 112.9 MB / 426.7 MB Notification: Performance of matching and sorting (n=37): time 0.01357/1.413, allocations: 2.188 MB / 0.5962 GB, free: 112.8 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.665e-05/1.413, allocations: 241.9 kB / 0.5965 GB, free: 112.6 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01227/1.425, allocations: 4.781 MB / 0.6011 GB, free: 112.2 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 9.894e-05/1.425, allocations: 32.86 kB / 0.6012 GB, free: 112.1 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.003098/1.428, allocations: 2.765 MB / 0.6039 GB, free: 110.9 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003204/1.429, allocations: 198.9 kB / 0.6041 GB, free: 110.8 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002348/1.429, allocations: 68.94 kB / 0.6041 GB, free: 110.8 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0002249/1.429, allocations: 455 kB / 0.6046 GB, free: 110.4 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001922/1.431, allocations: 0.7731 MB / 0.6053 GB, free: 110.2 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003516/1.435, allocations: 3.376 MB / 0.6086 GB, free: 106.4 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003404/1.438, allocations: 1.535 MB / 0.6101 GB, free: 106 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.761e-05/1.438, allocations: 28.84 kB / 0.6101 GB, free: 106 MB / 426.7 MB Notification: Performance of matching and sorting (n=446) (initialization): time 0.01036/1.449, allocations: 3.996 MB / 0.614 GB, free: 104.5 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 7.876e-05/1.449, allocations: 49.28 kB / 0.6141 GB, free: 104.5 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001385/1.449, allocations: 98.03 kB / 0.6142 GB, free: 104.5 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000156/1.449, allocations: 134.7 kB / 0.6143 GB, free: 104.5 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004416/1.454, allocations: 0.8499 MB / 0.6151 GB, free: 104.4 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001781/1.454, allocations: 180 kB / 0.6153 GB, free: 104.3 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005044/1.459, allocations: 0.5432 MB / 0.6158 GB, free: 104 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004827/1.459, allocations: 231.2 kB / 0.6161 GB, free: 104 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.003342/1.463, allocations: 1.624 MB / 0.6176 GB, free: 103.2 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009857/1.464, allocations: 382.8 kB / 0.618 GB, free: 103 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000813/1.464, allocations: 403.8 kB / 0.6184 GB, free: 102.9 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.127e-06/1.465, allocations: 6.125 kB / 0.6184 GB, free: 102.9 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.147e-05/1.465, allocations: 1.969 kB / 0.6184 GB, free: 102.9 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.847e-06/1.465, allocations: 6.5 kB / 0.6184 GB, free: 102.9 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009724/1.474, allocations: 4.764 MB / 0.6231 GB, free: 100.4 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.053e-05/1.474, allocations: 17.12 kB / 0.6231 GB, free: 100.4 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000598/1.475, allocations: 117.1 kB / 0.6232 GB, free: 100.4 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.024e-05/1.475, allocations: 19.44 kB / 0.6232 GB, free: 100.4 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.124e-05/1.475, allocations: 27.69 kB / 0.6232 GB, free: 100.4 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.491e-05/1.475, allocations: 23.45 kB / 0.6233 GB, free: 100.4 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.152e-05/1.475, allocations: 24.22 kB / 0.6233 GB, free: 100.4 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00207/1.477, allocations: 1.234 MB / 0.6245 GB, free: 99.41 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00155/1.479, allocations: 0.5201 MB / 0.625 GB, free: 99.05 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006066/1.479, allocations: 30.3 kB / 0.625 GB, free: 99.05 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001697/1.481, allocations: 40.52 kB / 0.6251 GB, free: 99.04 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001195/1.481, allocations: 86.06 kB / 0.6251 GB, free: 99 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.093e-05/1.481, allocations: 33.03 kB / 0.6252 GB, free: 99 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.008292/1.49, allocations: 3.14 MB / 0.6282 GB, free: 97.96 MB / 426.7 MB Notification: Performance of sort global known variables: time 9.51e-07/1.49, allocations: 0 / 0.6282 GB, free: 97.96 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.005303/1.495, allocations: 0.832 MB / 0.629 GB, free: 97.79 MB / 426.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.002605/1.498, allocations: 1.823 MB / 0.6308 GB, free: 96.28 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.004694/1.502, allocations: 1.877 MB / 0.6327 GB, free: 95.64 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 1.679e-05/1.502, allocations: 5.75 kB / 0.6327 GB, free: 95.64 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006143/1.503, allocations: 261.3 kB / 0.6329 GB, free: 95.55 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005747/1.509, allocations: 0.6454 MB / 0.6335 GB, free: 95.32 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.06792/1.577, allocations: 30.34 MB / 0.6632 GB, free: 69.64 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004365/1.581, allocations: 2.946 MB / 0.6661 GB, free: 66.67 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.005149/1.586, allocations: 1.154 MB / 0.6672 GB, free: 65.52 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003093/1.59, allocations: 1.714 MB / 0.6689 GB, free: 63.8 MB / 426.7 MB Notification: Performance of SimCode: time 1.903e-06/1.59, allocations: 0 / 0.6689 GB, free: 63.8 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1529/1.742, allocations: 67.67 MB / 0.7349 GB, free: 12.16 MB / 442.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003259/1.743, allocations: 186 kB / 0.7351 GB, free: 11.91 MB / 442.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 5.393/7.136, allocations: 0 / 0.7351 GB, free: 11.91 MB / 442.7 MB