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.009848/0.009848, allocations: 103 kB / 15.73 MB, free: 6.035 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.002279/0.002279, allocations: 190 kB / 16.67 MB, free: 5.965 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.544/1.544, allocations: 205.1 MB / 222.5 MB, free: 4.52 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.3221/0.3221, allocations: 37.99 MB / 307.9 MB, free: 10.17 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.001889/0.001889, allocations: 71.84 kB / 433 MB, free: 5.43 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3674/0.3693, allocations: 56.47 MB / 489.4 MB, free: 20 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Parts.Bodies): time 0.01421/0.3836, allocations: 14.73 MB / 0.4924 GB, free: 9.504 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.01261/0.3962, allocations: 4.68 MB / 0.4969 GB, free: 6.379 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.005304/0.4016, allocations: 104.1 kB / 0.497 GB, free: 6.355 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.007635/0.4093, allocations: 3.108 MB / 0.5001 GB, free: 4.887 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.007878/0.4172, allocations: 2.066 MB / 0.5021 GB, free: 3.672 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00246/0.4197, allocations: 1.014 MB / 0.5031 GB, free: 3.016 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.01115/0.4309, allocations: 6.359 MB / 0.5093 GB, free: 15.76 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.005442/0.4364, allocations: 3.646 MB / 0.5128 GB, free: 13.62 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005239/0.4416, allocations: 1.831 MB / 0.5146 GB, free: 12.59 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.005829/0.4475, allocations: 2.656 MB / 0.5172 GB, free: 10.99 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.002911/0.4505, allocations: 361.7 kB / 0.5176 GB, free: 10.87 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003848/0.4543, allocations: 0.9209 MB / 0.5185 GB, free: 9.945 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.003901/0.4583, allocations: 2.334 MB / 0.5207 GB, free: 7.605 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.004655/0.463, allocations: 2.285 MB / 0.523 GB, free: 5.309 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.009523/0.4725, allocations: 6.74 MB / 0.5296 GB, free: 14.55 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.971e-06/0.4726, allocations: 0 / 0.5296 GB, free: 14.55 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.964e-06/0.4726, allocations: 0 / 0.5296 GB, free: 14.55 MB / 414.1 MB Notification: Performance of Transformations before backend: time 0.0002433/0.4728, allocations: 4 kB / 0.5296 GB, free: 14.54 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.01392/0.4867, allocations: 5.217 MB / 0.5347 GB, free: 9.254 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.587e-05/0.4868, allocations: 15.83 kB / 0.5347 GB, free: 9.238 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0182/0.505, allocations: 1.833 MB / 0.5365 GB, free: 7.398 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01171/0.5168, allocations: 4.484 MB / 0.5408 GB, free: 2.84 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002115/0.517, allocations: 209.6 kB / 0.541 GB, free: 2.633 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001113/0.5182, allocations: 295.8 kB / 0.5413 GB, free: 2.344 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01366/0.5318, allocations: 7.039 MB / 0.5482 GB, free: 10.75 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001699/0.532, allocations: 55.55 kB / 0.5483 GB, free: 10.7 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000336/0.5324, allocations: 131.9 kB / 0.5484 GB, free: 10.57 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001574/0.534, allocations: 1.002 MB / 0.5494 GB, free: 9.562 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01083/0.5448, allocations: 5.182 MB / 0.5544 GB, free: 4.379 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03561/0.5804, allocations: 27.5 MB / 0.5813 GB, free: 8.145 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002445/0.5829, allocations: 0.7386 MB / 0.582 GB, free: 7.359 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003127/0.5833, allocations: 212.2 kB / 0.5822 GB, free: 7.137 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.541e-05/0.5833, allocations: 12.3 kB / 0.5822 GB, free: 7.125 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.252e-05/0.5834, allocations: 46.55 kB / 0.5822 GB, free: 7.07 MB / 462.1 MB Notification: Performance of pre-optimization done (n=37): time 2.044e-06/0.5834, allocations: 0 / 0.5822 GB, free: 7.07 MB / 462.1 MB Notification: Performance of matching and sorting (n=37): time 0.007139/0.5905, allocations: 2.015 MB / 0.5842 GB, free: 5.043 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001197/0.5907, allocations: 239.3 kB / 0.5844 GB, free: 4.754 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008/0.5987, allocations: 4.78 MB / 0.5891 GB, free: 15.96 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 7.871e-05/0.5988, allocations: 33.7 kB / 0.5891 GB, free: 15.93 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002132/0.6009, allocations: 2.714 MB / 0.5918 GB, free: 13.18 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001962/0.6011, allocations: 202 kB / 0.592 GB, free: 12.98 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008616/0.602, allocations: 0.8049 MB / 0.5928 GB, free: 12.17 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 8.8e-05/0.6021, allocations: 301.1 kB / 0.5931 GB, free: 11.88 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00148/0.6036, allocations: 0.9094 MB / 0.5939 GB, free: 10.96 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003948/0.6075, allocations: 3.639 MB / 0.5975 GB, free: 5.965 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005951/0.6135, allocations: 4.795 MB / 0.6022 GB, free: 15.81 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.346e-05/0.6136, allocations: 31.94 kB / 0.6022 GB, free: 15.78 MB / 494.1 MB Notification: Performance of matching and sorting (n=499) (initialization): time 0.007486/0.6211, allocations: 4.402 MB / 0.6065 GB, free: 11.37 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.594e-05/0.6212, allocations: 48 kB / 0.6066 GB, free: 11.32 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.845e-05/0.6213, allocations: 99.94 kB / 0.6067 GB, free: 11.22 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001262/0.6214, allocations: 127.9 kB / 0.6068 GB, free: 11.1 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002489/0.6239, allocations: 0.936 MB / 0.6077 GB, free: 10.16 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001503/0.6241, allocations: 187.3 kB / 0.6079 GB, free: 9.977 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003594/0.6277, allocations: 0.576 MB / 0.6084 GB, free: 9.395 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003073/0.628, allocations: 248 kB / 0.6087 GB, free: 9.152 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.002271/0.6303, allocations: 1.633 MB / 0.6103 GB, free: 7.504 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000691/0.631, allocations: 367.3 kB / 0.6106 GB, free: 7.141 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005848/0.6316, allocations: 380.5 kB / 0.611 GB, free: 6.77 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.975e-06/0.6316, allocations: 8 kB / 0.611 GB, free: 6.762 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.175e-06/0.6316, allocations: 0 / 0.611 GB, free: 6.762 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.552e-06/0.6316, allocations: 4 kB / 0.611 GB, free: 6.758 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006401/0.638, allocations: 4.77 MB / 0.6156 GB, free: 1.723 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.433e-05/0.6381, allocations: 13 kB / 0.6157 GB, free: 1.711 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002948/0.6384, allocations: 115.8 kB / 0.6158 GB, free: 1.598 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.76e-05/0.6384, allocations: 20 kB / 0.6158 GB, free: 1.578 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.799e-05/0.6384, allocations: 28 kB / 0.6158 GB, free: 1.551 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.787e-05/0.6384, allocations: 23.92 kB / 0.6158 GB, free: 1.527 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.247e-05/0.6385, allocations: 23.88 kB / 0.6159 GB, free: 1.504 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001294/0.6398, allocations: 1.235 MB / 0.6171 GB, free: 52 kB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001029/0.6408, allocations: 0.4884 MB / 0.6175 GB, free: 15.54 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003084/0.6411, allocations: 35.98 kB / 0.6176 GB, free: 15.5 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009085/0.642, allocations: 35.98 kB / 0.6176 GB, free: 15.47 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.61e-05/0.6421, allocations: 91.56 kB / 0.6177 GB, free: 15.38 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.301e-05/0.6422, allocations: 32 kB / 0.6177 GB, free: 15.35 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.004172/0.6464, allocations: 3.142 MB / 0.6208 GB, free: 12.21 MB / 0.4981 GB Notification: Performance of sort global known variables: time 2.61e-07/0.6464, allocations: 0 / 0.6208 GB, free: 12.21 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.003579/0.65, allocations: 0.8728 MB / 0.6217 GB, free: 11.34 MB / 0.4981 GB 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.0002463/0.6502, allocations: 146.9 kB / 0.6218 GB, free: 11.18 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.003268/0.6535, allocations: 2.122 MB / 0.6239 GB, free: 9.078 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.137e-05/0.6535, allocations: 4.75 kB / 0.6239 GB, free: 9.074 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0003175/0.6538, allocations: 267 kB / 0.6241 GB, free: 8.816 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003295/0.6571, allocations: 0.6446 MB / 0.6248 GB, free: 8.168 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01113/0.6683, allocations: 7.34 MB / 0.6319 GB, free: 0.6133 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.2602/0.9286, allocations: 2.861 MB / 0.6347 GB, free: 122.9 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.003927/0.9326, allocations: 1.155 MB / 0.6358 GB, free: 122.8 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006296/0.9332, allocations: 205.5 kB / 0.636 GB, free: 122.8 MB / 0.4981 GB Notification: Performance of SimCode: time 1.473e-06/0.9332, allocations: 0 / 0.636 GB, free: 122.8 MB / 0.4981 GB Notification: Performance of Templates: time 0.06748/1.001, allocations: 26.78 MB / 0.6622 GB, free: 114.3 MB / 0.4981 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)