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.001194/0.001194, allocations: 112.1 kB / 18.46 MB, free: 4.617 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001283/0.001283, allocations: 206.8 kB / 19.41 MB, free: 3.672 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.389/1.389, allocations: 227.4 MB / 247.6 MB, free: 10.52 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2078/0.2078, allocations: 46.11 MB / 345 MB, free: 11.51 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001348/0.001348, allocations: 76.22 kB / 482 MB, free: 4.102 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3301/0.3315, allocations: 62.44 MB / 0.5317 GB, free: 13.61 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Parts.FlyingBodies): time 0.02201/0.3535, allocations: 22.01 MB / 0.5532 GB, free: 11.65 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.01392/0.3675, allocations: 5.732 MB / 0.5588 GB, free: 5.898 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.006298/0.3738, allocations: 139.6 kB / 0.5589 GB, free: 5.762 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.007506/0.3813, allocations: 3.48 MB / 0.5623 GB, free: 2.27 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.008974/0.3904, allocations: 3.611 MB / 0.5658 GB, free: 14.65 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002335/0.3928, allocations: 0.8697 MB / 0.5667 GB, free: 13.78 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.0142/0.407, allocations: 10.42 MB / 0.5768 GB, free: 3.34 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.006956/0.414, allocations: 4.996 MB / 0.5817 GB, free: 14.29 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004908/0.4189, allocations: 3.087 MB / 0.5847 GB, free: 11.19 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.005829/0.4247, allocations: 4.322 MB / 0.589 GB, free: 6.855 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001796/0.4266, allocations: 0.6016 MB / 0.5895 GB, free: 6.254 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00422/0.4308, allocations: 1.471 MB / 0.591 GB, free: 4.781 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.005186/0.436, allocations: 4.028 MB / 0.5949 GB, free: 0.7422 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.007053/0.4431, allocations: 4.515 MB / 0.5993 GB, free: 12.19 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01537/0.4585, allocations: 14.44 MB / 0.6134 GB, free: 13.7 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.402e-06/0.4585, allocations: 0 / 0.6134 GB, free: 13.7 MB / 478.1 MB Notification: Performance of FrontEnd: time 1.333e-06/0.4585, allocations: 7.938 kB / 0.6134 GB, free: 13.7 MB / 478.1 MB Notification: Performance of Transformations before backend: time 0.000469/0.459, allocations: 0 / 0.6134 GB, free: 13.7 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.02332/0.4823, allocations: 9.769 MB / 0.623 GB, free: 3.832 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.287e-05/0.4824, allocations: 12.03 kB / 0.623 GB, free: 3.82 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03812/0.5205, allocations: 7.71 MB / 0.6305 GB, free: 12.09 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01363/0.5342, allocations: 5.767 MB / 0.6361 GB, free: 6.234 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004656/0.5347, allocations: 435.1 kB / 0.6366 GB, free: 5.809 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004515/0.5392, allocations: 0.9051 MB / 0.6374 GB, free: 4.902 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0434/0.5826, allocations: 22.98 MB / 0.6599 GB, free: 12.92 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003655/0.583, allocations: 71.36 kB / 0.66 GB, free: 12.85 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002578/0.5856, allocations: 275.6 kB / 0.6602 GB, free: 12.58 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.008926/0.5946, allocations: 5.194 MB / 0.6653 GB, free: 7.367 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.04317/0.6378, allocations: 21.99 MB / 0.6868 GB, free: 1.32 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.6075/1.245, allocations: 81.15 MB / 0.766 GB, free: 108 MB / 0.5607 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01681/1.262, allocations: 9.873 MB / 0.7757 GB, free: 103.6 MB / 0.5607 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.007102/1.269, allocations: 6.62 MB / 0.7821 GB, free: 100.3 MB / 0.5607 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004009/1.27, allocations: 75.67 kB / 0.7822 GB, free: 100.3 MB / 0.5607 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.37e-05/1.27, allocations: 85.28 kB / 0.7823 GB, free: 100.2 MB / 0.5607 GB Notification: Performance of pre-optimization done (n=585): time 8.796e-06/1.27, allocations: 0 / 0.7823 GB, free: 100.2 MB / 0.5607 GB Notification: Performance of matching and sorting (n=589): time 0.08057/1.35, allocations: 42.14 MB / 0.8234 GB, free: 60.43 MB / 0.5607 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.457e-05/1.351, allocations: 261.6 kB / 0.8237 GB, free: 60.12 MB / 0.5607 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01027/1.361, allocations: 6.454 MB / 0.83 GB, free: 53.67 MB / 0.5607 GB Notification: Performance of collectPreVariables (initialization): time 0.0008286/1.362, allocations: 104.9 kB / 0.8301 GB, free: 53.56 MB / 0.5607 GB Notification: Performance of collectInitialEqns (initialization): time 0.002726/1.364, allocations: 5.772 MB / 0.8357 GB, free: 47.79 MB / 0.5607 GB Notification: Performance of collectInitialBindings (initialization): time 0.002049/1.366, allocations: 2.188 MB / 0.8379 GB, free: 45.62 MB / 0.5607 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.005464/1.372, allocations: 2.464 MB / 0.8403 GB, free: 43.15 MB / 0.5607 GB Notification: Performance of setup shared object (initialization): time 4.896e-05/1.372, allocations: 301.1 kB / 0.8405 GB, free: 42.85 MB / 0.5607 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.008046/1.38, allocations: 6.404 MB / 0.8468 GB, free: 36.44 MB / 0.5607 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01107/1.391, allocations: 12.64 MB / 0.8591 GB, free: 20.8 MB / 0.5607 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01999/1.411, allocations: 20.45 MB / 0.8791 GB, free: 13.35 MB / 0.5763 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002171/1.411, allocations: 60 kB / 0.8792 GB, free: 13.29 MB / 0.5763 GB Notification: Performance of matching and sorting (n=1654) (initialization): time 0.07359/1.485, allocations: 26.35 MB / 0.9049 GB, free: 2.867 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002862/1.485, allocations: 96 kB / 0.905 GB, free: 2.773 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.05514/1.541, allocations: 17.85 MB / 0.9224 GB, free: 0.8594 MB / 0.6076 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.04812/1.589, allocations: 9.061 MB / 0.9313 GB, free: 7.734 MB / 0.6232 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01129/1.6, allocations: 2.897 MB / 0.9341 GB, free: 4.832 MB / 0.6232 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03385/1.634, allocations: 22.24 MB / 0.9558 GB, free: 13.75 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00974/1.644, allocations: 0.88 MB / 0.9567 GB, free: 12.87 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002498/1.646, allocations: 0.6445 MB / 0.9573 GB, free: 12.22 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.009939/1.656, allocations: 4.48 MB / 0.9617 GB, free: 7.73 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002079/1.658, allocations: 0.6362 MB / 0.9623 GB, free: 7.086 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.2986/1.957, allocations: 14.43 MB / 0.9764 GB, free: 229 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001051/1.957, allocations: 28.16 kB / 0.9764 GB, free: 229 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.226e-05/1.957, allocations: 5.031 kB / 0.9764 GB, free: 229 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001571/1.959, allocations: 0.6306 MB / 0.9771 GB, free: 228.9 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001929/1.961, allocations: 136.7 kB / 0.9772 GB, free: 228.8 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004238/1.965, allocations: 499.8 kB / 0.9777 GB, free: 228.7 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001033/1.966, allocations: 326.1 kB / 0.978 GB, free: 228.7 MB / 0.6544 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.02026/1.986, allocations: 13.41 MB / 0.9911 GB, free: 224.5 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.01883/2.005, allocations: 18.23 MB / 1.009 GB, free: 217.4 MB / 0.6544 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.005465/2.01, allocations: 5.35 MB / 1.014 GB, free: 212.8 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 0.005853/2.016, allocations: 3.989 MB / 1.018 GB, free: 209.5 MB / 0.6544 GB Notification: Performance of Backend: time 9.92e-07/2.016, allocations: 0 / 1.018 GB, free: 209.5 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.02241/2.039, allocations: 13.12 MB / 1.031 GB, free: 196.4 MB / 0.6544 GB Notification: Performance of SimCode: time 0.03169/2.07, allocations: 20.86 MB / 1.051 GB, free: 175.7 MB / 0.6544 GB Notification: Performance of Templates: time 0.1709/2.241, allocations: 126.7 MB / 1.175 GB, free: 49.37 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)