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.001423/0.001423, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.0021/0.0021, allocations: 197.7 kB / 16.14 MB, free: 6.711 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.693/1.693, allocations: 205.1 MB / 222 MB, free: 4.75 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+maint.om/package.mo): time 0.3291/0.3291, allocations: 37.98 MB / 307.3 MB, free: 10.03 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.002017/0.002017, allocations: 59.92 kB / 374.5 MB, free: 15.64 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1599/0.1619, allocations: 56.47 MB / 431 MB, free: 7.07 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Parts.Bodies): time 0.3282/0.4902, allocations: 70.68 MB / 0.4899 GB, free: 11.62 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.03511/0.5253, allocations: 13.93 MB / 0.5035 GB, free: 2.359 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.02475/0.5501, allocations: 308.5 kB / 0.5038 GB, free: 2.312 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.006708/0.5569, allocations: 3.111 MB / 0.5069 GB, free: 0.8477 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.007194/0.5642, allocations: 1.951 MB / 0.5088 GB, free: 15.96 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003259/0.5675, allocations: 0.9521 MB / 0.5097 GB, free: 15.59 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.01524/0.5827, allocations: 8.684 MB / 0.5182 GB, free: 13.28 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.006392/0.5892, allocations: 3.542 MB / 0.5216 GB, free: 12.01 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004004/0.5932, allocations: 1.636 MB / 0.5232 GB, free: 11.39 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.005754/0.599, allocations: 2.829 MB / 0.526 GB, free: 10.12 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001428/0.6005, allocations: 235.8 kB / 0.5262 GB, free: 10.12 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002996/0.6035, allocations: 0.8414 MB / 0.5271 GB, free: 9.797 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002737/0.6062, allocations: 2.192 MB / 0.5292 GB, free: 8.543 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.004524/0.6108, allocations: 2.15 MB / 0.5313 GB, free: 6.5 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.009416/0.6202, allocations: 6.507 MB / 0.5376 GB, free: 15.97 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.09e-06/0.6202, allocations: 0 / 0.5376 GB, free: 15.97 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.413e-06/0.6203, allocations: 0 / 0.5376 GB, free: 15.97 MB / 414.1 MB Notification: Performance of Transformations before backend: time 0.0002913/0.6206, allocations: 0 / 0.5376 GB, free: 15.97 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.01533/0.6359, allocations: 5.217 MB / 0.5427 GB, free: 10.68 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 7.667e-05/0.636, allocations: 12.03 kB / 0.5428 GB, free: 10.67 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01711/0.6531, allocations: 1.825 MB / 0.5445 GB, free: 8.84 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01099/0.6642, allocations: 4.398 MB / 0.5488 GB, free: 4.367 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001914/0.6644, allocations: 209.6 kB / 0.549 GB, free: 4.16 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001328/0.6658, allocations: 288.1 kB / 0.5493 GB, free: 3.879 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01481/0.6806, allocations: 7.038 MB / 0.5562 GB, free: 12.29 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001856/0.6808, allocations: 67.39 kB / 0.5562 GB, free: 12.22 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003431/0.6812, allocations: 127.9 kB / 0.5564 GB, free: 12.1 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001541/0.6827, allocations: 1.002 MB / 0.5573 GB, free: 11.1 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01121/0.6939, allocations: 5.178 MB / 0.5624 GB, free: 5.91 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03653/0.7305, allocations: 27.57 MB / 0.5893 GB, free: 9.633 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002602/0.7332, allocations: 0.7347 MB / 0.59 GB, free: 8.852 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003439/0.7335, allocations: 220.5 kB / 0.5903 GB, free: 8.621 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.622e-05/0.7336, allocations: 11.98 kB / 0.5903 GB, free: 8.609 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.924e-05/0.7336, allocations: 38.56 kB / 0.5903 GB, free: 8.562 MB / 462.1 MB Notification: Performance of pre-optimization done (n=37): time 4.649e-06/0.7336, allocations: 4 kB / 0.5903 GB, free: 8.559 MB / 462.1 MB Notification: Performance of matching and sorting (n=37): time 0.007643/0.7413, allocations: 2.022 MB / 0.5923 GB, free: 6.523 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001496/0.7415, allocations: 235.3 kB / 0.5925 GB, free: 6.238 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008445/0.7499, allocations: 4.773 MB / 0.5972 GB, free: 1.461 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001202/0.7501, allocations: 41.58 kB / 0.5972 GB, free: 1.414 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002417/0.7525, allocations: 2.706 MB / 0.5998 GB, free: 14.68 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002799/0.7528, allocations: 206 kB / 0.6 GB, free: 14.47 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001025/0.7539, allocations: 0.805 MB / 0.6008 GB, free: 13.66 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001215/0.754, allocations: 301.1 kB / 0.6011 GB, free: 13.36 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001409/0.7554, allocations: 0.9133 MB / 0.602 GB, free: 12.45 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003465/0.7589, allocations: 3.623 MB / 0.6055 GB, free: 7.465 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005511/0.7644, allocations: 4.81 MB / 0.6102 GB, free: 1.293 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.356e-05/0.7645, allocations: 28 kB / 0.6103 GB, free: 1.266 MB / 478.1 MB Notification: Performance of matching and sorting (n=499) (initialization): time 0.008022/0.7725, allocations: 4.394 MB / 0.6146 GB, free: 12.86 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.006e-05/0.7726, allocations: 51.92 kB / 0.6146 GB, free: 12.81 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.65e-05/0.7727, allocations: 104.1 kB / 0.6147 GB, free: 12.71 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001092/0.7728, allocations: 127.9 kB / 0.6148 GB, free: 12.59 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002462/0.7753, allocations: 0.9318 MB / 0.6157 GB, free: 11.65 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001431/0.7755, allocations: 187.2 kB / 0.6159 GB, free: 11.47 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004038/0.7795, allocations: 0.5764 MB / 0.6165 GB, free: 10.89 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003914/0.7799, allocations: 244 kB / 0.6167 GB, free: 10.65 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.002645/0.7826, allocations: 1.644 MB / 0.6183 GB, free: 8.992 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008464/0.7834, allocations: 371.2 kB / 0.6187 GB, free: 8.625 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006581/0.7841, allocations: 380.5 kB / 0.619 GB, free: 8.254 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.194e-06/0.7841, allocations: 4.188 kB / 0.619 GB, free: 8.25 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.426e-05/0.7841, allocations: 8 kB / 0.6191 GB, free: 8.242 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.953e-06/0.7841, allocations: 0 / 0.6191 GB, free: 8.242 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006559/0.7907, allocations: 4.77 MB / 0.6237 GB, free: 3.207 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.792e-05/0.7908, allocations: 16 kB / 0.6237 GB, free: 3.191 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002971/0.7911, allocations: 115.8 kB / 0.6238 GB, free: 3.078 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.596e-05/0.7911, allocations: 16 kB / 0.6239 GB, free: 3.062 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.883e-05/0.7911, allocations: 28 kB / 0.6239 GB, free: 3.035 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.953e-05/0.7912, allocations: 24.55 kB / 0.6239 GB, free: 3.012 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.744e-05/0.7912, allocations: 24.41 kB / 0.6239 GB, free: 2.988 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001723/0.7929, allocations: 1.221 MB / 0.6251 GB, free: 1.551 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001079/0.794, allocations: 488.1 kB / 0.6256 GB, free: 1.051 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004019/0.7944, allocations: 32 kB / 0.6256 GB, free: 1.02 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009493/0.7954, allocations: 39.97 kB / 0.6257 GB, free: 0.9805 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.045e-05/0.7955, allocations: 79.58 kB / 0.6257 GB, free: 0.9023 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.55e-05/0.7955, allocations: 36 kB / 0.6258 GB, free: 0.8672 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.2267/1.022, allocations: 3.147 MB / 0.6288 GB, free: 145.5 MB / 494.1 MB Notification: Performance of sort global known variables: time 5.61e-07/1.022, allocations: 0 / 0.6288 GB, free: 145.5 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.004119/1.026, allocations: 0.8747 MB / 0.6297 GB, free: 145.5 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.0002592/1.027, allocations: 148 kB / 0.6298 GB, free: 145.5 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.003169/1.03, allocations: 2.093 MB / 0.6319 GB, free: 145.3 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 7.183e-06/1.03, allocations: 0 / 0.6319 GB, free: 145.3 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002916/1.03, allocations: 268.4 kB / 0.6321 GB, free: 145.3 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004069/1.034, allocations: 0.6069 MB / 0.6327 GB, free: 145.2 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01336/1.048, allocations: 8.909 MB / 0.6414 GB, free: 140.2 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002559/1.05, allocations: 2.872 MB / 0.6442 GB, free: 139 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.002869/1.053, allocations: 1.152 MB / 0.6454 GB, free: 139 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004025/1.054, allocations: 215 kB / 0.6456 GB, free: 139 MB / 494.1 MB Notification: Performance of SimCode: time 9.01e-07/1.054, allocations: 0 / 0.6456 GB, free: 139 MB / 494.1 MB Notification: Performance of Templates: time 0.06986/1.123, allocations: 28.92 MB / 0.6738 GB, free: 133.7 MB / 494.1 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)