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.0009843/0.0009841, allocations: 86.95 kB / 15.06 MB, free: 1.09 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.0009877/0.0009878, allocations: 168.7 kB / 15.95 MB, free: 204 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.814/1.814, allocations: 205.4 MB / 222.1 MB, free: 5.66 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.3791/0.3791, allocations: 40 MB / 310.4 MB, free: 9.668 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.0005933/0.0005934, allocations: 16 kB / 378.8 MB, free: 12.36 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1324/0.133, allocations: 57.96 MB / 436.8 MB, free: 2.305 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Parts.Bodies): time 0.3121/0.4452, allocations: 64.1 MB / 0.4892 GB, free: 12.95 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.03511/0.4803, allocations: 13.31 MB / 0.5022 GB, free: 3.914 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01686/0.4973, allocations: 310.2 kB / 0.5024 GB, free: 3.863 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01059/0.5079, allocations: 3.164 MB / 0.5055 GB, free: 2.738 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.03111/0.539, allocations: 9.587 MB / 0.5149 GB, free: 14.72 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004824/0.5439, allocations: 0.9307 MB / 0.5158 GB, free: 14.38 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.04826/0.5922, allocations: 35.13 MB / 0.5501 GB, free: 3.801 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.006431/0.5986, allocations: 4.247 MB / 0.5543 GB, free: 15.54 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003352/0.602, allocations: 1.545 MB / 0.5558 GB, free: 13.98 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004128/0.6062, allocations: 2.548 MB / 0.5583 GB, free: 11.43 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0009422/0.6072, allocations: 140 kB / 0.5584 GB, free: 11.29 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002033/0.6092, allocations: 0.636 MB / 0.559 GB, free: 10.66 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002849/0.6121, allocations: 2.065 MB / 0.561 GB, free: 8.586 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001342/0.6134, allocations: 0.7961 MB / 0.5618 GB, free: 7.781 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005697/0.6192, allocations: 5.198 MB / 0.5669 GB, free: 2.57 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.449e-06/0.6192, allocations: 0 / 0.5669 GB, free: 2.57 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.593e-06/0.6192, allocations: 0 / 0.5669 GB, free: 2.57 MB / 430.1 MB Notification: Performance of Transformations before backend: time 9.025e-05/0.6193, allocations: 0 / 0.5669 GB, free: 2.57 MB / 430.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.008217/0.6275, allocations: 4.436 MB / 0.5712 GB, free: 14.07 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.998e-05/0.6275, allocations: 8.031 kB / 0.5712 GB, free: 14.06 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01374/0.6413, allocations: 1.879 MB / 0.5731 GB, free: 12.17 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01082/0.6522, allocations: 4.294 MB / 0.5773 GB, free: 7.805 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002892/0.6525, allocations: 203 kB / 0.5774 GB, free: 7.605 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001545/0.6541, allocations: 295.6 kB / 0.5777 GB, free: 7.316 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01803/0.6721, allocations: 7.066 MB / 0.5846 GB, free: 15.7 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003604/0.6725, allocations: 55.5 kB / 0.5847 GB, free: 15.64 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0008786/0.6734, allocations: 135.9 kB / 0.5848 GB, free: 15.51 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001805/0.6752, allocations: 1.006 MB / 0.5858 GB, free: 14.5 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0135/0.6887, allocations: 5.198 MB / 0.5909 GB, free: 9.301 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04083/0.7296, allocations: 27.53 MB / 0.6178 GB, free: 13.05 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002578/0.7322, allocations: 0.7309 MB / 0.6185 GB, free: 12.28 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000415/0.7327, allocations: 220.2 kB / 0.6187 GB, free: 12.05 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.166e-05/0.7327, allocations: 8.062 kB / 0.6187 GB, free: 12.04 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.65e-05/0.7328, allocations: 42.56 kB / 0.6187 GB, free: 11.99 MB / 494.1 MB Notification: Performance of pre-optimization done (n=37): time 3.326e-06/0.7328, allocations: 3.938 kB / 0.6187 GB, free: 11.99 MB / 494.1 MB Notification: Performance of matching and sorting (n=37): time 0.007321/0.7401, allocations: 2.026 MB / 0.6207 GB, free: 9.949 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001501/0.7403, allocations: 243.3 kB / 0.6209 GB, free: 9.656 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01211/0.7524, allocations: 4.737 MB / 0.6256 GB, free: 4.914 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001432/0.7526, allocations: 33.64 kB / 0.6256 GB, free: 4.875 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.003478/0.7561, allocations: 2.718 MB / 0.6283 GB, free: 2.125 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003819/0.7565, allocations: 206.1 kB / 0.6285 GB, free: 1.922 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003011/0.7568, allocations: 76 kB / 0.6285 GB, free: 1.848 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0003761/0.7572, allocations: 470.3 kB / 0.629 GB, free: 1.383 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001983/0.7592, allocations: 0.8976 MB / 0.6298 GB, free: 496 kB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.2788/1.038, allocations: 3.611 MB / 0.6334 GB, free: 143.2 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002378/1.04, allocations: 1.691 MB / 0.635 GB, free: 143.1 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.826e-05/1.041, allocations: 25.91 kB / 0.6351 GB, free: 143.1 MB / 494.1 MB Notification: Performance of matching and sorting (n=499) (initialization): time 0.006732/1.047, allocations: 4.368 MB / 0.6393 GB, free: 142.5 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.337e-05/1.047, allocations: 45.47 kB / 0.6394 GB, free: 142.5 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.77e-05/1.047, allocations: 98.78 kB / 0.6395 GB, free: 142.5 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001215/1.048, allocations: 142 kB / 0.6396 GB, free: 142.5 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002096/1.05, allocations: 0.937 MB / 0.6405 GB, free: 142.4 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001152/1.05, allocations: 185.5 kB / 0.6407 GB, free: 142.4 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003357/1.053, allocations: 0.5734 MB / 0.6412 GB, free: 142.4 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002859/1.053, allocations: 249.6 kB / 0.6415 GB, free: 142.4 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.002244/1.056, allocations: 1.643 MB / 0.6431 GB, free: 142.1 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006715/1.056, allocations: 372.2 kB / 0.6434 GB, free: 142 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005268/1.057, allocations: 380 kB / 0.6438 GB, free: 142 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.602e-06/1.057, allocations: 6.562 kB / 0.6438 GB, free: 142 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.076e-05/1.057, allocations: 2.906 kB / 0.6438 GB, free: 142 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.961e-06/1.057, allocations: 8.047 kB / 0.6438 GB, free: 142 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005822/1.063, allocations: 4.755 MB / 0.6485 GB, free: 139.9 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.428e-05/1.063, allocations: 15.03 kB / 0.6485 GB, free: 139.9 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002673/1.063, allocations: 115.5 kB / 0.6486 GB, free: 139.8 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.6e-05/1.063, allocations: 21.5 kB / 0.6486 GB, free: 139.8 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.195e-05/1.063, allocations: 29.42 kB / 0.6486 GB, free: 139.8 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.415e-05/1.063, allocations: 21.84 kB / 0.6487 GB, free: 139.8 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.16e-05/1.063, allocations: 26.73 kB / 0.6487 GB, free: 139.8 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001182/1.064, allocations: 1.227 MB / 0.6499 GB, free: 138.8 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008294/1.065, allocations: 0.4894 MB / 0.6504 GB, free: 138.5 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003361/1.066, allocations: 33.47 kB / 0.6504 GB, free: 138.5 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008975/1.066, allocations: 47.31 kB / 0.6504 GB, free: 138.5 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.129e-05/1.067, allocations: 78.03 kB / 0.6505 GB, free: 138.4 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.916e-05/1.067, allocations: 32.94 kB / 0.6505 GB, free: 138.4 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.004108/1.071, allocations: 3.111 MB / 0.6536 GB, free: 137.4 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.2e-07/1.071, allocations: 4 kB / 0.6536 GB, free: 137.4 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.004728/1.075, allocations: 0.8792 MB / 0.6544 GB, free: 137.2 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 (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.0002699/1.076, allocations: 144.8 kB / 0.6546 GB, free: 137.1 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.003438/1.079, allocations: 2.075 MB / 0.6566 GB, free: 136.4 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 1.018e-05/1.079, allocations: 2.75 kB / 0.6566 GB, free: 136.4 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003089/1.08, allocations: 259.6 kB / 0.6569 GB, free: 136.3 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004507/1.084, allocations: 0.6111 MB / 0.6575 GB, free: 136.1 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01596/1.1, allocations: 8.474 MB / 0.6657 GB, free: 131.3 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003699/1.104, allocations: 2.874 MB / 0.6685 GB, free: 130.2 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.003915/1.108, allocations: 1.154 MB / 0.6697 GB, free: 130 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007652/1.109, allocations: 205.9 kB / 0.6699 GB, free: 130 MB / 494.1 MB Notification: Performance of SimCode: time 2.504e-06/1.109, allocations: 0 / 0.6699 GB, free: 130 MB / 494.1 MB Notification: Performance of Templates: time 0.06832/1.177, allocations: 28.09 MB / 0.6973 GB, free: 117.7 MB / 494.1 MB make -j1 -f ModelicaTest_3.2.2_ModelicaTest.MultiBody.Parts.Bodies.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: