Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.MultiBody.Parts.FlyingBodies.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.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+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.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_3.2.3_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_3.2.3_ModelicaTest.MultiBody.Parts.FlyingBodies") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001084/0.001084, allocations: 107 kB / 17.09 MB, free: 6.012 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.001012/0.001012, allocations: 199.3 kB / 18.02 MB, free: 5.094 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.354/1.354, allocations: 205.1 MB / 223.9 MB, free: 12.25 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.1992/0.1992, allocations: 43.52 MB / 314.8 MB, free: 468 kB / 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: Performance of FrontEnd - loaded program: time 0.001429/0.001429, allocations: 67.91 kB / 442.5 MB, free: 5.672 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1037/0.1051, allocations: 57.79 MB / 0.4885 GB, free: 11.8 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Parts.FlyingBodies): time 0.02255/0.1277, allocations: 22.15 MB / 0.5102 GB, free: 5.555 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.0136/0.1413, allocations: 5.744 MB / 0.5158 GB, free: 15.79 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.004426/0.1458, allocations: 135.7 kB / 0.5159 GB, free: 15.66 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.007085/0.1529, allocations: 3.491 MB / 0.5193 GB, free: 12.16 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00844/0.1615, allocations: 3.549 MB / 0.5228 GB, free: 8.594 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00178/0.1633, allocations: 0.8698 MB / 0.5236 GB, free: 7.723 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.225/0.3883, allocations: 9.934 MB / 0.5333 GB, free: 6.887 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.007932/0.3963, allocations: 5.006 MB / 0.5382 GB, free: 6.477 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.006891/0.4032, allocations: 3.107 MB / 0.5413 GB, free: 6.227 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.008826/0.412, allocations: 4.349 MB / 0.5455 GB, free: 5.75 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.00269/0.4148, allocations: 0.5991 MB / 0.5461 GB, free: 5.75 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004313/0.4191, allocations: 1.484 MB / 0.5475 GB, free: 5.75 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.004634/0.4238, allocations: 4.084 MB / 0.5515 GB, free: 5.328 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.005289/0.4291, allocations: 4.576 MB / 0.556 GB, free: 3.246 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01422/0.4433, allocations: 14.58 MB / 0.5702 GB, free: 12.02 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.314e-06/0.4433, allocations: 7.938 kB / 0.5702 GB, free: 12.01 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.783e-06/0.4433, allocations: 0 / 0.5702 GB, free: 12.01 MB / 430.1 MB Notification: Performance of Transformations before backend: time 0.0004258/0.4438, allocations: 0 / 0.5702 GB, free: 12.01 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: 3305 * Number of variables: 3305 Notification: Performance of Generate backend data structure: time 0.02147/0.4652, allocations: 9.863 MB / 0.5799 GB, free: 5.566 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.833e-05/0.4653, allocations: 12.52 kB / 0.5799 GB, free: 5.562 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03349/0.4988, allocations: 7.479 MB / 0.5872 GB, free: 14.76 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01345/0.5123, allocations: 6.066 MB / 0.5931 GB, free: 8.988 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004187/0.5128, allocations: 432.2 kB / 0.5935 GB, free: 8.656 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003648/0.5164, allocations: 0.8993 MB / 0.5944 GB, free: 7.871 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0404/0.5568, allocations: 22.99 MB / 0.6169 GB, free: 284 kB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003369/0.5572, allocations: 74.33 kB / 0.6169 GB, free: 236 kB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002164/0.5594, allocations: 268.8 kB / 0.6172 GB, free: 64 kB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.007986/0.5674, allocations: 5.197 MB / 0.6223 GB, free: 10.91 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.04096/0.6084, allocations: 21.99 MB / 0.6437 GB, free: 5.113 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1219/0.7303, allocations: 81.17 MB / 0.723 GB, free: 3.148 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01973/0.7501, allocations: 9.887 MB / 0.7327 GB, free: 8.988 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.009556/0.7597, allocations: 6.618 MB / 0.7391 GB, free: 2.359 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000595/0.7603, allocations: 72.41 kB / 0.7392 GB, free: 2.301 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001056/0.7604, allocations: 89.19 kB / 0.7393 GB, free: 2.207 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=585): time 1.202e-05/0.7605, allocations: 0 / 0.7393 GB, free: 2.207 MB / 0.5762 GB Notification: Performance of matching and sorting (n=589): time 0.3289/1.089, allocations: 42.21 MB / 0.7805 GB, free: 168.9 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.848e-05/1.089, allocations: 261.6 kB / 0.7807 GB, free: 168.6 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.009754/1.099, allocations: 6.5 MB / 0.7871 GB, free: 166.7 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 0.001625/1.101, allocations: 102.7 kB / 0.7872 GB, free: 166.6 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.003335/1.104, allocations: 5.789 MB / 0.7928 GB, free: 162.2 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 0.002795/1.107, allocations: 2.182 MB / 0.795 GB, free: 160.6 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.003168/1.11, allocations: 2.47 MB / 0.7974 GB, free: 159.4 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 3.878e-05/1.11, allocations: 308.1 kB / 0.7977 GB, free: 159.1 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.007253/1.118, allocations: 6.4 MB / 0.8039 GB, free: 157 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01087/1.128, allocations: 12.64 MB / 0.8163 GB, free: 146.7 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0183/1.147, allocations: 20.45 MB / 0.8362 GB, free: 127.6 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001435/1.147, allocations: 60 kB / 0.8363 GB, free: 127.5 MB / 0.5919 GB Notification: Performance of matching and sorting (n=1654) (initialization): time 0.05788/1.205, allocations: 26.07 MB / 0.8618 GB, free: 105.6 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001361/1.205, allocations: 100.7 kB / 0.8619 GB, free: 105.5 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.04305/1.248, allocations: 17.55 MB / 0.879 GB, free: 87.88 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.03702/1.285, allocations: 8.7 MB / 0.8875 GB, free: 79.12 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.009019/1.294, allocations: 2.893 MB / 0.8903 GB, free: 76.22 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02406/1.318, allocations: 22.14 MB / 0.9119 GB, free: 53.26 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00996/1.328, allocations: 0.8914 MB / 0.9128 GB, free: 52.37 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002687/1.331, allocations: 0.6488 MB / 0.9134 GB, free: 51.73 MB / 0.5919 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.0081/1.339, allocations: 4.482 MB / 0.9178 GB, free: 47.23 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00148/1.341, allocations: 0.6401 MB / 0.9184 GB, free: 46.59 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02331/1.364, allocations: 14.44 MB / 0.9325 GB, free: 32.08 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.883e-05/1.364, allocations: 23.91 kB / 0.9326 GB, free: 32.06 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.14e-05/1.364, allocations: 8 kB / 0.9326 GB, free: 32.05 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001621/1.366, allocations: 0.6451 MB / 0.9332 GB, free: 31.38 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001469/1.367, allocations: 128 kB / 0.9333 GB, free: 31.25 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003291/1.37, allocations: 0.4944 MB / 0.9338 GB, free: 30.76 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008325/1.371, allocations: 315.4 kB / 0.9341 GB, free: 30.45 MB / 0.5919 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.01897/1.39, allocations: 13.41 MB / 0.9472 GB, free: 17.07 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.02129/1.412, allocations: 18.24 MB / 0.965 GB, free: 14.74 MB / 0.6075 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.007367/1.419, allocations: 5.338 MB / 0.9702 GB, free: 9.395 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.007893/1.427, allocations: 4.037 MB / 0.9742 GB, free: 5.367 MB / 0.6075 GB Notification: Performance of Backend: time 1.022e-06/1.427, allocations: 0 / 0.9742 GB, free: 5.367 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.2374/1.664, allocations: 13.12 MB / 0.987 GB, free: 197.1 MB / 0.6231 GB Notification: Performance of SimCode: time 0.0385/1.703, allocations: 20.91 MB / 1.007 GB, free: 189.7 MB / 0.6231 GB Notification: Performance of Templates: time 0.1612/1.864, allocations: 126.5 MB / 1.131 GB, free: 87.66 MB / 0.6231 GB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Parts.FlyingBodies.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Parts.FlyingBodies.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.MultiBody.Parts.FlyingBodies.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.MultiBody.Parts.FlyingBodies.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.Parts.FlyingBodies.sim & ./ModelicaTest_3.2.3_ModelicaTest.MultiBody.Parts.FlyingBodies -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.MultiBody.Parts.FlyingBodies.pipe 2>&1)