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/Complex 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+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 ModelicaServices with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo) Using package Modelica with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo) Using package Complex with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+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/Complex 3.2.2+maint.om/package.mo): time 0.009833/0.009833, allocations: 174.6 kB / 15.12 MB, free: 5.973 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo): time 1.485/1.485, allocations: 194.5 MB / 210.3 MB, free: 7.621 MB / 170.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo): time 0.001674/0.001674, allocations: 124.5 kB / 255.6 MB, free: 10.23 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo): time 0.1582/0.1582, allocations: 40.01 MB / 340.8 MB, free: 11.41 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000453/0.0004526, allocations: 10.41 kB / 406.2 MB, free: 51.84 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1182/0.1187, allocations: 54.87 MB / 461 MB, free: 3.324 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3694/0.4882, allocations: 95.23 MB / 0.5432 GB, free: 21.86 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001988/0.4884, allocations: 76.83 kB / 0.5433 GB, free: 21.86 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.2478/0.7363, allocations: 96.1 MB / 0.6371 GB, free: 6.203 MB / 410.7 MB Notification: Performance of FrontEnd: time 3.105e-06/0.7363, allocations: 4 kB / 0.6371 GB, free: 6.199 MB / 410.7 MB Notification: Performance of Transformations before backend: time 0.000579/0.7369, allocations: 79.94 kB / 0.6372 GB, free: 6.121 MB / 410.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.02386/0.7608, allocations: 4.766 MB / 0.6419 GB, free: 1.312 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 7.838e-05/0.7609, allocations: 8.031 kB / 0.6419 GB, free: 1.305 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03876/0.7997, allocations: 5.982 MB / 0.6477 GB, free: 11.31 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.03278/0.8325, allocations: 9.029 MB / 0.6565 GB, free: 2.355 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005643/0.8331, allocations: 250.3 kB / 0.6568 GB, free: 2.125 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00267/0.8358, allocations: 347.4 kB / 0.6571 GB, free: 1.797 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02851/0.8644, allocations: 6.866 MB / 0.6638 GB, free: 10.4 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0007301/0.8652, allocations: 63.48 kB / 0.6639 GB, free: 10.34 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002658/0.8679, allocations: 155.4 kB / 0.664 GB, free: 10.2 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002106/0.8701, allocations: 0.5801 MB / 0.6646 GB, free: 9.613 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01985/0.8899, allocations: 5.021 MB / 0.6695 GB, free: 4.594 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06251/0.9525, allocations: 28.35 MB / 0.6972 GB, free: 7.594 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003767/0.9564, allocations: 0.7074 MB / 0.6979 GB, free: 6.84 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.996e-05/0.9565, allocations: 20.03 kB / 0.6979 GB, free: 6.824 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.146e-05/0.9566, allocations: 38.89 kB / 0.6979 GB, free: 6.777 MB / 474.7 MB Notification: Performance of pre-optimization done (n=37): time 6.983e-06/0.9566, allocations: 0 / 0.6979 GB, free: 6.777 MB / 474.7 MB Notification: Performance of matching and sorting (n=37): time 0.01191/0.9685, allocations: 2.143 MB / 0.7 GB, free: 4.625 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001669/0.9687, allocations: 243.3 kB / 0.7002 GB, free: 4.332 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01559/0.9844, allocations: 4.236 MB / 0.7044 GB, free: 104 kB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001255/0.9845, allocations: 37.7 kB / 0.7044 GB, free: 60 kB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.004601/0.9892, allocations: 2.756 MB / 0.7071 GB, free: 13.3 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004483/0.9896, allocations: 189.7 kB / 0.7073 GB, free: 13.12 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000449/0.9901, allocations: 72 kB / 0.7074 GB, free: 13.05 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0005402/0.9907, allocations: 457.3 kB / 0.7078 GB, free: 12.59 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002702/0.9934, allocations: 0.8226 MB / 0.7086 GB, free: 11.77 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004919/0.9983, allocations: 3.403 MB / 0.7119 GB, free: 7.047 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004069/1.002, allocations: 1.576 MB / 0.7135 GB, free: 5.469 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001343/1.003, allocations: 28 kB / 0.7135 GB, free: 5.441 MB / 490.7 MB Notification: Performance of matching and sorting (n=446) (initialization): time 0.01368/1.016, allocations: 4.085 MB / 0.7175 GB, free: 1.348 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001751/1.017, allocations: 44 kB / 0.7175 GB, free: 1.305 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002839/1.017, allocations: 96.44 kB / 0.7176 GB, free: 1.211 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001968/1.017, allocations: 136 kB / 0.7177 GB, free: 1.078 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004075/1.021, allocations: 0.8654 MB / 0.7186 GB, free: 216 kB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002362/1.021, allocations: 179.3 kB / 0.7188 GB, free: 36 kB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.3433/1.365, allocations: 0.6206 MB / 0.7194 GB, free: 114.8 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007282/1.365, allocations: 230.3 kB / 0.7196 GB, free: 114.8 MB / 490.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.003824/1.369, allocations: 1.624 MB / 0.7212 GB, free: 114.7 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001175/1.37, allocations: 381.3 kB / 0.7215 GB, free: 114.7 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001026/1.372, allocations: 397.7 kB / 0.7219 GB, free: 114.6 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.136e-06/1.372, allocations: 5.188 kB / 0.7219 GB, free: 114.6 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.408e-06/1.372, allocations: 1.188 kB / 0.7219 GB, free: 114.6 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.302e-06/1.372, allocations: 1.031 kB / 0.7219 GB, free: 114.6 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009239/1.381, allocations: 4.564 MB / 0.7264 GB, free: 113.4 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.173e-05/1.381, allocations: 11.31 kB / 0.7264 GB, free: 113.4 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003159/1.381, allocations: 99.41 kB / 0.7265 GB, free: 113.4 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.902e-05/1.381, allocations: 20.69 kB / 0.7265 GB, free: 113.4 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.888e-05/1.381, allocations: 23.34 kB / 0.7265 GB, free: 113.4 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.723e-05/1.381, allocations: 23.2 kB / 0.7265 GB, free: 113.4 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.13e-05/1.381, allocations: 15.66 kB / 0.7266 GB, free: 113.4 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002561/1.384, allocations: 2.853 MB / 0.7293 GB, free: 110.8 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001313/1.385, allocations: 491 kB / 0.7298 GB, free: 110.5 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003518/1.386, allocations: 28.3 kB / 0.7298 GB, free: 110.5 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001092/1.387, allocations: 65.19 kB / 0.7299 GB, free: 110.5 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.37e-05/1.387, allocations: 72.16 kB / 0.73 GB, free: 110.5 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.138e-05/1.387, allocations: 26.94 kB / 0.73 GB, free: 110.5 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.009638/1.397, allocations: 3.139 MB / 0.7331 GB, free: 110.3 MB / 490.7 MB Notification: Performance of sort global known variables: time 8.12e-07/1.397, allocations: 0 / 0.7331 GB, free: 110.3 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.006272/1.403, allocations: 0.8583 MB / 0.7339 GB, free: 110.3 MB / 490.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.0003455/1.403, allocations: 145.8 kB / 0.734 GB, free: 110.2 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.004518/1.408, allocations: 1.888 MB / 0.7359 GB, free: 110.2 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 1.135e-05/1.408, allocations: 3.469 kB / 0.7359 GB, free: 110.2 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003093/1.408, allocations: 221.7 kB / 0.7361 GB, free: 110.2 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003994/1.412, allocations: 0.6269 MB / 0.7367 GB, free: 110.1 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01426/1.426, allocations: 8.242 MB / 0.7448 GB, free: 106.4 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003021/1.429, allocations: 2.938 MB / 0.7476 GB, free: 105.6 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.003629/1.433, allocations: 1.152 MB / 0.7488 GB, free: 105.6 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006612/1.434, allocations: 199.6 kB / 0.7489 GB, free: 105.6 MB / 490.7 MB Notification: Performance of SimCode: time 2.976e-06/1.434, allocations: 0 / 0.7489 GB, free: 105.6 MB / 490.7 MB Notification: Performance of Templates: time 0.05581/1.49, allocations: 27.52 MB / 0.7758 GB, free: 104.4 MB / 490.7 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)