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.001367/0.001367, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.001664/0.001664, allocations: 191.1 kB / 16.25 MB, free: 6.633 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.674/1.674, allocations: 205.1 MB / 222.1 MB, free: 4.715 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.3794/0.3794, allocations: 39.94 MB / 309.4 MB, free: 9.066 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.002205/0.002205, allocations: 70.88 kB / 377.1 MB, free: 12.74 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1572/0.1595, allocations: 56.88 MB / 434 MB, free: 3.762 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Parts.Bodies): time 0.3171/0.4766, allocations: 70.67 MB / 0.4928 GB, free: 9.211 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.03575/0.5124, allocations: 13.84 MB / 0.5063 GB, free: 15.99 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0183/0.5307, allocations: 312.8 kB / 0.5066 GB, free: 15.94 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.008024/0.5389, allocations: 3.016 MB / 0.5096 GB, free: 14.53 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.009824/0.5488, allocations: 1.931 MB / 0.5115 GB, free: 13.65 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004/0.5528, allocations: 0.9657 MB / 0.5124 GB, free: 13.27 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.01678/0.5696, allocations: 6.528 MB / 0.5188 GB, free: 11.23 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.009437/0.5791, allocations: 3.821 MB / 0.5225 GB, free: 9.656 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.006652/0.5858, allocations: 1.888 MB / 0.5244 GB, free: 8.863 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.005871/0.5917, allocations: 2.95 MB / 0.5272 GB, free: 7.773 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001947/0.5937, allocations: 357.4 kB / 0.5276 GB, free: 7.773 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004139/0.5978, allocations: 0.9387 MB / 0.5285 GB, free: 7.477 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.004381/0.6023, allocations: 2.33 MB / 0.5308 GB, free: 5.617 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.006101/0.6084, allocations: 2.3 MB / 0.533 GB, free: 3.305 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0105/0.6189, allocations: 6.643 MB / 0.5395 GB, free: 12.64 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.418e-06/0.619, allocations: 0 / 0.5395 GB, free: 12.64 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.653e-06/0.619, allocations: 0 / 0.5395 GB, free: 12.64 MB / 414.1 MB Notification: Performance of Transformations before backend: time 0.0002777/0.6193, allocations: 0 / 0.5395 GB, free: 12.64 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.01372/0.633, allocations: 5.218 MB / 0.5446 GB, free: 7.352 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.133e-05/0.633, allocations: 11.89 kB / 0.5446 GB, free: 7.34 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01737/0.6504, allocations: 1.837 MB / 0.5464 GB, free: 5.496 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009916/0.6604, allocations: 4.387 MB / 0.5507 GB, free: 1.035 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002465/0.6606, allocations: 209.6 kB / 0.5509 GB, free: 0.8281 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001218/0.6619, allocations: 292 kB / 0.5512 GB, free: 0.543 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01649/0.6784, allocations: 7.042 MB / 0.5581 GB, free: 8.949 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003354/0.6788, allocations: 55.55 kB / 0.5581 GB, free: 8.895 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001221/0.68, allocations: 127.9 kB / 0.5582 GB, free: 8.77 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001648/0.6817, allocations: 1.002 MB / 0.5592 GB, free: 7.773 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01277/0.6945, allocations: 5.182 MB / 0.5643 GB, free: 2.578 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04219/0.7367, allocations: 27.57 MB / 0.5912 GB, free: 6.297 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002676/0.7394, allocations: 0.7464 MB / 0.5919 GB, free: 5.504 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003936/0.7398, allocations: 216.3 kB / 0.5921 GB, free: 5.277 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.001e-05/0.7399, allocations: 8.297 kB / 0.5921 GB, free: 5.27 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.433e-05/0.74, allocations: 46.48 kB / 0.5922 GB, free: 5.215 MB / 462.1 MB Notification: Performance of pre-optimization done (n=37): time 2.104e-06/0.74, allocations: 0 / 0.5922 GB, free: 5.215 MB / 462.1 MB Notification: Performance of matching and sorting (n=37): time 0.007675/0.7477, allocations: 2.015 MB / 0.5941 GB, free: 3.188 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000137/0.7478, allocations: 239.7 kB / 0.5944 GB, free: 2.898 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01134/0.7592, allocations: 4.776 MB / 0.599 GB, free: 14.12 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001308/0.7594, allocations: 33.7 kB / 0.5991 GB, free: 14.08 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.00333/0.7627, allocations: 2.71 MB / 0.6017 GB, free: 11.34 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003782/0.7631, allocations: 206.1 kB / 0.6019 GB, free: 11.13 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001121/0.7642, allocations: 0.801 MB / 0.6027 GB, free: 10.32 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001268/0.7644, allocations: 305.1 kB / 0.603 GB, free: 10.02 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001388/0.7658, allocations: 0.9094 MB / 0.6039 GB, free: 9.113 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004217/0.77, allocations: 3.631 MB / 0.6074 GB, free: 4.121 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.008375/0.7784, allocations: 4.806 MB / 0.6121 GB, free: 13.95 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001955/0.7786, allocations: 28 kB / 0.6121 GB, free: 13.93 MB / 494.1 MB Notification: Performance of matching and sorting (n=499) (initialization): time 0.01013/0.7888, allocations: 4.394 MB / 0.6164 GB, free: 9.523 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001164/0.7889, allocations: 48 kB / 0.6165 GB, free: 9.477 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000196/0.7891, allocations: 100.1 kB / 0.6166 GB, free: 9.379 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000161/0.7893, allocations: 128 kB / 0.6167 GB, free: 9.254 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002677/0.792, allocations: 0.9318 MB / 0.6176 GB, free: 8.32 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001736/0.7922, allocations: 187.3 kB / 0.6178 GB, free: 8.137 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004582/0.7968, allocations: 0.5761 MB / 0.6183 GB, free: 7.555 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004979/0.7973, allocations: 248.2 kB / 0.6186 GB, free: 7.312 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.003468/0.8008, allocations: 1.652 MB / 0.6202 GB, free: 5.645 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001164/0.8019, allocations: 371.3 kB / 0.6205 GB, free: 5.277 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001094/0.803, allocations: 380.5 kB / 0.6209 GB, free: 4.906 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.308e-06/0.8031, allocations: 4 kB / 0.6209 GB, free: 4.902 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.818e-06/0.8031, allocations: 0 / 0.6209 GB, free: 4.902 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.848e-06/0.8031, allocations: 7.984 kB / 0.6209 GB, free: 4.895 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.2929/1.096, allocations: 4.758 MB / 0.6256 GB, free: 144.2 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.708e-05/1.096, allocations: 15.19 kB / 0.6256 GB, free: 144.2 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003176/1.096, allocations: 116.1 kB / 0.6257 GB, free: 144.2 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.994e-05/1.096, allocations: 20.28 kB / 0.6257 GB, free: 144.2 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.686e-05/1.096, allocations: 25.06 kB / 0.6257 GB, free: 144.2 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.903e-05/1.096, allocations: 30.83 kB / 0.6258 GB, free: 144.2 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.185e-05/1.096, allocations: 20.75 kB / 0.6258 GB, free: 144.2 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001688/1.098, allocations: 1.228 MB / 0.627 GB, free: 143.7 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001055/1.099, allocations: 487.6 kB / 0.6274 GB, free: 143.6 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004037/1.1, allocations: 32.19 kB / 0.6275 GB, free: 143.6 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009634/1.101, allocations: 35.84 kB / 0.6275 GB, free: 143.6 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.05e-05/1.101, allocations: 86.16 kB / 0.6276 GB, free: 143.6 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.168e-05/1.101, allocations: 32.75 kB / 0.6276 GB, free: 143.6 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.00444/1.105, allocations: 3.14 MB / 0.6307 GB, free: 143.4 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.91e-07/1.105, allocations: 0 / 0.6307 GB, free: 143.4 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.004113/1.109, allocations: 0.878 MB / 0.6316 GB, free: 143.3 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.0002952/1.11, allocations: 154 kB / 0.6317 GB, free: 143.2 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.003484/1.113, allocations: 2.124 MB / 0.6338 GB, free: 142.8 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 1.207e-05/1.113, allocations: 2.875 kB / 0.6338 GB, free: 142.8 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003004/1.113, allocations: 267 kB / 0.634 GB, free: 142.8 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003938/1.117, allocations: 0.6442 MB / 0.6347 GB, free: 142.5 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0121/1.13, allocations: 8.9 MB / 0.6434 GB, free: 137.5 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002677/1.132, allocations: 2.866 MB / 0.6462 GB, free: 136.4 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.003088/1.135, allocations: 1.16 MB / 0.6473 GB, free: 136.3 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004634/1.136, allocations: 212.5 kB / 0.6475 GB, free: 136.2 MB / 494.1 MB Notification: Performance of SimCode: time 7.91e-07/1.136, allocations: 0 / 0.6475 GB, free: 136.2 MB / 494.1 MB Notification: Performance of Templates: time 0.07004/1.206, allocations: 30.09 MB / 0.6769 GB, free: 129.8 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)