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.0007343/0.0007343, allocations: 84.38 kB / 15.06 MB, free: 1.09 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.0008562/0.0008562, allocations: 168.7 kB / 15.95 MB, free: 204 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.361/1.361, allocations: 205.4 MB / 222.1 MB, free: 5.637 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.2939/0.2939, allocations: 38.03 MB / 308.4 MB, free: 10.41 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.0005232/0.0005232, allocations: 16 kB / 376.4 MB, free: 15.16 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1125/0.113, allocations: 57.53 MB / 434 MB, free: 5.531 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Parts.Bodies): time 0.2451/0.3582, allocations: 64.1 MB / 498.1 MB, free: 15.87 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.03133/0.3896, allocations: 13.31 MB / 0.4994 GB, free: 6.824 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01417/0.4038, allocations: 309.2 kB / 0.4997 GB, free: 6.773 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01011/0.4139, allocations: 3.166 MB / 0.5028 GB, free: 5.645 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.03025/0.4442, allocations: 9.584 MB / 0.5121 GB, free: 1.633 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004527/0.4488, allocations: 0.9279 MB / 0.513 GB, free: 1.305 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.04701/0.4958, allocations: 35.13 MB / 0.5474 GB, free: 8.246 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.006422/0.5023, allocations: 4.245 MB / 0.5515 GB, free: 3.973 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003002/0.5053, allocations: 1.537 MB / 0.553 GB, free: 2.43 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00348/0.5088, allocations: 2.548 MB / 0.5555 GB, free: 15.88 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0005471/0.5094, allocations: 143.9 kB / 0.5556 GB, free: 15.73 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001541/0.511, allocations: 0.6399 MB / 0.5562 GB, free: 15.09 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002/0.513, allocations: 2.065 MB / 0.5583 GB, free: 13.02 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0009225/0.5139, allocations: 0.796 MB / 0.559 GB, free: 12.22 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004642/0.5186, allocations: 5.198 MB / 0.5641 GB, free: 7.008 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.679e-06/0.5186, allocations: 0 / 0.5641 GB, free: 7.008 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.543e-06/0.5186, allocations: 0 / 0.5641 GB, free: 7.008 MB / 430.1 MB Notification: Performance of Transformations before backend: time 0.0001221/0.5187, allocations: 0 / 0.5641 GB, free: 7.008 MB / 430.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.00845/0.5272, allocations: 4.431 MB / 0.5684 GB, free: 2.508 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.757e-05/0.5272, allocations: 8.031 kB / 0.5685 GB, free: 2.5 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01375/0.541, allocations: 1.887 MB / 0.5703 GB, free: 0.6055 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008745/0.5498, allocations: 4.29 MB / 0.5745 GB, free: 12.24 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002335/0.55, allocations: 209.2 kB / 0.5747 GB, free: 12.04 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0009637/0.551, allocations: 289.4 kB / 0.575 GB, free: 11.75 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01234/0.5634, allocations: 7.058 MB / 0.5819 GB, free: 4.145 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001581/0.5636, allocations: 59.45 kB / 0.5819 GB, free: 4.086 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000308/0.5639, allocations: 131.9 kB / 0.582 GB, free: 3.957 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001328/0.5652, allocations: 0.9977 MB / 0.583 GB, free: 2.957 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009377/0.5746, allocations: 5.201 MB / 0.5881 GB, free: 13.75 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03059/0.6052, allocations: 27.55 MB / 0.615 GB, free: 1.492 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002275/0.6075, allocations: 0.7309 MB / 0.6157 GB, free: 0.7148 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002934/0.6078, allocations: 220.2 kB / 0.6159 GB, free: 496 kB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.414e-05/0.6079, allocations: 8.297 kB / 0.6159 GB, free: 488 kB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.147e-05/0.6079, allocations: 42.56 kB / 0.616 GB, free: 436 kB / 478.1 MB Notification: Performance of pre-optimization done (n=37): time 2.405e-06/0.6079, allocations: 0 / 0.616 GB, free: 436 kB / 478.1 MB Notification: Performance of matching and sorting (n=37): time 0.006579/0.6145, allocations: 2.03 MB / 0.6179 GB, free: 14.38 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001225/0.6147, allocations: 235.3 kB / 0.6182 GB, free: 14.1 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007016/0.6217, allocations: 4.745 MB / 0.6228 GB, free: 9.348 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001001/0.6218, allocations: 33.7 kB / 0.6228 GB, free: 9.309 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002367/0.6242, allocations: 2.71 MB / 0.6255 GB, free: 6.566 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002288/0.6245, allocations: 202 kB / 0.6257 GB, free: 6.367 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001302/0.6246, allocations: 83.94 kB / 0.6258 GB, free: 6.285 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0002397/0.6248, allocations: 466.3 kB / 0.6262 GB, free: 5.824 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001371/0.6262, allocations: 0.8976 MB / 0.6271 GB, free: 4.926 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.2076/0.8338, allocations: 3.61 MB / 0.6306 GB, free: 144.9 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00276/0.8366, allocations: 1.7 MB / 0.6323 GB, free: 144.8 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.633e-05/0.8367, allocations: 31.64 kB / 0.6323 GB, free: 144.8 MB / 494.1 MB Notification: Performance of matching and sorting (n=499) (initialization): time 0.005702/0.8424, allocations: 4.359 MB / 0.6365 GB, free: 144.2 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.16e-05/0.8424, allocations: 46.41 kB / 0.6366 GB, free: 144.2 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.789e-05/0.8425, allocations: 98.59 kB / 0.6367 GB, free: 144.2 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001073/0.8426, allocations: 139.8 kB / 0.6368 GB, free: 144.2 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002014/0.8446, allocations: 0.9345 MB / 0.6377 GB, free: 144.1 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.908e-05/0.8448, allocations: 186.9 kB / 0.6379 GB, free: 144.1 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003045/0.8478, allocations: 0.5737 MB / 0.6385 GB, free: 144.1 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000307/0.8481, allocations: 248 kB / 0.6387 GB, free: 144.1 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.002304/0.8505, allocations: 1.643 MB / 0.6403 GB, free: 143.8 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005/0.851, allocations: 373.7 kB / 0.6407 GB, free: 143.8 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004733/0.8514, allocations: 383.2 kB / 0.641 GB, free: 143.8 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.923e-06/0.8515, allocations: 6.531 kB / 0.641 GB, free: 143.8 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.248e-06/0.8515, allocations: 3.266 kB / 0.641 GB, free: 143.8 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.431e-06/0.8515, allocations: 3.312 kB / 0.641 GB, free: 143.8 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004886/0.8564, allocations: 4.76 MB / 0.6457 GB, free: 141.8 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.262e-05/0.8564, allocations: 15.62 kB / 0.6457 GB, free: 141.8 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002613/0.8567, allocations: 114.3 kB / 0.6458 GB, free: 141.8 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.93e-05/0.8567, allocations: 18.25 kB / 0.6458 GB, free: 141.8 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.151e-05/0.8567, allocations: 26.5 kB / 0.6459 GB, free: 141.8 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.974e-05/0.8568, allocations: 32.88 kB / 0.6459 GB, free: 141.8 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.339e-05/0.8568, allocations: 20.81 kB / 0.6459 GB, free: 141.8 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001081/0.8579, allocations: 1.234 MB / 0.6471 GB, free: 140.8 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007096/0.8586, allocations: 498.8 kB / 0.6476 GB, free: 140.5 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003199/0.8589, allocations: 30.81 kB / 0.6476 GB, free: 140.5 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008117/0.8597, allocations: 38.19 kB / 0.6477 GB, free: 140.5 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.828e-05/0.8598, allocations: 92.12 kB / 0.6477 GB, free: 140.4 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.641e-05/0.8599, allocations: 32.97 kB / 0.6478 GB, free: 140.4 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.00401/0.8639, allocations: 3.107 MB / 0.6508 GB, free: 139.4 MB / 494.1 MB Notification: Performance of sort global known variables: time 3.01e-07/0.8639, allocations: 0 / 0.6508 GB, free: 139.4 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.003652/0.8675, allocations: 0.8759 MB / 0.6517 GB, free: 139.2 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.0002099/0.8678, allocations: 154.2 kB / 0.6518 GB, free: 139.1 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.002973/0.8707, allocations: 2.073 MB / 0.6538 GB, free: 138.4 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 7.454e-06/0.8708, allocations: 3.422 kB / 0.6538 GB, free: 138.4 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000264/0.871, allocations: 264.1 kB / 0.6541 GB, free: 138.3 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002846/0.8739, allocations: 0.6052 MB / 0.6547 GB, free: 138.1 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01167/0.8856, allocations: 8.467 MB / 0.663 GB, free: 133.4 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003244/0.8889, allocations: 2.865 MB / 0.6658 GB, free: 132.2 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.003507/0.8924, allocations: 1.156 MB / 0.6669 GB, free: 132.1 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004703/0.8929, allocations: 215.7 kB / 0.6671 GB, free: 132.1 MB / 494.1 MB Notification: Performance of SimCode: time 1.883e-06/0.8929, allocations: 3.938 kB / 0.6671 GB, free: 132.1 MB / 494.1 MB Notification: Performance of Templates: time 0.05557/0.9485, allocations: 28.08 MB / 0.6945 GB, free: 120.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: