Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.MultiBody.Parts.FlyingBodies.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: translateModel(ModelicaTest.MultiBody.Parts.FlyingBodies,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|BodyBox1.body.Q.1.|BodyBox1.body.Q.2.|BodyBox1.body.Q.3.|BodyBox1.body.Q.4.|BodyBox1.body.frame_a.r_0.1.|BodyBox1.body.frame_a.r_0.2.|BodyBox1.body.frame_a.r_0.3.|BodyBox1.body.w_a.1.|BodyBox1.body.w_a.2.|BodyBox1.body.w_a.3.|BodyBox1.v_0.1.|BodyBox1.v_0.2.|BodyBox1.v_0.3.|body1.Q.1.|body1.Q.2.|body1.Q.3.|body1.Q.4.|body1.frame_a.r_0.1.|body1.frame_a.r_0.2.|body1.frame_a.r_0.3.|body1.v_0.1.|body1.v_0.2.|body1.v_0.3.|body1.w_a.1.|body1.w_a.2.|body1.w_a.3.|bodyCylinder.body.Q.1.|bodyCylinder.body.Q.2.|bodyCylinder.body.Q.3.|bodyCylinder.body.Q.4.|bodyCylinder.body.frame_a.r_0.1.|bodyCylinder.body.frame_a.r_0.2.|bodyCylinder.body.frame_a.r_0.3.|bodyCylinder.body.w_a.1.|bodyCylinder.body.w_a.2.|bodyCylinder.body.w_a.3.|bodyCylinder.v_0.1.|bodyCylinder.v_0.2.|bodyCylinder.v_0.3.|bodyShape.body.Q.1.|bodyShape.body.Q.2.|bodyShape.body.Q.3.|bodyShape.body.Q.4.|bodyShape.body.frame_a.r_0.1.|bodyShape.body.frame_a.r_0.2.|bodyShape.body.frame_a.r_0.3.|bodyShape.body.w_a.1.|bodyShape.body.w_a.2.|bodyShape.body.w_a.3.|bodyShape.v_0.1.|bodyShape.v_0.2.|bodyShape.v_0.3.",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.MultiBody.Parts.FlyingBodies") translateModel(ModelicaTest.MultiBody.Parts.FlyingBodies,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|BodyBox1.body.Q.1.|BodyBox1.body.Q.2.|BodyBox1.body.Q.3.|BodyBox1.body.Q.4.|BodyBox1.body.frame_a.r_0.1.|BodyBox1.body.frame_a.r_0.2.|BodyBox1.body.frame_a.r_0.3.|BodyBox1.body.w_a.1.|BodyBox1.body.w_a.2.|BodyBox1.body.w_a.3.|BodyBox1.v_0.1.|BodyBox1.v_0.2.|BodyBox1.v_0.3.|body1.Q.1.|body1.Q.2.|body1.Q.3.|body1.Q.4.|body1.frame_a.r_0.1.|body1.frame_a.r_0.2.|body1.frame_a.r_0.3.|body1.v_0.1.|body1.v_0.2.|body1.v_0.3.|body1.w_a.1.|body1.w_a.2.|body1.w_a.3.|bodyCylinder.body.Q.1.|bodyCylinder.body.Q.2.|bodyCylinder.body.Q.3.|bodyCylinder.body.Q.4.|bodyCylinder.body.frame_a.r_0.1.|bodyCylinder.body.frame_a.r_0.2.|bodyCylinder.body.frame_a.r_0.3.|bodyCylinder.body.w_a.1.|bodyCylinder.body.w_a.2.|bodyCylinder.body.w_a.3.|bodyCylinder.v_0.1.|bodyCylinder.v_0.2.|bodyCylinder.v_0.3.|bodyShape.body.Q.1.|bodyShape.body.Q.2.|bodyShape.body.Q.3.|bodyShape.body.Q.4.|bodyShape.body.frame_a.r_0.1.|bodyShape.body.frame_a.r_0.2.|bodyShape.body.frame_a.r_0.3.|bodyShape.body.w_a.1.|bodyShape.body.w_a.2.|bodyShape.body.w_a.3.|bodyShape.v_0.1.|bodyShape.v_0.2.|bodyShape.v_0.3.",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.MultiBody.Parts.FlyingBodies") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001479/0.001479, allocations: 111.6 kB / 18.46 MB, free: 4.598 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001623/0.001623, allocations: 208 kB / 19.41 MB, free: 3.652 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.313/1.313, allocations: 227.4 MB / 247.6 MB, free: 10.46 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2005/0.2005, allocations: 46.11 MB / 345 MB, free: 11.47 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00136/0.00136, allocations: 75.88 kB / 482 MB, free: 4.055 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.295/0.2964, allocations: 62.43 MB / 0.5317 GB, free: 13.57 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Parts.FlyingBodies): time 0.02184/0.3183, allocations: 22.02 MB / 0.5532 GB, free: 11.61 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.01205/0.3304, allocations: 5.728 MB / 0.5588 GB, free: 5.863 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003558/0.3339, allocations: 139.6 kB / 0.5589 GB, free: 5.727 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.006351/0.3403, allocations: 3.48 MB / 0.5623 GB, free: 2.234 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.007298/0.3477, allocations: 3.493 MB / 0.5657 GB, free: 14.73 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00189/0.3496, allocations: 0.8698 MB / 0.5665 GB, free: 13.86 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.01158/0.3612, allocations: 10.42 MB / 0.5767 GB, free: 3.418 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.005688/0.3669, allocations: 4.992 MB / 0.5816 GB, free: 14.37 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004359/0.3712, allocations: 3.095 MB / 0.5846 GB, free: 11.27 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00565/0.3769, allocations: 4.322 MB / 0.5888 GB, free: 6.93 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001566/0.3785, allocations: 0.5977 MB / 0.5894 GB, free: 6.332 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003271/0.3818, allocations: 1.467 MB / 0.5909 GB, free: 4.863 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.003866/0.3857, allocations: 4.021 MB / 0.5948 GB, free: 0.832 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.004354/0.39, allocations: 4.531 MB / 0.5992 GB, free: 12.27 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01198/0.402, allocations: 14.44 MB / 0.6133 GB, free: 13.78 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.777e-06/0.402, allocations: 0 / 0.6133 GB, free: 13.78 MB / 478.1 MB Notification: Performance of FrontEnd: time 1.363e-06/0.402, allocations: 3.938 kB / 0.6133 GB, free: 13.78 MB / 478.1 MB Notification: Performance of Transformations before backend: time 0.0002451/0.4023, allocations: 0 / 0.6133 GB, free: 13.78 MB / 478.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 3305 * Number of variables: 3305 Notification: Performance of Generate backend data structure: time 0.0166/0.4189, allocations: 9.773 MB / 0.6229 GB, free: 3.91 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.24e-05/0.419, allocations: 12.03 kB / 0.6229 GB, free: 3.898 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03295/0.4519, allocations: 7.714 MB / 0.6304 GB, free: 12.16 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0112/0.4631, allocations: 5.759 MB / 0.636 GB, free: 6.316 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003439/0.4635, allocations: 435.1 kB / 0.6364 GB, free: 5.891 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00298/0.4665, allocations: 0.9051 MB / 0.6373 GB, free: 4.984 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03328/0.4998, allocations: 22.98 MB / 0.6598 GB, free: 13 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002225/0.5, allocations: 75.31 kB / 0.6598 GB, free: 12.93 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001447/0.5015, allocations: 271.6 kB / 0.6601 GB, free: 12.66 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.007472/0.509, allocations: 5.202 MB / 0.6652 GB, free: 7.441 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.036/0.545, allocations: 21.99 MB / 0.6866 GB, free: 1.391 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.5468/1.092, allocations: 81.14 MB / 0.7659 GB, free: 107.9 MB / 0.5607 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01598/1.108, allocations: 9.88 MB / 0.7755 GB, free: 103.6 MB / 0.5607 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.006799/1.115, allocations: 6.615 MB / 0.782 GB, free: 100.2 MB / 0.5607 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002781/1.115, allocations: 76.27 kB / 0.7821 GB, free: 100.2 MB / 0.5607 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.657e-05/1.115, allocations: 84.19 kB / 0.7822 GB, free: 100.2 MB / 0.5607 GB Notification: Performance of pre-optimization done (n=585): time 8.015e-06/1.115, allocations: 4 kB / 0.7822 GB, free: 100.2 MB / 0.5607 GB Notification: Performance of matching and sorting (n=589): time 0.06949/1.184, allocations: 42.15 MB / 0.8233 GB, free: 60.42 MB / 0.5607 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.304e-05/1.185, allocations: 257.6 kB / 0.8236 GB, free: 60.12 MB / 0.5607 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006571/1.191, allocations: 6.45 MB / 0.8299 GB, free: 53.67 MB / 0.5607 GB Notification: Performance of collectPreVariables (initialization): time 0.0009397/1.192, allocations: 104.7 kB / 0.83 GB, free: 53.56 MB / 0.5607 GB Notification: Performance of collectInitialEqns (initialization): time 0.002189/1.194, allocations: 5.773 MB / 0.8356 GB, free: 47.79 MB / 0.5607 GB Notification: Performance of collectInitialBindings (initialization): time 0.001874/1.196, allocations: 2.188 MB / 0.8377 GB, free: 45.62 MB / 0.5607 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002722/1.199, allocations: 2.464 MB / 0.8401 GB, free: 43.15 MB / 0.5607 GB Notification: Performance of setup shared object (initialization): time 3.17e-05/1.199, allocations: 305.1 kB / 0.8404 GB, free: 42.85 MB / 0.5607 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006976/1.206, allocations: 6.404 MB / 0.8467 GB, free: 36.43 MB / 0.5607 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.009005/1.215, allocations: 12.64 MB / 0.859 GB, free: 20.8 MB / 0.5607 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0187/1.234, allocations: 20.45 MB / 0.879 GB, free: 13.35 MB / 0.5763 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001199/1.234, allocations: 60 kB / 0.8791 GB, free: 13.29 MB / 0.5763 GB Notification: Performance of matching and sorting (n=1654) (initialization): time 0.06125/1.295, allocations: 26.35 MB / 0.9048 GB, free: 2.863 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001956/1.295, allocations: 96.19 kB / 0.9049 GB, free: 2.77 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0476/1.343, allocations: 17.85 MB / 0.9223 GB, free: 0.8555 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.03914/1.382, allocations: 9.065 MB / 0.9312 GB, free: 7.727 MB / 0.6232 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01029/1.392, allocations: 2.893 MB / 0.934 GB, free: 4.828 MB / 0.6232 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03134/1.424, allocations: 22.24 MB / 0.9557 GB, free: 13.75 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.009623/1.433, allocations: 0.8875 MB / 0.9566 GB, free: 12.86 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002582/1.436, allocations: 0.6484 MB / 0.9572 GB, free: 12.21 MB / 0.6544 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 971 * Number of states: 0 () * Number of discrete variables: 48 (fixedFrame3.color_x[3],fixedFrame3.color_x[2],fixedFrame3.color_x[1],fixedFrame2.color_x[3],fixedFrame2.color_x[2],fixedFrame2.color_x[1],fixedFrame1.color_x[3],fixedFrame1.color_x[2],fixedFrame1.color_x[1],fixedFrame.color_x[3],fixedFrame.color_x[2],fixedFrame.color_x[1],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],body1.sphereColor[3],body1.sphereColor[2],body1.sphereColor[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]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1518): * Single equations (assignments): 1490 * Array equations: 12 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 14 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 10 systems {(4,100.0%), (3,100.0%), (3,100.0%), (4,100.0%), (3,100.0%), (3,100.0%), (4,100.0%), (3,100.0%), (4,100.0%), (3,100.0%)} * Non-linear Jacobian (size): 4 systems {4, 4, 4, 4} * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(2,1,100.0%), (2,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.008975/1.445, allocations: 4.48 MB / 0.9616 GB, free: 7.719 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001435/1.446, allocations: 0.6336 MB / 0.9622 GB, free: 7.078 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.266/1.713, allocations: 14.43 MB / 0.9763 GB, free: 228.9 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.585e-05/1.713, allocations: 25.84 kB / 0.9763 GB, free: 228.9 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.026e-05/1.713, allocations: 1.094 kB / 0.9763 GB, free: 228.9 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001232/1.714, allocations: 0.6348 MB / 0.9769 GB, free: 228.8 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001045/1.715, allocations: 134 kB / 0.9771 GB, free: 228.7 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002932/1.718, allocations: 0.4913 MB / 0.9776 GB, free: 228.6 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007955/1.719, allocations: 322.5 kB / 0.9779 GB, free: 228.6 MB / 0.6544 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0171/1.736, allocations: 13.41 MB / 0.991 GB, free: 224.4 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.01802/1.754, allocations: 18.24 MB / 1.009 GB, free: 217.3 MB / 0.6544 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.004954/1.759, allocations: 5.336 MB / 1.014 GB, free: 212.7 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 0.004588/1.763, allocations: 3.994 MB / 1.018 GB, free: 209.5 MB / 0.6544 GB Notification: Performance of Backend: time 1.102e-06/1.763, allocations: 0 / 1.018 GB, free: 209.5 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.01852/1.782, allocations: 13.13 MB / 1.031 GB, free: 196.3 MB / 0.6544 GB Notification: Performance of SimCode: time 0.0244/1.806, allocations: 20.85 MB / 1.051 GB, free: 175.7 MB / 0.6544 GB Notification: Performance of Templates: time 0.1557/1.962, allocations: 128.1 MB / 1.176 GB, free: 48.05 MB / 0.6544 GB make -j1 -f ModelicaTest_trunk_ModelicaTest.MultiBody.Parts.FlyingBodies.makefile (rm -f ModelicaTest_trunk_ModelicaTest.MultiBody.Parts.FlyingBodies.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.MultiBody.Parts.FlyingBodies.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.MultiBody.Parts.FlyingBodies.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.MultiBody.Parts.FlyingBodies.sim & ./ModelicaTest_trunk_ModelicaTest.MultiBody.Parts.FlyingBodies -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.MultiBody.Parts.FlyingBodies.pipe 2>&1)