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.001414/0.001414, allocations: 99.08 kB / 15.05 MB, free: 1.105 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.001674/0.001674, allocations: 177.3 kB / 15.94 MB, free: 228 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.651/1.651, allocations: 205.4 MB / 222.1 MB, free: 5.523 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.3762/0.3762, allocations: 38.03 MB / 308.4 MB, free: 10.52 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.0008724/0.0008725, allocations: 16 kB / 376.4 MB, free: 15.21 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1421/0.143, allocations: 57.52 MB / 433.9 MB, free: 5.586 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Parts.Bodies): time 0.3184/0.4615, allocations: 60.5 MB / 494.4 MB, free: 18.27 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.03753/0.499, allocations: 13.94 MB / 0.4965 GB, free: 8.805 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01931/0.5184, allocations: 308.4 kB / 0.4967 GB, free: 8.754 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01307/0.5315, allocations: 3.012 MB / 0.4997 GB, free: 7.766 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.03442/0.566, allocations: 8.834 MB / 0.5083 GB, free: 3.562 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.005385/0.5714, allocations: 0.92 MB / 0.5092 GB, free: 3.23 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.04474/0.6161, allocations: 27.01 MB / 0.5356 GB, free: 3.93 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.007612/0.6238, allocations: 4.208 MB / 0.5397 GB, free: 15.7 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002893/0.6268, allocations: 1.254 MB / 0.5409 GB, free: 14.44 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002951/0.6297, allocations: 1.831 MB / 0.5427 GB, free: 12.61 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0007/0.6305, allocations: 143.9 kB / 0.5428 GB, free: 12.46 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001746/0.6322, allocations: 0.6048 MB / 0.5434 GB, free: 11.86 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.00203/0.6343, allocations: 1.917 MB / 0.5453 GB, free: 9.938 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001323/0.6356, allocations: 0.8078 MB / 0.5461 GB, free: 9.121 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.007266/0.6429, allocations: 5.46 MB / 0.5514 GB, free: 3.648 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.778e-06/0.6429, allocations: 0 / 0.5514 GB, free: 3.648 MB / 414.1 MB Notification: Performance of FrontEnd: time 3.095e-06/0.6429, allocations: 4 kB / 0.5514 GB, free: 3.645 MB / 414.1 MB Notification: Performance of Transformations before backend: time 0.0002306/0.6432, allocations: 0 / 0.5514 GB, free: 3.645 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.0131/0.6563, allocations: 4.68 MB / 0.556 GB, free: 14.89 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.386e-05/0.6563, allocations: 11.97 kB / 0.556 GB, free: 14.88 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.09862/0.755, allocations: 9.978 MB / 0.5658 GB, free: 4.887 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0119/0.7669, allocations: 5.28 MB / 0.5709 GB, free: 15.53 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001757/0.7671, allocations: 209.2 kB / 0.5711 GB, free: 15.33 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005724/0.7677, allocations: 285.5 kB / 0.5714 GB, free: 15.05 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01167/0.7794, allocations: 6.996 MB / 0.5782 GB, free: 7.504 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001478/0.7796, allocations: 63.45 kB / 0.5783 GB, free: 7.441 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003087/0.7799, allocations: 119.9 kB / 0.5784 GB, free: 7.324 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001508/0.7814, allocations: 0.9978 MB / 0.5794 GB, free: 6.324 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0114/0.7928, allocations: 5.025 MB / 0.5843 GB, free: 1.293 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03814/0.831, allocations: 27.6 MB / 0.6112 GB, free: 4.969 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002446/0.8335, allocations: 0.7308 MB / 0.6119 GB, free: 4.191 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.286e-05/0.8336, allocations: 20.41 kB / 0.612 GB, free: 4.172 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.383e-05/0.8336, allocations: 42.52 kB / 0.612 GB, free: 4.121 MB / 478.1 MB Notification: Performance of pre-optimization done (n=37): time 2.184e-06/0.8336, allocations: 0 / 0.612 GB, free: 4.121 MB / 478.1 MB Notification: Performance of matching and sorting (n=37): time 0.008081/0.8417, allocations: 2.255 MB / 0.6142 GB, free: 1.855 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001328/0.8419, allocations: 243.3 kB / 0.6144 GB, free: 1.562 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008684/0.8505, allocations: 5.389 MB / 0.6197 GB, free: 12.18 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 9.123e-05/0.8507, allocations: 37.64 kB / 0.6197 GB, free: 12.13 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002503/0.8532, allocations: 2.766 MB / 0.6224 GB, free: 9.336 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002618/0.8535, allocations: 194 kB / 0.6226 GB, free: 9.145 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001125/0.8536, allocations: 75.94 kB / 0.6227 GB, free: 9.07 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0002662/0.8538, allocations: 457.4 kB / 0.6231 GB, free: 8.617 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001273/0.8551, allocations: 0.7759 MB / 0.6239 GB, free: 7.84 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003015/0.8582, allocations: 3.39 MB / 0.6272 GB, free: 3.121 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002431/0.8606, allocations: 1.545 MB / 0.6287 GB, free: 1.574 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.968e-05/0.8607, allocations: 24 kB / 0.6287 GB, free: 1.551 MB / 494.1 MB Notification: Performance of matching and sorting (n=449) (initialization): time 0.2793/1.14, allocations: 4.017 MB / 0.6327 GB, free: 143.2 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.821e-05/1.14, allocations: 47.72 kB / 0.6327 GB, free: 143.2 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001115/1.14, allocations: 97.27 kB / 0.6328 GB, free: 143.2 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001193/1.14, allocations: 138.8 kB / 0.6329 GB, free: 143.2 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002339/1.143, allocations: 0.8558 MB / 0.6338 GB, free: 143.2 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001181/1.143, allocations: 184.5 kB / 0.6339 GB, free: 143.1 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004391/1.147, allocations: 0.5628 MB / 0.6345 GB, free: 143.1 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005059/1.148, allocations: 238 kB / 0.6347 GB, free: 143.1 MB / 494.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 430 * 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 (449): * Single equations (assignments): 449 * 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.0031/1.151, allocations: 1.631 MB / 0.6363 GB, free: 142.9 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001036/1.152, allocations: 382.8 kB / 0.6367 GB, free: 142.8 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007494/1.153, allocations: 402.7 kB / 0.6371 GB, free: 142.8 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.396e-06/1.153, allocations: 9.734 kB / 0.6371 GB, free: 142.8 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.303e-05/1.153, allocations: 1.375 kB / 0.6371 GB, free: 142.8 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.755e-06/1.153, allocations: 3.219 kB / 0.6371 GB, free: 142.8 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00732/1.16, allocations: 4.819 MB / 0.6418 GB, free: 141.4 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.693e-05/1.16, allocations: 12.88 kB / 0.6418 GB, free: 141.4 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003039/1.16, allocations: 118.2 kB / 0.6419 GB, free: 141.4 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.407e-05/1.16, allocations: 18.84 kB / 0.6419 GB, free: 141.4 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.018e-05/1.16, allocations: 29.81 kB / 0.6419 GB, free: 141.4 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.03e-05/1.161, allocations: 31.31 kB / 0.642 GB, free: 141.4 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.565e-05/1.161, allocations: 21.5 kB / 0.642 GB, free: 141.4 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002835/1.163, allocations: 3.29 MB / 0.6452 GB, free: 138.2 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00147/1.165, allocations: 0.5136 MB / 0.6457 GB, free: 137.9 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003913/1.165, allocations: 32.47 kB / 0.6457 GB, free: 137.9 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001089/1.166, allocations: 38.36 kB / 0.6458 GB, free: 137.9 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001109/1.166, allocations: 85.31 kB / 0.6459 GB, free: 137.8 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.054e-05/1.167, allocations: 33.94 kB / 0.6459 GB, free: 137.8 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.005221/1.172, allocations: 3.632 MB / 0.6494 GB, free: 137 MB / 494.1 MB Notification: Performance of sort global known variables: time 4.81e-07/1.172, allocations: 0 / 0.6494 GB, free: 137 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.004256/1.176, allocations: 0.861 MB / 0.6503 GB, free: 136.8 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 (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.0003677/1.176, allocations: 164.5 kB / 0.6504 GB, free: 136.7 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.003109/1.18, allocations: 1.884 MB / 0.6523 GB, free: 136.1 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 1.222e-05/1.18, allocations: 0 / 0.6523 GB, free: 136.1 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003488/1.18, allocations: 263.4 kB / 0.6525 GB, free: 136 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003651/1.184, allocations: 0.6337 MB / 0.6531 GB, free: 135.8 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01283/1.196, allocations: 8.413 MB / 0.6614 GB, free: 131.2 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003315/1.2, allocations: 2.945 MB / 0.6642 GB, free: 130 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.003749/1.204, allocations: 1.18 MB / 0.6654 GB, free: 129.9 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007006/1.204, allocations: 219.9 kB / 0.6656 GB, free: 129.9 MB / 494.1 MB Notification: Performance of SimCode: time 1.072e-06/1.204, allocations: 0 / 0.6656 GB, free: 129.9 MB / 494.1 MB Notification: Performance of Templates: time 0.07108/1.275, allocations: 29.41 MB / 0.6943 GB, free: 119.7 MB / 494.1 MB make -j1 -f ModelicaTest_3.2.1_ModelicaTest.MultiBody.Parts.Bodies.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: