From 926d558418ddbd996fb0618157ae1fbfcf9aa23b Mon Sep 17 00:00:00 2001 From: Francesco Casella Date: Tue, 18 Jun 2024 17:46:50 +0200 Subject: [PATCH 1/2] Removed signals for variables whose solution is very close to zero for multi-body systems, because the CSV compare tool cannot reliably test them --- .../comparisonSignals.txt | 1 - .../UniversalSpherical/comparisonSignals.txt | 16 ---------------- .../Parts/FreeBodies/comparisonSignals.txt | 1 - 3 files changed, 18 deletions(-) diff --git a/Modelica/Mechanics/MultiBody/Examples/Elementary/PointGravityWithPointMasses2/comparisonSignals.txt b/Modelica/Mechanics/MultiBody/Examples/Elementary/PointGravityWithPointMasses2/comparisonSignals.txt index 79a83e53c..9efd2ccab 100644 --- a/Modelica/Mechanics/MultiBody/Examples/Elementary/PointGravityWithPointMasses2/comparisonSignals.txt +++ b/Modelica/Mechanics/MultiBody/Examples/Elementary/PointGravityWithPointMasses2/comparisonSignals.txt @@ -3,7 +3,6 @@ freeMotion.r_rel_a[1] freeMotion.r_rel_a[2] freeMotion.r_rel_a[3] freeMotion.v_rel_a[1] -freeMotion.v_rel_a[2] freeMotion.v_rel_a[3] referenceSystem.pointMass1.w_a[1] referenceSystem.pointMass1.w_a[2] diff --git a/ModelicaTest/MultiBody/Joints/UniversalSpherical/comparisonSignals.txt b/ModelicaTest/MultiBody/Joints/UniversalSpherical/comparisonSignals.txt index 13b14acf5..e5df86116 100644 --- a/ModelicaTest/MultiBody/Joints/UniversalSpherical/comparisonSignals.txt +++ b/ModelicaTest/MultiBody/Joints/UniversalSpherical/comparisonSignals.txt @@ -1,38 +1,22 @@ time -bodyBox.body.Q[1] -bodyBox.body.Q[2] bodyBox.body.Q[3] bodyBox.body.Q[4] -bodyBox.body.w_a[1] -bodyBox.body.w_a[2] bodyBox.body.w_a[3] bodyBox.v_0[1] bodyBox.v_0[2] -bodyBox.v_0[3] -bodyBox1.body.Q[1] -bodyBox1.body.Q[2] bodyBox1.body.Q[3] bodyBox1.body.Q[4] bodyBox1.body.w_a[1] -bodyBox1.body.w_a[2] bodyBox1.body.w_a[3] -bodyBox2.body.Q[1] -bodyBox2.body.Q[2] bodyBox2.body.Q[3] bodyBox2.body.Q[4] bodyBox2.body.frame_a.r_0[1] bodyBox2.body.frame_a.r_0[2] -bodyBox2.body.frame_a.r_0[3] -bodyBox2.body.w_a[1] -bodyBox2.body.w_a[2] -bodyBox2.body.w_a[3] bodyBox2.v_0[1] bodyBox2.v_0[2] bodyBox2.v_0[3] universal.phi_a universal.phi_b universal.w_a -universal.w_b universalSpherical.rRod_0[1] universalSpherical.rRod_0[2] -universalSpherical.rRod_0[3] diff --git a/ModelicaTest/MultiBody/Parts/FreeBodies/comparisonSignals.txt b/ModelicaTest/MultiBody/Parts/FreeBodies/comparisonSignals.txt index 799cd62f9..8bef0c798 100644 --- a/ModelicaTest/MultiBody/Parts/FreeBodies/comparisonSignals.txt +++ b/ModelicaTest/MultiBody/Parts/FreeBodies/comparisonSignals.txt @@ -1,6 +1,5 @@ time body.Q[1] -body.Q[2] body.Q[3] body.Q[4] body.r_0[1] From cff129b1e84e74a3da8920a24544ed6d5252c58f Mon Sep 17 00:00:00 2001 From: Francesco Casella Date: Tue, 18 Jun 2024 18:32:38 +0200 Subject: [PATCH 2/2] Remove unstable signal close to zero and triggered by numerical errors --- ModelicaTest/MultiBody/Joints/Universal/comparisonSignals.txt | 1 - 1 file changed, 1 deletion(-) diff --git a/ModelicaTest/MultiBody/Joints/Universal/comparisonSignals.txt b/ModelicaTest/MultiBody/Joints/Universal/comparisonSignals.txt index f408b12d1..ecfa4e5b2 100644 --- a/ModelicaTest/MultiBody/Joints/Universal/comparisonSignals.txt +++ b/ModelicaTest/MultiBody/Joints/Universal/comparisonSignals.txt @@ -1,5 +1,4 @@ time universal.phi_a universal.phi_b -universal.w_a universal.w_b