Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.MultiBody.Parts.Bodies.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(ModelicaTest.MultiBody.Parts.Bodies,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.MultiBody.Parts.Bodies") translateModel(ModelicaTest.MultiBody.Parts.Bodies,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.MultiBody.Parts.Bodies") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001153/0.001154, allocations: 111.3 kB / 15.23 MB, free: 0.6602 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001347/0.001347, allocations: 192.2 kB / 16.13 MB, free: 6.707 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.802/1.802, allocations: 205.1 MB / 222 MB, free: 4.773 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo): time 0.412/0.412, allocations: 39.94 MB / 309.3 MB, free: 9.617 MB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: ModelicaTest requested package Modelica of version 3.2.2. Modelica 3.2.3 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002971/0.002971, allocations: 67.12 kB / 376.9 MB, free: 13.41 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1593/0.1623, allocations: 56.88 MB / 433.8 MB, free: 4.426 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Parts.Bodies): time 0.3356/0.498, allocations: 70.66 MB / 0.4926 GB, free: 9.449 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.03281/0.5309, allocations: 13.94 MB / 0.5063 GB, free: 188 kB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01975/0.5507, allocations: 312.9 kB / 0.5066 GB, free: 136 kB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.007354/0.5581, allocations: 3.118 MB / 0.5096 GB, free: 14.66 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.007952/0.5661, allocations: 1.946 MB / 0.5115 GB, free: 13.78 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002933/0.569, allocations: 0.9536 MB / 0.5124 GB, free: 13.4 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.01557/0.5846, allocations: 8.679 MB / 0.5209 GB, free: 11.11 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.005818/0.5905, allocations: 3.546 MB / 0.5244 GB, free: 9.82 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004488/0.595, allocations: 1.636 MB / 0.526 GB, free: 9.016 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.005896/0.6009, allocations: 2.828 MB / 0.5287 GB, free: 7.418 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001319/0.6023, allocations: 230.8 kB / 0.5289 GB, free: 7.418 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002786/0.6051, allocations: 0.8452 MB / 0.5298 GB, free: 6.898 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002729/0.6078, allocations: 2.19 MB / 0.5319 GB, free: 4.703 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003139/0.611, allocations: 2.156 MB / 0.534 GB, free: 2.535 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.007681/0.6187, allocations: 6.503 MB / 0.5404 GB, free: 12.01 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.977e-06/0.6187, allocations: 0 / 0.5404 GB, free: 12.01 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.713e-06/0.6188, allocations: 0 / 0.5404 GB, free: 12.01 MB / 414.1 MB Notification: Performance of Transformations before backend: time 0.0002446/0.619, allocations: 0 / 0.5404 GB, free: 12.01 MB / 414.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1021 * Number of variables: 1021 Notification: Performance of Generate backend data structure: time 0.01436/0.6334, allocations: 5.217 MB / 0.5455 GB, free: 6.723 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.871e-05/0.6335, allocations: 8.031 kB / 0.5455 GB, free: 6.715 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01616/0.6496, allocations: 1.833 MB / 0.5473 GB, free: 4.875 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01094/0.6606, allocations: 4.395 MB / 0.5516 GB, free: 416 kB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002243/0.6609, allocations: 205.6 kB / 0.5517 GB, free: 208 kB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001153/0.662, allocations: 296 kB / 0.552 GB, free: 15.91 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01251/0.6746, allocations: 7.038 MB / 0.5589 GB, free: 8.324 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001417/0.6747, allocations: 59.53 kB / 0.559 GB, free: 8.266 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000329/0.6751, allocations: 131.9 kB / 0.5591 GB, free: 8.137 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001413/0.6765, allocations: 1.002 MB / 0.5601 GB, free: 7.137 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01088/0.6874, allocations: 5.174 MB / 0.5651 GB, free: 1.953 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03704/0.7245, allocations: 27.57 MB / 0.592 GB, free: 5.668 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002581/0.7271, allocations: 0.7386 MB / 0.5928 GB, free: 4.883 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003089/0.7274, allocations: 214.5 kB / 0.593 GB, free: 4.66 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.289e-05/0.7275, allocations: 16.23 kB / 0.593 GB, free: 4.645 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.834e-05/0.7275, allocations: 46.55 kB / 0.593 GB, free: 4.59 MB / 462.1 MB Notification: Performance of pre-optimization done (n=37): time 2.655e-06/0.7275, allocations: 0 / 0.593 GB, free: 4.59 MB / 462.1 MB Notification: Performance of matching and sorting (n=37): time 0.007436/0.735, allocations: 2.018 MB / 0.595 GB, free: 2.559 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001514/0.7352, allocations: 239.3 kB / 0.5952 GB, free: 2.27 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007856/0.743, allocations: 4.78 MB / 0.5999 GB, free: 13.48 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001116/0.7432, allocations: 29.7 kB / 0.5999 GB, free: 13.45 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002741/0.746, allocations: 2.71 MB / 0.6026 GB, free: 10.71 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002993/0.7463, allocations: 202.1 kB / 0.6028 GB, free: 10.51 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001098/0.7474, allocations: 0.8049 MB / 0.6036 GB, free: 9.695 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.000203/0.7476, allocations: 301.1 kB / 0.6038 GB, free: 9.398 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001319/0.7489, allocations: 0.9171 MB / 0.6047 GB, free: 8.48 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003274/0.7522, allocations: 3.623 MB / 0.6083 GB, free: 3.496 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005525/0.7577, allocations: 4.802 MB / 0.613 GB, free: 13.33 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.778e-05/0.7578, allocations: 31.94 kB / 0.613 GB, free: 13.3 MB / 494.1 MB Notification: Performance of matching and sorting (n=499) (initialization): time 0.01068/0.7685, allocations: 4.394 MB / 0.6173 GB, free: 8.898 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001327/0.7687, allocations: 52.03 kB / 0.6173 GB, free: 8.848 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002062/0.769, allocations: 96.12 kB / 0.6174 GB, free: 8.754 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001717/0.7691, allocations: 132 kB / 0.6176 GB, free: 8.625 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002654/0.7718, allocations: 0.9318 MB / 0.6185 GB, free: 7.691 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001444/0.772, allocations: 187.3 kB / 0.6186 GB, free: 7.508 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004359/0.7763, allocations: 0.5722 MB / 0.6192 GB, free: 6.93 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004091/0.7768, allocations: 248 kB / 0.6194 GB, free: 6.688 MB / 494.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 442 * Number of states: 0 () * Number of discrete variables: 54 (world.groundColor[3],world.groundColor[2],world.groundColor[1],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 (499): * Single equations (assignments): 499 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.003085/0.7799, allocations: 1.652 MB / 0.621 GB, free: 5.02 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009475/0.7808, allocations: 371.3 kB / 0.6214 GB, free: 4.652 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007506/0.7816, allocations: 376.5 kB / 0.6218 GB, free: 4.285 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.636e-05/0.7816, allocations: 4 kB / 0.6218 GB, free: 4.281 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.035e-05/0.7816, allocations: 0 / 0.6218 GB, free: 4.281 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.057e-06/0.7816, allocations: 4 kB / 0.6218 GB, free: 4.277 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.2628/1.044, allocations: 4.765 MB / 0.6264 GB, free: 144.5 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.527e-05/1.044, allocations: 13.53 kB / 0.6264 GB, free: 144.5 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002862/1.045, allocations: 114.9 kB / 0.6265 GB, free: 144.5 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.835e-05/1.045, allocations: 16.03 kB / 0.6266 GB, free: 144.5 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.692e-05/1.045, allocations: 28 kB / 0.6266 GB, free: 144.5 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.884e-05/1.045, allocations: 31.45 kB / 0.6266 GB, free: 144.5 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.253e-05/1.045, allocations: 19.69 kB / 0.6266 GB, free: 144.5 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001492/1.046, allocations: 1.227 MB / 0.6278 GB, free: 143.9 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0009493/1.047, allocations: 497.2 kB / 0.6283 GB, free: 143.8 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003813/1.048, allocations: 29 kB / 0.6283 GB, free: 143.8 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009596/1.049, allocations: 36 kB / 0.6284 GB, free: 143.8 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.955e-05/1.049, allocations: 83.94 kB / 0.6285 GB, free: 143.8 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.339e-05/1.049, allocations: 34.53 kB / 0.6285 GB, free: 143.8 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.00451/1.053, allocations: 3.15 MB / 0.6316 GB, free: 143.5 MB / 494.1 MB Notification: Performance of sort global known variables: time 7.72e-07/1.053, allocations: 0 / 0.6316 GB, free: 143.5 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.004258/1.058, allocations: 0.877 MB / 0.6324 GB, free: 143.4 MB / 494.1 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0003234/1.058, allocations: 143.2 kB / 0.6326 GB, free: 143.3 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.003614/1.062, allocations: 2.092 MB / 0.6346 GB, free: 142.7 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 9.779e-06/1.062, allocations: 3.719 kB / 0.6346 GB, free: 142.7 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003215/1.062, allocations: 268.9 kB / 0.6349 GB, free: 142.6 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003987/1.066, allocations: 0.5988 MB / 0.6354 GB, free: 142.4 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01268/1.079, allocations: 8.9 MB / 0.6441 GB, free: 137.4 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003069/1.082, allocations: 2.874 MB / 0.6469 GB, free: 136.2 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.003104/1.085, allocations: 1.154 MB / 0.6481 GB, free: 136.1 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004779/1.085, allocations: 210.6 kB / 0.6483 GB, free: 136.1 MB / 494.1 MB Notification: Performance of SimCode: time 9.02e-07/1.085, allocations: 0 / 0.6483 GB, free: 136.1 MB / 494.1 MB Notification: Performance of Templates: time 0.07016/1.156, allocations: 28.93 MB / 0.6765 GB, free: 130.1 MB / 494.1 MB make -j1 -f ModelicaTest_3.2.2_ModelicaTest.MultiBody.Parts.Bodies.makefile (rm -f ModelicaTest_3.2.2_ModelicaTest.MultiBody.Parts.Bodies.pipe ; mkfifo ModelicaTest_3.2.2_ModelicaTest.MultiBody.Parts.Bodies.pipe ; head -c 1048576 < ModelicaTest_3.2.2_ModelicaTest.MultiBody.Parts.Bodies.pipe >> ../files/ModelicaTest_3.2.2_ModelicaTest.MultiBody.Parts.Bodies.sim & ./ModelicaTest_3.2.2_ModelicaTest.MultiBody.Parts.Bodies -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.2_ModelicaTest.MultiBody.Parts.Bodies.pipe 2>&1)