Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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_4.0.0_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_4.0.0_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.00121/0.00121, allocations: 110.5 kB / 18.46 MB, free: 4.57 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.001202/0.001202, allocations: 187.2 kB / 19.39 MB, free: 3.648 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.353/1.353, allocations: 222.9 MB / 243.1 MB, free: 15.05 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2108/0.2108, allocations: 44.19 MB / 337.4 MB, free: 2.648 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002097/0.002098, allocations: 59.89 kB / 471.2 MB, free: 13.16 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3684/0.3705, allocations: 60.82 MB / 0.5196 GB, free: 3.594 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Parts.FlyingBodies): time 0.02645/0.397, allocations: 22.12 MB / 0.5412 GB, free: 3.125 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.01554/0.4126, allocations: 5.735 MB / 0.5468 GB, free: 14.63 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.004459/0.4171, allocations: 138.1 kB / 0.5469 GB, free: 14.61 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.007933/0.425, allocations: 3.487 MB / 0.5503 GB, free: 12.24 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.009859/0.435, allocations: 3.657 MB / 0.5539 GB, free: 8.832 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002438/0.4374, allocations: 0.8776 MB / 0.5547 GB, free: 7.953 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.01445/0.4519, allocations: 10.26 MB / 0.5647 GB, free: 13.68 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.007804/0.4597, allocations: 5.003 MB / 0.5696 GB, free: 8.621 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00615/0.4659, allocations: 3.087 MB / 0.5726 GB, free: 5.523 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.007744/0.4737, allocations: 4.345 MB / 0.5769 GB, free: 1.164 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.003028/0.4768, allocations: 0.5977 MB / 0.5775 GB, free: 0.5664 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004955/0.4817, allocations: 1.487 MB / 0.5789 GB, free: 15.08 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.00561/0.4874, allocations: 4.071 MB / 0.5829 GB, free: 11 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.008097/0.4955, allocations: 4.57 MB / 0.5874 GB, free: 6.398 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01943/0.5149, allocations: 14.63 MB / 0.6016 GB, free: 7.699 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.742e-06/0.515, allocations: 8 kB / 0.6017 GB, free: 7.691 MB / 462.1 MB Notification: Performance of FrontEnd: time 1.783e-06/0.515, allocations: 0 / 0.6017 GB, free: 7.691 MB / 462.1 MB Notification: Performance of Transformations before backend: time 0.0005965/0.5156, allocations: 0 / 0.6017 GB, free: 7.691 MB / 462.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.02447/0.5401, allocations: 10.11 MB / 0.6115 GB, free: 13.47 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.195e-05/0.5401, allocations: 8.031 kB / 0.6115 GB, free: 13.46 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03365/0.5738, allocations: 7.537 MB / 0.6189 GB, free: 5.906 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01384/0.5877, allocations: 5.894 MB / 0.6247 GB, free: 15.93 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005793/0.5883, allocations: 431.1 kB / 0.6251 GB, free: 15.5 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004162/0.5925, allocations: 0.9052 MB / 0.6259 GB, free: 14.6 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04229/0.6348, allocations: 23 MB / 0.6484 GB, free: 6.605 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003166/0.6351, allocations: 67.45 kB / 0.6485 GB, free: 6.539 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002198/0.6374, allocations: 271.6 kB / 0.6487 GB, free: 6.273 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.008036/0.6454, allocations: 5.198 MB / 0.6538 GB, free: 1.062 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03968/0.6851, allocations: 22 MB / 0.6753 GB, free: 11.01 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.597/1.282, allocations: 81.27 MB / 0.7546 GB, free: 115.7 MB / 0.5607 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01698/1.299, allocations: 9.898 MB / 0.7643 GB, free: 111.5 MB / 0.5607 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.007443/1.307, allocations: 6.61 MB / 0.7708 GB, free: 108.9 MB / 0.5607 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003811/1.307, allocations: 79.73 kB / 0.7708 GB, free: 108.8 MB / 0.5607 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.461e-05/1.307, allocations: 85.12 kB / 0.7709 GB, free: 108.8 MB / 0.5607 GB Notification: Performance of pre-optimization done (n=585): time 9.127e-06/1.307, allocations: 0 / 0.7709 GB, free: 108.8 MB / 0.5607 GB Notification: Performance of matching and sorting (n=589): time 0.07477/1.382, allocations: 42.61 MB / 0.8125 GB, free: 77.86 MB / 0.5607 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.198e-05/1.382, allocations: 257.6 kB / 0.8128 GB, free: 77.56 MB / 0.5607 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007539/1.39, allocations: 6.474 MB / 0.8191 GB, free: 71.22 MB / 0.5607 GB Notification: Performance of collectPreVariables (initialization): time 0.001174/1.391, allocations: 104.7 kB / 0.8192 GB, free: 71.12 MB / 0.5607 GB Notification: Performance of collectInitialEqns (initialization): time 0.002947/1.394, allocations: 6.012 MB / 0.8251 GB, free: 65.74 MB / 0.5607 GB Notification: Performance of collectInitialBindings (initialization): time 0.002368/1.396, allocations: 2.291 MB / 0.8273 GB, free: 63.48 MB / 0.5607 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.003939/1.4, allocations: 2.473 MB / 0.8297 GB, free: 61 MB / 0.5607 GB Notification: Performance of setup shared object (initialization): time 5.155e-05/1.4, allocations: 309.1 kB / 0.83 GB, free: 60.69 MB / 0.5607 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00738/1.408, allocations: 6.396 MB / 0.8363 GB, free: 54.29 MB / 0.5607 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.009975/1.418, allocations: 12.64 MB / 0.8486 GB, free: 38.68 MB / 0.5607 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01812/1.436, allocations: 20.46 MB / 0.8686 GB, free: 15.23 MB / 0.5607 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001461/1.436, allocations: 67.94 kB / 0.8687 GB, free: 15.16 MB / 0.5607 GB Notification: Performance of matching and sorting (n=1654) (initialization): time 0.06196/1.498, allocations: 26.09 MB / 0.8941 GB, free: 5.004 MB / 0.5763 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002305/1.498, allocations: 99.94 kB / 0.8942 GB, free: 4.906 MB / 0.5763 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.04847/1.547, allocations: 17.56 MB / 0.9114 GB, free: 3.281 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.04152/1.588, allocations: 8.695 MB / 0.9199 GB, free: 10.52 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01074/1.599, allocations: 2.893 MB / 0.9227 GB, free: 7.625 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03141/1.63, allocations: 22.15 MB / 0.9443 GB, free: 0.6328 MB / 0.6232 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008874/1.639, allocations: 0.8853 MB / 0.9452 GB, free: 15.75 MB / 0.6388 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002123/1.641, allocations: 0.6445 MB / 0.9458 GB, free: 15.11 MB / 0.6388 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.008698/1.65, allocations: 4.471 MB / 0.9502 GB, free: 10.62 MB / 0.6388 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00195/1.652, allocations: 0.6713 MB / 0.9508 GB, free: 9.945 MB / 0.6388 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.2928/1.945, allocations: 14.44 MB / 0.9649 GB, free: 219.1 MB / 0.6388 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001353/1.945, allocations: 25.14 kB / 0.965 GB, free: 219.1 MB / 0.6388 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.443e-05/1.945, allocations: 1.312 kB / 0.965 GB, free: 219.1 MB / 0.6388 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001623/1.947, allocations: 0.6715 MB / 0.9656 GB, free: 219 MB / 0.6388 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002516/1.949, allocations: 133.9 kB / 0.9657 GB, free: 219 MB / 0.6388 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004795/1.954, allocations: 0.4936 MB / 0.9662 GB, free: 219 MB / 0.6388 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001899/1.956, allocations: 321.2 kB / 0.9665 GB, free: 219 MB / 0.6388 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.02784/1.984, allocations: 13.42 MB / 0.9796 GB, free: 215.3 MB / 0.6388 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.02355/2.007, allocations: 18.27 MB / 0.9975 GB, free: 208.9 MB / 0.6388 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.006004/2.013, allocations: 5.341 MB / 1.003 GB, free: 207 MB / 0.6388 GB Notification: Performance of sorting global known variables: time 0.007043/2.021, allocations: 4.002 MB / 1.007 GB, free: 204.9 MB / 0.6388 GB Notification: Performance of Backend: time 1.273e-06/2.021, allocations: 3.719 kB / 1.007 GB, free: 204.9 MB / 0.6388 GB Notification: Performance of simCode: created initialization part: time 0.02642/2.047, allocations: 13.13 MB / 1.019 GB, free: 192.8 MB / 0.6388 GB Notification: Performance of SimCode: time 0.03726/2.084, allocations: 21.19 MB / 1.04 GB, free: 171.9 MB / 0.6388 GB Notification: Performance of Templates: time 0.1778/2.262, allocations: 127 MB / 1.164 GB, free: 45.25 MB / 0.6388 GB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.Parts.FlyingBodies.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.Parts.FlyingBodies.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.MultiBody.Parts.FlyingBodies.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.MultiBody.Parts.FlyingBodies.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.MultiBody.Parts.FlyingBodies.sim & ./ModelicaTest_4.0.0_ModelicaTest.MultiBody.Parts.FlyingBodies -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.MultiBody.Parts.FlyingBodies.pipe 2>&1)