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.009137/0.009137, allocations: 165.4 kB / 15.11 MB, free: 5.973 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.191/1.191, allocations: 170.8 MB / 186.6 MB, free: 1.125 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.001642/0.001642, allocations: 107.3 kB / 226.2 MB, free: 10.11 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.2673/0.2673, allocations: 38.04 MB / 303.7 MB, free: 42.27 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003466/0.0003466, allocations: 12 kB / 362.9 MB, free: 5.594 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09847/0.09884, allocations: 48.7 MB / 411.6 MB, free: 4.816 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3106/0.4095, allocations: 88.53 MB / 0.4884 GB, free: 15.5 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002439/0.4098, allocations: 75.09 kB / 0.4885 GB, free: 15.46 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.2574/0.6672, allocations: 96.11 MB / 0.5823 GB, free: 4.184 MB / 426.7 MB Notification: Performance of FrontEnd: time 2.795e-06/0.6673, allocations: 0 / 0.5823 GB, free: 4.184 MB / 426.7 MB Notification: Performance of Transformations before backend: time 0.0004321/0.6677, allocations: 80 kB / 0.5824 GB, free: 4.105 MB / 426.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.2701/0.9379, allocations: 4.771 MB / 0.587 GB, free: 78.29 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.161e-05/0.9379, allocations: 9.5 kB / 0.5871 GB, free: 78.29 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02466/0.9626, allocations: 5.981 MB / 0.5929 GB, free: 78.02 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02001/0.9826, allocations: 9.024 MB / 0.6017 GB, free: 77.57 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002755/0.9829, allocations: 253.2 kB / 0.602 GB, free: 77.56 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001395/0.9844, allocations: 347.2 kB / 0.6023 GB, free: 77.55 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01309/0.9975, allocations: 6.864 MB / 0.609 GB, free: 75.99 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.000156/0.9977, allocations: 62.31 kB / 0.609 GB, free: 75.98 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003539/0.998, allocations: 152.3 kB / 0.6092 GB, free: 75.98 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0009878/0.999, allocations: 0.5858 MB / 0.6098 GB, free: 75.98 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009581/1.009, allocations: 5.016 MB / 0.6147 GB, free: 75.94 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03305/1.042, allocations: 28.33 MB / 0.6423 GB, free: 59.78 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002355/1.044, allocations: 0.721 MB / 0.643 GB, free: 59.56 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.809e-05/1.044, allocations: 15.33 kB / 0.643 GB, free: 59.56 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.902e-05/1.044, allocations: 49.33 kB / 0.6431 GB, free: 59.52 MB / 426.7 MB Notification: Performance of pre-optimization done (n=37): time 2.795e-06/1.044, allocations: 0 / 0.6431 GB, free: 59.52 MB / 426.7 MB Notification: Performance of matching and sorting (n=37): time 0.007497/1.052, allocations: 2.142 MB / 0.6452 GB, free: 59.09 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.187e-05/1.052, allocations: 239.6 kB / 0.6454 GB, free: 58.8 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005896/1.058, allocations: 4.239 MB / 0.6496 GB, free: 57.38 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 4.27e-05/1.058, allocations: 33.7 kB / 0.6496 GB, free: 57.34 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001535/1.059, allocations: 2.761 MB / 0.6523 GB, free: 55.21 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001231/1.059, allocations: 192 kB / 0.6525 GB, free: 55.1 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.254e-05/1.06, allocations: 72.91 kB / 0.6525 GB, free: 55.04 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001579/1.06, allocations: 456.4 kB / 0.653 GB, free: 54.68 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001197/1.061, allocations: 0.819 MB / 0.6538 GB, free: 54.45 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002144/1.063, allocations: 3.405 MB / 0.6571 GB, free: 50.69 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001994/1.065, allocations: 1.573 MB / 0.6586 GB, free: 50.17 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.185e-05/1.065, allocations: 26.22 kB / 0.6587 GB, free: 50.17 MB / 426.7 MB Notification: Performance of matching and sorting (n=446) (initialization): time 0.005886/1.071, allocations: 4.085 MB / 0.6626 GB, free: 48.57 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.004e-05/1.071, allocations: 45.47 kB / 0.6627 GB, free: 48.57 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.873e-05/1.071, allocations: 92.44 kB / 0.6628 GB, free: 48.57 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001165/1.071, allocations: 138.1 kB / 0.6629 GB, free: 48.57 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002042/1.073, allocations: 0.8581 MB / 0.6637 GB, free: 48.46 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001135/1.073, allocations: 180.6 kB / 0.6639 GB, free: 48.42 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00405/1.077, allocations: 0.623 MB / 0.6645 GB, free: 48.09 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002213/1.078, allocations: 236.8 kB / 0.6648 GB, free: 48.06 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.002348/1.08, allocations: 1.626 MB / 0.6663 GB, free: 47.3 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006669/1.081, allocations: 383.9 kB / 0.6667 GB, free: 47.09 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006047/1.081, allocations: 399.4 kB / 0.6671 GB, free: 46.95 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.36e-06/1.081, allocations: 6.453 kB / 0.6671 GB, free: 46.95 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.239e-05/1.081, allocations: 3.25 kB / 0.6671 GB, free: 46.95 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.3e-06/1.081, allocations: 0.75 kB / 0.6671 GB, free: 46.95 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006052/1.087, allocations: 4.564 MB / 0.6716 GB, free: 44.62 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.22e-05/1.088, allocations: 14.97 kB / 0.6716 GB, free: 44.62 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002359/1.088, allocations: 95.41 kB / 0.6717 GB, free: 44.61 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.894e-05/1.088, allocations: 18.83 kB / 0.6717 GB, free: 44.61 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.112e-05/1.088, allocations: 25.94 kB / 0.6717 GB, free: 44.6 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.445e-05/1.088, allocations: 25.88 kB / 0.6717 GB, free: 44.59 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.187e-06/1.088, allocations: 22.94 kB / 0.6717 GB, free: 44.58 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001495/1.089, allocations: 2.84 MB / 0.6745 GB, free: 41.61 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001148/1.091, allocations: 0.5003 MB / 0.675 GB, free: 41.25 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000329/1.091, allocations: 34.31 kB / 0.675 GB, free: 41.24 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009844/1.092, allocations: 63.98 kB / 0.6751 GB, free: 41.23 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.384e-05/1.092, allocations: 69.91 kB / 0.6752 GB, free: 41.2 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.397e-05/1.092, allocations: 26.25 kB / 0.6752 GB, free: 41.2 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.004494/1.096, allocations: 3.142 MB / 0.6783 GB, free: 40.17 MB / 426.7 MB Notification: Performance of sort global known variables: time 4.11e-07/1.096, allocations: 6.625 kB / 0.6783 GB, free: 40.17 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.003908/1.1, allocations: 0.8544 MB / 0.6791 GB, free: 40 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 () * Number of clocked 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.0002317/1.101, allocations: 143.8 kB / 0.6792 GB, free: 39.88 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.002796/1.103, allocations: 1.888 MB / 0.6811 GB, free: 39.25 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 5.26e-06/1.103, allocations: 3.25 kB / 0.6811 GB, free: 39.25 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002176/1.104, allocations: 223.7 kB / 0.6813 GB, free: 39.18 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002398/1.106, allocations: 0.6279 MB / 0.6819 GB, free: 38.96 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009738/1.116, allocations: 8.245 MB / 0.69 GB, free: 34.36 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002406/1.118, allocations: 2.938 MB / 0.6928 GB, free: 33.21 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.00316/1.121, allocations: 1.156 MB / 0.694 GB, free: 33.09 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004758/1.122, allocations: 202.4 kB / 0.6942 GB, free: 33.08 MB / 426.7 MB Notification: Performance of SimCode: time 9.32e-07/1.122, allocations: 0 / 0.6942 GB, free: 33.08 MB / 426.7 MB Notification: Performance of Templates: time 0.05263/1.175, allocations: 27.5 MB / 0.721 GB, free: 17.07 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)