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.001136/0.001136, allocations: 109.3 kB / 17.09 MB, free: 6.004 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.001106/0.001106, allocations: 195.3 kB / 18.02 MB, free: 5.086 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.426/1.426, allocations: 205.1 MB / 223.9 MB, free: 12.29 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.2021/0.2021, allocations: 43.53 MB / 314.8 MB, free: 472 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.001616/0.001616, allocations: 67.89 kB / 442.5 MB, free: 5.676 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1087/0.1103, allocations: 57.78 MB / 0.4885 GB, free: 11.82 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Parts.FlyingBodies): time 0.02187/0.1322, allocations: 22.15 MB / 0.5102 GB, free: 5.574 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.01176/0.144, allocations: 5.752 MB / 0.5158 GB, free: 15.8 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003307/0.1474, allocations: 139.6 kB / 0.5159 GB, free: 15.67 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.006808/0.1542, allocations: 3.488 MB / 0.5193 GB, free: 12.17 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.008516/0.1628, allocations: 3.67 MB / 0.5229 GB, free: 8.484 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002287/0.1651, allocations: 0.866 MB / 0.5238 GB, free: 7.617 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.2288/0.3939, allocations: 9.936 MB / 0.5335 GB, free: 6.855 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.006906/0.4009, allocations: 5.011 MB / 0.5383 GB, free: 6.434 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005599/0.4065, allocations: 3.101 MB / 0.5414 GB, free: 6.184 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.008039/0.4146, allocations: 4.353 MB / 0.5456 GB, free: 5.707 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.002196/0.4168, allocations: 0.5989 MB / 0.5462 GB, free: 5.707 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004178/0.421, allocations: 1.489 MB / 0.5477 GB, free: 5.703 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.004794/0.4258, allocations: 4.079 MB / 0.5516 GB, free: 5.281 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.006234/0.432, allocations: 4.578 MB / 0.5561 GB, free: 3.273 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01809/0.4501, allocations: 14.64 MB / 0.5704 GB, free: 11.89 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.594e-06/0.4502, allocations: 0 / 0.5704 GB, free: 11.89 MB / 430.1 MB Notification: Performance of FrontEnd: time 3.878e-06/0.4502, allocations: 0 / 0.5704 GB, free: 11.89 MB / 430.1 MB Notification: Performance of Transformations before backend: time 0.0005308/0.4507, allocations: 3.938 kB / 0.5704 GB, free: 11.89 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.0239/0.4747, allocations: 10.13 MB / 0.5803 GB, free: 5.16 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.914e-05/0.4747, allocations: 11.14 kB / 0.5803 GB, free: 5.156 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03429/0.509, allocations: 7.537 MB / 0.5877 GB, free: 14.28 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01412/0.5232, allocations: 6.091 MB / 0.5936 GB, free: 8.484 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005327/0.5237, allocations: 433.3 kB / 0.594 GB, free: 8.152 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004098/0.5279, allocations: 0.9055 MB / 0.5949 GB, free: 7.363 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04162/0.5695, allocations: 22.99 MB / 0.6174 GB, free: 15.77 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003306/0.5699, allocations: 73.44 kB / 0.6174 GB, free: 15.73 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002597/0.5725, allocations: 272.7 kB / 0.6177 GB, free: 15.55 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00881/0.5813, allocations: 5.196 MB / 0.6228 GB, free: 10.4 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.04249/0.6238, allocations: 21.99 MB / 0.6443 GB, free: 4.609 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1246/0.7484, allocations: 81.31 MB / 0.7237 GB, free: 2.574 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01909/0.7676, allocations: 9.886 MB / 0.7333 GB, free: 8.422 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.009186/0.7768, allocations: 6.62 MB / 0.7398 GB, free: 1.793 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005129/0.7773, allocations: 77.66 kB / 0.7399 GB, free: 1.73 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.435e-05/0.7774, allocations: 84.44 kB / 0.7399 GB, free: 1.641 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=585): time 1.143e-05/0.7774, allocations: 3.984 kB / 0.7399 GB, free: 1.637 MB / 0.5762 GB Notification: Performance of matching and sorting (n=589): time 0.3075/1.085, allocations: 42.67 MB / 0.7816 GB, free: 188.4 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.779e-05/1.085, allocations: 257.9 kB / 0.7819 GB, free: 188.2 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01004/1.095, allocations: 6.509 MB / 0.7882 GB, free: 185.9 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 0.001343/1.096, allocations: 111.9 kB / 0.7883 GB, free: 185.8 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.00343/1.1, allocations: 6.021 MB / 0.7942 GB, free: 181.2 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 0.00348/1.103, allocations: 2.284 MB / 0.7964 GB, free: 179.5 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.004499/1.108, allocations: 2.479 MB / 0.7988 GB, free: 178.3 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 4.43e-05/1.108, allocations: 313 kB / 0.7991 GB, free: 178 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.008047/1.116, allocations: 6.397 MB / 0.8054 GB, free: 175.9 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01207/1.128, allocations: 12.64 MB / 0.8177 GB, free: 165.5 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01949/1.148, allocations: 20.45 MB / 0.8377 GB, free: 146.3 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001917/1.148, allocations: 67.75 kB / 0.8378 GB, free: 146.2 MB / 0.5919 GB Notification: Performance of matching and sorting (n=1654) (initialization): time 0.05947/1.207, allocations: 26.1 MB / 0.8633 GB, free: 123.3 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001298/1.208, allocations: 96.62 kB / 0.8634 GB, free: 123.2 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.04323/1.251, allocations: 17.56 MB / 0.8805 GB, free: 105.6 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.03854/1.289, allocations: 8.702 MB / 0.889 GB, free: 96.8 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.009571/1.299, allocations: 2.89 MB / 0.8918 GB, free: 93.91 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02564/1.325, allocations: 22.15 MB / 0.9134 GB, free: 70.94 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01078/1.335, allocations: 0.8842 MB / 0.9143 GB, free: 70.06 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002409/1.338, allocations: 0.6484 MB / 0.9149 GB, free: 69.41 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.00905/1.347, allocations: 4.488 MB / 0.9193 GB, free: 64.91 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001618/1.349, allocations: 0.6752 MB / 0.92 GB, free: 64.23 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02362/1.372, allocations: 14.44 MB / 0.9341 GB, free: 49.71 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.48e-05/1.372, allocations: 23.91 kB / 0.9341 GB, free: 49.69 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.669e-05/1.372, allocations: 4 kB / 0.9341 GB, free: 49.69 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002151/1.375, allocations: 0.6646 MB / 0.9348 GB, free: 49 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002994/1.378, allocations: 134.5 kB / 0.9349 GB, free: 48.87 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.008336/1.386, allocations: 0.4944 MB / 0.9354 GB, free: 48.38 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002476/1.388, allocations: 315.4 kB / 0.9357 GB, free: 48.07 MB / 0.5919 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.03939/1.428, allocations: 13.41 MB / 0.9488 GB, free: 34.69 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.02305/1.451, allocations: 18.28 MB / 0.9666 GB, free: 16.31 MB / 0.5919 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.006354/1.457, allocations: 5.343 MB / 0.9718 GB, free: 10.96 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.008033/1.465, allocations: 4.029 MB / 0.9758 GB, free: 6.945 MB / 0.5919 GB Notification: Performance of Backend: time 1.002e-06/1.465, allocations: 0 / 0.9758 GB, free: 6.945 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.2468/1.712, allocations: 13.14 MB / 0.9886 GB, free: 190.9 MB / 0.5919 GB Notification: Performance of SimCode: time 0.04152/1.754, allocations: 21.25 MB / 1.009 GB, free: 181.4 MB / 0.5919 GB Notification: Performance of Templates: time 0.1713/1.925, allocations: 125.1 MB / 1.132 GB, free: 72.52 MB / 0.5919 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)