Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.MultiBody.Parts.Bodies.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+maint.om/package.mo) Using package ModelicaServices with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo) Using package Modelica with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo) Using package Complex with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo) Running command: translateModel(ModelicaTest.MultiBody.Parts.Bodies,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.MultiBody.Parts.Bodies") translateModel(ModelicaTest.MultiBody.Parts.Bodies,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.MultiBody.Parts.Bodies") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo): time 0.001653/0.001653, allocations: 170.2 kB / 12.72 MB, free: 2.594 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo): time 1.353/1.353, allocations: 170.6 MB / 183.8 MB, free: 11.43 MB / 154.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo): time 0.001576/0.001575, allocations: 106.7 kB / 223.2 MB, free: 4.051 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+maint.om/package.mo): time 0.1574/0.1574, allocations: 37.99 MB / 300.4 MB, free: 5.352 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 2.805e-05/2.816e-05, allocations: 4 kB / 357 MB, free: 32.32 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08041/0.08045, allocations: 48.7 MB / 405.7 MB, free: 15.65 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3526/0.4331, allocations: 88.44 MB / 494.1 MB, free: 18.52 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002306/0.4334, allocations: 71.69 kB / 494.2 MB, free: 18.52 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.2394/0.6728, allocations: 96.17 MB / 0.5765 GB, free: 11.12 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.212e-06/0.6729, allocations: 0 / 0.5765 GB, free: 11.12 MB / 394.7 MB Notification: Performance of Transformations before backend: time 0.0002811/0.6732, allocations: 76 kB / 0.5766 GB, free: 11.05 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.01133/0.6845, allocations: 4.097 MB / 0.5806 GB, free: 6.891 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.766e-05/0.6846, allocations: 12.03 kB / 0.5806 GB, free: 6.879 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02498/0.7096, allocations: 5.994 MB / 0.5865 GB, free: 0.8711 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02044/0.7301, allocations: 8.971 MB / 0.5952 GB, free: 7.824 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002399/0.7303, allocations: 246.6 kB / 0.5955 GB, free: 7.582 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001134/0.7315, allocations: 359.6 kB / 0.5958 GB, free: 7.23 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01336/0.7449, allocations: 6.741 MB / 0.6024 GB, free: 15.91 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001678/0.7451, allocations: 59.45 kB / 0.6025 GB, free: 15.85 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000387/0.7455, allocations: 151.9 kB / 0.6026 GB, free: 15.71 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001064/0.7465, allocations: 0.5874 MB / 0.6032 GB, free: 15.12 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01013/0.7567, allocations: 4.818 MB / 0.6079 GB, free: 10.29 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2559/1.013, allocations: 28.34 MB / 0.6355 GB, free: 72.32 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002323/1.015, allocations: 0.7158 MB / 0.6362 GB, free: 72.21 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002664/1.015, allocations: 202.9 kB / 0.6364 GB, free: 72.17 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.276e-05/1.015, allocations: 21.38 kB / 0.6365 GB, free: 72.16 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.174e-05/1.015, allocations: 37.16 kB / 0.6365 GB, free: 72.12 MB / 426.7 MB Notification: Performance of pre-optimization done (n=37): time 3.456e-06/1.015, allocations: 0 / 0.6365 GB, free: 72.12 MB / 426.7 MB Notification: Performance of matching and sorting (n=37): time 0.007927/1.023, allocations: 1.985 MB / 0.6384 GB, free: 71.96 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001632/1.024, allocations: 241.2 kB / 0.6387 GB, free: 71.68 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01/1.034, allocations: 4.129 MB / 0.6427 GB, free: 71.31 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.000118/1.034, allocations: 35.34 kB / 0.6427 GB, free: 71.28 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.003578/1.037, allocations: 2.75 MB / 0.6454 GB, free: 70.32 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004537/1.038, allocations: 195.6 kB / 0.6456 GB, free: 70.25 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002216/1.038, allocations: 72.62 kB / 0.6457 GB, free: 70.25 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0003052/1.038, allocations: 455 kB / 0.6461 GB, free: 69.95 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00142/1.04, allocations: 0.7351 MB / 0.6468 GB, free: 69.94 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002537/1.042, allocations: 3.324 MB / 0.6501 GB, free: 66.52 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002096/1.044, allocations: 1.513 MB / 0.6515 GB, free: 66.52 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.059e-05/1.044, allocations: 26.06 kB / 0.6516 GB, free: 66.52 MB / 426.7 MB Notification: Performance of matching and sorting (n=446) (initialization): time 0.005592/1.05, allocations: 3.927 MB / 0.6554 GB, free: 66.29 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.373e-05/1.05, allocations: 53.95 kB / 0.6555 GB, free: 66.28 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.87e-05/1.05, allocations: 92.09 kB / 0.6555 GB, free: 66.28 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001061/1.05, allocations: 133.4 kB / 0.6557 GB, free: 66.28 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002223/1.053, allocations: 0.8592 MB / 0.6565 GB, free: 66.25 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001026/1.053, allocations: 177.6 kB / 0.6567 GB, free: 66.21 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003854/1.057, allocations: 0.624 MB / 0.6573 GB, free: 66.07 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00025/1.057, allocations: 234.1 kB / 0.6575 GB, free: 66.07 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 () * 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.0003976/1.057, allocations: 432.9 kB / 0.6579 GB, free: 65.87 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000604/1.058, allocations: 382.9 kB / 0.6583 GB, free: 65.67 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008506/1.059, allocations: 398.4 kB / 0.6587 GB, free: 65.62 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.618e-06/1.059, allocations: 10.28 kB / 0.6587 GB, free: 65.62 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.626e-05/1.059, allocations: 2.344 kB / 0.6587 GB, free: 65.62 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.616e-06/1.059, allocations: 3.75 kB / 0.6587 GB, free: 65.62 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006065/1.065, allocations: 4.563 MB / 0.6631 GB, free: 64.33 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.133e-05/1.065, allocations: 10.34 kB / 0.6632 GB, free: 64.33 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002454/1.065, allocations: 98.34 kB / 0.6632 GB, free: 64.32 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.482e-05/1.065, allocations: 14.84 kB / 0.6633 GB, free: 64.32 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.81e-05/1.065, allocations: 24.84 kB / 0.6633 GB, free: 64.32 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.255e-05/1.065, allocations: 23.25 kB / 0.6633 GB, free: 64.32 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.889e-06/1.065, allocations: 19.22 kB / 0.6633 GB, free: 64.31 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001421/1.067, allocations: 2.844 MB / 0.6661 GB, free: 61.54 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0009538/1.068, allocations: 0.5005 MB / 0.6666 GB, free: 61.23 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003322/1.068, allocations: 28.47 kB / 0.6666 GB, free: 61.23 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001054/1.069, allocations: 66.22 kB / 0.6667 GB, free: 61.23 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.829e-05/1.069, allocations: 72.31 kB / 0.6668 GB, free: 61.21 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.401e-05/1.069, allocations: 28.94 kB / 0.6668 GB, free: 61.21 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.004136/1.073, allocations: 3.033 MB / 0.6697 GB, free: 61.01 MB / 426.7 MB Notification: Performance of sort global known variables: time 2.9e-07/1.073, allocations: 3.219 kB / 0.6697 GB, free: 61.01 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.003583/1.077, allocations: 0.855 MB / 0.6706 GB, free: 60.9 MB / 426.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 52 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (52): * Single equations (assignments): 52 * 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.0002167/1.077, allocations: 143.2 kB / 0.6707 GB, free: 60.79 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.002439/1.08, allocations: 1.802 MB / 0.6725 GB, free: 60.54 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 7.795e-06/1.08, allocations: 3.906 kB / 0.6725 GB, free: 60.54 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002224/1.08, allocations: 224.2 kB / 0.6727 GB, free: 60.5 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002907/1.083, allocations: 0.6173 MB / 0.6733 GB, free: 60.48 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01017/1.093, allocations: 5.638 MB / 0.6788 GB, free: 58.78 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002699/1.096, allocations: 2.932 MB / 0.6817 GB, free: 58.01 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.003213/1.099, allocations: 1.158 MB / 0.6828 GB, free: 57.98 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005096/1.099, allocations: 203.1 kB / 0.683 GB, free: 57.97 MB / 426.7 MB Notification: Performance of SimCode: time 1.502e-06/1.099, allocations: 0 / 0.683 GB, free: 57.97 MB / 426.7 MB Notification: Performance of Templates: time 0.05385/1.153, allocations: 27.52 MB / 0.7099 GB, free: 54.89 MB / 426.7 MB make -j1 -f ModelicaTest_3.2.1_ModelicaTest.MultiBody.Parts.Bodies.makefile (rm -f ModelicaTest_3.2.1_ModelicaTest.MultiBody.Parts.Bodies.pipe ; mkfifo ModelicaTest_3.2.1_ModelicaTest.MultiBody.Parts.Bodies.pipe ; head -c 1048576 < ModelicaTest_3.2.1_ModelicaTest.MultiBody.Parts.Bodies.pipe >> ../files/ModelicaTest_3.2.1_ModelicaTest.MultiBody.Parts.Bodies.sim & ./ModelicaTest_3.2.1_ModelicaTest.MultiBody.Parts.Bodies -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.1_ModelicaTest.MultiBody.Parts.Bodies.pipe 2>&1)