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/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.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 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.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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.009/0.009, allocations: 103.2 kB / 15.73 MB, free: 6.004 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.001939/0.001939, allocations: 191.3 kB / 16.67 MB, free: 5.93 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.452/1.452, allocations: 205.1 MB / 222.5 MB, free: 12.23 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+maint.om/package.mo): time 0.1819/0.1819, allocations: 38 MB / 307.9 MB, free: 5.984 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.1. 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.001425/0.001425, allocations: 67.91 kB / 433 MB, free: 14.42 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1201/0.1215, allocations: 56.47 MB / 489.4 MB, free: 5.879 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Parts.Bodies): time 0.0142/0.1358, allocations: 14.74 MB / 0.4924 GB, free: 7.074 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.009771/0.1456, allocations: 4.665 MB / 0.4969 GB, free: 2.395 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002114/0.1477, allocations: 99.69 kB / 0.497 GB, free: 2.297 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.005806/0.1536, allocations: 3.115 MB / 0.5001 GB, free: 15.17 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.006497/0.1601, allocations: 2.125 MB / 0.5021 GB, free: 13.04 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001989/0.1621, allocations: 1.018 MB / 0.5031 GB, free: 12.02 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.008787/0.1709, allocations: 6.356 MB / 0.5093 GB, free: 5.648 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00577/0.1767, allocations: 3.645 MB / 0.5129 GB, free: 1.934 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004206/0.181, allocations: 1.834 MB / 0.5147 GB, free: 96 kB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.2648/0.4458, allocations: 2.645 MB / 0.5173 GB, free: 10.48 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001548/0.4474, allocations: 359.5 kB / 0.5176 GB, free: 10.48 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003321/0.4507, allocations: 0.9215 MB / 0.5185 GB, free: 10.48 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.003699/0.4544, allocations: 2.33 MB / 0.5208 GB, free: 10.36 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.004742/0.4592, allocations: 2.287 MB / 0.523 GB, free: 9.625 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01161/0.4708, allocations: 6.743 MB / 0.5296 GB, free: 8.715 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.518e-06/0.4709, allocations: 1.219 kB / 0.5296 GB, free: 8.715 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.775e-06/0.4709, allocations: 1.219 kB / 0.5296 GB, free: 8.715 MB / 398.1 MB Notification: Performance of Transformations before backend: time 0.000364/0.4712, allocations: 0 / 0.5296 GB, free: 8.715 MB / 398.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.01678/0.488, allocations: 5.216 MB / 0.5347 GB, free: 6.578 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.502e-05/0.4881, allocations: 12.77 kB / 0.5347 GB, free: 6.574 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0156/0.5037, allocations: 1.834 MB / 0.5365 GB, free: 6.246 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01022/0.5139, allocations: 4.481 MB / 0.5409 GB, free: 4.152 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001816/0.5142, allocations: 208.8 kB / 0.5411 GB, free: 4.074 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001151/0.5153, allocations: 300.1 kB / 0.5414 GB, free: 3.977 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01117/0.5265, allocations: 7.041 MB / 0.5482 GB, free: 15.54 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001388/0.5267, allocations: 57.84 kB / 0.5483 GB, free: 15.52 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003119/0.527, allocations: 122.5 kB / 0.5484 GB, free: 15.45 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001397/0.5284, allocations: 1.003 MB / 0.5494 GB, free: 15.09 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01103/0.5395, allocations: 5.184 MB / 0.5545 GB, free: 12.13 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04811/0.5876, allocations: 27.49 MB / 0.5813 GB, free: 256 kB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003717/0.5914, allocations: 0.735 MB / 0.582 GB, free: 15.48 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004625/0.5919, allocations: 232.3 kB / 0.5822 GB, free: 15.24 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.538e-05/0.5919, allocations: 10.09 kB / 0.5823 GB, free: 15.23 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001177/0.592, allocations: 44.81 kB / 0.5823 GB, free: 15.18 MB / 446.1 MB Notification: Performance of pre-optimization done (n=37): time 3.657e-06/0.5921, allocations: 3.375 kB / 0.5823 GB, free: 15.18 MB / 446.1 MB Notification: Performance of matching and sorting (n=37): time 0.011/0.6031, allocations: 2.019 MB / 0.5843 GB, free: 13.17 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001632/0.6032, allocations: 239.3 kB / 0.5845 GB, free: 12.88 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01228/0.6155, allocations: 4.776 MB / 0.5892 GB, free: 8.098 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 7.081e-05/0.6156, allocations: 33.7 kB / 0.5892 GB, free: 8.059 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002814/0.6185, allocations: 2.708 MB / 0.5918 GB, free: 5.352 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002743/0.6187, allocations: 201 kB / 0.592 GB, free: 5.156 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001559/0.6203, allocations: 0.8049 MB / 0.5928 GB, free: 4.344 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001349/0.6205, allocations: 305.1 kB / 0.5931 GB, free: 4.043 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001891/0.6224, allocations: 0.9094 MB / 0.594 GB, free: 3.133 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003853/0.6262, allocations: 3.629 MB / 0.5975 GB, free: 14.19 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00512/0.6314, allocations: 4.809 MB / 0.6022 GB, free: 8.434 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.14e-05/0.6314, allocations: 28 kB / 0.6023 GB, free: 8.406 MB / 462.1 MB Notification: Performance of matching and sorting (n=499) (initialization): time 0.006847/0.6383, allocations: 4.392 MB / 0.6066 GB, free: 4.578 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.754e-05/0.6384, allocations: 52.69 kB / 0.6066 GB, free: 4.531 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.063e-05/0.6385, allocations: 96 kB / 0.6067 GB, free: 4.438 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001203/0.6386, allocations: 128.8 kB / 0.6068 GB, free: 4.312 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002256/0.6409, allocations: 0.9338 MB / 0.6077 GB, free: 3.465 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001367/0.641, allocations: 190.1 kB / 0.6079 GB, free: 3.281 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003284/0.6443, allocations: 0.5722 MB / 0.6085 GB, free: 2.703 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002463/0.6445, allocations: 248 kB / 0.6087 GB, free: 2.461 MB / 462.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.002723/0.6473, allocations: 1.644 MB / 0.6103 GB, free: 0.8086 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006393/0.6479, allocations: 383.2 kB / 0.6107 GB, free: 440 kB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005986/0.6485, allocations: 376.5 kB / 0.611 GB, free: 60 kB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.736e-06/0.6485, allocations: 4 kB / 0.611 GB, free: 56 kB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.426e-06/0.6486, allocations: 3.938 kB / 0.611 GB, free: 52 kB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.742e-06/0.6486, allocations: 7.984 kB / 0.6111 GB, free: 44 kB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006235/0.6548, allocations: 4.762 MB / 0.6157 GB, free: 11.03 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.264e-05/0.6548, allocations: 12 kB / 0.6157 GB, free: 11.02 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002799/0.6551, allocations: 115.8 kB / 0.6158 GB, free: 10.9 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.646e-05/0.6551, allocations: 20 kB / 0.6158 GB, free: 10.88 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.784e-05/0.6552, allocations: 31.56 kB / 0.6159 GB, free: 10.86 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.958e-05/0.6552, allocations: 27.86 kB / 0.6159 GB, free: 10.83 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.366e-05/0.6552, allocations: 19.94 kB / 0.6159 GB, free: 10.81 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001173/0.6564, allocations: 1.24 MB / 0.6171 GB, free: 9.355 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007832/0.6572, allocations: 496 kB / 0.6176 GB, free: 8.848 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003308/0.6575, allocations: 31.98 kB / 0.6176 GB, free: 8.816 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008938/0.6584, allocations: 35.98 kB / 0.6177 GB, free: 8.781 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.221e-05/0.6585, allocations: 83.62 kB / 0.6178 GB, free: 8.699 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.315e-05/0.6586, allocations: 35.94 kB / 0.6178 GB, free: 8.664 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.004196/0.6628, allocations: 3.138 MB / 0.6209 GB, free: 5.531 MB / 478.1 MB Notification: Performance of sort global known variables: time 2.3e-07/0.6628, allocations: 8 kB / 0.6209 GB, free: 5.523 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.003309/0.6661, allocations: 0.8767 MB / 0.6217 GB, free: 4.645 MB / 478.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.0002176/0.6663, allocations: 138.9 kB / 0.6218 GB, free: 4.5 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.002793/0.6691, allocations: 2.123 MB / 0.6239 GB, free: 2.398 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 5.17e-06/0.6692, allocations: 4 kB / 0.6239 GB, free: 2.395 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002974/0.6695, allocations: 262.4 kB / 0.6242 GB, free: 2.141 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00265/0.6721, allocations: 0.6475 MB / 0.6248 GB, free: 1.516 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01053/0.6827, allocations: 7.335 MB / 0.632 GB, free: 9.969 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003056/0.6858, allocations: 2.863 MB / 0.6348 GB, free: 7.074 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.002865/0.6886, allocations: 1.158 MB / 0.6359 GB, free: 5.914 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005141/0.6892, allocations: 215.4 kB / 0.6361 GB, free: 5.703 MB / 494.1 MB Notification: Performance of SimCode: time 1.402e-06/0.6892, allocations: 0 / 0.6361 GB, free: 5.703 MB / 494.1 MB Notification: Performance of Templates: time 0.05526/0.7444, allocations: 26.56 MB / 0.662 GB, free: 11.27 MB / 0.5137 GB 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)