Skipping 172 KB..
Full Log -locsm -legads -lm
clang -m64 -g -fsanitize=address -fno-omit-frame-pointer -c -O -Wall -Wno-dangling-else -Wno-unused-result -DREVISION=7.4 -I/Users/jenkins/workspace/ESP_QuickMemOcsm/7.4/OpenCSM/pyOCSM/DARWIN64/ESP/DARWIN64/include -I. udpWaffle.c \
-o /Users/jenkins/workspace/ESP_QuickMemOcsm/7.4/OpenCSM/pyOCSM/DARWIN64/ESP/DARWIN64/obj/udpWaffle.o
touch /Users/jenkins/workspace/ESP_QuickMemOcsm/7.4/OpenCSM/pyOCSM/DARWIN64/ESP/DARWIN64/lib/waffle.so
rm /Users/jenkins/workspace/ESP_QuickMemOcsm/7.4/OpenCSM/pyOCSM/DARWIN64/ESP/DARWIN64/lib/waffle.so
clang -m64 -g -fsanitize=address -fno-omit-frame-pointer -bundle -undefined error -o /Users/jenkins/workspace/ESP_QuickMemOcsm/7.4/OpenCSM/pyOCSM/DARWIN64/ESP/DARWIN64/lib/waffle.so /Users/jenkins/workspace/ESP_QuickMemOcsm/7.4/OpenCSM/pyOCSM/DARWIN64/ESP/DARWIN64/obj/udpWaffle.o \
-L/Users/jenkins/workspace/ESP_QuickMemOcsm/7.4/OpenCSM/pyOCSM/DARWIN64/ESP/DARWIN64/lib -locsm -legads -lm
clang -m64 -g -fsanitize=address -fno-omit-frame-pointer -c -O -Wall -Wno-dangling-else -Wno-unused-result -DREVISION=7.4 -I/Users/jenkins/workspace/ESP_QuickMemOcsm/7.4/OpenCSM/pyOCSM/DARWIN64/ESP/DARWIN64/include -I. eggPDT2.c \
-o /Users/jenkins/workspace/ESP_QuickMemOcsm/7.4/OpenCSM/pyOCSM/DARWIN64/ESP/DARWIN64/obj/eggPDT2.o
touch /Users/jenkins/workspace/ESP_QuickMemOcsm/7.4/OpenCSM/pyOCSM/DARWIN64/ESP/DARWIN64/lib/PDT2.so
rm /Users/jenkins/workspace/ESP_QuickMemOcsm/7.4/OpenCSM/pyOCSM/DARWIN64/ESP/DARWIN64/lib/PDT2.so
clang -m64 -g -fsanitize=address -fno-omit-frame-pointer -bundle -undefined error -o /Users/jenkins/workspace/ESP_QuickMemOcsm/7.4/OpenCSM/pyOCSM/DARWIN64/ESP/DARWIN64/lib/PDT2.so /Users/jenkins/workspace/ESP_QuickMemOcsm/7.4/OpenCSM/pyOCSM/DARWIN64/ESP/DARWIN64/obj/eggPDT2.o -L/Users/jenkins/workspace/ESP_QuickMemOcsm/7.4/OpenCSM/pyOCSM/DARWIN64/ESP/DARWIN64/lib \
-legads -lm
clang -m64 -g -fsanitize=address -fno-omit-frame-pointer -c -O -Wall -Wno-dangling-else -Wno-unused-result -DREVISION=7.4 -I/Users/jenkins/workspace/ESP_QuickMemOcsm/7.4/OpenCSM/pyOCSM/DARWIN64/ESP/DARWIN64/include -I. udpNaca456.c \
-o /Users/jenkins/workspace/ESP_QuickMemOcsm/7.4/OpenCSM/pyOCSM/DARWIN64/ESP/DARWIN64/obj/udpNaca456.o
gfortran -m64 -g -c -O -frecursive -fcray-pointer naca456.f90 -o /Users/jenkins/workspace/ESP_QuickMemOcsm/7.4/OpenCSM/pyOCSM/DARWIN64/ESP/DARWIN64/obj/naca456.o -J /Users/jenkins/workspace/ESP_QuickMemOcsm/7.4/OpenCSM/pyOCSM/DARWIN64/ESP/DARWIN64/obj
touch /Users/jenkins/workspace/ESP_QuickMemOcsm/7.4/OpenCSM/pyOCSM/DARWIN64/ESP/DARWIN64/lib/naca456.so
rm /Users/jenkins/workspace/ESP_QuickMemOcsm/7.4/OpenCSM/pyOCSM/DARWIN64/ESP/DARWIN64/lib/naca456.so
gfortran -m64 -g -bundle -undefined error -o /Users/jenkins/workspace/ESP_QuickMemOcsm/7.4/OpenCSM/pyOCSM/DARWIN64/ESP/DARWIN64/lib/naca456.so /Users/jenkins/workspace/ESP_QuickMemOcsm/7.4/OpenCSM/pyOCSM/DARWIN64/ESP/DARWIN64/obj/udpNaca456.o \
/Users/jenkins/workspace/ESP_QuickMemOcsm/7.4/OpenCSM/pyOCSM/DARWIN64/ESP/DARWIN64/obj/naca456.o -L/Users/jenkins/workspace/ESP_QuickMemOcsm/7.4/OpenCSM/pyOCSM/DARWIN64/ESP/DARWIN64/lib -locsm -legads -lm /Library/Developer/CommandLineTools/usr/lib/clang/11.0.3/lib/darwin/libclang_rt.asan_osx_dynamic.dylib
touch /Users/jenkins/workspace/ESP_QuickMemOcsm/7.4/OpenCSM/pyOCSM/DARWIN64/ESP/DARWIN64/include/OpenCSM.h
rm /Users/jenkins/workspace/ESP_QuickMemOcsm/7.4/OpenCSM/pyOCSM/DARWIN64/ESP/DARWIN64/include/OpenCSM.h
cp -p OpenCSM.h /Users/jenkins/workspace/ESP_QuickMemOcsm/7.4/OpenCSM/pyOCSM/DARWIN64/ESP/DARWIN64/include/OpenCSM.h
touch /Users/jenkins/workspace/ESP_QuickMemOcsm/7.4/OpenCSM/pyOCSM/DARWIN64/ESP/DARWIN64/include/common.h
rm /Users/jenkins/workspace/ESP_QuickMemOcsm/7.4/OpenCSM/pyOCSM/DARWIN64/ESP/DARWIN64/include/common.h
cp -p common.h /Users/jenkins/workspace/ESP_QuickMemOcsm/7.4/OpenCSM/pyOCSM/DARWIN64/ESP/DARWIN64/include/common.h
touch /Users/jenkins/workspace/ESP_QuickMemOcsm/7.4/OpenCSM/pyOCSM/DARWIN64/ESP/DARWIN64/include/udp.h
rm /Users/jenkins/workspace/ESP_QuickMemOcsm/7.4/OpenCSM/pyOCSM/DARWIN64/ESP/DARWIN64/include/udp.h
cp -p udp.h /Users/jenkins/workspace/ESP_QuickMemOcsm/7.4/OpenCSM/pyOCSM/DARWIN64/ESP/DARWIN64/include/udp.h
touch /Users/jenkins/workspace/ESP_QuickMemOcsm/7.4/OpenCSM/pyOCSM/DARWIN64/ESP/DARWIN64/include/egg.h
rm /Users/jenkins/workspace/ESP_QuickMemOcsm/7.4/OpenCSM/pyOCSM/DARWIN64/ESP/DARWIN64/include/egg.h
cp -p egg.h /Users/jenkins/workspace/ESP_QuickMemOcsm/7.4/OpenCSM/pyOCSM/DARWIN64/ESP/DARWIN64/include/egg.h
touch /Users/jenkins/workspace/ESP_QuickMemOcsm/7.4/OpenCSM/pyOCSM/DARWIN64/ESP/DARWIN64/include/udpUtilities.h
rm /Users/jenkins/workspace/ESP_QuickMemOcsm/7.4/OpenCSM/pyOCSM/DARWIN64/ESP/DARWIN64/include/udpUtilities.h
cp -p udpUtilities.h /Users/jenkins/workspace/ESP_QuickMemOcsm/7.4/OpenCSM/pyOCSM/DARWIN64/ESP/DARWIN64/include/udpUtilities.h
touch /Users/jenkins/workspace/ESP_QuickMemOcsm/7.4/OpenCSM/pyOCSM/DARWIN64/ESP/DARWIN64/include/udpUtilities.c
rm /Users/jenkins/workspace/ESP_QuickMemOcsm/7.4/OpenCSM/pyOCSM/DARWIN64/ESP/DARWIN64/include/udpUtilities.c
cp -p udpUtilities.c /Users/jenkins/workspace/ESP_QuickMemOcsm/7.4/OpenCSM/pyOCSM/DARWIN64/ESP/DARWIN64/include/udpUtilities.c
+++ [[ /Users/jenkins/util/ESP/IRIT/irit-osx/lib != '' ]]
+++ [[ /Users/jenkins/util/ESP/IRIT/irit-sm != '' ]]
+++ make -f udfTile.make
clang -m64 -g -fsanitize=address -fno-omit-frame-pointer -c -O -Wall -Wno-dangling-else -Wno-unused-result -DREVISION=7.4 -DLINUX386 -D__UNIX__ -DSTRICMP -DUSLEEP -DTIMES -DRAND -DIRIT_HAVE_XML_LIB -I/Users/jenkins/workspace/ESP_QuickMemOcsm/7.4/OpenCSM/pyOCSM/DARWIN64/ESP/DARWIN64/include -I. -I/Users/jenkins/util/ESP/IRIT/irit-sm udfTile.c -o /Users/jenkins/workspace/ESP_QuickMemOcsm/7.4/OpenCSM/pyOCSM/DARWIN64/ESP/DARWIN64/obj/udfTile.o
touch /Users/jenkins/workspace/ESP_QuickMemOcsm/7.4/OpenCSM/pyOCSM/DARWIN64/ESP/DARWIN64/lib/tile.so
rm /Users/jenkins/workspace/ESP_QuickMemOcsm/7.4/OpenCSM/pyOCSM/DARWIN64/ESP/DARWIN64/lib/tile.so
clang -m64 -g -fsanitize=address -fno-omit-frame-pointer -bundle -undefined error -o /Users/jenkins/workspace/ESP_QuickMemOcsm/7.4/OpenCSM/pyOCSM/DARWIN64/ESP/DARWIN64/lib/tile.so /Users/jenkins/workspace/ESP_QuickMemOcsm/7.4/OpenCSM/pyOCSM/DARWIN64/ESP/DARWIN64/obj/udfTile.o -L/Users/jenkins/workspace/ESP_QuickMemOcsm/7.4/OpenCSM/pyOCSM/DARWIN64/ESP/DARWIN64/lib -legads -locsm -L/Users/jenkins/util/ESP/IRIT/irit-osx/lib -lIritExtLib -lIritGrapLib -lIritUserLib -lIritRndrLib -lIritBoolLib -lIritPrsrLib -lIritVMdlLib -lIritMdlLib -lIritMvarLib -lIritTrimLib -lIritTrivLib -lIritTrngLib -lIritSymbLib -lIritCagdLib -lIritGeomLib -lIritMiscLib -lIritXtraLib -lIritExtLib -lIritGrapLib -lIritUserLib -lIritRndrLib -lIritBoolLib -lIritPrsrLib -lIritVMdlLib -lIritMdlLib -lIritMvarLib -lIritTrimLib -lIritTrivLib -lIritTrngLib -lIritSymbLib -lIritCagdLib -lIritGeomLib -lIritMiscLib -lIritXtraLib -rpath /Users/jenkins/workspace/ESP_QuickMemOcsm/7.4/OpenCSM/pyOCSM/DARWIN64/ESP/DARWIN64/lib -rpath /Users/jenkins/util/ESP/opencascade-7.4/trunk/build_address/install/./lib -lm
+++ cd /Users/jenkins/workspace/ESP_QuickMemOcsm/7.4/OpenCSM/pyOCSM/DARWIN64/EGADS/trunk/docs/UDP_UDF/data
+++ make
clang -m64 -g -fsanitize=address -fno-omit-frame-pointer -c -O -Wall -Wno-dangling-else -Wno-unused-result -DREVISION=7.4 -I/Users/jenkins/workspace/ESP_QuickMemOcsm/7.4/OpenCSM/pyOCSM/DARWIN64/ESP/DARWIN64/include udpTire.c -o tire.o
clang -m64 -g -fsanitize=address -fno-omit-frame-pointer -o tire tire.o -L/Users/jenkins/workspace/ESP_QuickMemOcsm/7.4/OpenCSM/pyOCSM/DARWIN64/ESP/DARWIN64/lib -legads -lm -rpath /Users/jenkins/workspace/ESP_QuickMemOcsm/7.4/OpenCSM/pyOCSM/DARWIN64/ESP/DARWIN64/lib -rpath /Users/jenkins/util/ESP/opencascade-7.4/trunk/build_address/install/./lib
clang -m64 -g -fsanitize=address -fno-omit-frame-pointer -c -O -Wall -Wno-dangling-else -Wno-unused-result -DREVISION=7.4 -DUDP -I/Users/jenkins/workspace/ESP_QuickMemOcsm/7.4/OpenCSM/pyOCSM/DARWIN64/ESP/DARWIN64/include udpTire.c
touch tire.so
rm tire.so
clang -m64 -g -fsanitize=address -fno-omit-frame-pointer -bundle -undefined error -o tire.so udpTire.o -L/Users/jenkins/workspace/ESP_QuickMemOcsm/7.4/OpenCSM/pyOCSM/DARWIN64/ESP/DARWIN64/lib -legads -lm -rpath /Users/jenkins/workspace/ESP_QuickMemOcsm/7.4/OpenCSM/pyOCSM/DARWIN64/ESP/DARWIN64/lib -rpath /Users/jenkins/util/ESP/opencascade-7.4/trunk/build_address/install/./lib
+++ [[ true == '' ]]
+++ ln -f -s /Users/jenkins/workspace/ESP_QuickMemOcsm/7.4/OpenCSM/pyOCSM/DARWIN64/OpenCSM/trunk/udc /Users/jenkins/workspace/ESP_QuickMemOcsm/7.4/OpenCSM/pyOCSM/DARWIN64/ESP/DARWIN64
++++ find /Users/jenkins/workspace/ESP_QuickMemOcsm/7.4/OpenCSM/pyOCSM/DARWIN64/OpenCSM/trunk/data/training/ -name Makefile
++ [[ macys == \m\a\c\y\s ]]
++ rm -f /Users/jenkins/workspace/ESP_QuickMemOcsm/7.4/OpenCSM/pyOCSM/DARWIN64/ESP_venv/bin/python
++ cat
+++ python-config --prefix
++ chmod +x /Users/jenkins/workspace/ESP_QuickMemOcsm/7.4/OpenCSM/pyOCSM/DARWIN64/ESP_venv/bin/python
++ source /Users/jenkins/workspace/ESP_QuickMemOcsm/7.4/OpenCSM/pyOCSM/DARWIN64/JenkinsESP/ESP_Sanitize.sh
+++ mkdir -p /Users/jenkins/workspace/ESP_QuickMemOcsm/7.4/OpenCSM/pyOCSM/DARWIN64/ESP/test
+++ cd /Users/jenkins/workspace/ESP_QuickMemOcsm/7.4/OpenCSM/pyOCSM/DARWIN64/ESP/test
+++ [[ OpenCSM/pyOCSM =~ [0-9]+.[0-9]+ ]]
+++ export ESPTEST=OpenCSM/pyOCSM
+++ ESPTEST=OpenCSM/pyOCSM
+++ [[ OpenCSM/pyOCSM == \C\A\P\S* ]]
+++ [[ OpenCSM/pyOCSM == \s\e\n\s\C\S\M* ]]
+++ [[ OpenCSM/pyOCSM == *\p\l\u\g\s* ]]
+++ [[ OpenCSM/pyOCSM == \O\p\e\n\C\S\M\/\p\y\O\C\S\M ]]
+++ '[' '!' -z '-L/Users/jenkins/util/ESP/Python/ESP_Python-3.7.7/lib -lpython3.7m -ldl -framework CoreFoundation' ']'
+++ cd /Users/jenkins/workspace/ESP_QuickMemOcsm/7.4/OpenCSM/pyOCSM/DARWIN64/OpenCSM/trunk/pyOCSM
+++ python test_pyOCSM.py -skipHelp
pyOCSM version 1.19 has been loaded
skipping help
test 001: calling pyOCSM.Version()
imajor : 1
iminor : 19
test 002: making modl1(sample.csm)
--> enter ocsmLoad(filename=sample.csm)
nextline ( 0: 1)[ 1]: # sample (for testing pyOcsm)
nextline ( 0: 2)[ 1]: # written by John Dannenhoffer
nextline ( 0: 3)[ 1]:
nextline ( 0: 4)[ 1]: CFGPMTR oper 0
nextline ( 0: 5)[ 1]:
nextline ( 0: 6)[ 1]: DESPMTR x0 1
nextline ( 0: 7)[ 1]: DESPMTR y0 2
nextline ( 0: 8)[ 1]: DESPMTR z0 3
nextline ( 0: 9)[ 1]: DESPMTR dx 4
nextline ( 0: 10)[ 1]: DESPMTR dy 3
nextline ( 0: 11)[ 1]: DESPMTR dz 2
nextline ( 0: 12)[ 1]: DESPMTR rad 0
nextline ( 0: 13)[ 1]: DESPMTR tfact 0.5
nextline ( 0: 14)[ 1]:
nextline ( 0: 15)[ 1]: # global Attribute
nextline ( 0: 16)[ 1]: ATTRIBUTE globAttr 12345
nextline ( 0: 17)[ 1]:
nextline ( 0: 18)[ 1]: BOX x0 y0 z0 dx dy dz
nextline ( 0: 19)[ 2]:
nextline ( 0: 20)[ 2]: STORE myBody
nextline ( 0: 21)[ 3]: RESTORE myBody
nextline ( 0: 22)[ 4]:
nextline ( 0: 23)[ 4]: # Body 2 should get tessellated when sensitivities are computed
nextline ( 0: 24)[ 4]: OUTPMTR myLength
nextline ( 0: 25)[ 4]: SET myLength @length
nextline ( 0: 26)[ 5]:
nextline ( 0: 27)[ 5]: OUTPMTR myArea
nextline ( 0: 28)[ 5]: SET myArea @area
nextline ( 0: 29)[ 6]:
nextline ( 0: 30)[ 6]: OUTPMTR myVolume
nextline ( 0: 31)[ 6]: SET myVolume @volume
nextline ( 0: 32)[ 7]:
nextline ( 0: 33)[ 7]: DIMENSION myCG 1 3
nextline ( 0: 34)[ 8]: OUTPMTR myCG
nextline ( 0: 35)[ 8]: SET myCG[1] @xcg*1
nextline ( 0: 36)[ 9]: SET myCG[2] @ycg
nextline ( 0: 37)[ 10]: SET myCG[3] @zcg
nextline ( 0: 38)[ 11]:
nextline ( 0: 39)[ 11]: DIMENSION myBbox 2 3
nextline ( 0: 40)[ 12]: OUTPMTR myBbox
nextline ( 0: 41)[ 12]: SET myBbox[1,1] @xmin
nextline ( 0: 42)[ 13]: SET myBbox[1,2] @ymin
nextline ( 0: 43)[ 14]: SET myBbox[1,3] @zmin
nextline ( 0: 44)[ 15]: SET myBbox[2,1] @xmax
nextline ( 0: 45)[ 16]: SET myBbox[2,2] @ymax
nextline ( 0: 46)[ 17]: SET myBbox[2,3] @zmax
nextline ( 0: 47)[ 18]:
nextline ( 0: 48)[ 18]: OUTPMTR title
nextline ( 0: 49)[ 18]: SET title $This_is_the_title
nextline ( 0: 50)[ 19]:
nextline ( 0: 51)[ 19]: # Body 3 should get tessellated to display in ESP
nextline ( 0: 52)[ 19]: STORE myBody
nextline ( 0: 53)[ 20]: RESTORE myBody
nextline ( 0: 54)[ 21]:
nextline ( 0: 55)[ 21]: # make the cylinder if a positive radius
nextline ( 0: 56)[ 21]: IFTHEN rad GT 0
nextline ( 0: 57)[ 22]: CYLINDER x0+dx/2 y0-1 z0+dz x0+dx/2 y0+dy+1 z0+dz rad
nextline ( 0: 58)[ 23]: NAME cylinder
nextline ( 0: 59)[ 23]: ATTRIBUTE _color $red
nextline ( 0: 60)[ 23]:
nextline ( 0: 61)[ 23]: # adjust cylinder's tessellation
nextline ( 0: 62)[ 23]: IFTHEN tfact NE 1
nextline ( 0: 63)[ 24]: UDPRIM $$/applyTparams factor tfact
>>> Diverting to file "/Users/jenkins/workspace/ESP_QuickMemOcsm/7.4/OpenCSM/pyOCSM/DARWIN64/ESP/DARWIN64/udc/applyTparams.udc"
--> enter ocsmLoad(filename=/Users/jenkins/workspace/ESP_QuickMemOcsm/7.4/OpenCSM/pyOCSM/DARWIN64/ESP/DARWIN64/udc/applyTparams.udc)
nextline ( 1: 1)[ 25]: # apply .tParams to Body on top of stack
nextline ( 1: 2)[ 25]: # written by John Dannenhoffer
nextline ( 1: 3)[ 25]:
nextline ( 1: 4)[ 25]: INTERFACE factor in 1
nextline ( 1: 5)[ 26]:
nextline ( 1: 6)[ 26]: # find size of Body on the top of the stack
nextline ( 1: 7)[ 26]: SELECT BODY
nextline ( 1: 8)[ 27]: SET size max(max(@xmax-@xmin,@ymax-@ymin),@zmax-@zmin)
nextline ( 1: 9)[ 28]:
nextline ( 1: 10)[ 28]: # if there is more than one Face, apply .tParams to all Faces on the Body
nextline ( 1: 11)[ 28]: IFTHEN @nface GT 1
nextline ( 1: 12)[ 29]: SELECT FACE
nextline ( 1: 13)[ 30]: ATTRIBUTE .tParams 0.0250*factor*size;0.0075*factor*size;20;
nextline ( 1: 14)[ 30]:
nextline ( 1: 15)[ 30]: # otherwise apply .tParams to all Edges on the Body
nextline ( 1: 16)[ 30]: ELSE
nextline ( 1: 17)[ 31]: SELECT EDGE
nextline ( 1: 18)[ 32]: ATTRIBUTE .tParams 0.0250*factor*size;0.0075*factor*size;20;
nextline ( 1: 19)[ 32]: ENDIF
nextline ( 1: 20)[ 33]:
nextline ( 1: 21)[ 33]: END
nextline ( 0: 64)[ 34]: ENDIF
nextline ( 0: 65)[ 35]:
nextline ( 0: 66)[ 35]: IFTHEN oper EQ UNION
nextline ( 0: 67)[ 36]: MESSAGE Bodys_are_unioned
nextline ( 0: 68)[ 37]: UNION
nextline ( 0: 69)[ 38]: ELSEIF oper EQ SUBTRACT
nextline ( 0: 70)[ 39]: MESSAGE Bodys_are_subtracted
nextline ( 0: 71)[ 40]: SUBTRACT
nextline ( 0: 72)[ 41]: ELSEIF oper EQ INTERSECT
nextline ( 0: 73)[ 42]: MESSAGE Bodys_are_intersected
nextline ( 0: 74)[ 43]: INTERSECT
nextline ( 0: 75)[ 44]: ELSE
nextline ( 0: 76)[ 45]: MESSAGE Bodys_are_not_combined
nextline ( 0: 77)[ 46]: ENDIF
nextline ( 0: 78)[ 47]: ENDIF
nextline ( 0: 79)[ 48]:
nextline ( 0: 80)[ 48]: END
test 003: calling modl1.LoadDict(sample.dict)
--> Opening dictionary "sample.dict"
defining constant UNION = 1
defining constant SUBTRACT = 2
defining constant INTERSECT = 3
test 004: calling modl1.RegMesgCB(pyMesgCB)
test 005: calling modl1.Check()
--> enter ocsmCheck()
--> checks passed
test 006: calling modl1.GetFilelist()
filelist: sample.csm|/Users/jenkins/workspace/ESP_QuickMemOcsm/7.4/OpenCSM/pyOCSM/DARWIN64/ESP/DARWIN64/udc/applyTparams.udc|
test 007: calling modl1.Build(0, 0)
--> enter ocsmBuild(buildTo=0)
Interim EGADS version 1.19 (with OpenCASCADE 7.4.1)
INFO:: myBbox is a vector and is being converted to scalar
INFO:: myCG is a vector and is being converted to scalar
executing [ 1] box: 1.00000 2.00000 3.00000 4.00000 3.00000 2.00000
Body 1 created (toler= 1.0000e-07, nnode= 8, nedge= 12, nface= 6)
executing [ 2] store: myBody 0.00000 0.00000
Body 1 stored
executing [ 3] restore: myBody 0.00000
Body 2 restored (toler= 1.0000e-07, nnode= 8, nedge= 12, nface= 6)
executing [ 4] set: myLength @length
myLength = 0.00000 0.00000
executing [ 5] set: myArea @area
myArea = 52.00000 0.00000
executing [ 6] set: myVolume @volume
myVolume = 24.00000 0.00000
executing [ 7] dimension: myCG 1.00000 3.00000
executing [ 8] set: myCG[1] @xcg*1
myCG = 3.00000 0.00000
executing [ 9] set: myCG[2] @ycg
myCG = 3.50000 0.00000
executing [ 10] set: myCG[3] @zcg
myCG = 4.00000 0.00000
executing [ 11] dimension: myBbox 2.00000 3.00000
executing [ 12] set: myBbox[1,1] @xmin
myBbox = 1.00000 0.00000
executing [ 13] set: myBbox[1,2] @ymin
myBbox = 2.00000 0.00000
executing [ 14] set: myBbox[1,3] @zmin
myBbox = 3.00000 0.00000
executing [ 15] set: myBbox[2,1] @xmax
myBbox = 5.00000 0.00000
executing [ 16] set: myBbox[2,2] @ymax
myBbox = 5.00000 0.00000
executing [ 17] set: myBbox[2,3] @zmax
myBbox = 5.00000 0.00000
executing [ 18] set: title $This_is_the_title
title = $This_is_the_title
executing [ 19] store: myBody 0.00000 0.00000
WARNING:: storage myBody (0) is being overwritten
Body 2 stored
executing [ 20] restore: myBody 0.00000
Body 3 restored (toler= 1.0000e-07, nnode= 8, nedge= 12, nface= 6)
executing [ 21] ifthen: 0.00000 GT 0.00000 and ...
finalizing:
--> Tessellating Body 3 ( 1.34629e-01 4.03887e-02 20.000)
==> Profile information
Branch type ncall time (sec) pct
dimension 2 0.000 0.5
box 1 0.003 33.3
restore 2 0.003 32.6
set 13 0.003 33.2
store 2 0.000 0.4
ifthen 1 0.000 0.1
endif 1 0.000 0.0
Total 22 0.008
builtTo: 47
nbody : 0
bodys : None
test 008: calling modl1.Info()
nbrch : 47
npmtr : 61
nbody : 3
test 009: calling modl1.PrintBodys()
ibody ibrch brchType ileft irite ichld group CPU nnode nedge nface bodyType args ...
1 1 box -1 -1 2 1 0.003 8 12 6 solid_body 1.000 2.000 3.000 4.000 3.000 2.000
2 3 restore 1 -1 3 2 0.002 8 12 6 solid_body myBody 0.000
3* 20 restore 2 -1 0 3 0.001 8 12 6 solid_body myBody 0.000
total 0.005
test 010: calling modl2=modl1.Copy()
modl2 : <pyOCSM.Ocsm object at 0x1144dce90>
test 011: calling modl2.PrintPmtrs(sample.out)
test 012: calling modl2.PrintAttrs(sample.out)
test 013: calling modl2.PrintBrchs(sample.out)
--> enter ocsmCheck()
--> checks passed
test 014: calling modl2.FindPmtr(rad)
irad : 8
test 015: calling modl2.SetValuD(irad, 1, 1, 0.5)
test 016: calling modl2.Build(0, 20)
MESSAGE:: Bodys are not combined
======= in pyMesgCB =======
Bodys are not combined
===========================
builtTo: 47
nbody : 2
bodys : [4, 3]
test 017: calling modl2.Info()
nbrch : 47
npmtr : 61
nbody : 4
test 018: calling modl2.SaveDespmtrs(sample.despmtrs)
test 019: calling modl2.Free() --- should NOT remove EGADS context
test 020: calling modl2.Info() --- after modl2.Free
OcsmError rasied (as expected)
test 021: calling modl1.Info()
nbrch : 47
npmtr : 61
nbody : 3
test 022: calling modl1.UpdateDespmtrs(sample.despmtrs)
--> Opening DESPMTR file "sample.despmtrs"
updating CFGPMTR oper [ 1, 1] = 0.000000
updating DESPMTR x0 [ 1, 1] = 1.000000
updating DESPMTR y0 [ 1, 1] = 2.000000
updating DESPMTR z0 [ 1, 1] = 3.000000
updating DESPMTR dx [ 1, 1] = 4.000000
updating DESPMTR dy [ 1, 1] = 3.000000
updating DESPMTR dz [ 1, 1] = 2.000000
updating DESPMTR rad [ 1, 1] = 0.500000
updating DESPMTR tfact [ 1, 1] = 0.500000
test 023: calling modl1.Build(0, 0)
MESSAGE:: Bodys are not combined
======= in pyMesgCB =======
Bodys are not combined
===========================
builtTo: 47
nbody : 0
bodys : None
test 024: calling modl1.Info()
nbrch : 47
npmtr : 61
nbody : 4
test 025: calling modl1.FindPmtr(oper)
ioper : 1
test 026: calling modl1.SetValu(ioper, 1, 1, 5-4)
test 027: calling modl1.Build(0, 20)
MESSAGE:: Bodys are unioned
======= in pyMesgCB =======
Bodys are unioned
===========================
builtTo: 47
nbody : 1
bodys : [5]
test 028: calling modl1.Info()
nbrch : 47
npmtr : 61
nbody : 5
test 029: calling modl1.EvalExpr(dx*dy*dz)
value : 24.0
dot : 0.0
str :
test 030: calling modl1.EvalExpr(val2str(3.1415926,4))
value : 0.0
dot : 0.0
str : 3.1416
test 031: calling modl1.Save(sample2.cpc)
--> enter ocsmSave(filename=sample2.cpc)
--> enter ocsmCheck()
--> checks passed
test 032: calling PyOcsm.Load(sample2.cpc)
--> enter ocsmLoad(filename=sample2.cpc)
nextline ( 0: 1)[ 1]: # sample2.cpc written by ocsmSave (v1.19)
nextline ( 0: 2)[ 1]:
nextline ( 0: 3)[ 1]: # Constant, Design, and Output Parameters:
nextline ( 0: 4)[ 1]: cfgpmtr oper 1.00000
nextline ( 0: 5)[ 1]: despmtr x0 1.00000
nextline ( 0: 6)[ 1]: despmtr y0 2.00000
nextline ( 0: 7)[ 1]: despmtr z0 3.00000
nextline ( 0: 8)[ 1]: despmtr dx 4.00000
nextline ( 0: 9)[ 1]: despmtr dy 3.00000
nextline ( 0: 10)[ 1]: despmtr dz 2.00000
nextline ( 0: 11)[ 1]: despmtr rad 0.50000
nextline ( 0: 12)[ 1]: despmtr tfact 0.50000
nextline ( 0: 13)[ 1]: outpmtr myLength
nextline ( 0: 14)[ 1]: outpmtr myArea
nextline ( 0: 15)[ 1]: outpmtr myVolume
nextline ( 0: 16)[ 1]: outpmtr myCG
nextline ( 0: 17)[ 1]: outpmtr myBbox
nextline ( 0: 18)[ 1]: outpmtr title
nextline ( 0: 19)[ 1]: conpmtr UNION 1.00000
nextline ( 0: 20)[ 1]: conpmtr SUBTRACT 2.00000
nextline ( 0: 21)[ 1]: conpmtr INTERSECT 3.00000
nextline ( 0: 22)[ 1]:
nextline ( 0: 23)[ 1]: # Global Attributes:
nextline ( 0: 24)[ 1]: attribute globAttr 12345
nextline ( 0: 25)[ 1]:
nextline ( 0: 26)[ 1]: # Branches:
nextline ( 0: 27)[ 1]: box x0 y0 z0 dx dy dz
nextline ( 0: 28)[ 2]: store myBody 0 0
nextline ( 0: 29)[ 3]: restore myBody 0
nextline ( 0: 30)[ 4]: set myLength @length
nextline ( 0: 31)[ 5]: set myArea @area
nextline ( 0: 32)[ 6]: set myVolume @volume
nextline ( 0: 33)[ 7]: dimension myCG 1 3
nextline ( 0: 34)[ 8]: set myCG[1] @xcg*1
nextline ( 0: 35)[ 9]: set myCG[2] @ycg
nextline ( 0: 36)[ 10]: set myCG[3] @zcg
nextline ( 0: 37)[ 11]: dimension myBbox 2 3
nextline ( 0: 38)[ 12]: set myBbox[1,1] @xmin
nextline ( 0: 39)[ 13]: set myBbox[1,2] @ymin
nextline ( 0: 40)[ 14]: set myBbox[1,3] @zmin
nextline ( 0: 41)[ 15]: set myBbox[2,1] @xmax
nextline ( 0: 42)[ 16]: set myBbox[2,2] @ymax
nextline ( 0: 43)[ 17]: set myBbox[2,3] @zmax
nextline ( 0: 44)[ 18]: set title $This_is_the_title
nextline ( 0: 45)[ 19]: store myBody 0 0
nextline ( 0: 46)[ 20]: restore myBody 0
nextline ( 0: 47)[ 21]: ifthen rad GT 0 and 0 eq 0
nextline ( 0: 48)[ 22]: cylinder x0+dx/2 y0-1 z0+dz x0+dx/2 y0+dy+1 z0+dz rad
nextline ( 0: 49)[ 23]: name cylinder
nextline ( 0: 50)[ 23]: attribute _color $red
nextline ( 0: 51)[ 23]: ifthen tfact NE 1 and 0 eq 0
nextline ( 0: 52)[ 24]: udprim $$/applyTparams factor tfact
nextline ( 0: 53)[ 25]: interface factor in 1
nextline ( 0: 54)[ 26]: select BODY
nextline ( 0: 55)[ 27]: set size max(max(@xmax-@xmin,@ymax-@ymin),@zmax-@zmin)
nextline ( 0: 56)[ 28]: ifthen @nface GT 1 and 0 eq 0
nextline ( 0: 57)[ 29]: select FACE
nextline ( 0: 58)[ 30]: attribute .tParams 0.0250*factor*size;0.0075*factor*size;20;
nextline ( 0: 59)[ 30]: else
nextline ( 0: 60)[ 31]: select EDGE
nextline ( 0: 61)[ 32]: attribute .tParams 0.0250*factor*size;0.0075*factor*size;20;
nextline ( 0: 62)[ 32]: endif
nextline ( 0: 63)[ 33]: end
nextline ( 0: 64)[ 34]: endif
nextline ( 0: 65)[ 35]: ifthen oper EQ UNION and 0 eq 0
nextline ( 0: 66)[ 36]: message Bodys_are_unioned _
nextline ( 0: 67)[ 37]: union 0 0 0
nextline ( 0: 68)[ 38]: elseif oper EQ SUBTRACT and 0 eq 0
nextline ( 0: 69)[ 39]: message Bodys_are_subtracted _
nextline ( 0: 70)[ 40]: subtract none 1 0
nextline ( 0: 71)[ 41]: elseif oper EQ INTERSECT and 0 eq 0
nextline ( 0: 72)[ 42]: message Bodys_are_intersected _
nextline ( 0: 73)[ 43]: intersect none 1 0
nextline ( 0: 74)[ 44]: else
nextline ( 0: 75)[ 45]: message Bodys_are_not_combined _
nextline ( 0: 76)[ 46]: endif
nextline ( 0: 77)[ 47]: endif
nextline ( 0: 78)[ 48]:
nextline ( 0: 79)[ 48]: end
test 033: calling modl2.LoadDict(sample.dict)
--> Opening dictionary "sample.dict"
defining constant UNION = 1
defining constant SUBTRACT = 2
defining constant INTERSECT = 3
test 034: calling modl2.Check()
--> enter ocsmCheck()
--> checks passed
test 035: calling modl2.Build(0, 0)
--> enter ocsmBuild(buildTo=0)
Interim EGADS version 1.19 (with OpenCASCADE 7.4.1)
executing [ 1] box: 1.00000 2.00000 3.00000 4.00000 3.00000 2.00000
Body 1 created (toler= 1.0000e-07, nnode= 8, nedge= 12, nface= 6)
executing [ 2] store: myBody 0.00000 0.00000
Body 1 stored
executing [ 3] restore: myBody 0.00000
Body 2 restored (toler= 1.0000e-07, nnode= 8, nedge= 12, nface= 6)
executing [ 4] set: myLength @length
myLength = 0.00000 0.00000
executing [ 5] set: myArea @area
myArea = 52.00000 0.00000
executing [ 6] set: myVolume @volume
myVolume = 24.00000 0.00000
executing [ 7] dimension: myCG 1.00000 3.00000
executing [ 8] set: myCG[1] @xcg*1
myCG = 3.00000 0.00000
executing [ 9] set: myCG[2] @ycg
myCG = 3.50000 0.00000
executing [ 10] set: myCG[3] @zcg
myCG = 4.00000 0.00000
executing [ 11] dimension: myBbox 2.00000 3.00000
executing [ 12] set: myBbox[1,1] @xmin
myBbox = 1.00000 0.00000
executing [ 13] set: myBbox[1,2] @ymin
myBbox = 2.00000 0.00000
executing [ 14] set: myBbox[1,3] @zmin
myBbox = 3.00000 0.00000
executing [ 15] set: myBbox[2,1] @xmax
myBbox = 5.00000 0.00000
executing [ 16] set: myBbox[2,2] @ymax
myBbox = 5.00000 0.00000
executing [ 17] set: myBbox[2,3] @zmax
myBbox = 5.00000 0.00000
executing [ 18] set: title $This_is_the_title
title = $This_is_the_title
executing [ 19] store: myBody 0.00000 0.00000
WARNING:: storage myBody (0) is being overwritten
Body 2 stored
executing [ 20] restore: myBody 0.00000
Body 3 restored (toler= 1.0000e-07, nnode= 8, nedge= 12, nface= 6)
executing [ 21] ifthen: 0.50000 GT 0.00000 and 0.00000 eq 0.00000
executing [ 22] cylinder: 3.00000 1.00000 5.00000 3.00000 6.00000 5.00000 0.50000
Body 4 created (toler= 1.0000e-05, nnode= 4, nedge= 6, nface= 4)
executing [ 23] ifthen: 0.50000 NE 1.00000 and 0.00000 eq 0.00000
executing [ 24] udprim: $$/applyTparams factor 0.50000 (scripted code)
[ 25] interface: factor in 1.00000
executing [ 26] select: body
executing [ 27] set: size max(max(@xmax-@xmin,@ymax-@ymin),@zmax-@zmin)
size = 5.00000 0.00000
executing [ 28] ifthen: 4.00000 GT 1.00000 and 0.00000 eq 0.00000
executing [ 29] select: face
putting Branch Attributes on Face 1
putting Branch Attributes on Face 2
putting Branch Attributes on Face 3
putting Branch Attributes on Face 4
executing [ 33] end:
executing [ 35] ifthen: 1.00000 EQ 1.00000 and 0.00000 eq 0.00000
executing [ 36] message: Bodys_are_unioned _
MESSAGE:: Bodys are unioned
executing [ 37] union: 0.00000 0 0.0000e+00
Body 5 created (toler= 1.0000e-05, nnode= 18, nedge= 27, nface= 11)
finalizing:
--> Tessellating Body 5 ( 1.71847e-01 5.15540e-02 20.000)
==> Profile information
Branch type ncall time (sec) pct
dimension 2 0.000 0.0
box 1 0.002 1.9
cylinder 1 0.006 6.0
udprim 1 0.000 0.4
restore 2 0.002 2.2
union 1 0.085 80.3
interface 1 0.000 0.0
end 1 0.000 0.0
set 14 0.004 4.2
select 2 0.002 2.3
store 2 0.000 0.0
ifthen 4 0.003 2.5
elseif 1 0.000 0.0
else 1 0.000 0.0
endif 4 0.000 0.0
Total 38 0.106
builtTo: 47
nbody : 0
bodys : None
test 036: calling modl2.Info()
nbrch : 47
npmtr : 61
nbody : 5
test 037: calling modl2.EvalExpr(@stack.size)
value : 5.0
dot : 0.0
str :
test 038: calling modl2.PrintBrep(int(value), )
Body 5
globAttr =12345.00000
_body = 5
_brch = 37
_tParams = 0.17185 0.05155 20.00000
inode nedge ibody x y z
1 3 1 1.00000 2.00000 5.00000
Edges -> 1 2 9
Faces -> 1 2 3
_nodeID = 1
_nedge = 3
2 3 1 1.00000 2.00000 3.00000
Edges -> 1 4 10
Faces -> 1 2 5
_nodeID = 2
_nedge = 3
3 3 1 1.00000 5.00000 5.00000
Edges -> 2 3 11
Faces -> 1 3 4
_nodeID = 3
_nedge = 3
4 3 1 1.00000 5.00000 3.00000
Edges -> 3 4 17
Faces -> 1 4 5
_nodeID = 4
_nedge = 3
5 3 1 5.00000 2.00000 5.00000
Edges -> 5 6 19
Faces -> 2 6 7
_nodeID = 5
_nedge = 3
6 3 1 5.00000 2.00000 3.00000
Edges -> 5 10 18
Faces -> 2 5 6
_nodeID = 6
_nedge = 3
7 3 5 3.50000 2.00000 5.00000
Edges -> 6 7 20
Faces -> 2 7 8
_nodeID = 7
_nedge = 3
8 3 5 3.00000 2.00000 4.50000
Edges -> 7 8 22
Faces -> 2 8 9
_nodeID = 8
_nedge = 3
9 3 5 2.50000 2.00000 5.00000
Edges -> 8 9 12
Faces -> 2 3 9
_nodeID = 9
_nedge = 3
10 3 5 2.50000 5.00000 5.00000
Edges -> 11 12 16
Faces -> 3 4 9
_nodeID = 10
_nedge = 3
11 3 1 5.00000 5.00000 5.00000
Edges -> 13 14 19
Faces -> 4 6 7
_nodeID = 11
_nedge = 3
12 3 1 5.00000 5.00000 3.00000
Edges -> 13 17 18
Faces -> 4 5 6
_nodeID = 12
_nedge = 3
13 3 5 3.50000 5.00000 5.00000
Edges -> 14 15 20
Faces -> 4 7 8
_nodeID = 13
_nedge = 3
14 3 5 3.00000 5.00000 4.50000
Edges -> 15 16 21
Faces -> 4 8 9
_nodeID = 14
_nedge = 3
15 3 4 3.00000 6.00000 4.50000
Edges -> 21 25 26
Faces -> 8 9 11
_nodeID = 15
_nedge = 3
16 3 4 3.00000 1.00000 4.50000
Edges -> 22 23 27
Faces -> 8 9 10
_nodeID = 16
_nedge = 3
17 3 4 3.00000 1.00000 5.50000
Edges -> 23 24 27
Faces -> 8 9 10
_nodeID = 17
_nedge = 3
18 3 4 3.00000 6.00000 5.50000
Edges -> 24 25 26
Faces -> 8 9 11
_nodeID = 18
_nedge = 3
iedge ibeg iend ileft irite nface ibody iford imark
1 2 1 1 2 2 1 10003 -1
Nodes -> 1 2
Faces -> 1 2
_body = 1 10003
_edgeID = 1 1 1 3 1
_nface = 2
2 1 3 1 3 2 1 10006 -1
Nodes -> 3 1
Faces -> 1 3
_body = 1 10006
_edgeID = 1 1 1 6 1
_nface = 2
3 4 3 4 1 2 1 40001 -1
Nodes -> 3 4
Faces -> 1 4
_body = 1 40001
_edgeID = 1 1 1 4 1
_nface = 2
4 2 4 5 1 2 1 50001 -1
Nodes -> 4 2
Faces -> 1 5
_body = 1 50001
_edgeID = 1 1 1 5 1
_nface = 2
5 6 5 2 6 2 1 30002 -1
Nodes -> 5 6
Faces -> 2 6
_body = 1 30002
_edgeID = 1 2 1 3 1
_nface = 2
6 7 5 7 2 2 1 60003 -1
Nodes -> 7 5
Faces -> 2 7
_body = 1 60003
_edgeID = 1 3 1 6 2
_nface = 2
7 7 8 2 8 2 5 0 -1
Nodes -> 7 8
Faces -> 2 8
_body = 5 0
_edgeID = 1 3 4 3 1
_nface = 2
8 8 9 2 9 2 5 0 -1
Nodes -> 8 9
Faces -> 2 9
_body = 5 0
_edgeID = 1 3 4 4 1
_nface = 2
9 1 9 3 2 2 1 60003 -1
Nodes -> 1 9
Faces -> 2 3
_body = 1 60003
_edgeID = 1 3 1 6 1
_nface = 2
10 2 6 2 5 2 1 30005 -1
Nodes -> 6 2
Faces -> 2 5
_body = 1 30005
_edgeID = 1 3 1 5 1
_nface = 2
11 3 10 4 3 2 1 40006 -1
Nodes -> 3 10
Faces -> 3 4
_body = 1 40006
_edgeID = 1 4 1 6 1
_nface = 2
12 9 10 3 9 2 5 0 -1
Nodes -> 9 10
Faces -> 3 9
_body = 5 0
_edgeID = 1 6 4 4 1
_nface = 2
13 12 11 6 4 2 1 20004 -1
Nodes -> 11 12
Faces -> 4 6
_body = 1 20004
_edgeID = 1 2 1 4 1
_nface = 2
14 13 11 4 7 2 1 40006 -1
Nodes -> 13 11
Faces -> 4 7
_body = 1 40006
_edgeID = 1 4 1 6 2
_nface = 2
15 13 14 8 4 2 5 0 -1
Nodes -> 13 14
Faces -> 4 8
_body = 5 0
_edgeID = 1 4 4 3 1
_nface = 2
16 14 10 9 4 2 5 0 -1
Nodes -> 14 10
Faces -> 4 9
_body = 5 0
_edgeID = 1 4 4 4 1
_nface = 2
17 4 12 5 4 2 1 50004 -1
Nodes -> 12 4
Faces -> 4 5
_body = 1 50004
_edgeID = 1 4 1 5 1
_nface = 2
18 6 12 6 5 2 1 20005 -1
Nodes -> 12 6
Faces -> 5 6
_body = 1 20005
_edgeID = 1 2 1 5 1
_nface = 2
19 5 11 7 6 2 1 60002 -1
Nodes -> 11 5
Faces -> 6 7
_body = 1 60002
_edgeID = 1 2 1 6 1
_nface = 2
20 7 13 8 7 2 5 0 -1
Nodes -> 7 13
Faces -> 7 8
_body = 5 0
_edgeID = 1 6 4 3 1
_nface = 2
21 14 15 8 9 2 4 30004 -1
Nodes -> 14 15
Faces -> 8 9
_body = 4 30004
_edgeID = 4 3 4 4 3
_nface = 2
22 16 8 8 9 2 4 30004 -1
Nodes -> 16 8
Faces -> 8 9
_body = 4 30004
_edgeID = 4 3 4 4 1
_nface = 2
23 17 16 8 10 2 4 30001 -1
Nodes -> 17 16
Faces -> 8 10
_body = 4 30001
_edgeID = 4 1 4 3 1
_nface = 2
24 17 18 9 8 2 4 40003 -1
Nodes -> 18 17
Faces -> 8 9
_body = 4 40003
_edgeID = 4 3 4 4 2
_nface = 2
25 18 15 11 8 2 4 20003 -1
Nodes -> 15 18
Faces -> 8 11
_body = 4 20003
_edgeID = 4 2 4 3 1
_nface = 2
26 15 18 11 9 2 4 20004 -1
Nodes -> 18 15
Faces -> 9 11
_body = 4 20004
_edgeID = 4 2 4 4 1
_nface = 2
27 16 17 9 10 2 4 40001 -1
Nodes -> 16 17
Faces -> 9 10
_body = 4 40001
_edgeID = 4 1 4 4 1
_nface = 2
iface ibody iford imark
1 1 1 -1
Nodes -> 1 2 3 4
Edges -> 1 2 3 4
_body = 1 1
_brch = 20 2
_hist = 1 5
_faceID = 1 1 1
2 1 3 -1
Nodes -> 5 6 7 8 9 1 2
Edges -> 5 6 7 8 9 1 10
_body = 1 3
_brch = 20 2
_hist = 1 5
_faceID = 1 3 1
3 1 6 -1
Nodes -> 3 10 9 1
Edges -> 11 12 9 2
_body = 1 6
_brch = 20 2
_hist = 1 5
_faceID = 1 6 1
4 1 4 -1
Nodes -> 11 12 13 14 10 3 4
Edges -> 13 14 15 16 11 3 17
_body = 1 4
_brch = 20 2
_hist = 1 5
_faceID = 1 4 1
5 1 5 -1
Nodes -> 4 2 12 6
Edges -> 4 17 18 10
_body = 1 5
_brch = 20 2
_hist = 1 5
_faceID = 1 5 1
6 1 2 -1
Nodes -> 5 6 11 12
Edges -> 5 19 13 18
_body = 1 2
_brch = 20 2
_hist = 1 5
_faceID = 1 2 1
7 1 6 -1
Nodes -> 13 11 5 7
Edges -> 14 19 6 20
_body = 1 6
_brch = 20 2
_hist = 1 5
_faceID = 1 6 2
8 4 3 -1
Nodes -> 14 15 13 7 8 16 17 18
Edges -> 21 15 20 7 22 23 24 25
_body = 4 3
_brch = 22 3
_color =red
_hist = 4 5
.tParams = 0.06250 0.01875 20.00000
_tParams = 0.06250 0.01875 20.00000
_faceID = 4 3 1
9 4 4 -1
Nodes -> 16 8 9 10 14 15 18 17
Edges -> 22 8 12 16 21 26 24 27
_body = 4 4
_brch = 22 4
_color =red
_hist = 4 5
.tParams = 0.06250 0.01875 20.00000
_tParams = 0.06250 0.01875 20.00000
_faceID = 4 4 1
10 4 1 -1
Nodes -> 17 16
Edges -> 23 27
_body = 4 1
_brch = 22 1
_color =red
_hist = 4 5
.tParams = 0.06250 0.01875 20.00000
_tParams = 0.06250 0.01875 20.00000
_faceID = 4 1 1
11 4 2 -1
Nodes -> 15 18
Edges -> 25 26
_body = 4 2
_brch = 22 2
_color =red
_hist = 4 5
.tParams = 0.06250 0.01875 20.00000
_tParams = 0.06250 0.01875 20.00000
_faceID = 4 2 1
test 039: calling modl2.GetBrch(1)
type : 112
bclass : 201
actv : 300
ichld : 3
ileft : -1
irite : -1
narg : 6
nattr : 0
test 040: converting cylinder to sphere
cylinder is ibrch 22
calling modl2.NewBrch( 22 , sphere x0+dx/2 y0+dy/2 z0+dz
calling modl2.SetName( 23 , sphere)
calling modl2.SetAttr( 23 , _color $red)
calling modl2.SetAttr( 23 , _name $the_sphere)
call modl2.GetAttr( 23 , _color)
avalue: $red
getting all Attributes for ibrch= 23
_color : $red
_name : $the_sphere
calling modl2.DelBrch( 22 )
test 041: calling modl2.PrintBrchs()
--> enter ocsmCheck()
--> checks passed
ibrch type ileft irite ichld args...
attr: globAttr 12345
1 [-] Brch_000001 box -2 -2 -2 {x0} {y0} {z0} {dx} {dy} {dz}
2 [-] Brch_000002 store -2 -2 -2 {$myBody} {0} {0}
3 [-] Brch_000003 restore -2 -2 -2 {$myBody} {0}
4 [-] Brch_000004 set -2 -2 -2 {$myLength} {@length}
5 [-] Brch_000005 set -2 -2 -2 {$myArea} {@area}
6 [-] Brch_000006 set -2 -2 -2 {$myVolume} {@volume}
7 [-] Brch_000007 dimension -2 -2 -2 {$myCG} {1} {3}
8 [-] Brch_000008 set -2 -2 -2 {$myCG[1]} {@xcg*1}
9 [-] Brch_000009 set -2 -2 -2 {$myCG[2]} {@ycg}
10 [-] Brch_000010 set -2 -2 -2 {$myCG[3]} {@zcg}
11 [-] Brch_000011 dimension -2 -2 -2 {$myBbox} {2} {3}
12 [-] Brch_000012 set -2 -2 -2 {$myBbox[1,1]} {@xmin}
13 [-] Brch_000013 set -2 -2 -2 {$myBbox[1,2]} {@ymin}
14 [-] Brch_000014 set -2 -2 -2 {$myBbox[1,3]} {@zmin}
15 [-] Brch_000015 set -2 -2 -2 {$myBbox[2,1]} {@xmax}
16 [-] Brch_000016 set -2 -2 -2 {$myBbox[2,2]} {@ymax}
17 [-] Brch_000017 set -2 -2 -2 {$myBbox[2,3]} {@zmax}
18 [-] Brch_000018 set -2 -2 -2 {$title} {$This_is_the_title}
19 [-] Brch_000019 store -2 -2 -2 {$myBody} {0} {0}
20 [-] Brch_000020 restore -2 -2 -2 {$myBody} {0}
21 [-] Brch_000021 ifthen -2 -2 -2 {rad} {$GT} {0} {$and} {0} {$eq} {0}
22 [-] sphere .sphere -2 -2 -2 {x0+dx/2} {y0+dy/2} {z0+dz} {rad}
attr: _color $red
attr: _name $the_sphere
23 [-] Brch_000023 .ifthen -2 -2 -2 {tfact} {$NE} {1} {$and} {0} {$eq} {0}
24 [-] Brch_000024 ..udprim -2 -2 -2 {$$$/applyTparams} {$factor} {tfact}
25 [-] Brch_000025 ...interface -2 -2 -2 {$factor} {$in} {1}
26 [-] Brch_000026 ...select -2 -2 -2 {$BODY}
27 [-] Brch_000027 ...set -2 -2 -2 {$size} {max(max(@xmax-@xmin,@ymax-@ymin),@zmax-@zmin)}
28 [-] Brch_000028 ...ifthen -2 -2 -2 {@nface} {$GT} {1} {$and} {0} {$eq} {0}
29 [-] Brch_000029 ....select -2 -2 -2 {$FACE}
attr: .tParams 0.0250*factor*size;0.0075*factor*size;20;
30 [-] Brch_000030 ...else -2 -2 -2
31 [-] Brch_000031 ....select -2 -2 -2 {$EDGE}
attr: .tParams 0.0250*factor*size;0.0075*factor*size;20;
32 [-] Brch_000032 ...endif -2 -2 -2
33 [-] Brch_000033 ..end -2 -2 -2
34 [-] Brch_000034 .endif -2 -2 -2
35 [-] Brch_000035 .ifthen -2 -2 -2 {oper} {$EQ} {UNION} {$and} {0} {$eq} {0}
36 [-] Brch_000036 ..message -2 -2 -2 {$Bodys_are_unioned} {$_}
37 [-] Brch_000037 ..union -2 -2 -2 {0} {0} {0}
38 [-] Brch_000038 .elseif -2 -2 -2 {oper} {$EQ} {SUBTRACT} {$and} {0} {$eq} {0}
39 [-] Brch_000039 ..message -2 -2 -2 {$Bodys_are_subtracted} {$_}
40 [-] Brch_000040 ..subtract -2 -2 -2 {$none} {1} {0}
41 [-] Brch_000041 .elseif -2 -2 -2 {oper} {$EQ} {INTERSECT} {$and} {0} {$eq} {0}
42 [-] Brch_000042 ..message -2 -2 -2 {$Bodys_are_intersected} {$_}
43 [-] Brch_000043 ..intersect -2 -2 -2 {$none} {1} {0}
44 [-] Brch_000044 .else -2 -2 -2
45 [-] Brch_000045 ..message -2 -2 -2 {$Bodys_are_not_combined} {$_}
46 [-] Brch_000046 .endif -2 -2 -2
47 [-] Brch_000047 endif -2 -2 -2
test 042: calling modl2.Build(0, 0)
MESSAGE:: Bodys are unioned
builtTo: 47
nbody : 0
bodys : None
test 043: calling modl2.NewPmtr(Rad, DESPMTR, 1, 1)
iRad : 19
test 044: calling modl2.SetValuD(iRad, 1, 1, 0.75)
test 045: calling modl2.SetBnds(iRad, 1, 1, -1, +2)
test 046: calling modl2.SetValu(iRad, 1, 1, 2/3)
test 047: calling modl2.GetBnds(iRad, 1, 1)
lbound : -1.0
ubound : 2.0
test 048: calling modl2.PrintPmtrs()
16 [c] UNION 1.00000
17 [c] SUBTRACT 2.00000
18 [c] INTERSECT 3.00000
1 [f] oper [ 1, 1] 1.00000 0.00000 >> unbounded << unbounded
2 [d] x0 [ 1, 1] 1.00000 0.00000 >> unbounded << unbounded
3 [d] y0 [ 1, 1] 2.00000 0.00000 >> unbounded << unbounded
4 [d] z0 [ 1, 1] 3.00000 0.00000 >> unbounded << unbounded
5 [d] dx [ 1, 1] 4.00000 0.00000 >> unbounded << unbounded
6 [d] dy [ 1, 1] 3.00000 0.00000 >> unbounded << unbounded
7 [d] dz [ 1, 1] 2.00000 0.00000 >> unbounded << unbounded
8 [d] rad [ 1, 1] 0.50000 0.00000 >> unbounded << unbounded
9 [d] tfact [ 1, 1] 0.50000 0.00000 >> unbounded << unbounded
19 [d] Rad [ 1, 1] 0.66667 0.00000 >> -1.00000 << 2.00000
test 049: calling modl2.Info()
nbrch : 47
npmtr : 19
nbody : 5
test 050: converting 4th arg of sphere to Rad
calling modl2.GetArg( 22 , 4)
defn : rad
value: 0.5
dot : 0.0
calling modl2.SetArg( 22 , 4, Rad
calling modl2.GetArg( 22 , 4)
defn : Rad
value: 0.6666666666666666
dot : 0.0
test 051: calling modl2.NewBrch(nbrch, point 5 5 5
test 052: calling modl2.Build(0, 0)
MESSAGE:: Bodys are unioned
builtTo: 48
nbody : 2
bodys : [6, 5]
test 053: calling modl2.GetBody(bodys[0])
type : 111
ichld : 0
ileft : -1
irite : -1
vals : [0.0, 5.0, 5.0, 5.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0]
nnode : 1
nedge : 0
nface : 0
test 054: calling modl2.SetBrch( 48 , SUPPRESSED)
test 055: calling modl2.Build(0, 0)
MESSAGE:: Bodys are unioned
builtTo: 47
nbody : 1
bodys : [5]
test 056: calling modl2.GetBody(bodys[0])
type : 143
ichld : 0
ileft : 3
irite : 4
vals : [0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0]
nnode : 11
nedge : 18
nface : 8
test 057: calling modl2.DelBrch( 48 )
test 058: calling modl2.FindPmtr(foo, DESPMTR, 1, 1)
test 059: calling modl2.Info()
nbrch : 47
npmtr : 20
nbody : 5
test 060: alling modl2.DelPmtr(npmtr)
test 061: calling modl2.Info()
nbrch : 47
npmtr : 19
nbody : 5
test 062: making list of all DESPMTRs
x0 is a 1 * 1 DESPMTR
y0 is a 1 * 1 DESPMTR
z0 is a 1 * 1 DESPMTR
dx is a 1 * 1 DESPMTR
dy is a 1 * 1 DESPMTR
dz is a 1 * 1 DESPMTR
rad is a 1 * 1 DESPMTR
tfact is a 1 * 1 DESPMTR
Rad is a 1 * 1 DESPMTR
test 063: making list of all OUTPMTRs
myLength is a 1 * 1 OUTPMTR
myArea is a 1 * 1 OUTPMTR
myVolume is a 1 * 1 OUTPMTR
myCG is a 1 * 3 OUTPMTR
myBbox is a 2 * 3 OUTPMTR
title is a 0 * 0 OUTPMTR
test 064: calling modl2.GetPmtr(iMyCG)
myCG [ 1 , 1 ]: 3.0 0.0
myCG [ 1 , 2 ]: 3.5 0.0
myCG [ 1 , 3 ]: 4.0 0.0
test 065: calling modl2.GetValuS(ititle)
title : This_is_the_title
test 066: calling modl2.SetCsys(1, boxCsys, csysName)
test 067: calling modl2.GetCsys(1, boxCsys)
cvalue : csysName
test 068: calling modl2.RetCsys(1, 1)
cname : boxCsys
cvalue : csysName
test 069: calling modl2.SetCsys(1, boxCsys, )
test 070: calling modl2.FindEnt(nbody, pyOCSM.FACE, [1,6,2])
ient : 3
test 071: getting coordinates on Face ient
xx : 1.1
yy : 3.5
zz : 5.0
test 072: calling modl2.GetUV(nbody, pyOCSM.FACE, ient, 1, [xx,yy,zz])
uu : 0.10000000000000002
vv : 1.5
test 073: calling modl2.GetXYZ(nbody, pyOCSM.FACE, ient, 2, [uu,vv,uu,vv])
xxx : 1.1
yyy : 3.5
zzz : 5.0
test 074: calling modl2.GetNorm(nbody, ient, 1, [uu,vv])
normx : 0.0
normy : 0.0
normz : 1.0
test 075: calling modl2.FindPmtr(dx, 0, 0, 0)
iz0 : 4
test 076: calling modl2.SetVel(iz0, 1, 1, 1/2)
test 077: calling modl2.Build(0, 0)
MESSAGE:: Bodys are unioned
test 078: calling modl2.FindPmtr(myBbox, 0, 0, 0)
iMyBbox: 14
myBbox [ 1 , 1 ]= 1.0 0.0
myBbox [ 1 , 2 ]= 2.0 0.0
myBbox [ 1 , 3 ]= 3.0 0.5
myBbox [ 2 , 1 ]= 5.0 0.0
myBbox [ 2 , 2 ]= 5.0 0.0
myBbox [ 2 , 3 ]= 5.0 0.5
test 079: calling modl2.SetVelD(0, 0, 0, 0)
test 080: calling modl2.SetVel(iz0, 1, 1, 1/2)
test 081: calling modl2.Build(0, 0)
MESSAGE:: Bodys are unioned
test 082: calling modl2.FindPmtr(myBbox, 0, 0, 0)
iMyBbox: 14
myBbox [ 1 , 1 ]= 1.0 0.0
myBbox [ 1 , 2 ]= 2.0 0.0
myBbox [ 1 , 3 ]= 3.0 1.0
myBbox [ 2 , 1 ]= 5.0 0.0
myBbox [ 2 , 2 ]= 5.0 0.0
myBbox [ 2 , 3 ]= 5.0 1.0
test 083: calling modl1.Info()
nbrch : 47
npmtr : 61
nbody : 5
test 084: calling modl2.GetBody(nbody)
type : 143
ichld : 0
ileft : 3
irite : 4
vals : [0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0]
nnode : 11
nedge : 18
nface : 8
test 085: getting modl2.GetVel(nbody, pyOCSM.NODE, inode, 1, None)
dxyz(inode= 1 ): 0.0 0.0 1.0
dxyz(inode= 2 ): 0.0 0.0 1.0
dxyz(inode= 3 ): 0.0 0.0 1.0
dxyz(inode= 4 ): 0.0 0.0 1.0
dxyz(inode= 5 ): 0.0 0.0 1.0
dxyz(inode= 6 ): 0.0 0.0 1.0
dxyz(inode= 7 ): 0.0 0.0 1.0
dxyz(inode= 8 ): 0.0 0.0 1.0
dxyz(inode= 9 ): 0.0 0.0 1.0
dxyz(inode= 10 ): 0.0 0.0 1.0
dxyz(inode= 11 ): 0.0 0.0 1.0
test 086: calling modl2.SetDtime(0.1)
MODL->dtime= 0.1000000000
--> enter ocsmCheck()
--> checks passed
--> enter ocsmBuild(buildTo=0)
Interim EGADS version 1.19 (with OpenCASCADE 7.4.1)
INFO:: title is a string and is being converted to scalar
INFO:: myBbox is a vector and is being converted to scalar
INFO:: myCG is a vector and is being converted to scalar
executing [ 1] box: 1.00000 2.00000 3.10000 4.00000 3.00000 2.00000
Body 1 created (toler= 1.0000e-07, nnode= 8, nedge= 12, nface= 6)
executing [ 2] store: myBody 0.00000 0.00000
Body 1 stored
executing [ 3] restore: myBody 0.00000
Body 2 restored (toler= 1.0000e-07, nnode= 8, nedge= 12, nface= 6)
executing [ 4] set: myLength @length
myLength = 0.00000 0.00000
executing [ 5] set: myArea @area
myArea = 52.00000 0.00000
executing [ 6] set: myVolume @volume
myVolume = 24.00000 0.00000
executing [ 7] dimension: myCG 1.00000 3.00000
executing [ 8] set: myCG[1] @xcg*1
myCG = 3.00000 0.00000
executing [ 9] set: myCG[2] @ycg
myCG = 3.50000 0.00000
executing [ 10] set: myCG[3] @zcg
myCG = 4.10000 0.00000
executing [ 11] dimension: myBbox 2.00000 3.00000
executing [ 12] set: myBbox[1,1] @xmin
myBbox = 1.00000 0.00000
executing [ 13] set: myBbox[1,2] @ymin
myBbox = 2.00000 0.00000
executing [ 14] set: myBbox[1,3] @zmin
myBbox = 3.10000 0.00000
executing [ 15] set: myBbox[2,1] @xmax
myBbox = 5.00000 0.00000
executing [ 16] set: myBbox[2,2] @ymax
myBbox = 5.00000 0.00000
executing [ 17] set: myBbox[2,3] @zmax
myBbox = 5.10000 0.00000
executing [ 18] set: title $This_is_the_title
title = $This_is_the_title
executing [ 19] store: myBody 0.00000 0.00000
WARNING:: storage myBody (0) is being overwritten
Body 2 stored
executing [ 20] restore: myBody 0.00000
Body 3 restored (toler= 1.0000e-07, nnode= 8, nedge= 12, nface= 6)
executing [ 21] ifthen: 0.50000 GT 0.00000 and 0.00000 eq 0.00000
executing [ 22] sphere: 3.00000 3.50000 5.10000 0.66667
Body 4 created (toler= 1.0000e-05, nnode= 2, nedge= 6, nface= 2)
executing [ 23] ifthen: 0.50000 NE 1.00000 and 0.00000 eq 0.00000
executing [ 24] udprim: $$/applyTparams factor 0.50000 (scripted code)
[ 25] interface: factor in 1.00000
executing [ 26] select: body
executing [ 27] set: size max(max(@xmax-@xmin,@ymax-@ymin),@zmax-@zmin)
size = 1.33333 0.00000
executing [ 28] ifthen: 2.00000 GT 1.00000 and 0.00000 eq 0.00000
executing [ 29] select: face
putting Branch Attributes on Face 1
putting Branch Attributes on Face 2
executing [ 33] end:
executing [ 35] ifthen: 1.00000 EQ 1.00000 and 0.00000 eq 0.00000
executing [ 36] message: Bodys_are_unioned _
MESSAGE:: Bodys are unioned
executing [ 37] union: 0.00000 0 0.0000e+00
Body 5 created (toler= 1.0000e-05, nnode= 11, nedge= 18, nface= 8)
finalizing:
--> Tessellating Body 5 ( 1.41667e-01 4.25000e-02 20.000)
==> Profile information
Branch type ncall time (sec) pct
dimension 14 0.000 0.0
point 1 0.001 0.2
box 7 0.006 1.8
sphere 6 0.021 6.5
cylinder 1 0.006 2.0
udprim 7 0.002 0.7
restore 14 0.007 2.1
union 7 0.224 70.4
interface 7 0.000 0.0
end 7 0.000 0.1
set 98 0.026 8.1
select 14 0.009 2.9
store 14 0.000 0.0
ifthen 28 0.016 5.1
elseif 7 0.000 0.0
else 7 0.000 0.0
endif 28 0.000 0.0
Total 267 0.318
test 087: calling modl2.Build(0, 0)
MESSAGE:: Bodys are unioned
test 088: calling modl2.SetDtime(0.)
test 089: calling modl2.FindPmtr(myBbox, 0, 0, 0)
iMyBbox: 14
myBbox [ 1 , 1 ]= 1.0 0.0
myBbox [ 1 , 2 ]= 2.0 0.0
myBbox [ 1 , 3 ]= 3.0 1.0
myBbox [ 2 , 1 ]= 5.0 0.0
myBbox [ 2 , 2 ]= 5.0 0.0
myBbox [ 2 , 3 ]= 5.0 1.0
test 090: calling modl2.SetVelD(0, 0, 0, 0)
test 091: calling modl2.Perturb(3, [ix0, iy0, iz0], [1, 1, 1], [1, 1, 1], [1, 2, 3])
--> enter ocsmCheck()
--> checks passed
>>> building perturbation
--> enter ocsmBuild(buildTo=0)
Interim EGADS version 1.19 (with OpenCASCADE 7.4.1)
INFO:: title is a string and is being converted to scalar
INFO:: myBbox is a vector and is being converted to scalar
INFO:: myCG is a vector and is being converted to scalar
executing [ 1] box: 11.00000 22.00000 33.00000 4.00000 3.00000 2.00000
Body 1 created (toler= 1.0000e-07, nnode= 8, nedge= 12, nface= 6)
executing [ 2] store: myBody 0.00000 0.00000
Body 1 stored
executing [ 3] restore: myBody 0.00000
Body 2 restored (toler= 1.0000e-07, nnode= 8, nedge= 12, nface= 6)
executing [ 4] set: myLength @length
myLength = 0.00000 0.00000
executing [ 5] set: myArea @area
myArea = 52.00000 0.00000
executing [ 6] set: myVolume @volume
myVolume = 24.00000 0.00000
executing [ 7] dimension: myCG 1.00000 3.00000
executing [ 8] set: myCG[1] @xcg*1
myCG = 13.00000 0.00000
executing [ 9] set: myCG[2] @ycg
myCG = 23.50000 0.00000
executing [ 10] set: myCG[3] @zcg
myCG = 34.00000 0.00000
executing [ 11] dimension: myBbox 2.00000 3.00000
executing [ 12] set: myBbox[1,1] @xmin
myBbox = 11.00000 0.00000
executing [ 13] set: myBbox[1,2] @ymin
myBbox = 22.00000 0.00000
executing [ 14] set: myBbox[1,3] @zmin
myBbox = 33.00000 0.00000
executing [ 15] set: myBbox[2,1] @xmax
myBbox = 15.00000 0.00000
executing [ 16] set: myBbox[2,2] @ymax
myBbox = 25.00000 0.00000
executing [ 17] set: myBbox[2,3] @zmax
myBbox = 35.00000 0.00000
executing [ 18] set: title $This_is_the_title
title = $This_is_the_title
executing [ 19] store: myBody 0.00000 0.00000
WARNING:: storage myBody (0) is being overwritten
Body 2 stored
executing [ 20] restore: myBody 0.00000
Body 3 restored (toler= 1.0000e-07, nnode= 8, nedge= 12, nface= 6)
executing [ 21] ifthen: 0.50000 GT 0.00000 and 0.00000 eq 0.00000
executing [ 22] sphere: 13.00000 23.50000 35.00000 0.66667
Body 4 created (toler= 1.0000e-05, nnode= 2, nedge= 6, nface= 2)
executing [ 23] ifthen: 0.50000 NE 1.00000 and 0.00000 eq 0.00000
executing [ 24] udprim: $$/applyTparams factor 0.50000 (scripted code)
[ 25] interface: factor in 1.00000
executing [ 26] select: body
executing [ 27] set: size max(max(@xmax-@xmin,@ymax-@ymin),@zmax-@zmin)
size = 1.33333 0.00000
executing [ 28] ifthen: 2.00000 GT 1.00000 and 0.00000 eq 0.00000
executing [ 29] select: face
putting Branch Attributes on Face 1
putting Branch Attributes on Face 2
executing [ 33] end:
executing [ 35] ifthen: 1.00000 EQ 1.00000 and 0.00000 eq 0.00000
executing [ 36] message: Bodys_are_unioned _
MESSAGE:: Bodys are unioned
executing [ 37] union: 0.00000 0 0.0000e+00
Body 5 created (toler= 1.0000e-05, nnode= 11, nedge= 18, nface= 8)
finalizing:
--> Tessellating Body 5 ( 1.41667e-01 4.25000e-02 20.000)
==> Profile information
Branch type ncall time (sec) pct
dimension 16 0.000 0.0
point 1 0.001 0.2
box 8 0.007 2.2
sphere 7 0.021 6.5
cylinder 1 0.006 1.9
udprim 8 0.002 0.8
restore 16 0.007 2.2
union 8 0.225 69.1
interface 8 0.000 0.0
end 8 0.000 0.1
set 112 0.028 8.6
select 16 0.010 3.1
store 16 0.000 0.0
ifthen 32 0.018 5.4
elseif 8 0.000 0.0
else 8 0.000 0.0
endif 32 0.000 0.0
Total 305 0.326
test 092; calling modl2.Perturb(0, 0, 0, 0, 0)
test 093: calling modl2.Info()
nbrch : 47
npmtr : 62
nbody : 5
test 094: calling modl2.GetBody(nbody)
type : 143
ichld : 0
ileft : 3
irite : 4
vals : [0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0]
nnode : 11
nedge : 18
nface : 8
test 095: getting npnt from tessellations
edge 1 has 17 tessellation points
edge 2 has 33 tessellation points
edge 3 has 17 tessellation points
edge 4 has 33 tessellation points
edge 5 has 33 tessellation points
edge 6 has 17 tessellation points
edge 7 has 33 tessellation points
edge 8 has 33 tessellation points
edge 9 has 33 tessellation points
edge 10 has 129 tessellation points
edge 11 has 129 tessellation points
edge 12 has 33 tessellation points
edge 13 has 17 tessellation points
edge 14 has 33 tessellation points
edge 15 has 67 tessellation points
edge 16 has 67 tessellation points
edge 17 has 2 tessellation points
edge 18 has 2 tessellation points
face 1 has 561 tessellation points
face 2 has 561 tessellation points
face 3 has 1611 tessellation points
face 4 has 561 tessellation points
face 5 has 1089 tessellation points
face 6 has 561 tessellation points
face 7 has 8515 tessellation points
face 8 has 8515 tessellation points
test 096: calling modl2.NewBrch(nbrch, dump, <none, 0, $sample.tess, 0, 0, ...)
test 097: calling modl2.Build(0, 0)
--> enter ocsmBuild(buildTo=0)
--> enter ocsmCheck()
--> checks passed
Interim EGADS version 1.19 (with OpenCASCADE 7.4.1)
INFO:: title is a string and is being converted to scalar
INFO:: myBbox is a vector and is being converted to scalar
INFO:: myCG is a vector and is being converted to scalar
executing [ 1] box: 1.00000 2.00000 3.00000 4.00000 3.00000 2.00000
Body 1 recycled
executing [ 2] store: myBody 0.00000 0.00000
Body 1 stored
executing [ 3] restore: myBody 0.00000
Body 2 recycled
executing [ 4] set: myLength @length
myLength = 0.00000 0.00000
executing [ 5] set: myArea @area
myArea = 52.00000 0.00000
executing [ 6] set: myVolume @volume
myVolume = 24.00000 0.00000
executing [ 7] dimension: myCG 1.00000 3.00000
executing [ 8] set: myCG[1] @xcg*1
myCG = 3.00000 0.00000
executing [ 9] set: myCG[2] @ycg
myCG = 3.50000 0.00000
executing [ 10] set: myCG[3] @zcg
myCG = 4.00000 0.00000
executing [ 11] dimension: myBbox 2.00000 3.00000
executing [ 12] set: myBbox[1,1] @xmin
myBbox = 1.00000 0.00000
executing [ 13] set: myBbox[1,2] @ymin
myBbox = 2.00000 0.00000
executing [ 14] set: myBbox[1,3] @zmin
myBbox = 3.00000 0.00000
executing [ 15] set: myBbox[2,1] @xmax
myBbox = 5.00000 0.00000
executing [ 16] set: myBbox[2,2] @ymax
myBbox = 5.00000 0.00000
executing [ 17] set: myBbox[2,3] @zmax
myBbox = 5.00000 0.00000
executing [ 18] set: title $This_is_the_title
title = $This_is_the_title
executing [ 19] store: myBody 0.00000 0.00000
WARNING:: storage myBody (0) is being overwritten
Body 2 stored
executing [ 20] restore: myBody 0.00000
Body 3 recycled
executing [ 21] ifthen: 0.50000 GT 0.00000 and 0.00000 eq 0.00000
executing [ 22] sphere: 3.00000 3.50000 5.00000 0.66667
Body 4 recycled
executing [ 23] ifthen: 0.50000 NE 1.00000 and 0.00000 eq 0.00000
executing [ 24] udprim: $$/applyTparams factor 0.50000 (scripted code)
[ 25] interface: factor in 1.00000
executing [ 26] select: body
executing [ 27] set: size max(max(@xmax-@xmin,@ymax-@ymin),@zmax-@zmin)
size = 1.33333 0.00000
executing [ 28] ifthen: 2.00000 GT 1.00000 and 0.00000 eq 0.00000
executing [ 29] select: face
putting Branch Attributes on Face 1
putting Branch Attributes on Face 2
executing [ 33] end:
executing [ 35] ifthen: 1.00000 EQ 1.00000 and 0.00000 eq 0.00000
executing [ 36] message: Bodys_are_unioned _
MESSAGE:: Bodys are unioned
executing [ 37] union: 0.00000 0 0.0000e+00
Body 5 recycled
executing [ 48] dump: sample.tess 0.00000 0.00000
finalizing:
==> Profile information
Branch type ncall time (sec) pct
dimension 16 0.000 0.0
point 1 0.001 0.1
box 8 0.005 1.4
sphere 7 0.017 4.3
cylinder 1 0.006 1.6
udprim 8 0.002 0.6
restore 16 0.005 1.3
union 8 0.190 48.5
interface 8 0.000 0.0
end 8 0.000 0.1
set 112 0.028 7.1
select 16 0.010 2.5
store 16 0.000 0.0
ifthen 32 0.017 4.5
elseif 8 0.000 0.0
else 8 0.000 0.0
endif 32 0.000 0.0
dump 1 0.110 28.1
Total 306 0.391
test 098: calling modl2.DelBrch(mbrch+1)
test 099: calling modl2.FindPmtr(tfact, 0, 0, 0)
itfact : 9
test 100: calling modl2.SetValuD(itfact, 1, 1, 1)
test 101: calling modl2.Build(-1, 0) to ensure rebuild
--> enter ocsmBuild(buildTo=-1)
--> enter ocsmCheck()
--> checks passed
Interim EGADS version 1.19 (with OpenCASCADE 7.4.1)
INFO:: title is a string and is being converted to scalar
INFO:: myBbox is a vector and is being converted to scalar
INFO:: myCG is a vector and is being converted to scalar
executing [ 1] box: 1.00000 2.00000 3.00000 4.00000 3.00000 2.00000
Body 1 created (toler= 1.0000e-07, nnode= 8, nedge= 12, nface= 6)
executing [ 2] store: myBody 0.00000 0.00000
Body 1 stored
executing [ 3] restore: myBody 0.00000
Body 2 restored (toler= 1.0000e-07, nnode= 8, nedge= 12, nface= 6)
executing [ 4] set: myLength @length
myLength = 0.00000 0.00000
executing [ 5] set: myArea @area
myArea = 52.00000 0.00000
executing [ 6] set: myVolume @volume
myVolume = 24.00000 0.00000
executing [ 7] dimension: myCG 1.00000 3.00000
executing [ 8] set: myCG[1] @xcg*1
myCG = 3.00000 0.00000
executing [ 9] set: myCG[2] @ycg
myCG = 3.50000 0.00000
executing [ 10] set: myCG[3] @zcg
myCG = 4.00000 0.00000
executing [ 11] dimension: myBbox 2.00000 3.00000
executing [ 12] set: myBbox[1,1] @xmin
myBbox = 1.00000 0.00000
executing [ 13] set: myBbox[1,2] @ymin
myBbox = 2.00000 0.00000
executing [ 14] set: myBbox[1,3] @zmin
myBbox = 3.00000 0.00000
executing [ 15] set: myBbox[2,1] @xmax
myBbox = 5.00000 0.00000
executing [ 16] set: myBbox[2,2] @ymax
myBbox = 5.00000 0.00000
executing [ 17] set: myBbox[2,3] @zmax
myBbox = 5.00000 0.00000
executing [ 18] set: title $This_is_the_title
title = $This_is_the_title
executing [ 19] store: myBody 0.00000 0.00000
WARNING:: storage myBody (0) is being overwritten
Body 2 stored
executing [ 20] restore: myBody 0.00000
Body 3 restored (toler= 1.0000e-07, nnode= 8, nedge= 12, nface= 6)
executing [ 21] ifthen: 0.50000 GT 0.00000 and 0.00000 eq 0.00000
executing [ 22] sphere: 3.00000 3.50000 5.00000 0.66667
Body 4 created (toler= 1.0000e-05, nnode= 2, nedge= 6, nface= 2)
executing [ 23] ifthen: 1.00000 NE 1.00000 and ...
executing [ 35] ifthen: 1.00000 EQ 1.00000 and 0.00000 eq 0.00000
executing [ 36] message: Bodys_are_unioned _
MESSAGE:: Bodys are unioned
executing [ 37] union: 0.00000 0 0.0000e+00
Body 5 created (toler= 1.0000e-05, nnode= 11, nedge= 18, nface= 8)
finalizing:
--> Tessellating Body 5 ( 1.41667e-01 4.25000e-02 20.000)
==> Profile information
Branch type ncall time (sec) pct
dimension 18 0.000 0.0
point 1 0.001 0.1
box 9 0.007 1.6
sphere 8 0.021 4.8
cylinder 1 0.006 1.4
udprim 8 0.002 0.5
restore 18 0.007 1.6
union 9 0.222 50.8
interface 8 0.000 0.0
end 8 0.000 0.1
set 125 0.031 7.2
select 16 0.010 2.3
store 18 0.000 0.0
ifthen 35 0.019 4.3
elseif 9 0.000 0.0
else 8 0.000 0.0
endif 35 0.000 0.0
dump 1 0.110 25.1
Total 335 0.438
test 102: getting npnt from tessellations
edge 1 has 17 tessellation points
edge 2 has 33 tessellation points
edge 3 has 17 tessellation points
edge 4 has 33 tessellation points
edge 5 has 33 tessellation points
edge 6 has 17 tessellation points
edge 7 has 33 tessellation points
edge 8 has 33 tessellation points
edge 9 has 33 tessellation points
edge 10 has 17 tessellation points
edge 11 has 17 tessellation points
edge 12 has 33 tessellation points
edge 13 has 17 tessellation points
edge 14 has 33 tessellation points
edge 15 has 11 tessellation points
edge 16 has 11 tessellation points
edge 17 has 2 tessellation points
edge 18 has 2 tessellation points
face 1 has 561 tessellation points
face 2 has 561 tessellation points
face 3 has 1361 tessellation points
face 4 has 561 tessellation points
face 5 has 1089 tessellation points
face 6 has 561 tessellation points
face 7 has 171 tessellation points
face 8 has 171 tessellation points
test 103: calling modl2.Updatetess(nbody, sample.tess)
test 104: getting npnt from tessellations
edge 1 has 17 tessellation points
edge 2 has 33 tessellation points
edge 3 has 17 tessellation points
edge 4 has 33 tessellation points
edge 5 has 33 tessellation points
edge 6 has 17 tessellation points
edge 7 has 33 tessellation points
edge 8 has 33 tessellation points
edge 9 has 33 tessellation points
edge 10 has 129 tessellation points
edge 11 has 129 tessellation points
edge 12 has 33 tessellation points
edge 13 has 17 tessellation points
edge 14 has 33 tessellation points
edge 15 has 67 tessellation points
edge 16 has 67 tessellation points
edge 17 has 2 tessellation points
edge 18 has 2 tessellation points
face 1 has 561 tessellation points
face 2 has 561 tessellation points
face 3 has 1611 tessellation points
face 4 has 561 tessellation points
face 5 has 1089 tessellation points
face 6 has 561 tessellation points
face 7 has 8515 tessellation points
face 8 has 8515 tessellation points
Body EGO:
oclass: 25
mtype : 9
oclass0= 25 (body) mtype0= 9 (solidbody) obj=606000234620, eref0=0 (0:0)
. oclass1= 24 (shell) mtype1= 4 (closed) obj=6060002346e0, eref1=0 (0:0)
. . oclass2= 23 (face) mtype2= -1 (sreverse) obj=6060002315c0, eref2=606000223400 (12:1)
. . . oclass3= 22 (loop) mtype3= 4 (closed) obj=6060002350a0, eref3=0 (0:0)
. . . < senses= 1 1 -1 -1
. . . . oclass4= 21 (edge) mtype4= 2 (twonode) obj=6060002337e0, eref4=6060001b8d20 (11:1)
. . . . < trange= 0.00000 2.00000
. . . . . oclass5= 20 (node) mtype5= 0, obj=606000230cc0, data5= 1.0000000000e+00 2.0000000000e+00 3.0000000000e+00
. . . . . oclass5= 20 (node) mtype5= 0, obj=606000232700, data5= 1.0000000000e+00 2.0000000000e+00 5.0000000000e+00
. . . . oclass4= 21 (edge) mtype4= 2 (twonode) obj=6060002389a0, eref4=606000230660 (11:1)
. . . . < trange= 0.00000 3.00000
. . . . . oclass5= 20 (node) mtype5= 0, obj=606000232700, data5= 1.0000000000e+00 2.0000000000e+00 5.0000000000e+00
. . . . . oclass5= 20 (node) mtype5= 0, obj=6060001b6e60, data5= 1.0000000000e+00 5.0000000000e+00 5.0000000000e+00
. . . . oclass4= 21 (edge) mtype4= 2 (twonode) obj=6060002357c0, eref4=606000238d60 (11:1)
. . . . < trange= 0.00000 2.00000
. . . . . oclass5= 20 (node) mtype5= 0, obj=606000238fa0, data5= 1.0000000000e+00 5.0000000000e+00 3.0000000000e+00
. . . . . oclass5= 20 (node) mtype5= 0, obj=6060001b6e60, data5= 1.0000000000e+00 5.0000000000e+00 5.0000000000e+00
. . . . oclass4= 21 (edge) mtype4= 2 (twonode) obj=606000238c40, eref4=606000234b60 (11:1)
. . . . < trange= 0.00000 3.00000
. . . . . oclass5= 20 (node) mtype5= 0, obj=606000230cc0, data5= 1.0000000000e+00 2.0000000000e+00 3.0000000000e+00
. . . . . oclass5= 20 (node) mtype5= 0, obj=606000238fa0, data5= 1.0000000000e+00 5.0000000000e+00 3.0000000000e+00
. . oclass2= 23 (face) mtype2= -1 (sreverse) obj=606000230a20, eref2=606000235340 (12:1)
. . . oclass3= 22 (loop) mtype3= 4 (closed) obj=6060001b7880, eref3=0 (0:0)
. . . < senses= 1 1 -1 -1
. . . . oclass4= 21 (edge) mtype4= 2 (twonode) obj=606000232be0, eref4=606000230ae0 (11:1)
. . . . < trange= 0.00000 4.00000
. . . . . oclass5= 20 (node) mtype5= 0, obj=606000230cc0, data5= 1.0000000000e+00 2.0000000000e+00 3.0000000000e+00
. . . . . oclass5= 20 (node) mtype5= 0, obj=6060001b4940, data5= 5.0000000000e+00 2.0000000000e+00 3.0000000000e+00
. . . . oclass4= 21 (edge) mtype4= 2 (twonode) obj=6060002328e0, eref4=6060002336c0 (11:1)
. . . . < trange= 0.00000 2.00000
. . . . . oclass5= 20 (node) mtype5= 0, obj=6060001b4940, data5= 5.0000000000e+00 2.0000000000e+00 3.0000000000e+00
. . . . . oclass5= 20 (node) mtype5= 0, obj=60600022e6e0, data5= 5.0000000000e+00 2.0000000000e+00 5.0000000000e+00
. . . . oclass4= 21 (edge) mtype4= 2 (twonode) obj=606000237c80, eref4=606000230240 (11:1)
. . . . < trange= 0.00000 4.00000
. . . . . oclass5= 20 (node) mtype5= 0, obj=606000232700, data5= 1.0000000000e+00 2.0000000000e+00 5.0000000000e+00
. . . . . oclass5= 20 (node) mtype5= 0, obj=60600022e6e0, data5= 5.0000000000e+00 2.0000000000e+00 5.0000000000e+00
. . . . oclass4= 21 (edge) mtype4= 2 (twonode) obj=6060002337e0, eref4=6060001b8d20 (11:1)
. . . . < trange= 0.00000 2.00000
. . . . . oclass5= 20 (node) mtype5= 0, obj=606000230cc0, data5= 1.0000000000e+00 2.0000000000e+00 3.0000000000e+00
. . . . . oclass5= 20 (node) mtype5= 0, obj=606000232700, data5= 1.0000000000e+00 2.0000000000e+00 5.0000000000e+00
. . oclass2= 23 (face) mtype2= 1 (sforward) obj=6060002395a0, eref2=60600022ee60 (12:1)
. . . oclass3= 22 (loop) mtype3= 4 (closed) obj=606000234980, eref3=0 (0:0)
. . . < senses=-1 1 1 -1
. . . . oclass4= 21 (edge) mtype4= 2 (twonode) obj=6060002389a0, eref4=606000230660 (11:1)
. . . . < trange= 0.00000 3.00000
. . . . . oclass5= 20 (node) mtype5= 0, obj=606000232700, data5= 1.0000000000e+00 2.0000000000e+00 5.0000000000e+00
. . . . . oclass5= 20 (node) mtype5= 0, obj=6060001b6e60, data5= 1.0000000000e+00 5.0000000000e+00 5.0000000000e+00
. . . . oclass4= 21 (edge) mtype4= 2 (twonode) obj=606000237c80, eref4=606000230240 (11:1)
. . . . < trange= 0.00000 4.00000
. . . . . oclass5= 20 (node) mtype5= 0, obj=606000232700, data5= 1.0000000000e+00 2.0000000000e+00 5.0000000000e+00
. . . . . oclass5= 20 (node) mtype5= 0, obj=60600022e6e0, data5= 5.0000000000e+00 2.0000000000e+00 5.0000000000e+00
. . . . oclass4= 21 (edge) mtype4= 2 (twonode) obj=6060001b8c00, eref4=606000231d40 (11:1)
. . . . < trange= 0.00000 3.00000
. . . . . oclass5= 20 (node) mtype5= 0, obj=60600022e6e0, data5= 5.0000000000e+00 2.0000000000e+00 5.0000000000e+00
. . . . . oclass5= 20 (node) mtype5= 0, obj=606000239fc0, data5= 5.0000000000e+00 5.0000000000e+00 5.0000000000e+00
. . . . oclass4= 21 (edge) mtype4= 2 (twonode) obj=606000239180, eref4=6060001b6f80 (11:1)
. . . . < trange= 0.00000 4.00000
. . . . . oclass5= 20 (node) mtype5= 0, obj=6060001b6e60, data5= 1.0000000000e+00 5.0000000000e+00 5.0000000000e+00
. . . . . oclass5= 20 (node) mtype5= 0, obj=606000239fc0, data5= 5.0000000000e+00 5.0000000000e+00 5.0000000000e+00
. . . oclass3= 22 (loop) mtype3= 4 (closed) obj=606000238e80, eref3=0 (0:0)
. . . < senses=-1 -1
. . . . oclass4= 21 (edge) mtype4= 2 (twonode) obj=6060002339c0, eref4=6060002391e0 (11:2)
. . . . < trange= 3.14159 6.28319
. . . . . oclass5= 20 (node) mtype5= 0, obj=6060002302a0, data5= 2.3333333825e+00 3.5000000000e+00 5.0000000000e+00
. . . . . oclass5= 20 (node) mtype5= 0, obj=6060001b3560, data5= 3.6666666667e+00 3.5000000000e+00 5.0000000000e+00
. . . . oclass4= 21 (edge) mtype4= 2 (twonode) obj=60600022e380, eref4=60600022eda0 (11:2)
. . . . < trange= 0.00000 3.14159
. . . . . oclass5= 20 (node) mtype5= 0, obj=6060001b3560, data5= 3.6666666667e+00 3.5000000000e+00 5.0000000000e+00
. . . . . oclass5= 20 (node) mtype5= 0, obj=6060002302a0, data5= 2.3333333825e+00 3.5000000000e+00 5.0000000000e+00
. . oclass2= 23 (face) mtype2= 1 (sforward) obj=60600022e7a0, eref2=606000238ac0 (12:1)
. . . oclass3= 22 (loop) mtype3= 4 (closed) obj=606000233540, eref3=0 (0:0)
. . . < senses=-1 1 1 -1
. . . . oclass4= 21 (edge) mtype4= 2 (twonode) obj=606000222da0, eref4=606000234860 (11:1)
. . . . < trange= 0.00000 4.00000
. . . . . oclass5= 20 (node) mtype5= 0, obj=606000238fa0, data5= 1.0000000000e+00 5.0000000000e+00 3.0000000000e+00
. . . . . oclass5= 20 (node) mtype5= 0, obj=6060001b7c40, data5= 5.0000000000e+00 5.0000000000e+00 3.0000000000e+00
. . . . oclass4= 21 (edge) mtype4= 2 (twonode) obj=6060002357c0, eref4=606000238d60 (11:1)
. . . . < trange= 0.00000 2.00000
. . . . . oclass5= 20 (node) mtype5= 0, obj=606000238fa0, data5= 1.0000000000e+00 5.0000000000e+00 3.0000000000e+00
. . . . . oclass5= 20 (node) mtype5= 0, obj=6060001b6e60, data5= 1.0000000000e+00 5.0000000000e+00 5.0000000000e+00
. . . . oclass4= 21 (edge) mtype4= 2 (twonode) obj=606000239180, eref4=6060001b6f80 (11:1)
. . . . < trange= 0.00000 4.00000
. . . . . oclass5= 20 (node) mtype5= 0, obj=6060001b6e60, data5= 1.0000000000e+00 5.0000000000e+00 5.0000000000e+00
. . . . . oclass5= 20 (node) mtype5= 0, obj=606000239fc0, data5= 5.0000000000e+00 5.0000000000e+00 5.0000000000e+00
. . . . oclass4= 21 (edge) mtype4= 2 (twonode) obj=606000239720, eref4=60600022ebc0 (11:1)
. . . . < trange= 0.00000 2.00000
. . . . . oclass5= 20 (node) mtype5= 0, obj=6060001b7c40, data5= 5.0000000000e+00 5.0000000000e+00 3.0000000000e+00
. . . . . oclass5= 20 (node) mtype5= 0, obj=606000239fc0, data5= 5.0000000000e+00 5.0000000000e+00 5.0000000000e+00
. . oclass2= 23 (face) mtype2= -1 (sreverse) obj=606000233780, eref2=606000234d40 (12:1)
. . . oclass3= 22 (loop) mtype3= 4 (closed) obj=606000233840, eref3=0 (0:0)
. . . < senses= 1 1 -1 -1
. . . . oclass4= 21 (edge) mtype4= 2 (twonode) obj=606000238c40, eref4=606000234b60 (11:1)
. . . . < trange= 0.00000 3.00000
. . . . . oclass5= 20 (node) mtype5= 0, obj=606000230cc0, data5= 1.0000000000e+00 2.0000000000e+00 3.0000000000e+00
. . . . . oclass5= 20 (node) mtype5= 0, obj=606000238fa0, data5= 1.0000000000e+00 5.0000000000e+00 3.0000000000e+00
. . . . oclass4= 21 (edge) mtype4= 2 (twonode) obj=606000222da0, eref4=606000234860 (11:1)
. . . . < trange= 0.00000 4.00000
. . . . . oclass5= 20 (node) mtype5= 0, obj=606000238fa0, data5= 1.0000000000e+00 5.0000000000e+00 3.0000000000e+00
. . . . . oclass5= 20 (node) mtype5= 0, obj=6060001b7c40, data5= 5.0000000000e+00 5.0000000000e+00 3.0000000000e+00
. . . . oclass4= 21 (edge) mtype4= 2 (twonode) obj=606000239480, eref4=60600022ea40 (11:1)
. . . . < trange= 0.00000 3.00000
. . . . . oclass5= 20 (node) mtype5= 0, obj=6060001b4940, data5= 5.0000000000e+00 2.0000000000e+00 3.0000000000e+00
. . . . . oclass5= 20 (node) mtype5= 0, obj=6060001b7c40, data5= 5.0000000000e+00 5.0000000000e+00 3.0000000000e+00
. . . . oclass4= 21 (edge) mtype4= 2 (twonode) obj=606000232be0, eref4=606000230ae0 (11:1)
. . . . < trange= 0.00000 4.00000
. . . . . oclass5= 20 (node) mtype5= 0, obj=606000230cc0, data5= 1.0000000000e+00 2.0000000000e+00 3.0000000000e+00
. . . . . oclass5= 20 (node) mtype5= 0, obj=6060001b4940, data5= 5.0000000000e+00 2.0000000000e+00 3.0000000000e+00
. . oclass2= 23 (face) mtype2= 1 (sforward) obj=6060001b6ec0, eref2=606000230180 (12:1)
. . . oclass3= 22 (loop) mtype3= 4 (closed) obj=6060002309c0, eref3=0 (0:0)
. . . < senses=-1 1 1 -1
. . . . oclass4= 21 (edge) mtype4= 2 (twonode) obj=6060002328e0, eref4=6060002336c0 (11:1)
. . . . < trange= 0.00000 2.00000
. . . . . oclass5= 20 (node) mtype5= 0, obj=6060001b4940, data5= 5.0000000000e+00 2.0000000000e+00 3.0000000000e+00
. . . . . oclass5= 20 (node) mtype5= 0, obj=60600022e6e0, data5= 5.0000000000e+00 2.0000000000e+00 5.0000000000e+00
. . . . oclass4= 21 (edge) mtype4= 2 (twonode) obj=606000239480, eref4=60600022ea40 (11:1)
. . . . < trange= 0.00000 3.00000
. . . . . oclass5= 20 (node) mtype5= 0, obj=6060001b4940, data5= 5.0000000000e+00 2.0000000000e+00 3.0000000000e+00
. . . . . oclass5= 20 (node) mtype5= 0, obj=6060001b7c40, data5= 5.0000000000e+00 5.0000000000e+00 3.0000000000e+00
. . . . oclass4= 21 (edge) mtype4= 2 (twonode) obj=606000239720, eref4=60600022ebc0 (11:1)
. . . . < trange= 0.00000 2.00000
. . . . . oclass5= 20 (node) mtype5= 0, obj=6060001b7c40, data5= 5.0000000000e+00 5.0000000000e+00 3.0000000000e+00
. . . . . oclass5= 20 (node) mtype5= 0, obj=606000239fc0, data5= 5.0000000000e+00 5.0000000000e+00 5.0000000000e+00
. . . . oclass4= 21 (edge) mtype4= 2 (twonode) obj=6060001b8c00, eref4=606000231d40 (11:1)
. . . . < trange= 0.00000 3.00000
. . . . . oclass5= 20 (node) mtype5= 0, obj=60600022e6e0, data5= 5.0000000000e+00 2.0000000000e+00 5.0000000000e+00
. . . . . oclass5= 20 (node) mtype5= 0, obj=606000239fc0, data5= 5.0000000000e+00 5.0000000000e+00 5.0000000000e+00
. . oclass2= 23 (face) mtype2= 1 (sforward) obj=606000233660, eref2=606000239cc0 (12:6)
. . . oclass3= 22 (loop) mtype3= 4 (closed) obj=606000231e60, eref3=606000239cc0 (12:6)
. . . < senses= 1 -1 -1 1
. . . . oclass4= 21 (edge) mtype4= 2 (twonode) obj=606000238be0, eref4=606000235400 (11:2)
. . . . < trange= 6.28319 7.85398
. . . . . oclass5= 20 (node) mtype5= 0, obj=6060001b3560, data5= 3.6666666667e+00 3.5000000000e+00 5.0000000000e+00
. . . . . oclass5= 20 (node) mtype5= 0, obj=606000235160, data5= 3.0000000000e+00 3.5000000000e+00 5.6666666667e+00
. . . . oclass4= 21 (edge) mtype4= 5 (degenerate) obj=6060001b7be0, eref4=606000236660 (0:0)
. . . . < trange= 3.14159 6.28319
. . . . . oclass5= 20 (node) mtype5= 0, obj=606000235160, data5= 3.0000000000e+00 3.5000000000e+00 5.6666666667e+00
. . . . oclass4= 21 (edge) mtype4= 2 (twonode) obj=606000234800, eref4=606000230300 (11:8)
. . . . < trange= -0.00000 1.57080
. . . . . oclass5= 20 (node) mtype5= 0, obj=6060002302a0, data5= 2.3333333825e+00 3.5000000000e+00 5.0000000000e+00
. . . . . oclass5= 20 (node) mtype5= 0, obj=606000235160, data5= 3.0000000000e+00 3.5000000000e+00 5.6666666667e+00
. . . . oclass4= 21 (edge) mtype4= 2 (twonode) obj=6060002339c0, eref4=6060002391e0 (11:2)
. . . . < trange= 3.14159 6.28319
. . . . . oclass5= 20 (node) mtype5= 0, obj=6060002302a0, data5= 2.3333333825e+00 3.5000000000e+00 5.0000000000e+00
. . . . . oclass5= 20 (node) mtype5= 0, obj=6060001b3560, data5= 3.6666666667e+00 3.5000000000e+00 5.0000000000e+00
. . oclass2= 23 (face) mtype2= 1 (sforward) obj=6060001b6b60, eref2=606000239060 (12:6)
. . . oclass3= 22 (loop) mtype3= 4 (closed) obj=606000232100, eref3=606000239060 (12:6)
. . . < senses= 1 -1 -1 1
. . . . oclass4= 21 (edge) mtype4= 2 (twonode) obj=606000234800, eref4=606000230300 (11:8)
. . . . < trange= -0.00000 1.57080
. . . . . oclass5= 20 (node) mtype5= 0, obj=6060002302a0, data5= 2.3333333825e+00 3.5000000000e+00 5.0000000000e+00
. . . . . oclass5= 20 (node) mtype5= 0, obj=606000235160, data5= 3.0000000000e+00 3.5000000000e+00 5.6666666667e+00
. . . . oclass4= 21 (edge) mtype4= 5 (degenerate) obj=606000235220, eref4=606000232e80 (0:0)
. . . . < trange= 0.00000 3.14159
. . . . . oclass5= 20 (node) mtype5= 0, obj=606000235160, data5= 3.0000000000e+00 3.5000000000e+00 5.6666666667e+00
. . . . oclass4= 21 (edge) mtype4= 2 (twonode) obj=606000238be0, eref4=606000235400 (11:2)
. . . . < trange= 6.28319 7.85398
. . . . . oclass5= 20 (node) mtype5= 0, obj=6060001b3560, data5= 3.6666666667e+00 3.5000000000e+00 5.0000000000e+00
. . . . . oclass5= 20 (node) mtype5= 0, obj=606000235160, data5= 3.0000000000e+00 3.5000000000e+00 5.6666666667e+00
. . . . oclass4= 21 (edge) mtype4= 2 (twonode) obj=60600022e380, eref4=60600022eda0 (11:2)
. . . . < trange= 0.00000 3.14159
. . . . . oclass5= 20 (node) mtype5= 0, obj=6060001b3560, data5= 3.6666666667e+00 3.5000000000e+00 5.0000000000e+00
. . . . . oclass5= 20 (node) mtype5= 0, obj=6060002302a0, data5= 2.3333333825e+00 3.5000000000e+00 5.0000000000e+00
Tess EGO:
oclass: 2
oclass0= 2 (tessellation) mtype0= 0 () obj=6060001d32a0, eref0=60600005dd40 (0:0)
Context EGO:
oclass: 0
oclass0= 0 (contxt) mtype0= 0 () obj=60600005dd40, eref0=0 (0:0)
Node[1] EGO:
oclass: 20
mtype : 0
oclass0= 20 (node) mtype0= 0, obj=6060001d32a0, data0= 1.0000000000e+00 2.0000000000e+00 5.0000000000e+00
Edge[1] EGO:
oclass: 21
mtype : 2
oclass0= 21 (edge) mtype0= 2 (twonode) obj=6060001d44a0, eref0=606000234620 (11:1)
< trange= 0.00000 2.00000
. oclass1= 20 (node) mtype1= 0, obj=6060001b6b60, data1= 1.0000000000e+00 2.0000000000e+00 3.0000000000e+00
. oclass1= 20 (node) mtype1= 0, obj=6060002346e0, data1= 1.0000000000e+00 2.0000000000e+00 5.0000000000e+00
Face[1] EGO:
oclass: 23
mtype : -1
oclass0= 23 (face) mtype0= -1 (sreverse) obj=6060001d32a0, eref0=6060001d24c0 (12:1)
. oclass1= 22 (loop) mtype1= 4 (closed) obj=606000232760, eref1=0 (0:0)
. < senses= 1 1 -1 -1
. . oclass2= 21 (edge) mtype2= 2 (twonode) obj=60600023a2c0, eref2=6060002397e0 (11:1)
. . < trange= 0.00000 2.00000
. . . oclass3= 20 (node) mtype3= 0, obj=6060002302a0, data3= 1.0000000000e+00 2.0000000000e+00 3.0000000000e+00
. . . oclass3= 20 (node) mtype3= 0, obj=60600022e380, data3= 1.0000000000e+00 2.0000000000e+00 5.0000000000e+00
. . oclass2= 21 (edge) mtype2= 2 (twonode) obj=6060002321c0, eref2=606000224960 (11:1)
. . < trange= 0.00000 3.00000
. . . oclass3= 20 (node) mtype3= 0, obj=60600022e380, data3= 1.0000000000e+00 2.0000000000e+00 5.0000000000e+00
. . . oclass3= 20 (node) mtype3= 0, obj=606000232340, data3= 1.0000000000e+00 5.0000000000e+00 5.0000000000e+00
. . oclass2= 21 (edge) mtype2= 2 (twonode) obj=6060001b40a0, eref2=606000235400 (11:1)
. . < trange= 0.00000 2.00000
. . . oclass3= 20 (node) mtype3= 0, obj=606000230360, data3= 1.0000000000e+00 5.0000000000e+00 3.0000000000e+00
. . . oclass3= 20 (node) mtype3= 0, obj=606000232340, data3= 1.0000000000e+00 5.0000000000e+00 5.0000000000e+00
. . oclass2= 21 (edge) mtype2= 2 (twonode) obj=606000232d00, eref2=606000231bc0 (11:1)
. . < trange= 0.00000 3.00000
. . . oclass3= 20 (node) mtype3= 0, obj=6060002302a0, data3= 1.0000000000e+00 2.0000000000e+00 3.0000000000e+00
. . . oclass3= 20 (node) mtype3= 0, obj=606000230360, data3= 1.0000000000e+00 5.0000000000e+00 3.0000000000e+00
test 105: calling modl2.Free() --- should remove EGADS context
EGADS Info: 0 Objects, 0 Reference in Use (of 1577) at Close!
test 106: creating modl3 from inline.csm
--> enter ocsmLoad(filename=inline.csm)
nextline ( 0: 1)[ 1]: # inline
nextline ( 0: 2)[ 1]: # written by John Dannenhoffer
nextline ( 0: 3)[ 1]:
nextline ( 0: 4)[ 1]: DESPMTR x0 0
nextline ( 0: 5)[ 1]: DESPMTR y0 0
nextline ( 0: 6)[ 1]: DESPMTR z0 0
nextline ( 0: 7)[ 1]: DESPMTR dx 4
nextline ( 0: 8)[ 1]: DESPMTR dy 3
nextline ( 0: 9)[ 1]: DESPMTR dz 1
nextline ( 0: 10)[ 1]: OUTPMTR xleft
nextline ( 0: 11)[ 1]: OUTPMTR xrite
nextline ( 0: 12)[ 1]:
nextline ( 0: 13)[ 1]: # create a simple box
nextline ( 0: 14)[ 1]: BOX x0 y0 z0 dx dy dz
nextline ( 0: 15)[ 2]:
nextline ( 0: 16)[ 2]: # give each of the Faces an iford attribute
nextline ( 0: 17)[ 2]: SELECT face 1 1
nextline ( 0: 18)[ 3]: ATTRIBUTE iford $xmin
nextline ( 0: 19)[ 3]: SELECT face 1 2
nextline ( 0: 20)[ 4]: ATTRIBUTE iford $xmax
nextline ( 0: 21)[ 4]: SELECT face 1 3
nextline ( 0: 22)[ 5]: ATTRIBUTE iford $ymin
nextline ( 0: 23)[ 5]: SELECT face 1 4
nextline ( 0: 24)[ 6]: ATTRIBUTE iford $ymax
nextline ( 0: 25)[ 6]: SELECT face 1 5
nextline ( 0: 26)[ 7]: ATTRIBUTE iford $zmin
nextline ( 0: 27)[ 7]: SELECT face 1 6
nextline ( 0: 28)[ 8]: ATTRIBUTE iford $zmax
nextline ( 0: 29)[ 8]:
nextline ( 0: 30)[ 8]: # call editAttr to name the left (xmin) and rite (xmax) Faces
nextline ( 0: 31)[ 8]: UDPRIM editAttr filename <<
--> diverting inputs to tmp file "tmp_OpenCSM_00/00"
nextline ( 0: 35)[ 9]:
nextline ( 0: 36)[ 9]: UDPRIM editAttr filename <<
--> diverting inputs to tmp file "tmp_OpenCSM_00/01"
nextline ( 0: 40)[ 10]:
nextline ( 0: 41)[ 10]: # now set xleft to the CG of the left Face and xrite to the CG of the rite Face
nextline ( 0: 42)[ 10]: SELECT face $name $left
nextline ( 0: 43)[ 11]: SET xleft @xcg
nextline ( 0: 44)[ 12]:
nextline ( 0: 45)[ 12]: SELECT face $name $rite
nextline ( 0: 46)[ 13]: SET xrite @xcg
nextline ( 0: 47)[ 14]:
nextline ( 0: 48)[ 14]: END
test 107: creating modl4 from inline.csm
--> enter ocsmLoad(filename=inline.csm)
nextline ( 0: 1)[ 1]: # inline
nextline ( 0: 2)[ 1]: # written by John Dannenhoffer
nextline ( 0: 3)[ 1]:
nextline ( 0: 4)[ 1]: DESPMTR x0 0
nextline ( 0: 5)[ 1]: DESPMTR y0 0
nextline ( 0: 6)[ 1]: DESPMTR z0 0
nextline ( 0: 7)[ 1]: DESPMTR dx 4
nextline ( 0: 8)[ 1]: DESPMTR dy 3
nextline ( 0: 9)[ 1]: DESPMTR dz 1
nextline ( 0: 10)[ 1]: OUTPMTR xleft
nextline ( 0: 11)[ 1]: OUTPMTR xrite
nextline ( 0: 12)[ 1]:
nextline ( 0: 13)[ 1]: # create a simple box
nextline ( 0: 14)[ 1]: BOX x0 y0 z0 dx dy dz
nextline ( 0: 15)[ 2]:
nextline ( 0: 16)[ 2]: # give each of the Faces an iford attribute
nextline ( 0: 17)[ 2]: SELECT face 1 1
nextline ( 0: 18)[ 3]: ATTRIBUTE iford $xmin
nextline ( 0: 19)[ 3]: SELECT face 1 2
nextline ( 0: 20)[ 4]: ATTRIBUTE iford $xmax
nextline ( 0: 21)[ 4]: SELECT face 1 3
nextline ( 0: 22)[ 5]: ATTRIBUTE iford $ymin
nextline ( 0: 23)[ 5]: SELECT face 1 4
nextline ( 0: 24)[ 6]: ATTRIBUTE iford $ymax
nextline ( 0: 25)[ 6]: SELECT face 1 5
nextline ( 0: 26)[ 7]: ATTRIBUTE iford $zmin
nextline ( 0: 27)[ 7]: SELECT face 1 6
nextline ( 0: 28)[ 8]: ATTRIBUTE iford $zmax
nextline ( 0: 29)[ 8]:
nextline ( 0: 30)[ 8]: # call editAttr to name the left (xmin) and rite (xmax) Faces
nextline ( 0: 31)[ 8]: UDPRIM editAttr filename <<
--> diverting inputs to tmp file "tmp_OpenCSM_01/00"
nextline ( 0: 35)[ 9]:
nextline ( 0: 36)[ 9]: UDPRIM editAttr filename <<
--> diverting inputs to tmp file "tmp_OpenCSM_01/01"
nextline ( 0: 40)[ 10]:
nextline ( 0: 41)[ 10]: # now set xleft to the CG of the left Face and xrite to the CG of the rite Face
nextline ( 0: 42)[ 10]: SELECT face $name $left
nextline ( 0: 43)[ 11]: SET xleft @xcg
nextline ( 0: 44)[ 12]:
nextline ( 0: 45)[ 12]: SELECT face $name $rite
nextline ( 0: 46)[ 13]: SET xrite @xcg
nextline ( 0: 47)[ 14]:
nextline ( 0: 48)[ 14]: END
test 108: calling modl3.Build(0, 0)
--> enter ocsmBuild(buildTo=0)
--> enter ocsmCheck()
--> checks passed
Interim EGADS version 1.19 (with OpenCASCADE 7.4.1)
executing [ 1] box: 0.00000 0.00000 0.00000 4.00000 3.00000 1.00000
Body 1 created (toler= 1.0000e-07, nnode= 8, nedge= 12, nface= 6)
executing [ 2] select: face 1 1
putting Branch Attributes on Face 1
executing [ 3] select: face 1 2
putting Branch Attributes on Face 2
executing [ 4] select: face 1 3
putting Branch Attributes on Face 3
executing [ 5] select: face 1 4
putting Branch Attributes on Face 4
executing [ 6] select: face 1 5
putting Branch Attributes on Face 5
executing [ 7] select: face 1 6
putting Branch Attributes on Face 6
executing [ 8] udprim: editAttr filename tmp_OpenCSM_00/00 (compiled code)
processing: face has iford=xmin
processing: set name=left
Body 2 created (toler= 1.0000e-07, nnode= 8, nedge= 12, nface= 6)
executing [ 9] udprim: editAttr filename tmp_OpenCSM_00/01 (compiled code)
processing: face has iford=xmax
processing: set name=rite
Body 3 created (toler= 1.0000e-07, nnode= 8, nedge= 12, nface= 6)
executing [ 10] select: face name left * * * *
executing [ 11] set: xleft @xcg
xleft = 0.00000 0.00000
executing [ 12] select: face name rite * * * *
executing [ 13] set: xrite @xcg
xrite = 4.00000 0.00000
finalizing:
--> Tessellating Body 3 ( 1.27475e-01 3.82426e-02 20.000)
==> Profile information
Branch type ncall time (sec) pct
box 1 0.002 16.8
udprim 2 0.006 56.4
set 2 0.000 0.6
select 8 0.003 26.2
Total 13 0.010
test 109: setting dx=5 for modl4
test 110: calling modl4.Build(0, 0)
--> enter ocsmBuild(buildTo=0)
--> enter ocsmCheck()
--> checks passed
Interim EGADS version 1.19 (with OpenCASCADE 7.4.1)
executing [ 1] box: 0.00000 0.00000 0.00000 5.00000 3.00000 1.00000
Body 1 created (toler= 1.0000e-07, nnode= 8, nedge= 12, nface= 6)
executing [ 2] select: face 1 1
putting Branch Attributes on Face 1
executing [ 3] select: face 1 2
putting Branch Attributes on Face 2
executing [ 4] select: face 1 3
putting Branch Attributes on Face 3
executing [ 5] select: face 1 4
putting Branch Attributes on Face 4
executing [ 6] select: face 1 5
putting Branch Attributes on Face 5
executing [ 7] select: face 1 6
putting Branch Attributes on Face 6
executing [ 8] udprim: editAttr filename tmp_OpenCSM_01/00 (compiled code)
processing: face has iford=xmin
processing: set name=left
Body 2 created (toler= 1.0000e-07, nnode= 8, nedge= 12, nface= 6)
executing [ 9] udprim: editAttr filename tmp_OpenCSM_01/01 (compiled code)
processing: face has iford=xmax
processing: set name=rite
Body 3 created (toler= 1.0000e-07, nnode= 8, nedge= 12, nface= 6)
executing [ 10] select: face name left * * * *
executing [ 11] set: xleft @xcg
xleft = 0.00000 0.00000
executing [ 12] select: face name rite * * * *
executing [ 13] set: xrite @xcg
xrite = 5.00000 0.00000
finalizing:
--> Tessellating Body 3 ( 1.47902e-01 4.43706e-02 20.000)
==> Profile information
Branch type ncall time (sec) pct
box 1 0.002 17.7
udprim 2 0.005 51.8
set 2 0.000 0.6
select 8 0.003 29.8
Total 13 0.009
xleft1 : 0.0
xrite1 : 4.0
xleft2 : 0.0
xrite2 : 5.0
test 111: calling modl3.Free() --- should remove EGADS context
--> temporary directory "tmp_OpenCSM_00" removed
EGADS Info: 0 Objects, 0 Reference in Use (of 530) at Close!
test 112: setting x0=1 for modl4
test 113: calling modl4.Build(0, 0)
--> enter ocsmBuild(buildTo=0)
Interim EGADS version 1.19 (with OpenCASCADE 7.4.1)
executing [ 1] box: 1.00000 0.00000 0.00000 5.00000 3.00000 1.00000
Body 1 created (toler= 1.0000e-07, nnode= 8, nedge= 12, nface= 6)
executing [ 2] select: face 1 1
putting Branch Attributes on Face 1
executing [ 3] select: face 1 2
putting Branch Attributes on Face 2
executing [ 4] select: face 1 3
putting Branch Attributes on Face 3
executing [ 5] select: face 1 4
putting Branch Attributes on Face 4
executing [ 6] select: face 1 5
putting Branch Attributes on Face 5
executing [ 7] select: face 1 6
putting Branch Attributes on Face 6
executing [ 8] udprim: editAttr filename tmp_OpenCSM_01/00 (compiled code)
processing: face has iford=xmin
processing: set name=left
Body 2 created (toler= 1.0000e-07, nnode= 8, nedge= 12, nface= 6)
executing [ 9] udprim: editAttr filename tmp_OpenCSM_01/01 (compiled code)
processing: face has iford=xmax
processing: set name=rite
Body 3 created (toler= 1.0000e-07, nnode= 8, nedge= 12, nface= 6)
executing [ 10] select: face name left * * * *
executing [ 11] set: xleft @xcg
xleft = 1.00000 0.00000
executing [ 12] select: face name rite * * * *
executing [ 13] set: xrite @xcg
xrite = 6.00000 0.00000
finalizing:
--> Tessellating Body 3 ( 1.47902e-01 4.43706e-02 20.000)
==> Profile information
Branch type ncall time (sec) pct
box 2 0.003 17.7
udprim 4 0.010 49.9
set 4 0.000 0.6
select 16 0.006 31.9
Total 26 0.019
xleft2 : 1.0
xrite2 : 6.0
test 114: calling modl5=modl4.Copy()
test 115: calling modl4.GetArg(8, 3)
defn : $tmp_OpenCSM_01/00
test 116: calling modl4.PrintBrchs()
--> enter ocsmCheck()
--> checks passed
ibrch type ileft irite ichld args...
1 (a) Brch_000001 box -1 -1 8 {x0} {y0} {z0} {dx} {dy} {dz}
2 (a) Brch_000002 select -1 -1 -1 {$face} {1} {1}
attr: iford $xmin
3 (a) Brch_000003 select -1 -1 -1 {$face} {1} {2}
attr: iford $xmax
4 (a) Brch_000004 select -1 -1 -1 {$face} {1} {3}
attr: iford $ymin
5 (a) Brch_000005 select -1 -1 -1 {$face} {1} {4}
attr: iford $ymax
6 (a) Brch_000006 select -1 -1 -1 {$face} {1} {5}
attr: iford $zmin
7 (a) Brch_000007 select -1 -1 -1 {$face} {1} {6}
attr: iford $zmax
8 (a) Brch_000008 udprim 1 -1 9 {$editAttr} {$filename} {$tmp_OpenCSM_01/00}
9 (a) Brch_000009 udprim 8 -1 -1 {$editAttr} {$filename} {$tmp_OpenCSM_01/01}
10 (a) Brch_000010 select -1 -1 -1 {$face} {$name} {$left} {$*} {$*} {$*} {$*}
11 (a) Brch_000011 set -1 -1 -1 {$xleft} {@xcg}
12 (a) Brch_000012 select -1 -1 -1 {$face} {$name} {$rite} {$*} {$*} {$*} {$*}
13 (a) Brch_000013 set -1 -1 -1 {$xrite} {@xcg}
test 117: calling mod5.GetArg(8, 3)
defn : $tmp_OpenCSM_00/00
test 118: calling modl5.PrintBrchs()
--> enter ocsmCheck()
--> checks passed
ibrch type ileft irite ichld args...
1 [-] Brch_000001 box -2 -2 -2 {x0} {y0} {z0} {dx} {dy} {dz}
2 [-] Brch_000002 select -2 -2 -2 {$face} {1} {1}
attr: iford $xmin
3 [-] Brch_000003 select -2 -2 -2 {$face} {1} {2}
attr: iford $xmax
4 [-] Brch_000004 select -2 -2 -2 {$face} {1} {3}
attr: iford $ymin
5 [-] Brch_000005 select -2 -2 -2 {$face} {1} {4}
attr: iford $ymax
6 [-] Brch_000006 select -2 -2 -2 {$face} {1} {5}
attr: iford $zmin
7 [-] Brch_000007 select -2 -2 -2 {$face} {1} {6}
attr: iford $zmax
8 [-] Brch_000008 udprim -2 -2 -2 {$editAttr} {$filename} {$tmp_OpenCSM_00/00}
9 [-] Brch_000009 udprim -2 -2 -2 {$editAttr} {$filename} {$tmp_OpenCSM_00/01}
10 [-] Brch_000010 select -2 -2 -2 {$face} {$name} {$left} {$*} {$*} {$*} {$*}
11 [-] Brch_000011 set -2 -2 -2 {$xleft} {@xcg}
12 [-] Brch_000012 select -2 -2 -2 {$face} {$name} {$rite} {$*} {$*} {$*} {$*}
13 [-] Brch_000013 set -2 -2 -2 {$xrite} {@xcg}
test 119: making modl6()
--> enter ocsmLoad(filename=)
WARNING:: loading empty MODL
test 120: calling modl6.RegMesgCB(pyMesgCB)
test 121: calling modl6.RegSizeCB(pySizeCB)
test 122: calling modl6.FindPmtr(n)
iN : 1
test 123: calling SetValuD(n, 1, 1, 2)
test 124: calling modl6.NewBrch(DIMENSION)
test 125: calling modl6.FindPmtr(dxyz)
iDxyz : 2
test 126: calling modl6.SetValuD(iDxyz, 1, 1, 1)
(should trigger pySizeCB)
======= in pySizeCB =======
ipmtr: 2
nrow : 1
ncol : 2
===========================
test 127: calling modl6.SetValuD(iDxyz, 1, 2, 2)
test 128: calling modl6.FindPmtr(myVol)
iMyVol: 3
1 [f] n [ 1, 1] 2.00000 0.00000 >> unbounded << unbounded
2 [d] dxyz [ 1, 1] 1.00000 0.00000 >> unbounded << unbounded
2 [d] dxyz [ 1, 2] 2.00000 0.00000 >> unbounded << unbounded
test 129: calling modl6.SetValuD(n, 1, 1, 3)
(should trigger pySizeCB)
======= in pySizeCB =======
ipmtr: 2
nrow : 1
ncol : 3
===========================
1 [f] n [ 1, 1] 3.00000 0.00000 >> unbounded << unbounded
2 [d] dxyz [ 1, 1] 1.00000 0.00000 >> unbounded << unbounded
2 [d] dxyz [ 1, 2] 2.00000 0.00000 >> unbounded << unbounded
2 [d] dxyz [ 1, 3] 2.00000 0.00000 >> unbounded << unbounded
test 130: calling modl6.NewBrch(BOX)
test 131: calling modl6,NewBrch(SET)
test 132: calling modl6.Build(0, 0)
--> enter ocsmBuild(buildTo=0)
--> enter ocsmCheck()
--> checks passed
Interim EGADS version 1.19 (with OpenCASCADE 7.4.1)
executing [ 1] dimension: dxyz 1.00000 3.00000
executing [ 2] box: 0.00000 0.00000 0.00000 1.00000 2.00000 2.00000
Body 1 created (toler= 1.0000e-07, nnode= 8, nedge= 12, nface= 6)
executing [ 3] set: myVol @volume
myVol = 4.00000 0.00000
finalizing:
--> Tessellating Body 1 ( 7.50000e-02 2.25000e-02 20.000)
==> Profile information
Branch type ncall time (sec) pct
dimension 1 0.000 0.6
box 1 0.002 98.6
set 1 0.000 0.8
Total 3 0.002
test 133: calling modl6.GetValu(myVol)
myVol: 3.999999999999999
test 134: calling modl6.SetValuD(dxyz, 1, 3, 3)
1 [f] n [ 1, 1] 3.00000 0.00000 >> unbounded << unbounded
2 [d] dxyz [ 1, 1] 1.00000 0.00000 >> unbounded << unbounded
2 [d] dxyz [ 1, 2] 2.00000 0.00000 >> unbounded << unbounded
2 [d] dxyz [ 1, 3] 3.00000 0.00000 >> unbounded << unbounded
test 135: calling modl6.Build(0, 0)
--> enter ocsmBuild(buildTo=0)
Interim EGADS version 1.19 (with OpenCASCADE 7.4.1)
executing [ 1] dimension: dxyz 1.00000 3.00000
executing [ 2] box: 0.00000 0.00000 0.00000 1.00000 2.00000 3.00000
Body 1 created (toler= 1.0000e-07, nnode= 8, nedge= 12, nface= 6)
executing [ 3] set: myVol @volume
myVol = 6.00000 0.00000
finalizing:
--> Tessellating Body 1 ( 9.35414e-02 2.80624e-02 20.000)
==> Profile information
Branch type ncall time (sec) pct
dimension 2 0.000 0.6
box 2 0.003 98.1
set 2 0.000 1.2
Total 6 0.003
test 136: calling modl6.GetValu(myVol)
myVol: 6.0
test 137: calling modl6.Free() --- should remove EGADS context
EGADS Info: 0 Objects, 0 Reference in Use (of 135) at Close!
test 138: calling modl4.Info()
nbrch : 13
npmtr : 52
nbody : 3
test 139: adding "UDPRIM applyTparams" after BOX Branch
>>> Diverting to file "/Users/jenkins/workspace/ESP_QuickMemOcsm/7.4/OpenCSM/pyOCSM/DARWIN64/ESP/DARWIN64/udc/applyTparams.udc"
--> enter ocsmLoad(filename=/Users/jenkins/workspace/ESP_QuickMemOcsm/7.4/OpenCSM/pyOCSM/DARWIN64/ESP/DARWIN64/udc/applyTparams.udc)
nextline ( 1: 1)[ 3]: # apply .tParams to Body on top of stack
nextline ( 1: 2)[ 3]: # written by John Dannenhoffer
nextline ( 1: 3)[ 3]:
nextline ( 1: 4)[ 3]: INTERFACE factor in 1
nextline ( 1: 5)[ 4]:
nextline ( 1: 6)[ 4]: # find size of Body on the top of the stack
nextline ( 1: 7)[ 4]: SELECT BODY
nextline ( 1: 8)[ 5]: SET size max(max(@xmax-@xmin,@ymax-@ymin),@zmax-@zmin)
nextline ( 1: 9)[ 6]:
nextline ( 1: 10)[ 6]: # if there is more than one Face, apply .tParams to all Faces on the Body
nextline ( 1: 11)[ 6]: IFTHEN @nface GT 1
nextline ( 1: 12)[ 7]: SELECT FACE
nextline ( 1: 13)[ 8]: ATTRIBUTE .tParams 0.0250*factor*size;0.0075*factor*size;20;
nextline ( 1: 14)[ 8]:
nextline ( 1: 15)[ 8]: # otherwise apply .tParams to all Edges on the Body
nextline ( 1: 16)[ 8]: ELSE
nextline ( 1: 17)[ 9]: SELECT EDGE
nextline ( 1: 18)[ 10]: ATTRIBUTE .tParams 0.0250*factor*size;0.0075*factor*size;20;
nextline ( 1: 19)[ 10]: ENDIF
nextline ( 1: 20)[ 11]:
nextline ( 1: 21)[ 11]: END
--> enter ocsmCheck()
--> checks passed
ibrch type ileft irite ichld args...
1 [-] Brch_000001 box -2 -2 -2 {x0} {y0} {z0} {dx} {dy} {dz}
2 [-] Brch_000014 udprim -2 -2 -2 {$$$/applyTparams} {$factor} {0.2}
3 [-] Brch_000015 .interface -2 -2 -2 {$factor} {$in} {1}
4 [-] Brch_000016 .select -2 -2 -2 {$BODY}
5 [-] Brch_000017 .set -2 -2 -2 {$size} {max(max(@xmax-@xmin,@ymax-@ymin),@zmax-@zmin)}
6 [-] Brch_000018 .ifthen -2 -2 -2 {@nface} {$GT} {1} {$and} {0} {$eq} {0}
7 [-] Brch_000019 ..select -2 -2 -2 {$FACE}
attr: .tParams 0.0250*factor*size;0.0075*factor*size;20;
8 [-] Brch_000020 .else -2 -2 -2
9 [-] Brch_000021 ..select -2 -2 -2 {$EDGE}
attr: .tParams 0.0250*factor*size;0.0075*factor*size;20;
10 [-] Brch_000022 .endif -2 -2 -2
11 [-] Brch_000023 end -2 -2 -2
12 [-] Brch_000002 select -2 -2 -2 {$face} {1} {1}
attr: iford $xmin
13 [-] Brch_000003 select -2 -2 -2 {$face} {1} {2}
attr: iford $xmax
14 [-] Brch_000004 select -2 -2 -2 {$face} {1} {3}
attr: iford $ymin
15 [-] Brch_000005 select -2 -2 -2 {$face} {1} {4}
attr: iford $ymax
16 [-] Brch_000006 select -2 -2 -2 {$face} {1} {5}
attr: iford $zmin
17 [-] Brch_000007 select -2 -2 -2 {$face} {1} {6}
attr: iford $zmax
18 [-] Brch_000008 udprim -2 -2 -2 {$editAttr} {$filename} {$tmp_OpenCSM_01/00}
19 [-] Brch_000009 udprim -2 -2 -2 {$editAttr} {$filename} {$tmp_OpenCSM_01/01}
20 [-] Brch_000010 select -2 -2 -2 {$face} {$name} {$left} {$*} {$*} {$*} {$*}
21 [-] Brch_000011 set -2 -2 -2 {$xleft} {@xcg}
22 [-] Brch_000012 select -2 -2 -2 {$face} {$name} {$rite} {$*} {$*} {$*} {$*}
23 [-] Brch_000013 set -2 -2 -2 {$xrite} {@xcg}
test 140: calling modl4.Build(0, 0)
--> enter ocsmBuild(buildTo=0)
Interim EGADS version 1.19 (with OpenCASCADE 7.4.1)
executing [ 1] box: 1.00000 0.00000 0.00000 5.00000 3.00000 1.00000
Body 1 recycled
executing [ 2] udprim: $$/applyTparams factor 0.20000 (scripted code)
[ 3] interface: factor in 1.00000
executing [ 4] select: body
executing [ 5] set: size max(max(@xmax-@xmin,@ymax-@ymin),@zmax-@zmin)
size = 5.00000 0.00000
executing [ 6] ifthen: 6.00000 GT 1.00000 and 0.00000 eq 0.00000
executing [ 7] select: face
putting Branch Attributes on Face 1
putting Branch Attributes on Face 2
putting Branch Attributes on Face 3
putting Branch Attributes on Face 4
putting Branch Attributes on Face 5
putting Branch Attributes on Face 6
executing [ 11] end:
executing [ 12] select: face 1 1
putting Branch Attributes on Face 1
executing [ 13] select: face 1 2
putting Branch Attributes on Face 2
executing [ 14] select: face 1 3
putting Branch Attributes on Face 3
executing [ 15] select: face 1 4
putting Branch Attributes on Face 4
executing [ 16] select: face 1 5
putting Branch Attributes on Face 5
executing [ 17] select: face 1 6
putting Branch Attributes on Face 6
executing [ 18] udprim: editAttr filename tmp_OpenCSM_01/00 (compiled code)
processing: face has iford=xmin
processing: set name=left
Body 2 created (toler= 1.0000e-07, nnode= 8, nedge= 12, nface= 6)
executing [ 19] udprim: editAttr filename tmp_OpenCSM_01/01 (compiled code)
processing: face has iford=xmax
processing: set name=rite
Body 3 created (toler= 1.0000e-07, nnode= 8, nedge= 12, nface= 6)
executing [ 20] select: face name left * * * *
executing [ 21] set: xleft @xcg
xleft = 1.00000 0.00000
executing [ 22] select: face name rite * * * *
executing [ 23] set: xrite @xcg
xrite = 6.00000 0.00000
finalizing:
--> Tessellating Body 3 ( 1.47902e-01 4.43706e-02 20.000)
==> Profile information
Branch type ncall time (sec) pct
box 3 0.003 11.2
udprim 7 0.015 47.0
interface 1 0.000 0.0
end 1 0.000 0.1
set 7 0.000 0.6
select 26 0.012 39.4
ifthen 1 0.000 1.6
else 1 0.000 0.0
endif 1 0.000 0.0
Total 48 0.031
test 141: calling modl4.Info()
nbrch : 23
npmtr : 52
nbody : 3
--> enter ocsmCheck()
--> checks passed
ibrch type ileft irite ichld args...
1 (a) Brch_000001 box -1 -1 18 {x0} {y0} {z0} {dx} {dy} {dz}
2 (a) Brch_000014 udprim -1 -1 -1 {$$$/applyTparams} {$factor} {0.2}
3 (a) Brch_000015 .interface -1 -1 -1 {$factor} {$in} {1}
4 (a) Brch_000016 .select -1 -1 -1 {$BODY}
5 (a) Brch_000017 .set -1 -1 -1 {$size} {max(max(@xmax-@xmin,@ymax-@ymin),@zmax-@zmin)}
6 (a) Brch_000018 .ifthen -1 -1 -1 {@nface} {$GT} {1} {$and} {0} {$eq} {0}
7 (a) Brch_000019 ..select -1 -1 -1 {$FACE}
attr: .tParams 0.0250*factor*size;0.0075*factor*size;20;
8 (a) Brch_000020 .else -1 -1 -1
9 [-] Brch_000021 ..select -2 -2 -2 {$EDGE}
attr: .tParams 0.0250*factor*size;0.0075*factor*size;20;
10 (a) Brch_000022 .endif -1 -1 -1
11 (a) Brch_000023 end -1 -1 -1
12 (a) Brch_000002 select -1 -1 -1 {$face} {1} {1}
attr: iford $xmin
13 (a) Brch_000003 select -1 -1 -1 {$face} {1} {2}
attr: iford $xmax
14 (a) Brch_000004 select -1 -1 -1 {$face} {1} {3}
attr: iford $ymin
15 (a) Brch_000005 select -1 -1 -1 {$face} {1} {4}
attr: iford $ymax
16 (a) Brch_000006 select -1 -1 -1 {$face} {1} {5}
attr: iford $zmin
17 (a) Brch_000007 select -1 -1 -1 {$face} {1} {6}
attr: iford $zmax
18 (a) Brch_000008 udprim 1 -1 19 {$editAttr} {$filename} {$tmp_OpenCSM_01/00}
19 (a) Brch_000009 udprim 18 -1 -1 {$editAttr} {$filename} {$tmp_OpenCSM_01/01}
20 (a) Brch_000010 select -1 -1 -1 {$face} {$name} {$left} {$*} {$*} {$*} {$*}
21 (a) Brch_000011 set -1 -1 -1 {$xleft} {@xcg}
22 (a) Brch_000012 select -1 -1 -1 {$face} {$name} {$rite} {$*} {$*} {$*} {$*}
23 (a) Brch_000013 set -1 -1 -1 {$xrite} {@xcg}
test 142: calling modl4.Save(sample3.cpc)
--> enter ocsmSave(filename=sample3.cpc)
--> enter ocsmCheck()
--> checks passed
test 143: making modl6(sample3.cpc)
--> enter ocsmLoad(filename=sample3.cpc)
nextline ( 0: 1)[ 1]: # sample3.cpc written by ocsmSave (v1.19)
nextline ( 0: 2)[ 1]:
nextline ( 0: 3)[ 1]: # Constant, Design, and Output Parameters:
nextline ( 0: 4)[ 1]: despmtr x0 1.00000
nextline ( 0: 5)[ 1]: despmtr y0 0.00000
nextline ( 0: 6)[ 1]: despmtr z0 0.00000
nextline ( 0: 7)[ 1]: despmtr dx 5.00000
nextline ( 0: 8)[ 1]: despmtr dy 3.00000
nextline ( 0: 9)[ 1]: despmtr dz 1.00000
nextline ( 0: 10)[ 1]: outpmtr xleft
nextline ( 0: 11)[ 1]: outpmtr xrite
nextline ( 0: 12)[ 1]:
nextline ( 0: 13)[ 1]: # Global Attributes:
nextline ( 0: 14)[ 1]:
nextline ( 0: 15)[ 1]: # Branches:
nextline ( 0: 16)[ 1]: box x0 y0 z0 dx dy dz
nextline ( 0: 17)[ 2]: udprim $$/applyTparams factor 0.2
nextline ( 0: 18)[ 3]: interface factor in 1
nextline ( 0: 19)[ 4]: select BODY
nextline ( 0: 20)[ 5]: set size max(max(@xmax-@xmin,@ymax-@ymin),@zmax-@zmin)
nextline ( 0: 21)[ 6]: ifthen @nface GT 1 and 0 eq 0
nextline ( 0: 22)[ 7]: select FACE
nextline ( 0: 23)[ 8]: attribute .tParams 0.0250*factor*size;0.0075*factor*size;20;
nextline ( 0: 24)[ 8]: else
nextline ( 0: 25)[ 9]: select EDGE
nextline ( 0: 26)[ 10]: attribute .tParams 0.0250*factor*size;0.0075*factor*size;20;
nextline ( 0: 27)[ 10]: endif
nextline ( 0: 28)[ 11]: end
nextline ( 0: 29)[ 12]: select face 1 1
nextline ( 0: 30)[ 13]: attribute iford $xmin
nextline ( 0: 31)[ 13]: select face 1 2
nextline ( 0: 32)[ 14]: attribute iford $xmax
nextline ( 0: 33)[ 14]: select face 1 3
nextline ( 0: 34)[ 15]: attribute iford $ymin
nextline ( 0: 35)[ 15]: select face 1 4
nextline ( 0: 36)[ 16]: attribute iford $ymax
nextline ( 0: 37)[ 16]: select face 1 5
nextline ( 0: 38)[ 17]: attribute iford $zmin
nextline ( 0: 39)[ 17]: select face 1 6
nextline ( 0: 40)[ 18]: attribute iford $zmax
nextline ( 0: 41)[ 18]: udprim editAttr filename <<
--> diverting inputs to tmp file "tmp_OpenCSM_02/00"
nextline ( 0: 45)[ 19]: udprim editAttr filename <<
--> diverting inputs to tmp file "tmp_OpenCSM_02/01"
nextline ( 0: 49)[ 20]: select face $name $left $* $* $* $*
nextline ( 0: 50)[ 21]: set xleft @xcg
nextline ( 0: 51)[ 22]: select face $name $rite $* $* $* $*
nextline ( 0: 52)[ 23]: set xrite @xcg
nextline ( 0: 53)[ 24]:
nextline ( 0: 54)[ 24]: end
--> enter ocsmCheck()
--> checks passed
ibrch type ileft irite ichld args...
1 [-] Brch_000001 box -2 -2 -2 {x0} {y0} {z0} {dx} {dy} {dz}
2 [-] Brch_000002 udprim -2 -2 -2 {$$$/applyTparams} {$factor} {0.2}
3 [-] Brch_000003 .interface -2 -2 -2 {$factor} {$in} {1}
4 [-] Brch_000004 .select -2 -2 -2 {$BODY}
5 [-] Brch_000005 .set -2 -2 -2 {$size} {max(max(@xmax-@xmin,@ymax-@ymin),@zmax-@zmin)}
6 [-] Brch_000006 .ifthen -2 -2 -2 {@nface} {$GT} {1} {$and} {0} {$eq} {0}
7 [-] Brch_000007 ..select -2 -2 -2 {$FACE}
attr: .tParams 0.0250*factor*size;0.0075*factor*size;20;
8 [-] Brch_000008 .else -2 -2 -2
9 [-] Brch_000009 ..select -2 -2 -2 {$EDGE}
attr: .tParams 0.0250*factor*size;0.0075*factor*size;20;
10 [-] Brch_000010 .endif -2 -2 -2
11 [-] Brch_000011 end -2 -2 -2
12 [-] Brch_000012 select -2 -2 -2 {$face} {1} {1}
attr: iford $xmin
13 [-] Brch_000013 select -2 -2 -2 {$face} {1} {2}
attr: iford $xmax
14 [-] Brch_000014 select -2 -2 -2 {$face} {1} {3}
attr: iford $ymin
15 [-] Brch_000015 select -2 -2 -2 {$face} {1} {4}
attr: iford $ymax
16 [-] Brch_000016 select -2 -2 -2 {$face} {1} {5}
attr: iford $zmin
17 [-] Brch_000017 select -2 -2 -2 {$face} {1} {6}
attr: iford $zmax
18 [-] Brch_000018 udprim -2 -2 -2 {$editAttr} {$filename} {$tmp_OpenCSM_02/00}
19 [-] Brch_000019 udprim -2 -2 -2 {$editAttr} {$filename} {$tmp_OpenCSM_02/01}
20 [-] Brch_000020 select -2 -2 -2 {$face} {$name} {$left} {$*} {$*} {$*} {$*}
21 [-] Brch_000021 set -2 -2 -2 {$xleft} {@xcg}
22 [-] Brch_000022 select -2 -2 -2 {$face} {$name} {$rite} {$*} {$*} {$*} {$*}
23 [-] Brch_000023 set -2 -2 -2 {$xrite} {@xcg}
test 144: calling modl6.Check()
--> enter ocsmCheck()
--> checks passed
test 145: calling modl6.Build(0, 0)
--> enter ocsmBuild(buildTo=0)
Interim EGADS version 1.19 (with OpenCASCADE 7.4.1)
executing [ 1] box: 1.00000 0.00000 0.00000 5.00000 3.00000 1.00000
Body 1 created (toler= 1.0000e-07, nnode= 8, nedge= 12, nface= 6)
executing [ 2] udprim: $$/applyTparams factor 0.20000 (scripted code)
[ 3] interface: factor in 1.00000
executing [ 4] select: body
executing [ 5] set: size max(max(@xmax-@xmin,@ymax-@ymin),@zmax-@zmin)
size = 5.00000 0.00000
executing [ 6] ifthen: 6.00000 GT 1.00000 and 0.00000 eq 0.00000
executing [ 7] select: face
putting Branch Attributes on Face 1
putting Branch Attributes on Face 2
putting Branch Attributes on Face 3
putting Branch Attributes on Face 4
putting Branch Attributes on Face 5
putting Branch Attributes on Face 6
executing [ 11] end:
executing [ 12] select: face 1 1
putting Branch Attributes on Face 1
executing [ 13] select: face 1 2
putting Branch Attributes on Face 2
executing [ 14] select: face 1 3
putting Branch Attributes on Face 3
executing [ 15] select: face 1 4
putting Branch Attributes on Face 4
executing [ 16] select: face 1 5
putting Branch Attributes on Face 5
executing [ 17] select: face 1 6
putting Branch Attributes on Face 6
executing [ 18] udprim: editAttr filename tmp_OpenCSM_02/00 (compiled code)
processing: face has iford=xmin
processing: set name=left
Body 2 created (toler= 1.0000e-07, nnode= 8, nedge= 12, nface= 6)
executing [ 19] udprim: editAttr filename tmp_OpenCSM_02/01 (compiled code)
processing: face has iford=xmax
processing: set name=rite
Body 3 created (toler= 1.0000e-07, nnode= 8, nedge= 12, nface= 6)
executing [ 20] select: face name left * * * *
executing [ 21] set: xleft @xcg
xleft = 1.00000 0.00000
executing [ 22] select: face name rite * * * *
executing [ 23] set: xrite @xcg
xrite = 6.00000 0.00000
finalizing:
--> Tessellating Body 3 ( 1.47902e-01 4.43706e-02 20.000)
==> Profile information
Branch type ncall time (sec) pct
box 1 0.002 14.4
udprim 3 0.005 41.7
interface 1 0.000 0.1
end 1 0.000 0.3
set 3 0.000 0.5
select 10 0.005 39.6
ifthen 1 0.000 3.3
else 1 0.000 0.0
endif 1 0.000 0.0
Total 22 0.013
builtTo: 23
nbody : 0
bodys : None
test 146: calling modl6.Info()
nbrch : 23
npmtr : 52
nbody : 3
test 147: calling modl6.Free() --- should remove EGADS context
--> temporary directory "tmp_OpenCSM_02" removed
EGADS Info: 0 Objects, 0 Reference in Use (of 530) at Close!
test 148: removing temporary sample* files
test 149: making modl7()
--> enter ocsmLoad(filename=)
WARNING:: loading empty MODL
test 150: adding DESPMTRs
test 151: add Branches
calling modl7.NewBrch( 0 ) skbeg xbeg ybeg zbeg 0
calling modl7.NewBrch( 1 ) linseg xend yend zend
calling modl7.NewBrch( 2 ) skbeg 0
calling modl7.NewBrch( 3 ) set myLen @length
test 152: setting DESPMTR values
1 [d] xbeg [ 1, 1] -1.00000 0.00000 >> unbounded << unbounded
2 [d] ybeg [ 1, 1] -2.00000 0.00000 >> unbounded << unbounded
3 [d] zbeg [ 1, 1] -3.00000 0.00000 >> unbounded << unbounded
4 [d] xend [ 1, 1] 1.00000 0.00000 >> unbounded << unbounded
5 [d] yend [ 1, 1] 2.00000 0.00000 >> unbounded << unbounded
6 [d] zend [ 1, 1] 3.00000 0.00000 >> unbounded << unbounded
test 153: calling modl7.Build(0, 0)
--> enter ocsmBuild(buildTo=0)
--> enter ocsmCheck()
--> checks passed
Interim EGADS version 1.19 (with OpenCASCADE 7.4.1)
executing [ 1] skbeg: -1.00000 -2.00000 -3.00000 0.00000
executing [ 2] linseg: 1.00000 2.00000 3.00000
executing [ 3] skend: 0.00000
Sketch 3 created with 1 Edges
executing [ 4] set: myLen @length
myLen = 7.48331 0.00000
finalizing:
--> Tessellating Body 3 ( 1.87083e-01 5.61249e-02 20.000)
==> Profile information
Branch type ncall time (sec) pct
skbeg 1 0.000 6.4
linseg 1 0.000 5.0
skend 1 0.000 82.5
set 1 0.000 6.1
Total 4 0.001
builtTo: 4
nbody : 0
bodys : None
test 154: calling modl7.GetTessVel(3, NODE, 1)
MODL->dtime= 0.0000100000
--> enter ocsmCheck()
--> checks passed
--> enter ocsmBuild(buildTo=0)
Interim EGADS version 1.19 (with OpenCASCADE 7.4.1)
executing [ 1] skbeg: -1.00000 -2.00000 -3.00000 0.00000
executing [ 2] linseg: 1.00000 2.00000 3.00000
executing [ 3] skend: 0.00000
Sketch 3 created with 1 Edges
executing [ 4] set: myLen @length
myLen = 7.48331 0.00000
finalizing:
--> Tessellating Body 3 ( 1.87083e-01 5.61249e-02 20.000)
==> Profile information
Branch type ncall time (sec) pct
skbeg 2 0.000 6.6
linseg 2 0.000 4.9
skend 2 0.001 83.8
set 2 0.000 4.7
Total 8 0.001
node1:xvel : 0.0
node1:yvel : 0.0
node1:zvel : 0.0
test 155: calling modl7.GetTessVel(3, NODE, 2)
node2:xvel : 0.0
node2:yvel : 0.0
node2:zvel : 0.0
test 156: calling modl7.GetTessVel(3, EDGE, 1)
beg.xvel : 0.0
beg.yvel : 0.0
beg.zvel : 0.0
end.xvel : 0.0
end.yvel : 0.0
end.zvel : 0.0
test 157: call modl.GetValu(myLen)
value: 7.483314773547883
dot : 0.0
test 158: calling modl7.SetVelD(xbeg, +1)
test 159: calling modl7.SetVelD(zend, -1)
test 160: calling modl7.Build(0, 0)
--> enter ocsmBuild(buildTo=0)
skipping re-build because Body 3 (skend) requires finite difference sensitivities
builtTo: 4
nbody : 0
bodys : None
test 161: call modl.GetValu(myLen)
MODL->dtime= 0.0000100000
--> enter ocsmCheck()
--> checks passed
--> enter ocsmBuild(buildTo=0)
Interim EGADS version 1.19 (with OpenCASCADE 7.4.1)
executing [ 1] skbeg: -0.99999 -2.00000 -3.00000 0.00000
executing [ 2] linseg: 1.00000 2.00000 2.99999
executing [ 3] skend: 0.00000
Sketch 3 created with 1 Edges
executing [ 4] set: myLen @length
myLen = 7.48330 0.00000
finalizing:
--> Tessellating Body 3 ( 1.87083e-01 5.61248e-02 20.000)
==> Profile information
Branch type ncall time (sec) pct
skbeg 2 0.000 6.8
linseg 2 0.000 4.2
skend 2 0.001 84.5
set 2 0.000 4.6
Total 8 0.001
value: 7.483314773547883
dot : -1.0690443949634698
test 162: calling modl7.GetTessVel(3, NODE, 1)
node1:xvel : 0.9999999999954489
node1:yvel : 0.0
node1:zvel : 0.0
test 163: calling modl7.GetTessVel(3, NODE, 2)
node2:xvel : 0.0
node2:yvel : 0.0
node2:zvel : -1.0000000000065512
test 164: calling modl7.GetTessVel(3, EDGE, 1)
beg.xvel : 0.9999999999954489
beg.yvel : 0.0
beg.zvel : 0.0
end.xvel : 0.0
end.yvel : 0.0
end.zvel : -1.0000000000065512
test 165: calling modl7.Free() --- should remove EGADS context
EGADS Info: 0 Objects, 0 Reference in Use (of 41) at Close!
test 166: making modl8()
--> enter ocsmLoad(filename=)
WARNING:: loading empty MODL
test 167: adding DESPMTRs
test 168: add Branches (backwards)
calling modl8.NewBrch( 0 ) set myLen @length
calling modl8.NewBrch( 0 ) translate xbeg+xlen/2 ybeg zbeg
calling modl8.NewBrch( 0 ) udprim box dx xlen
test 169: setting DESPMTR values
1 [d] xbeg [ 1, 1] -1.00000 0.00000 >> unbounded << unbounded
2 [d] ybeg [ 1, 1] -2.00000 0.00000 >> unbounded << unbounded
3 [d] zbeg [ 1, 1] -3.00000 0.00000 >> unbounded << unbounded
4 [d] xlen [ 1, 1] 4.00000 0.00000 >> unbounded << unbounded
test 170: calling modl8.Build(0, 0)
--> enter ocsmBuild(buildTo=0)
--> enter ocsmCheck()
--> checks passed
Interim EGADS version 1.19 (with OpenCASCADE 7.4.1)
executing [ 1] udprim: box dx 4.00000 (compiled code)
Body 1 created (toler= 1.0000e-07, nnode= 2, nedge= 1, nface= 0)
executing [ 2] translate: 1.00000 -2.00000 -3.00000
Body 2 created (toler= 1.0000e-07, nnode= 2, nedge= 1, nface= 0)
executing [ 3] set: myLen @length
myLen = 4.00000 0.00000
finalizing:
--> Tessellating Body 2 ( 1.00000e-01 3.00000e-02 20.000)
==> Profile information
Branch type ncall time (sec) pct
udprim 1 0.001 80.1
translate 1 0.000 19.0
set 1 0.000 0.9
Total 3 0.002
builtTo: 3
nbody : 0
bodys : None
test 171: calling modl8.GetTessVel(2, NODE, 1)
node1:xvel : 0.0
node1:yvel : 0.0
node1:zvel : 0.0
test 172: calling modl8.GetTessVel(2, NODE, 2)
node2:xvel : 0.0
node2:yvel : 0.0
node2:zvel : 0.0
test 173: calling modl8.GetTessVel(2, EDGE, 1)
beg.xvel : 0.0
beg.yvel : 0.0
beg.zvel : 0.0
end.xvel : 0.0
end.yvel : 0.0
end.zvel : 0.0
test 174: call modl.GetValu(myLen)
value: 4.0
dot : 0.0
test 175: calling modl8.SetVelD(xbeg, +1)
test 176: calling modl8.SetVelD(xlen, +1)
test 177: calling modl8.Build(0, 0)
--> enter ocsmBuild(buildTo=0)
Interim EGADS version 1.19 (with OpenCASCADE 7.4.1)
executing [ 1] udprim: box dx 4.00000 (compiled code)
Body 1 recycled
executing [ 2] translate: 1.00000 -2.00000 -3.00000
1.50000 0.00000 0.00000
Body 2 recycled
computeMassPropsDot via analytic velocities
executing [ 3] set: myLen @length
myLen = 4.00000 1.00000
finalizing:
==> Profile information
Branch type ncall time (sec) pct
udprim 2 0.001 75.9
translate 2 0.000 21.8
set 2 0.000 2.3
Total 6 0.002
builtTo: 3
nbody : 0
bodys : None
test 178: call modl.GetValu(myLen)
value: 4.0
dot : 1.0
test 179: calling modl8.GetTessVel(3, NODE, 1)
node1:xvel : 1.0
node1:yvel : 0.0
node1:zvel : 0.0
test 180: calling modl8.GetTessVel(3, NODE, 2)
node2:xvel : 2.0
node2:yvel : 0.0
node2:zvel : 0.0
test 181: calling modl8.GetTessVel(3, EDGE, 1)
beg.xvel : 1.0
beg.yvel : 0.0
beg.zvel : 0.0
end.xvel : 2.0
end.yvel : 0.0
end.zvel : 0.0
test 182: copy a Body in modl8
test 183: calling modl8.Free() --- should NOT remove EGADS context
test 184: calling modl5.Free() --- should NOT remove EGADS context
--> temporary directory "tmp_OpenCSM_00" removed
test 185: calling newBody.getInfo()
oclass: 25
mtype : 6
NOTE:
GetSketch is not tested
SolveSketch is not tested
UpdateSketch is not tested
SetEgg is not tested
At end:
temporary directory "tmp_OpenCSM_01" should be removed
EGADS context associated with modl1 should be removed
EGADS context associated with modl4 should be removed
EGADS context associated with modl5 should be removed
EGADS context associated with modl8 should be removed
test_pyOCSM finished successfully
EGADS Info: 0 Objects, 0 Reference in Use (of 51) at Close!
--> temporary directory "tmp_OpenCSM_01" removed
EGADS Info: 0 Objects, 0 Reference in Use (of 530) at Close!
EGADS Info: 0 Objects, 0 Reference in Use (of 1129) at Close!
[GNU C Compiler (gcc)] Sleeping for 5 seconds due to JENKINS-32191...
[GNU C Compiler (gcc)] Parsing console log (workspace: '/Users/jenkins/workspace/ESP_QuickMemOcsm/7.4/OpenCSM/pyOCSM/DARWIN64')
[GNU C Compiler (gcc)] Successfully parsed console log
[GNU C Compiler (gcc)] -> found 0 issues (skipped 0 duplicates)
[GNU C Compiler (gcc)] Skipping post processing
[GNU C Compiler (gcc)] No filter has been set, publishing all 0 issues
[Clang (LLVM based)] Sleeping for 5 seconds due to JENKINS-32191...
[Clang (LLVM based)] Parsing console log (workspace: '/Users/jenkins/workspace/ESP_QuickMemOcsm/7.4/OpenCSM/pyOCSM/DARWIN64')
[Clang (LLVM based)] Successfully parsed console log
[Clang (LLVM based)] -> found 0 issues (skipped 0 duplicates)
[Clang (LLVM based)] Skipping post processing
[Clang (LLVM based)] No filter has been set, publishing all 0 issues
[Static Analysis] Using reference build 'ESP_QuickMemOcsm/CASREV=7.4,ESP_ARCH=DARWIN64,buildnode=macys #2' to compute new, fixed, and outstanding issues
[Static Analysis] Issues delta (vs. reference build): outstanding: 0, new: 0, fixed: 0
[Static Analysis] Evaluating quality gates
[Static Analysis] -> PASSED - Total (any severity): 0 - Quality QualityGate: 1
[Static Analysis] -> All quality gates have been passed
[Static Analysis] Health report is disabled - skipping
[Static Analysis] Created analysis result for 0 issues (found 0 new issues, fixed 0 issues)
[Static Analysis] Attaching ResultAction with ID 'analysis' to run 'ESP_QuickMemOcsm/CASREV=7.4,ESP_ARCH=DARWIN64,buildnode=macys #3'.
[Checks API] No suitable checks publisher found.
[PostBuildScript] - [INFO] Executing post build scripts.
[PostBuildScript] - [INFO] build step #0 should only be executed on MATRIX
[WS-CLEANUP] Deleting project workspace...
[WS-CLEANUP] done
Finished: SUCCESS