Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Could not load the Qt platform plugin "xcb" #308

Open
franky180 opened this issue Nov 30, 2023 · 5 comments
Open

Could not load the Qt platform plugin "xcb" #308

franky180 opened this issue Nov 30, 2023 · 5 comments

Comments

@franky180
Copy link

franky180 commented Nov 30, 2023

Running opengate_tests leads to the following error message. How do I resolve that (reinstalling opengate_core and opengate didn't work)?
It used to work and suddenly stopped to do so, no idea why.

Running: test007_volumes.py                               OK     3.6 s     /home/user/opengate_env/lib/python3.11/site-packages/opengate/tests/../tests/log/test007_volumes.py.log
Importing opengate (thread 982451) ... done
Importing opengate (thread 982486) ... Importing opengate (thread 982524) ... done
Simulation: create RunManager (single thread)
Simulation: initialize Geometry
Simulation: initialize Physics
Simulation: initialize Source
Simulation: initialize Actors
Simulation: initialize G4RunManager
Simulation: check volumes overlap
--------------------------------------------------------------------------------
Simulation: START (in a new process)
Simulation: STOP. Run: 1. Time: 7.3 seconds.
--------------------------------------------------------------------------------
done
QObject::moveToThread: Current thread (0x38f2350) is not the object's thread (0x11bed30).
Cannot move to target thread (0x38f2350)

qt.qpa.plugin: Could not load the Qt platform plugin "xcb" in "/home/user/opengate_env/lib/python3.11/site-packages/opengate_core/plugins" even though it was found.
This application failed to start because no Qt platform plugin could be initialized. Reinstalling the application may fix this problem.

Available platform plugins are: eglfs, linuxfb, minimal, minimalegl, offscreen, vnc, xcb, wayland-egl, wayland, wayland-xcomposite-egl, wayland-xcomposite-glx, webgl.

Aborted (core dumped)
/usr/lib/python3.11/multiprocessing/resource_tracker.py:254: UserWarning: resource_tracker: There appear to be 1 leaked semaphore objects to clean up at shutdown
  warnings.warn('resource_tracker: There appear to be %d '
Running: test008_dose_actor.py                            FAILED !    18.0 s     /home/user/opengate_env/lib/python3.11/site-packages/opengate/tests/../tests/log/test008_dose_actor.py.log
@nkrah
Copy link
Collaborator

nkrah commented Dec 13, 2023

Hey,
sorry for not answering earlier. We are pushing hard right now to restructure the code and to implement a series of new features.

To understand the problem you observe, we need some extra information:
What operating system are you on?
Which version of GATE are you using?
Have you installed via pip install, or via a developer install?

opengate_tests is a convenience binary which loops over all eligible tests. From your output, it seems that test008 fails. Can you run that test separately please and report the output?

To understand better: does the loop of tests triggered by opengate_tests actually stop at the indicated position or is this just the portion you posted?

Part of the output you get is related to Qt, i.e. a visualization engine, but the tests you are running at that moment do not use any visualization. Have you modified the tests, e.g. activated visualization via sim.visu=True?

@franky180
Copy link
Author

franky180 commented Dec 13, 2023

Hey no worries, I follow the changes here on GitHub with great interest and see the process of restructuring the code implementation.

System configuration:

I'm using a virtual server running Ubuntu 22.04.3 LTS, 2 physical processors, 16 cores, 16 threads, Intel(R) Xeon(R) Gold 6148 CPU @ 2.40 GHz, 32 GB RAM.

GATE version:

Gate version 10.0b6

See opengate_info
**test:**~/opengate_env/lib/python3.11/site-packages/opengate$ opengate_info
Importing opengate (thread 342364) ... done
Python version   3.11.6 (main, Oct 23 2023, 22:48:54) [GCC 11.4.0]
Platform         linux
Site package     /home/opengate_env/lib/python3.11/site-packages
Geant4 version   geant4-11-01-patch-01 [MT]
Geant4 MT        True
Geant4 GDML      True
Geant4 date      (10-February-2023)
Geant4 data      /home/opengate_env/lib/python3.11/site-packages/opengate_core/geant4_data
ITK version      5.2.1
GATE version     10.0b6
GATE folder      /home/opengate_env/lib/python3.11/site-packages/opengate
GATE date        2023-11-03T14:05:19 (pypi)

Have you installed via pip install, or via a developer install?

I followed the instructions of @tbaudier in this issue: #245 (comment)_ using one of the latest dist files of the scheduled CI runs (don't remember which one exactly). I diid this because the regular pip installation process didn't work for some reason.

Can you run that test separately please and report the output?

Sure thing, see below. It results in the same error namely Aborted (core dumped).

See full log for python test0008_dose_actor.py
test:~/opengate_env/lib/python3.11/site-packages/opengate/tests/src$ python test008_dose_actor.py 
Importing opengate (thread 360409) ... done
Importing opengate (thread 360444) ... done
Importing opengate (thread 360482) ... done
Simulation: create RunManager (single thread)
Simulation: initialize Geometry
Simulation: initialize Physics
Simulation: initialize Source
Simulation: initialize Actors
Simulation: initialize G4RunManager
Simulation: check volumes overlap
--------------------------------------------------------------------------------
Simulation: START (in a new process)
Simulation: STOP. Run: 1. Time: 7.3 seconds.
--------------------------------------------------------------------------------
Runs      1
Events    49945
Tracks    1361355
Step      3278176
Init      0.622728 	622.728 ms 
Duration  8.506152 	8.50615 s  
PPS       5872
TPS       160044
SPS       385389
start     Wed Dec 13 12:35:00 2023
stop      Wed Dec 13 12:35:09 2023
Sim start 0 ps 
Sim end   1 s  
Threads   1
Track types: {'Ar40': 2, 'B10': 27, 'B11': 53, 'B12': 3, 'B13': 1, 'Be10': 5, 'Be7': 2, 'Be8': 168, 'Be9': 6, 'C10': 3, 'C11': 21, 'C12': 737, 'C13': 237, 'C14': 138, 'F15': 1, 'F16': 3, 'He3': 41, 'Li5': 1, 'Li7': 1, 'N12': 2, 'N13': 56, 'N14': 440, 'N15': 535, 'Ne20': 1, 'O14': 18, 'O15': 250, 'O16': 2251, 'O17': 1, 'O18': 2, 'alpha': 833, 'deuteron': 292, 'e+': 23, 'e-': 1289538, 'gamma': 6934, 'neutron': 2201, 'proton': 56476, 'triton': 52}
DoseActor "dose": dim=[99, 99, 99] spacing=[2.0, 2.0, 2.0] /home/opengate_env/lib/python3.11/site-packages/opengate/tests/src/../output/test008-edep.mhd tr=[2.0, 3.0, -2.0]
Runs:         1 1 
Events:       49945 50000 : -0.11 %  (tol = 11.00 %)
Tracks:       1361355 1340714 : +1.54 %  (tol = 11.00 %)
Steps:        3278176 3021614 : +8.49 %  (tol = 11.00 %)
PPS:          5871.6 5160.9 : +13.8%    speedup = x1.1
TPS:          160043.6 138386.6 : +15.6%    speedup = x1.2
SPS:          385388.8 311886.6 : +23.6%    speedup = x1.2
Tracks      : {'Ar40': 2, 'B10': 27, 'B11': 53, 'B12': 3, 'B13': 1, 'Be10': 5, 'Be7': 2, 'Be8': 168, 'Be9': 6, 'C10': 3, 'C11': 21, 'C12': 737, 'C13': 237, 'C14': 138, 'F15': 1, 'F16': 3, 'He3': 41, 'Li5': 1, 'Li7': 1, 'N12': 2, 'N13': 56, 'N14': 440, 'N15': 535, 'Ne20': 1, 'O14': 18, 'O15': 250, 'O16': 2251, 'O17': 1, 'O18': 2, 'alpha': 833, 'deuteron': 292, 'e+': 23, 'e-': 1289538, 'gamma': 6934, 'neutron': 2201, 'proton': 56476, 'triton': 52}
Tracks (ref): {}
Tracks vs track_types : 1361355 1361355

Difference for EDEP
Images with same size/spacing/origin/dir ? True
Image1: [99 99 99] [2. 2. 2.] [ -96. -95. -100.]
Image2: [99 99 99] [2. 2. 2.] [ -96. -95. -100.]
Img sums 1995606.0 vs 1991147.125 : 0.22 % (tol 1.00 %)
Image1: [99 99 99] [2. 2. 2.] [ -96. -95. -100.] /home/opengate_env/lib/python3.11/site-packages/opengate/tests/src/../data/gate/gate_test008_dose_actor/output/output-Edep.mhd
Image2: [99 99 99] [2. 2. 2.] [ -96. -95. -100.] /home/opengate_env/lib/python3.11/site-packages/opengate/tests/src/../output/test008-edep.mhd
Image diff computed on 970299/970299
SAD (per event/total): 7.68 % (tolerance is 13.00 %)
QObject::moveToThread: Current thread (0x9b148c0) is not the object's thread (0x820dff0).
Cannot move to target thread (0x9b148c0)

qt.qpa.plugin: Could not load the Qt platform plugin "xcb" in "/home/opengate_env/lib/python3.11/site-packages/opengate_core/plugins" even though it was found.
This application failed to start because no Qt platform plugin could be initialized. Reinstalling the application may fix this problem.

Available platform plugins are: eglfs, linuxfb, minimal, minimalegl, offscreen, vnc, xcb, wayland-egl, wayland, wayland-xcomposite-egl, wayland-xcomposite-glx, webgl.

Aborted (core dumped)

Does the loop of tests triggered by opengate_tests actually stop at the indicated position or is this just the portion you posted?

I just posted the corresponding part of the output as I figured everything else would be too long. For the sake of completeness I will attach the full opengate_tests output below. There are multiple tests that result in the same error message.

See full log of opengate_tests. Attention: super long
test:~/opengate_env/lib/python3.11/site-packages/opengate$ opengate_tests
Importing opengate (thread 342400) ... done
Look for tests in: /home/opengate_env/lib/python3.11/site-packages/opengate/tests/../tests/src
Ignoring: test039_hits_memory_check_mp_wip.py      (Work In Progress) 
Ignoring: test013_phys_lists_2_wip.py              (Work In Progress) 
Ignoring: test060_phsp_source_particlename_fromphs_particlename_wip.py (Work In Progress) 
Ignoring: test013_phys_lists_5_wip.py              (Work In Progress) 
Ignoring: test013_phys_lists_3_wip.py              (Work In Progress) 
Ignoring: test018_pet_wip.py                       (Work In Progress) 
Ignoring: test045_speedup_all_wip.py               (Work In Progress) 
Ignoring: test043_garf_training_dataset_full_wip.py (Work In Progress) 
Ignoring: test024_py_actor_wip.py                  (Work In Progress) 
Ignoring: test021_voxel_source_old_wip.py          (Work In Progress) 
Running 136 tests
----------------------------------------------------------------------
Running: test001_g4threevector.py                         OK     3.2 s     /home/opengate_env/lib/python3.11/site-packages/opengate/tests/../tests/log/test001_g4threevector.py.log
Running: test002_g4string.py                              OK     3.2 s     /home/opengate_env/lib/python3.11/site-packages/opengate/tests/../tests/log/test002_g4string.py.log
Running: test003_g4material.py                            OK     3.2 s     /home/opengate_env/lib/python3.11/site-packages/opengate/tests/../tests/log/test003_g4material.py.log
Running: test004_simple.py                                OK     5.9 s     /home/opengate_env/lib/python3.11/site-packages/opengate/tests/../tests/log/test004_simple.py.log
Running: test004_simple_mt.py                             OK    15.7 s     /home/opengate_env/lib/python3.11/site-packages/opengate/tests/../tests/log/test004_simple_mt.py.log
Running: test004_simple_subprocess.py                     OK    11.8 s     /home/opengate_env/lib/python3.11/site-packages/opengate/tests/../tests/log/test004_simple_subprocess.py.log
Running: test004_simulation_stats_actor.py                OK     5.3 s     /home/opengate_env/lib/python3.11/site-packages/opengate/tests/../tests/log/test004_simulation_stats_actor.py.log
Running: test005_proton.py                                OK     5.7 s     /home/opengate_env/lib/python3.11/site-packages/opengate/tests/../tests/log/test005_proton.py.log
Running: test006_runs.py                                  OK     4.6 s     /home/opengate_env/lib/python3.11/site-packages/opengate/tests/../tests/log/test006_runs.py.log
Running: test007_volumes.py                               OK     9.4 s     /home/opengate_env/lib/python3.11/site-packages/opengate/tests/../tests/log/test007_volumes.py.log
Importing opengate (thread 342912) ... done
Importing opengate (thread 343065) ... Importing opengate (thread 343103) ... done
Simulation: create RunManager (single thread)
Simulation: initialize Geometry
Simulation: initialize Physics
Simulation: initialize Source
Simulation: initialize Actors
Simulation: initialize G4RunManager
Simulation: check volumes overlap
--------------------------------------------------------------------------------
Simulation: START (in a new process)
Simulation: STOP. Run: 1. Time: 7.4 seconds.
--------------------------------------------------------------------------------
done
QObject::moveToThread: Current thread (0x9b23b00) is not the object's thread (0x98a3f40).
Cannot move to target thread (0x9b23b00)

qt.qpa.plugin: Could not load the Qt platform plugin "xcb" in "/home/opengate_env/lib/python3.11/site-packages/opengate_core/plugins" even though it was found.
This application failed to start because no Qt platform plugin could be initialized. Reinstalling the application may fix this problem.

Available platform plugins are: eglfs, linuxfb, minimal, minimalegl, offscreen, vnc, xcb, wayland-egl, wayland, wayland-xcomposite-egl, wayland-xcomposite-glx, webgl.

Aborted (core dumped)
/usr/lib/python3.11/multiprocessing/resource_tracker.py:254: UserWarning: resource_tracker: There appear to be 1 leaked semaphore objects to clean up at shutdown
warnings.warn('resource_tracker: There appear to be %d '
Running: test008_dose_actor.py FAILED ! 27.3 s /home/opengate_env/lib/python3.11/site-packages/opengate/tests/../tests/log/test008_dose_actor.py.log
Running: test008_geometry_dose_grid.py OK 8.2 s /home/opengate_env/lib/python3.11/site-packages/opengate/tests/../tests/log/test008_geometry_dose_grid.py.log
Importing opengate (thread 343227) ... done
Number of volumes: 3
name: world
size: [1000.0, 1000.0, 1000.0]
mother: None
material: G4_AIR
translation: [0, 0, 0]
color: [1, 1, 1, 1]
rotation: [[1. 0. 0.]
[0. 1. 0.]
[0. 0. 1.]]
build_physical_volume: True
repeat: None

name: fake
size: [400.0, 400.0, 400.0]
mother: world
material: G4_AIR
translation: [0, 0, 0]
color: [1, 0, 1, 1]
rotation: [[ 1. 0. 0. ]
[ 0. 0.93969262 -0.34202014]
[ 0. 0.34202014 0.93969262]]
build_physical_volume: True
repeat: None

name: patient
mother: fake
material: G4_AIR
translation: [0, 0, 0]
color: [1, 1, 1, 1]
rotation: [[1. 0. 0.]
[0. 1. 0.]
[0. 0. 1.]]
build_physical_volume: True
voxel_materials: [[-2000, -900.0, 'G4_AIR'], [-900.0, -100.0, 'Lung'], [-100.0, 0.0, 'G4_ADIPOSE_TISSUE_ICRP'], [0.0, 300.0, 'G4_TISSUE_SOFT_ICRP'], [300.0, 800.0, 'G4_B-100_BONE'], [800.0, 6000.0, 'G4_BONE_COMPACT_ICRU']]
image: /home/opengate_env/lib/python3.11/site-packages/opengate/tests/src/../data/patient-4mm.mhd
dump_label_image: /home/opengate_env/lib/python3.11/site-packages/opengate/tests/src/../output/test009_label.mhd

Importing opengate (thread 343262) ... Importing opengate (thread 343300) ... done
Simulation: create RunManager (single thread)
Simulation: initialize Geometry
Simulation: initialize Physics
Simulation: initialize Source
Simulation: initialize Actors
Simulation: initialize G4RunManager
Simulation: check volumes overlap
Simulation: apply G4 command '/tracking/verbose 0'

Simulation: START (in a new process)
Simulation: STOP. Run: 1. Time: 4.2 seconds.

done
QObject::moveToThread: Current thread (0x8c8e320) is not the object's thread (0x735c310).
Cannot move to target thread (0x8c8e320)

qt.qpa.plugin: Could not load the Qt platform plugin "xcb" in "/home/opengate_env/lib/python3.11/site-packages/opengate_core/plugins" even though it was found.
This application failed to start because no Qt platform plugin could be initialized. Reinstalling the application may fix this problem.

Available platform plugins are: eglfs, linuxfb, minimal, minimalegl, offscreen, vnc, xcb, wayland-egl, wayland, wayland-xcomposite-egl, wayland-xcomposite-glx, webgl.

Aborted (core dumped)
/usr/lib/python3.11/multiprocessing/resource_tracker.py:254: UserWarning: resource_tracker: There appear to be 1 leaked semaphore objects to clean up at shutdown
warnings.warn('resource_tracker: There appear to be %d '
Running: test009_voxels.py FAILED ! 20.3 s /home/opengate_env/lib/python3.11/site-packages/opengate/tests/../tests/log/test009_voxels.py.log
Importing opengate (thread 343358) ... done
tol = 3.1207545372303814e+17 g/cm3
mat : 74 materials
build Air_0
build Lung_1
build Lung_2
build Lung_3
build Lung_4
build Lung_5
build Lung_6
build Lung_7
build Lung_8
build Lung_9
build Lung_10
build Lung_11
build Lung_12
build Lung_13
build Lung_14
build Lung_15
build Lung_16
build Lung_17
build Lung_18
build AT_AG_SI1_19
build AT_AG_SI2_20
build AT_AG_SI3_21
build AT_AG_SI4_22
build AT_AG_SI5_23
build SoftTissus_24
build SoftTissus_25
build ConnectiveTissue_26
build Marrow_Bone01_27
build Marrow_Bone02_28
build Marrow_Bone02_29
build Marrow_Bone03_30
build Marrow_Bone03_31
build Marrow_Bone04_32
build Marrow_Bone04_33
build Marrow_Bone05_34
build Marrow_Bone05_35
build Marrow_Bone06_36
build Marrow_Bone06_37
build Marrow_Bone07_38
build Marrow_Bone07_39
build Marrow_Bone08_40
build Marrow_Bone08_41
build Marrow_Bone09_42
build Marrow_Bone09_43
build Marrow_Bone10_44
build Marrow_Bone10_45
build Marrow_Bone11_46
build Marrow_Bone11_47
build Marrow_Bone12_48
build Marrow_Bone12_49
build Marrow_Bone13_50
build Marrow_Bone13_51
build Marrow_Bone14_52
build Marrow_Bone14_53
build Marrow_Bone15_54
build Marrow_Bone15_55
build AmalgamTooth_56
build AmalgamTooth_57
build AmalgamTooth_58
build AmalgamTooth_59
build AmalgamTooth_60
build AmalgamTooth_61
build AmalgamTooth_62
build AmalgamTooth_63
build MetallImplants_64
build MetallImplants_65
build MetallImplants_66
build MetallImplants_67
build MetallImplants_68
build MetallImplants_69
build MetallImplants_70
build MetallImplants_71
build MetallImplants_72
build MetallImplants_73
List of material in /home/opengate_env/lib/python3.11/site-packages/opengate/tests/src/../output/test009_materials.txt
Check materials
check Air_0
check Lung_1
check Lung_2
check Lung_3
check Lung_4
check Lung_5
check Lung_6
check Lung_7
check Lung_8
check Lung_9
check Lung_10
check Lung_11
check Lung_12
check Lung_13
check Lung_14
check Lung_15
check Lung_16
check Lung_17
check Lung_18
check AT_AG_SI1_19
check AT_AG_SI2_20
check AT_AG_SI3_21
check AT_AG_SI4_22
check AT_AG_SI5_23
check SoftTissus_24
check SoftTissus_25
check ConnectiveTissue_26
check Marrow_Bone01_27
check Marrow_Bone02_28
check Marrow_Bone02_29
check Marrow_Bone03_30
check Marrow_Bone03_31
check Marrow_Bone04_32
check Marrow_Bone04_33
check Marrow_Bone05_34
check Marrow_Bone05_35
check Marrow_Bone06_36
check Marrow_Bone06_37
check Marrow_Bone07_38
check Marrow_Bone07_39
check Marrow_Bone08_40
check Marrow_Bone08_41
check Marrow_Bone09_42
check Marrow_Bone09_43
check Marrow_Bone10_44
check Marrow_Bone10_45
check Marrow_Bone11_46
check Marrow_Bone11_47
check Marrow_Bone12_48
check Marrow_Bone12_49
check Marrow_Bone13_50
check Marrow_Bone13_51
check Marrow_Bone14_52
check Marrow_Bone14_53
check Marrow_Bone15_54
check Marrow_Bone15_55
check AmalgamTooth_56
check AmalgamTooth_57
check AmalgamTooth_58
check AmalgamTooth_59
check AmalgamTooth_60
check AmalgamTooth_61
check AmalgamTooth_62
check AmalgamTooth_63
check MetallImplants_64
check MetallImplants_65
check MetallImplants_66
check MetallImplants_67
check MetallImplants_68
check MetallImplants_69
check MetallImplants_70
check MetallImplants_71
check MetallImplants_72
check MetallImplants_73
Number of volumes: 3
name: world
size: [1000.0, 1000.0, 1000.0]
mother: None
material: G4_AIR
translation: [0, 0, 0]
color: [1, 1, 1, 1]
rotation: [[1. 0. 0.]
[0. 1. 0.]
[0. 0. 1.]]
build_physical_volume: True
repeat: None

name: fake
size: [400.0, 400.0, 400.0]
mother: world
material: G4_AIR
translation: [0, 0, 0]
color: [1, 0, 1, 1]
rotation: [[ 1. -0. 0. ]
[ 0. 0.93969262 0.34202014]
[-0. -0.34202014 0.93969262]]
build_physical_volume: True
repeat: None

name: patient
mother: fake
material: G4_AIR
translation: [0, 0, 0]
color: [1, 1, 1, 1]
rotation: [[1. 0. 0.]
[0. 1. 0.]
[0. 0. 1.]]
build_physical_volume: True
voxel_materials: [[-1050.0, -950.0, 'Air_0'], [-950.0, -901.4421989900839, 'Lung_1'], [-901.4421989900839, -852.8843979801677, 'Lung_2'], [-852.8843979801677, -804.3265969702516, 'Lung_3'], [-804.3265969702516, -755.7687959603354, 'Lung_4'], [-755.7687959603354, -707.2109949504193, 'Lung_5'], [-707.2109949504193, -658.6531939405032, 'Lung_6'], [-658.6531939405032, -610.0953929305871, 'Lung_7'], [-610.0953929305871, -561.5375919206709, 'Lung_8'], [-561.5375919206709, -512.9797909107548, 'Lung_9'], [-512.9797909107548, -464.42198990083864, 'Lung_10'], [-464.42198990083864, -415.8641888909225, 'Lung_11'], [-415.8641888909225, -367.30638788100646, 'Lung_12'], [-367.30638788100646, -318.7485868710903, 'Lung_13'], [-318.7485868710903, -270.19078586117416, 'Lung_14'], [-270.19078586117416, -221.63298485125802, 'Lung_15'], [-221.63298485125802, -173.07518384134187, 'Lung_16'], [-173.07518384134187, -124.51738283142572, 'Lung_17'], [-124.51738283142572, -120, 'Lung_18'], [-120.0, -82.0, 'AT_AG_SI1_19'], [-82.0, -52.0, 'AT_AG_SI2_20'], [-52.0, -22.0, 'AT_AG_SI3_21'], [-22.0, 8.0, 'AT_AG_SI4_22'], [8.0, 19.0, 'AT_AG_SI5_23'], [19.0, 65.0352792303822, 'SoftTissus_24'], [65.0352792303822, 80, 'SoftTissus_25'], [80.0, 120.0, 'ConnectiveTissue_26'], [120.0, 200.0, 'Marrow_Bone01_27'], [200.0, 284.40315315315297, 'Marrow_Bone02_28'], [284.40315315315297, 300, 'Marrow_Bone02_29'], [300.0, 384.40315315315326, 'Marrow_Bone03_30'], [384.40315315315326, 400, 'Marrow_Bone03_31'], [400.0, 484.40315315315326, 'Marrow_Bone04_32'], [484.40315315315326, 500, 'Marrow_Bone04_33'], [500.0, 584.403153153153, 'Marrow_Bone05_34'], [584.403153153153, 600, 'Marrow_Bone05_35'], [600.0, 684.4031531531532, 'Marrow_Bone06_36'], [684.4031531531532, 700, 'Marrow_Bone06_37'], [700.0, 784.4031531531532, 'Marrow_Bone07_38'], [784.4031531531532, 800, 'Marrow_Bone07_39'], [800.0, 884.4031531531532, 'Marrow_Bone08_40'], [884.4031531531532, 900, 'Marrow_Bone08_41'], [900.0, 984.4031531531532, 'Marrow_Bone09_42'], [984.4031531531532, 1000, 'Marrow_Bone09_43'], [1000.0, 1084.4031531531532, 'Marrow_Bone10_44'], [1084.4031531531532, 1100, 'Marrow_Bone10_45'], [1100.0, 1184.403153153153, 'Marrow_Bone11_46'], [1184.403153153153, 1200, 'Marrow_Bone11_47'], [1200.0, 1284.403153153153, 'Marrow_Bone12_48'], [1284.403153153153, 1300, 'Marrow_Bone12_49'], [1300.0, 1384.4031531531532, 'Marrow_Bone13_50'], [1384.4031531531532, 1400, 'Marrow_Bone13_51'], [1400.0, 1484.4031531531532, 'Marrow_Bone14_52'], [1484.4031531531532, 1500, 'Marrow_Bone14_53'], [1500.0, 1584.216105605857, 'Marrow_Bone15_54'], [1584.216105605857, 1640, 'Marrow_Bone15_55'], [1640.0, 1723.7520938023451, 'AmalgamTooth_56'], [1723.7520938023451, 1807.50418760469, 'AmalgamTooth_57'], [1807.50418760469, 1891.2562814070352, 'AmalgamTooth_58'], [1891.2562814070352, 1975.0083752093801, 'AmalgamTooth_59'], [1975.0083752093801, 2058.760469011725, 'AmalgamTooth_60'], [2058.760469011725, 2142.5125628140704, 'AmalgamTooth_61'], [2142.5125628140704, 2226.2646566164153, 'AmalgamTooth_62'], [2226.2646566164153, 2300, 'AmalgamTooth_63'], [2300.0, 2383.752093802345, 'MetallImplants_64'], [2383.752093802345, 2467.5041876046903, 'MetallImplants_65'], [2467.5041876046903, 2551.256281407035, 'MetallImplants_66'], [2551.256281407035, 2635.0083752093806, 'MetallImplants_67'], [2635.0083752093806, 2718.7604690117255, 'MetallImplants_68'], [2718.7604690117255, 2802.5125628140704, 'MetallImplants_69'], [2802.5125628140704, 2886.264656616416, 'MetallImplants_70'], [2886.264656616416, 2970.0167504187607, 'MetallImplants_71'], [2970.0167504187607, 3000, 'MetallImplants_72'], [3000.0, 3001.0, 'MetallImplants_73']]
image: /home/opengate_env/lib/python3.11/site-packages/opengate/tests/src/../data/patient-4mm.mhd
dump_label_image: /home/opengate_env/lib/python3.11/site-packages/opengate/tests/src/../output/test009_hu_label.mhd

Simulation: create RunManager (single thread)
Simulation: initialize Geometry
Simulation: initialize Physics
Simulation: initialize Source
Simulation: initialize Actors
Simulation: initialize G4RunManager
Simulation: check volumes overlap
Simulation: apply G4 command '/tracking/verbose 0'

Simulation: START
Simulation: STOP. Run: 1. Time: 8.1 seconds.

Check stats
Runs 1
Events 9922
Tracks 32187
Step 763935
Init 5.231985 5.23198 s
Duration 3.051217 3.05122 s
PPS 3252
TPS 10549
SPS 250371
start Wed Dec 13 09:20:54 2023
stop Wed Dec 13 09:21:03 2023
Sim start 0 ps
Sim end 0 ps
Threads ?
DoseActor "dose": dim=[99, 99, 99] spacing=[2.0, 2.0, 2.0] /home/opengate_env/lib/python3.11/site-packages/opengate/tests/src/../output/test009_hu-edep.mhd tr=[2.0, 3.0, -2.0]
Check dose
QObject::moveToThread: Current thread (0xe4161a0) is not the object's thread (0x9692c00).
Cannot move to target thread (0xe4161a0)

qt.qpa.plugin: Could not load the Qt platform plugin "xcb" in "/home/opengate_env/lib/python3.11/site-packages/opengate_core/plugins" even though it was found.
This application failed to start because no Qt platform plugin could be initialized. Reinstalling the application may fix this problem.

Available platform plugins are: eglfs, linuxfb, minimal, minimalegl, offscreen, vnc, xcb, wayland-egl, wayland, wayland-xcomposite-egl, wayland-xcomposite-glx, webgl.

Aborted (core dumped)
Running: test009_voxels_hu.py FAILED ! 14.4 s /home/opengate_env/lib/python3.11/site-packages/opengate/tests/../tests/log/test009_voxels_hu.py.log
Importing opengate (thread 343413) ... done
Simulation: create RunManager (single thread)
Simulation: initialize Geometry
Simulation: initialize Physics
Simulation: initialize Source
Simulation: initialize Actors
Simulation: initialize G4RunManager
Simulation: check volumes overlap
Simulation: apply G4 command '/tracking/verbose 0'

Simulation: START
Simulation: STOP. Run: 1. Time: 3.2 seconds.

QObject::moveToThread: Current thread (0x937f790) is not the object's thread (0x8b614c0).
Cannot move to target thread (0x937f790)

qt.qpa.plugin: Could not load the Qt platform plugin "xcb" in "/home/opengate_env/lib/python3.11/site-packages/opengate_core/plugins" even though it was found.
This application failed to start because no Qt platform plugin could be initialized. Reinstalling the application may fix this problem.

Available platform plugins are: eglfs, linuxfb, minimal, minimalegl, offscreen, vnc, xcb, wayland-egl, wayland, wayland-xcomposite-egl, wayland-xcomposite-glx, webgl.

Aborted (core dumped)
Running: test010_generic_source.py FAILED ! 9.3 s /home/opengate_env/lib/python3.11/site-packages/opengate/tests/../tests/log/test010_generic_source.py.log
Importing opengate (thread 343481) ... done
Source size [10.0, 10.0, 40.0]
Simulation: create RunManager (single thread)
Simulation: initialize Geometry
Simulation: initialize Physics
Simulation: initialize Source
Simulation: initialize Actors
Simulation: initialize G4RunManager
Simulation: check volumes overlap

Simulation: START
Simulation: STOP. Run: 1. Time: 12.6 seconds.

QObject::moveToThread: Current thread (0x853e390) is not the object's thread (0x72b0940).
Cannot move to target thread (0x853e390)

qt.qpa.plugin: Could not load the Qt platform plugin "xcb" in "/home/opengate_env/lib/python3.11/site-packages/opengate_core/plugins" even though it was found.
This application failed to start because no Qt platform plugin could be initialized. Reinstalling the application may fix this problem.

Available platform plugins are: eglfs, linuxfb, minimal, minimalegl, offscreen, vnc, xcb, wayland-egl, wayland, wayland-xcomposite-egl, wayland-xcomposite-glx, webgl.

Aborted (core dumped)
Running: test010_generic_source_confine.py FAILED ! 18.8 s /home/opengate_env/lib/python3.11/site-packages/opengate/tests/../tests/log/test010_generic_source_confine.py.log
Running: test010_generic_source_thetaphi.py OK 10.3 s /home/opengate_env/lib/python3.11/site-packages/opengate/tests/../tests/log/test010_generic_source_thetaphi.py.log
Running: test011_mt.py OK 27.5 s /home/opengate_env/lib/python3.11/site-packages/opengate/tests/../tests/log/test011_mt.py.log
Importing opengate (thread 343608) ... done
Number of volumes: 3
name: world
size: [1000.0, 1000.0, 1000.0]
mother: None
material: G4_AIR
translation: [0, 0, 0]
color: [1, 1, 1, 1]
rotation: [[1. 0. 0.]
[0. 1. 0.]
[0. 0. 1.]]
build_physical_volume: True
repeat: None

name: fake
size: [400.0, 400.0, 400.0]
mother: world
material: G4_AIR
translation: [10.0, 20.0, 30.0]
color: [1, 0, 1, 1]
rotation: [[ 1. 0. 0. ]
[ 0. 0.98480775 -0.17364818]
[ 0. 0.17364818 0.98480775]]
build_physical_volume: True
repeat: None

name: waterbox
size: [100.0, 100.0, 100.0]
mother: fake
material: G4_WATER
translation: [-30.0, -20.0, -10.0]
color: [0, 0, 1, 1]
rotation: [[ 0.93969262 0. 0.34202014]
[ 0. 1. 0. ]
[-0.34202014 0. 0.93969262]]
build_physical_volume: True
repeat: None

Simulation: create MTRunManager with 2 threads
Simulation: initialize Geometry
Simulation: initialize Physics
Simulation: initialize Source
Simulation: initialize Actors
Simulation: initialize G4RunManager
Simulation: check volumes overlap
Simulation: apply G4 command '/run/verbose 2'

Simulation: START
G4WT0 > ### Run 0 starts on worker thread 0.
G4WT1 > ### Run 0 starts on worker thread 1.
G4WT0 > Thread-local run terminated.
G4WT0 > Run Summary
G4WT0 > Run Aborted after 25108 events processed.
G4WT0 > User=10.020000s Real=3.346915s Sys=0.020000s [Cpu=300.0%]
G4WT1 > Thread-local run terminated.
G4WT1 > Run Summary
G4WT1 > Run Aborted after 25333 events processed.
G4WT1 > User=10.130000s Real=3.399457s Sys=0.020000s [Cpu=298.6%]
Simulation: STOP. Run: 1. Time: 11.8 seconds.

G4WT0 > Destroying WorkerRunManager (0x7fdc3c0438e0)
G4WT0 > G4 kernel has come to Quit state.
G4WT1 > Destroying WorkerRunManager (0x7fdc340438e0)
G4WT1 > G4 kernel has come to Quit state.
G4WT0 > UserDetectorConstruction deleted.
G4WT0 > UserPhysicsList deleted.
G4WT1 > UserDetectorConstruction deleted.
G4WT1 > UserPhysicsList deleted.
G4WT1 > UserActionInitialization deleted.
G4WT1 > UserWorkerInitialization deleted.
G4WT1 > UserWorkerThreadInitialization deleted.
G4WT1 > UserRunAction deleted.
G4WT1 > UserPrimaryGenerator deleted.
G4WT1 > RunManager is deleting RunManagerKernel.
G4WT0 > UserActionInitialization deleted.
G4WT0 > UserWorkerInitialization deleted.
G4WT0 > UserWorkerThreadInitialization deleted.
G4WT0 > UserRunAction deleted.
G4WT0 > UserPrimaryGenerator deleted.
G4WT0 > RunManager is deleting RunManagerKernel.
G4WT1 > G4SDManager deleted.
G4WT0 > G4SDManager deleted.
G4WT1 > EventManager deleted.
G4WT0 > EventManager deleted.
G4WT1 > Units table cleared.
G4WT0 > Units table cleared.
G4WT1 > TransportationManager deleted.
G4WT1 > Total navigation history collections cleaned: 14
G4WT0 > TransportationManager deleted.
G4WT1 > ================== Deleting memory pools ===================
G4WT1 > Pool ID '20G4NavigationLevelRep', size : 0.0202 MB
G4WT0 > Total navigation history collections cleaned: 12
G4WT1 > Pool ID '24G4ReferenceCountedHandleIvE', size : 0.000961 MB
G4WT1 > Pool ID '17G4DynamicParticle', size : 0.0961 MB
G4WT0 > ================== Deleting memory pools ===================
G4WT0 > Pool ID '20G4NavigationLevelRep', size : 0.0173 MB
G4WT0 > Pool ID '24G4ReferenceCountedHandleIvE', size : 0.000961 MB
G4WT0 > Pool ID '17G4DynamicParticle', size : 0.131 MB
G4WT1 > Pool ID '7G4Track', size : 0.191 MB
G4WT1 > Pool ID '7G4Event', size : 0.000961 MB
G4WT0 > Pool ID '7G4Track', size : 0.261 MB
G4WT1 > Pool ID '15G4PrimaryVertex', size : 0.000961 MB
G4WT1 > Pool ID '17G4PrimaryParticle', size : 0.000961 MB
G4WT1 > Pool ID '15G4HCofThisEvent', size : 0.000961 MB
G4WT1 > Pool ID '18G4TouchableHistory', size : 0.00192 MB
G4WT1 > Pool ID '15G4CountedObjectIvE', size : 0.000961 MB
G4WT1 > Pool ID '17G4ReactionProduct', size : 0.000961 MB
G4WT1 > Pool ID '10G4Fragment', size : 0.000961 MB
G4WT1 > Number of memory pools allocated: 12; of which, static: 0
G4WT1 > Dynamic pools deleted: 12 / Total memory freed: 0.32 MB
G4WT1 > ============================================================
G4WT1 > G4Allocator objects are deleted.
G4WT1 > Thread-local UImanager is to be deleted.
G4WT1 > There should not be any thread-local G4cout/G4cerr hereafter.
G4WT0 > Pool ID '7G4Event', size : 0.000961 MB
G4WT0 > Pool ID '15G4PrimaryVertex', size : 0.000961 MB
G4WT0 > Pool ID '17G4PrimaryParticle', size : 0.000961 MB
G4WT0 > Pool ID '15G4HCofThisEvent', size : 0.000961 MB
G4WT0 > Pool ID '18G4TouchableHistory', size : 0.00192 MB
G4WT0 > Pool ID '15G4CountedObjectIvE', size : 0.000961 MB
G4WT0 > Pool ID '10G4Fragment', size : 0.000961 MB
G4WT0 > Pool ID '17G4ReactionProduct', size : 0.000961 MB
G4WT0 > Number of memory pools allocated: 12; of which, static: 0
G4WT0 > Dynamic pools deleted: 12 / Total memory freed: 0.42 MB
G4WT0 > ============================================================
G4WT0 > G4Allocator objects are deleted.
G4WT0 > Thread-local UImanager is to be deleted.
G4WT0 > There should not be any thread-local G4cout/G4cerr hereafter.
UImanager deleted.
StateManager deleted.
RunManagerKernel is deleted. Good bye :)
RunManager is deleted.
UImanager deleted.
StateManager deleted.
RunManagerKernel is deleted. Good bye :)
RunManager is deleted.
QObject::moveToThread: Current thread (0xa7a2300) is not the object's thread (0xa03adc0).
Cannot move to target thread (0xa7a2300)

qt.qpa.plugin: Could not load the Qt platform plugin "xcb" in "/home/opengate_env/lib/python3.11/site-packages/opengate_core/plugins" even though it was found.
This application failed to start because no Qt platform plugin could be initialized. Reinstalling the application may fix this problem.

Available platform plugins are: eglfs, linuxfb, minimal, minimalegl, offscreen, vnc, xcb, wayland-egl, wayland, wayland-xcomposite-egl, wayland-xcomposite-glx, webgl.

Aborted (core dumped)
Running: test012_mt_dose_actor.py FAILED ! 18.7 s /home/opengate_env/lib/python3.11/site-packages/opengate/tests/../tests/log/test012_mt_dose_actor.py.log
Importing opengate (thread 343785) ... done
Simulation: create RunManager (single thread)
Simulation: initialize Geometry
Simulation: initialize Physics
Simulation: initialize Source
Simulation: initialize Actors
Simulation: initialize G4RunManager
Simulation: (no volumes overlap checking)

Simulation: START
Simulation: STOP. Run: 1. Time: 35.1 seconds.

QObject::moveToThread: Current thread (0x72a81f0) is not the object's thread (0x7fdd500).
Cannot move to target thread (0x72a81f0)

qt.qpa.plugin: Could not load the Qt platform plugin "xcb" in "/home/opengate_env/lib/python3.11/site-packages/opengate_core/plugins" even though it was found.
This application failed to start because no Qt platform plugin could be initialized. Reinstalling the application may fix this problem.

Available platform plugins are: eglfs, linuxfb, minimal, minimalegl, offscreen, vnc, xcb, wayland-egl, wayland, wayland-xcomposite-egl, wayland-xcomposite-glx, webgl.

Aborted (core dumped)
Running: test013_half_life.py FAILED ! 38.3 s /home/opengate_env/lib/python3.11/site-packages/opengate/tests/../tests/log/test013_half_life.py.log
Running: test013_phys_lists_1.py OK 8.9 s /home/opengate_env/lib/python3.11/site-packages/opengate/tests/../tests/log/test013_phys_lists_1.py.log
Running: test013_phys_lists_4.py OK 7.3 s /home/opengate_env/lib/python3.11/site-packages/opengate/tests/../tests/log/test013_phys_lists_4.py.log
Running: test013_phys_lists_6.py OK 6.2 s /home/opengate_env/lib/python3.11/site-packages/opengate/tests/../tests/log/test013_phys_lists_6.py.log
Running: test014_engine_1.py OK 11.7 s /home/opengate_env/lib/python3.11/site-packages/opengate/tests/../tests/log/test014_engine_1.py.log
Running: test014_engine_2.py OK 13.8 s /home/opengate_env/lib/python3.11/site-packages/opengate/tests/../tests/log/test014_engine_2.py.log
Running: test014_engine_3_mt.py OK 22.1 s /home/opengate_env/lib/python3.11/site-packages/opengate/tests/../tests/log/test014_engine_3_mt.py.log
Running: test014_engine_4_mt.py OK 15.7 s /home/opengate_env/lib/python3.11/site-packages/opengate/tests/../tests/log/test014_engine_4_mt.py.log
Running: test015_iec_phantom_1.py OK 9.8 s /home/opengate_env/lib/python3.11/site-packages/opengate/tests/../tests/log/test015_iec_phantom_1.py.log
Importing opengate (thread 344474) ... done
iec_sphere_10mm sources_iec_10mm 0.52 mL 523.60 Bq 1000.00 Bq/mL
iec_sphere_13mm sources_iec_13mm 1.15 mL 230.07 Bq 200.00 Bq/mL
iec_sphere_17mm sources_iec_17mm 2.57 mL 771.73 Bq 300.00 Bq/mL
iec_sphere_22mm sources_iec_22mm 5.58 mL 2230.11 Bq 400.00 Bq/mL
iec_sphere_28mm sources_iec_28mm 11.49 mL 5747.02 Bq 500.00 Bq/mL
iec_sphere_37mm sources_iec_37mm 26.52 mL 15913.11 Bq 600.00 Bq/mL
Total activity is 25415.641647174103 Bq
Simulation: create RunManager (single thread)
Simulation: initialize Geometry
Simulation: initialize Physics
Simulation: initialize Source
Simulation: initialize Actors
Simulation: initialize G4RunManager
Simulation: check volumes overlap

Simulation: START
Simulation: STOP. Run: 1. Time: 2.7 seconds.

QObject::moveToThread: Current thread (0x7faab50) is not the object's thread (0x811eaa0).
Cannot move to target thread (0x7faab50)

qt.qpa.plugin: Could not load the Qt platform plugin "xcb" in "/home/opengate_env/lib/python3.11/site-packages/opengate_core/plugins" even though it was found.
This application failed to start because no Qt platform plugin could be initialized. Reinstalling the application may fix this problem.

Available platform plugins are: eglfs, linuxfb, minimal, minimalegl, offscreen, vnc, xcb, wayland-egl, wayland, wayland-xcomposite-egl, wayland-xcomposite-glx, webgl.

Aborted (core dumped)
Running: test015_iec_phantom_2.py FAILED ! 8.9 s /home/opengate_env/lib/python3.11/site-packages/opengate/tests/../tests/log/test015_iec_phantom_2.py.log
Importing opengate (thread 344528) ... done
Volume = iec_center_cylinder_hole Source = iec_bg1 268.78 mL 26877.58 Bq 100.00 Bq/mL
Volume = iec_interior Source = iec_bg2 10483.10 mL 209661.97 Bq 20.00 Bq/mL
Simulation: create RunManager (single thread)
Simulation: initialize Geometry
Simulation: initialize Physics
Simulation: initialize Source
Simulation: initialize Actors
Simulation: initialize G4RunManager
Simulation: check volumes overlap

Simulation: START
Simulation: STOP. Run: 1. Time: 21.1 seconds.

QObject::moveToThread: Current thread (0xa0b1000) is not the object's thread (0x8bb5c70).
Cannot move to target thread (0xa0b1000)

qt.qpa.plugin: Could not load the Qt platform plugin "xcb" in "/home/opengate_env/lib/python3.11/site-packages/opengate_core/plugins" even though it was found.
This application failed to start because no Qt platform plugin could be initialized. Reinstalling the application may fix this problem.

Available platform plugins are: eglfs, linuxfb, minimal, minimalegl, offscreen, vnc, xcb, wayland-egl, wayland, wayland-xcomposite-egl, wayland-xcomposite-glx, webgl.

Aborted (core dumped)
Running: test015_iec_phantom_3.py FAILED ! 28.8 s /home/opengate_env/lib/python3.11/site-packages/opengate/tests/../tests/log/test015_iec_phantom_3.py.log
Running: test016_bool_volumes.py OK 10.2 s /home/opengate_env/lib/python3.11/site-packages/opengate/tests/../tests/log/test016_bool_volumes.py.log
Importing opengate (thread 344856) ... done
<opengate_core.opengate_core.G4NistManager object at 0x7f6eea35cc30>
name: crystal
size: [10.0, 10.0, 10.0]
mother: AirBox
material: LYSO
translation: None
color: [1, 1, 1, 1]
rotation: [[1. 0. 0.]
[0. 1. 0.]
[0. 0. 1.]]
build_physical_volume: True
repeat: None

[{'name': 'crystal1', 'translation': [10.0, 0.0, 0], 'rotation': array([[1., 0., 0.],
[0., 1., 0.],
[0., 0., 1.]])}, {'name': 'crystal2', 'translation': [2.0, 20.0, 0], 'rotation': array([[1., 0., 0.],
[0., 1., 0.],
[0., 0., 1.]])}, {'name': 'crystal3', 'translation': [-2.0, 40.0, 0], 'rotation': array([[1., 0., 0.],
[0., 1., 0.],
[0., 0., 1.]])}, {'name': 'crystal4', 'translation': [0, 60.0, 0], 'rotation': array([[1., 0., 0.],
[0., 1., 0.],
[0., 0., 1.]])}]
The Dose actor is triggered every time a hit occurs in the (logical volume) "crystal" (and any of its associated repeated physical volumes).
The Dose actor is attached to the first (repeated) crystal, it moves with its coord system.
Simulation: create RunManager (single thread)
Simulation: initialize Geometry
Simulation: initialize Physics
Simulation: initialize Source
Simulation: initialize Actors
Simulation: initialize G4RunManager
Simulation: check volumes overlap

Simulation: START
Simulation: STOP. Run: 1. Time: 1.4 seconds.

QObject::moveToThread: Current thread (0xa00aeb0) is not the object's thread (0xab47060).
Cannot move to target thread (0xa00aeb0)

qt.qpa.plugin: Could not load the Qt platform plugin "xcb" in "/home/opengate_env/lib/python3.11/site-packages/opengate_core/plugins" even though it was found.
This application failed to start because no Qt platform plugin could be initialized. Reinstalling the application may fix this problem.

Available platform plugins are: eglfs, linuxfb, minimal, minimalegl, offscreen, vnc, xcb, wayland-egl, wayland, wayland-xcomposite-egl, wayland-xcomposite-glx, webgl.

Aborted (core dumped)
Running: test017_repeater.py FAILED ! 7.9 s /home/opengate_env/lib/python3.11/site-packages/opengate/tests/../tests/log/test017_repeater.py.log
Importing opengate (thread 344910) ... done
Verbose : 20
Running verbose : 0
Geant4 verbose : False, level = 1
Visualisation : False, verbose level = 1
Visu type : qt
Check overlap : False
Multithreading : no (but available: G4 was compiled with MT)
Random engine : MixMaxRng, seed = 123456789
b'volume_tree_root\n world\n linac\n linac_target_support\n linac_target\n linac_target_support_top\n linac_target_support_bottom\n linac_primary_collimator\n linac_flattening_filter\n linac_flattening_filter_cone_0\n linac_flattening_filter_cone_1\n linac_flattening_filter_cone_2\n linac_flattening_filter_cone_3\n linac_flattening_filter_cone_4\n linac_flattening_filter_cone_5\n linac_ionizing_chamber\n linac_ionizing_chamber_mylar_layer_1\n linac_ionizing_chamber_carbon_layer_1\n linac_ionizing_chamber_mylar_layer_2\n linac_ionizing_chamber_carbon_layer_2\n linac_ionizing_chamber_mylar_layer_3\n linac_ionizing_chamber_carbon_layer_3\n linac_ionizing_chamber_mylar_layer_4\n linac_ionizing_chamber_carbon_layer_4\n linac_ionizing_chamber_mylar_layer_5\n linac_ionizing_chamber_carbon_layer_5\n linac_ionizing_chamber_mylar_layer_6\n linac_ionizing_chamber_carbon_layer_6\n linac_back_scatter_plate\n linac_mirror\n linac_mirror_mylar_layer\n linac_mirror_alu_layer\n phase_space_plane\n'
/process/em/setSecBiasing eBrem linac_target 100 100 MeV
Simulation: create RunManager (single thread)
Simulation: initialize Geometry
Simulation: initialize Physics
Simulation: initialize Source
Simulation: initialize Actors
Simulation: initialize G4RunManager
Simulation: (no volumes overlap checking)
Simulation: apply G4 command '/process/em/setSecBiasing eBrem linac_target 100 100 MeV'

Simulation: START
Simulation: STOP. Run: 1. Time: 11.5 seconds.

QObject::moveToThread: Current thread (0x8dca7d0) is not the object's thread (0x8e33890).
Cannot move to target thread (0x8dca7d0)

qt.qpa.plugin: Could not load the Qt platform plugin "xcb" in "/home/opengate_env/lib/python3.11/site-packages/opengate_core/plugins" even though it was found.
This application failed to start because no Qt platform plugin could be initialized. Reinstalling the application may fix this problem.

Available platform plugins are: eglfs, linuxfb, minimal, minimalegl, offscreen, vnc, xcb, wayland-egl, wayland, wayland-xcomposite-egl, wayland-xcomposite-glx, webgl.

Aborted (core dumped)
Running: test019_linac_phsp.py FAILED ! 14.8 s /home/opengate_env/lib/python3.11/site-packages/opengate/tests/../tests/log/test019_linac_phsp.py.log
Importing opengate (thread 344948) ... done
Verbose : 20
Running verbose : 0
Geant4 verbose : False, level = 1
Visualisation : False, verbose level = 1
Visu type : qt
Check overlap : False
Multithreading : 3 threads
Random engine : MixMaxRng, seed = 123456789
/process/em/setSecBiasing eBrem linac_target 100 100 MeV
Simulation: create MTRunManager with 3 threads
Simulation: initialize Geometry
Simulation: initialize Physics
Simulation: initialize Source
Simulation: initialize Actors
Simulation: initialize G4RunManager
Simulation: (no volumes overlap checking)
Simulation: apply G4 command '/process/em/setSecBiasing eBrem linac_target 100 100 MeV'

Simulation: START
Simulation: STOP. Run: 1. Time: 12.3 seconds.

QObject::moveToThread: Current thread (0x6f19690) is not the object's thread (0x966e400).
Cannot move to target thread (0x6f19690)

qt.qpa.plugin: Could not load the Qt platform plugin "xcb" in "/home/opengate_env/lib/python3.11/site-packages/opengate_core/plugins" even though it was found.
This application failed to start because no Qt platform plugin could be initialized. Reinstalling the application may fix this problem.

Available platform plugins are: eglfs, linuxfb, minimal, minimalegl, offscreen, vnc, xcb, wayland-egl, wayland, wayland-xcomposite-egl, wayland-xcomposite-glx, webgl.

Aborted (core dumped)
Running: test019_linac_phsp_mt.py FAILED ! 17.5 s /home/opengate_env/lib/python3.11/site-packages/opengate/tests/../tests/log/test019_linac_phsp_mt.py.log
Running: test019_linac_phsp_pdgcode.py OK 6.1 s /home/opengate_env/lib/python3.11/site-packages/opengate/tests/../tests/log/test019_linac_phsp_pdgcode.py.log
Importing opengate (thread 345038) ... done
Simulation: create RunManager (single thread)
Simulation: initialize Geometry
Simulation: initialize Physics
Simulation: initialize Source
Simulation: initialize Actors
Simulation: initialize G4RunManager
Simulation: (no volumes overlap checking)

Simulation: START
Thread -1 generate 20000 starting 0 (phsp as n = 184209 entries)
Simulation: STOP. Run: 1. Time: 2.0 seconds.

QObject::moveToThread: Current thread (0x7c913c0) is not the object's thread (0x73780f0).
Cannot move to target thread (0x7c913c0)

qt.qpa.plugin: Could not load the Qt platform plugin "xcb" in "/home/opengate_env/lib/python3.11/site-packages/opengate_core/plugins" even though it was found.
This application failed to start because no Qt platform plugin could be initialized. Reinstalling the application may fix this problem.

Available platform plugins are: eglfs, linuxfb, minimal, minimalegl, offscreen, vnc, xcb, wayland-egl, wayland, wayland-xcomposite-egl, wayland-xcomposite-glx, webgl.

Aborted (core dumped)
Running: test019_linac_phsp_source.py FAILED ! 5.5 s /home/opengate_env/lib/python3.11/site-packages/opengate/tests/../tests/log/test019_linac_phsp_source.py.log
Importing opengate (thread 345076) ... done
source entry start [0.0, 5000.0, 10000.0, 15000.0]
source entry start [0.0, 5000.0, 10000.0, 15000.0]
Simulation: create MTRunManager with 4 threads
Simulation: initialize Geometry
Simulation: initialize Physics
Simulation: initialize Source
Simulation: initialize Actors
Simulation: initialize G4RunManager
Simulation: (no volumes overlap checking)

Simulation: START
Thread 0 generate 5000 starting 0 (phsp as n = 184209 entries)
Thread 1 generate 5000 starting 5000 (phsp as n = 184209 entries)
Thread 2 generate 5000 starting 10000 (phsp as n = 184209 entries)
Thread 3 generate 5000 starting 15000 (phsp as n = 184209 entries)
Simulation: STOP. Run: 1. Time: 11.8 seconds.

QObject::moveToThread: Current thread (0x83bec70) is not the object's thread (0x7f8cba0).
Cannot move to target thread (0x83bec70)

qt.qpa.plugin: Could not load the Qt platform plugin "xcb" in "/home/opengate_env/lib/python3.11/site-packages/opengate_core/plugins" even though it was found.
This application failed to start because no Qt platform plugin could be initialized. Reinstalling the application may fix this problem.

Available platform plugins are: eglfs, linuxfb, minimal, minimalegl, offscreen, vnc, xcb, wayland-egl, wayland, wayland-xcomposite-egl, wayland-xcomposite-glx, webgl.

Aborted (core dumped)
Running: test019_linac_phsp_source_mt.py FAILED ! 16.7 s /home/opengate_env/lib/python3.11/site-packages/opengate/tests/../tests/log/test019_linac_phsp_source_mt.py.log
Running: test019_phsp_actor.py OK 18.0 s /home/opengate_env/lib/python3.11/site-packages/opengate/tests/../tests/log/test019_phsp_actor.py.log
Importing opengate (thread 345306) ... done
Verbose : 20
Running verbose : 0
Geant4 verbose : False, level = 1
Visualisation : False, verbose level = 1
Visu type : qt
Check overlap : True
Multithreading : no (but available: G4 was compiled with MT)
Random engine : MixMaxRng, seed = auto
Simulation: create RunManager (single thread)
Simulation: initialize Geometry
Simulation: initialize Physics
Simulation: initialize Source
Simulation: initialize Actors
Simulation: initialize G4RunManager
Simulation: check volumes overlap
Simulation: apply G4 command '/tracking/verbose 0'

Simulation: START
Simulation: STOP. Run: 1. Time: 9.8 seconds.

QObject::moveToThread: Current thread (0x7c16760) is not the object's thread (0x6ceccb0).
Cannot move to target thread (0x7c16760)

qt.qpa.plugin: Could not load the Qt platform plugin "xcb" in "/home/opengate_env/lib/python3.11/site-packages/opengate_core/plugins" even though it was found.
This application failed to start because no Qt platform plugin could be initialized. Reinstalling the application may fix this problem.

Available platform plugins are: eglfs, linuxfb, minimal, minimalegl, offscreen, vnc, xcb, wayland-egl, wayland, wayland-xcomposite-egl, wayland-xcomposite-glx, webgl.

Aborted (core dumped)
Running: test020_profiling.py FAILED ! 16.2 s /home/opengate_env/lib/python3.11/site-packages/opengate/tests/../tests/log/test020_profiling.py.log
Running: test021_voxel_source1.py OK 8.4 s /home/opengate_env/lib/python3.11/site-packages/opengate/tests/../tests/log/test021_voxel_source1.py.log
Importing opengate (thread 345425) ... done
Verbose : 20
Running verbose : 0
Geant4 verbose : False, level = 1
Visualisation : False, verbose level = 1
Visu type : qt
Check overlap : True
Multithreading : no (but available: G4 was compiled with MT)
Random engine : MixMaxRng, seed = 123456
CT image origin and size: [10. 20. 30.] [12 14 28] [14.66666667 6.42857143 10.71428571]
Source wrt CT translation [-3.66666667 -1.78571429 -9.64285714]
Source image origin and size: [10. 20. 30.] [ 8 9 10] [22. 10. 30.]
dose image: [25, 18, 30]
dose image: [8.0, 5.0, 10.0]
Simulation: create RunManager (single thread)
Simulation: initialize Geometry
Simulation: initialize Physics
Simulation: initialize Source
Simulation: initialize Actors
Simulation: initialize G4RunManager
Simulation: check volumes overlap
Simulation: apply G4 command '/tracking/verbose 0'

Simulation: START
Simulation: STOP. Run: 1. Time: 1.7 seconds.

QObject::moveToThread: Current thread (0x98d19b0) is not the object's thread (0x9cd3710).
Cannot move to target thread (0x98d19b0)

qt.qpa.plugin: Could not load the Qt platform plugin "xcb" in "/home/opengate_env/lib/python3.11/site-packages/opengate_core/plugins" even though it was found.
This application failed to start because no Qt platform plugin could be initialized. Reinstalling the application may fix this problem.

Available platform plugins are: eglfs, linuxfb, minimal, minimalegl, offscreen, vnc, xcb, wayland-egl, wayland, wayland-xcomposite-egl, wayland-xcomposite-glx, webgl.

Aborted (core dumped)
Running: test021_voxel_source2.py FAILED ! 7.9 s /home/opengate_env/lib/python3.11/site-packages/opengate/tests/../tests/log/test021_voxel_source2.py.log
Importing opengate (thread 345479) ... done
Verbose : 20
Running verbose : 0
Geant4 verbose : False, level = 1
Visualisation : False, verbose level = 1
Visu type : qt
Check overlap : True
Multithreading : no (but available: G4 was compiled with MT)
Random engine : MixMaxRng, seed = 12344321
Importing opengate (thread 345514) ... Importing opengate (thread 345552) ... done
Simulation: create RunManager (single thread)
Simulation: initialize Geometry
Simulation: initialize Physics
Simulation: initialize Source
Simulation: initialize Actors
Simulation: initialize G4RunManager
Simulation: check volumes overlap

Simulation: START (in a new process)
Simulation: STOP. Run: 2. Time: 3.9 seconds.

done
QObject::moveToThread: Current thread (0x80df790) is not the object's thread (0x7cfda80).
Cannot move to target thread (0x80df790)

qt.qpa.plugin: Could not load the Qt platform plugin "xcb" in "/home/opengate_env/lib/python3.11/site-packages/opengate_core/plugins" even though it was found.
This application failed to start because no Qt platform plugin could be initialized. Reinstalling the application may fix this problem.

Available platform plugins are: eglfs, linuxfb, minimal, minimalegl, offscreen, vnc, xcb, wayland-egl, wayland, wayland-xcomposite-egl, wayland-xcomposite-glx, webgl.

Aborted (core dumped)
Running: test022_half_life.py FAILED ! 13.9 s /home/opengate_env/lib/python3.11/site-packages/opengate/tests/../tests/log/test022_half_life.py.log
Importing opengate (thread 345594) ... done
Verbose : 20
Running verbose : 0
Geant4 verbose : False, level = 1
Visualisation : False, verbose level = 1
Visu type : vrml
Check overlap : True
Multithreading : no (but available: G4 was compiled with MT)
Random engine : MixMaxRng, seed = 92344321

Source1 ac = 4000.0000000000005 Bq
Source1 HL = 5.0 sec

Source2 n = 28853.90081777927
Source2 HL = 5.0 sec
Source2 LT = 7.213475204444817 sec

Simulation: create RunManager (single thread)
Simulation: initialize Geometry
Simulation: initialize Physics
Simulation: initialize Source
Simulation: initialize Actors
Simulation: initialize G4RunManager
Simulation: check volumes overlap

Simulation: START
Simulation: STOP. Run: 2. Time: 9.0 seconds.

QObject::moveToThread: Current thread (0x96c52f0) is not the object's thread (0x8987680).
Cannot move to target thread (0x96c52f0)

qt.qpa.plugin: Could not load the Qt platform plugin "xcb" in "/home/opengate_env/lib/python3.11/site-packages/opengate_core/plugins" even though it was found.
This application failed to start because no Qt platform plugin could be initialized. Reinstalling the application may fix this problem.

Available platform plugins are: eglfs, linuxfb, minimal, minimalegl, offscreen, vnc, xcb, wayland-egl, wayland, wayland-xcomposite-egl, wayland-xcomposite-glx, webgl.

Aborted (core dumped)
Running: test022_half_life_ion.py FAILED ! 12.1 s /home/opengate_env/lib/python3.11/site-packages/opengate/tests/../tests/log/test022_half_life_ion.py.log
Running: test022_half_life_mt.py OK 36.3 s /home/opengate_env/lib/python3.11/site-packages/opengate/tests/../tests/log/test022_half_life_mt.py.log
Importing opengate (thread 345764) ... done
Actor Stats : {'_name': 'Stats', 'element_type': 'Actor', 'type_name': 'SimulationStatisticsActor', 'mother': 'world', 'filters': [<opengate.userinfo.UserInfo object at 0x7fc775761010>], 'filters_boolean_operator': 'and', 'priority': 100, 'track_types_flag': True, 'output': ''}
Actor dose1 : {'_name': 'dose1', 'element_type': 'Actor', 'type_name': 'DoseActor', 'mother': 'waterbox', 'filters': [<opengate.userinfo.UserInfo object at 0x7fc775760e90>], 'filters_boolean_operator': 'and', 'priority': 100, 'size': [100, 100, 100], 'spacing': [2.0, 2.0, 2.0], 'output': PosixPath('/home/opengate_env/lib/python3.11/site-packages/opengate/tests/src/../output/test023/test023-edep.mhd'), 'translation': [0, 0, 0], 'img_coord_system': None, 'output_origin': None, 'uncertainty': True, 'square': False, 'gray': False, 'physical_volume_index': None, 'hit_type': 'random'}
Actor dose2 : {'_name': 'dose2', 'element_type': 'Actor', 'type_name': 'DoseActor', 'mother': 'waterbox', 'filters': [<opengate.userinfo.UserInfo object at 0x7fc79e96e650>], 'filters_boolean_operator': 'and', 'priority': 100, 'size': [100, 100, 100], 'spacing': [2.0, 2.0, 2.0], 'output': PosixPath('/home/opengate_env/lib/python3.11/site-packages/opengate/tests/src/../output/test023/test023-noe-edep.mhd'), 'translation': [0, 0, 0], 'img_coord_system': None, 'output_origin': None, 'uncertainty': True, 'square': False, 'gray': False, 'physical_volume_index': None, 'hit_type': 'random'}
Filters: fp f (2)
Number of filters: 2

Filter fp : {'_name': 'fp', 'element_type': 'Filter', 'type_name': 'ParticleFilter', 'particle': 'gamma', 'policy': 'keep'}

Filter f : {'_name': 'f', 'element_type': 'Filter', 'type_name': 'ParticleFilter', 'particle': 'e-', 'policy': 'discard'}
Simulation: create RunManager (single thread)
Simulation: initialize Geometry
Simulation: initialize Physics
Simulation: initialize Source
Simulation: initialize Actors
Simulation: initialize G4RunManager
Simulation: check volumes overlap

Simulation: START
Simulation: STOP. Run: 1. Time: 4.4 seconds.

QObject::moveToThread: Current thread (0x8584060) is not the object's thread (0x859fbc0).
Cannot move to target thread (0x8584060)

qt.qpa.plugin: Could not load the Qt platform plugin "xcb" in "/home/opengate_env/lib/python3.11/site-packages/opengate_core/plugins" even though it was found.
This application failed to start because no Qt platform plugin could be initialized. Reinstalling the application may fix this problem.

Available platform plugins are: eglfs, linuxfb, minimal, minimalegl, offscreen, vnc, xcb, wayland-egl, wayland, wayland-xcomposite-egl, wayland-xcomposite-glx, webgl.

Aborted (core dumped)
Running: test023_filters.py FAILED ! 10.8 s /home/opengate_env/lib/python3.11/site-packages/opengate/tests/../tests/log/test023_filters.py.log
Importing opengate (thread 345818) ... done
Simulation: create RunManager (single thread)
Simulation: initialize Geometry
Simulation: initialize Physics
Simulation: initialize Source
Simulation: initialize Actors
Simulation: initialize G4RunManager
Simulation: check volumes overlap

Simulation: START
Simulation: STOP. Run: 1. Time: 1.8 seconds.

QObject::moveToThread: Current thread (0x84ef890) is not the object's thread (0x8382330).
Cannot move to target thread (0x84ef890)

qt.qpa.plugin: Could not load the Qt platform plugin "xcb" in "/home/opengate_env/lib/python3.11/site-packages/opengate_core/plugins" even though it was found.
This application failed to start because no Qt platform plugin could be initialized. Reinstalling the application may fix this problem.

Available platform plugins are: eglfs, linuxfb, minimal, minimalegl, offscreen, vnc, xcb, wayland-egl, wayland, wayland-xcomposite-egl, wayland-xcomposite-glx, webgl.

Aborted (core dumped)
Running: test023_filters_attribute.py FAILED ! 5.0 s /home/opengate_env/lib/python3.11/site-packages/opengate/tests/../tests/log/test023_filters_attribute.py.log
Running: test023_filters_attribute_bool.py OK 5.5 s /home/opengate_env/lib/python3.11/site-packages/opengate/tests/../tests/log/test023_filters_attribute_bool.py.log
Importing opengate (thread 345891) ... done
Actor Stats : {'_name': 'Stats', 'element_type': 'Actor', 'type_name': 'SimulationStatisticsActor', 'mother': 'world', 'filters': [<opengate.userinfo.UserInfo object at 0x7fdc16a7fdd0>], 'filters_boolean_operator': 'and', 'priority': 100, 'track_types_flag': True, 'output': ''}
Actor dose : {'_name': 'dose', 'element_type': 'Actor', 'type_name': 'DoseActor', 'mother': 'iec', 'filters': [<opengate.userinfo.UserInfo object at 0x7fdc1761c050>, <opengate.userinfo.UserInfo object at 0x7fdbed833c10>], 'filters_boolean_operator': 'and', 'priority': 100, 'size': [100, 100, 100], 'spacing': [2.0, 2.0, 2.0], 'output': PosixPath('/home/opengate_env/lib/python3.11/site-packages/opengate/tests/src/../output/test023/test023_iec_phantom.mhd'), 'translation': [0, 0, 0], 'img_coord_system': None, 'output_origin': None, 'uncertainty': True, 'square': False, 'gray': False, 'physical_volume_index': None, 'hit_type': 'random'}
Filters: f fp fk (3)
Number of filters: 3

Filter f : {'_name': 'f', 'element_type': 'Filter', 'type_name': 'ParticleFilter', 'particle': 'gamma', 'policy': 'keep'}

Filter fp : {'_name': 'fp', 'element_type': 'Filter', 'type_name': 'ParticleFilter', 'particle': 'e-', 'policy': 'keep'}

Filter fk : {'_name': 'fk', 'element_type': 'Filter', 'type_name': 'KineticEnergyFilter', 'energy_min': 0.1, 'energy_max': 1.7976931348623157e+308}
Importing opengate (thread 345926) ... Importing opengate (thread 345964) ... done
Simulation: create RunManager (single thread)
Simulation: initialize Geometry
Simulation: initialize Physics
Simulation: initialize Source
Simulation: initialize Actors
Simulation: initialize G4RunManager
Simulation: check volumes overlap
Simulation: initialize user fct
Entered hook
Known regions are:


DefaultRegionForTheWorld
Cuts in this region:
gamma: 0.1
electron: 0.1
proton: 0.1
positron: 0.1


DefaultRegionForParallelWorld
Cuts in this region:
gamma: 0.1
electron: 0.1
proton: 0.1
positron: 0.1

Simulation: START (in a new process)
Simulation: STOP. Run: 1. Time: 3.7 seconds.

done
QObject::moveToThread: Current thread (0x9697670) is not the object's thread (0x930d0c0).
Cannot move to target thread (0x9697670)

qt.qpa.plugin: Could not load the Qt platform plugin "xcb" in "/home/opengate_env/lib/python3.11/site-packages/opengate_core/plugins" even though it was found.
This application failed to start because no Qt platform plugin could be initialized. Reinstalling the application may fix this problem.

Available platform plugins are: eglfs, linuxfb, minimal, minimalegl, offscreen, vnc, xcb, wayland-egl, wayland, wayland-xcomposite-egl, wayland-xcomposite-glx, webgl.

Aborted (core dumped)
/usr/lib/python3.11/multiprocessing/resource_tracker.py:254: UserWarning: resource_tracker: There appear to be 1 leaked semaphore objects to clean up at shutdown
warnings.warn('resource_tracker: There appear to be %d '
Running: test023_filters_iec_phantom.py FAILED ! 19.8 s /home/opengate_env/lib/python3.11/site-packages/opengate/tests/../tests/log/test023_filters_iec_phantom.py.log
Importing opengate (thread 346025) ... done
Actor Stats : {'_name': 'Stats', 'element_type': 'Actor', 'type_name': 'SimulationStatisticsActor', 'mother': 'world', 'filters': [<opengate.userinfo.UserInfo object at 0x7fcb914231d0>], 'filters_boolean_operator': 'and', 'priority': 100, 'track_types_flag': True, 'output': ''}
Actor Stats2 : {'_name': 'Stats2', 'element_type': 'Actor', 'type_name': 'SimulationStatisticsActor', 'mother': 'world', 'filters': [<opengate.userinfo.UserInfo object at 0x7fcb914232d0>], 'filters_boolean_operator': 'and', 'priority': 100, 'track_types_flag': True, 'output': ''}
Actor dose : {'_name': 'dose', 'element_type': 'Actor', 'type_name': 'DoseActor', 'mother': 'waterbox', 'filters': [<opengate.userinfo.UserInfo object at 0x7fcb914232d0>], 'filters_boolean_operator': 'and', 'priority': 100, 'size': [100, 100, 100], 'spacing': [2.0, 2.0, 2.0], 'output': PosixPath('/home/opengate_env/lib/python3.11/site-packages/opengate/tests/src/../output/test023/test023-edep.mhd'), 'translation': [0, 0, 0], 'img_coord_system': None, 'output_origin': None, 'uncertainty': True, 'square': False, 'gray': False, 'physical_volume_index': None, 'hit_type': 'random'}
Filters: f fp (2)
Number of filters: 2

Filter f : {'_name': 'f', 'element_type': 'Filter', 'type_name': 'ParticleFilter', 'particle': 'gamma', 'policy': 'keep'}

Filter fp : {'_name': 'fp', 'element_type': 'Filter', 'type_name': 'ParticleFilter', 'particle': 'e-', 'policy': 'keep'}
Importing opengate (thread 346071) ... Importing opengate (thread 346109) ... done
Simulation: create RunManager (single thread)
Simulation: initialize Geometry
Simulation: initialize Physics
Simulation: initialize Source
Simulation: initialize Actors
Simulation: initialize G4RunManager
Simulation: check volumes overlap

Simulation: START (in a new process)
Simulation: STOP. Run: 1. Time: 4.2 seconds.

done
Stats filter 1
Runs: 1 1
Events: 30021 29902 : +0.40 % (tol = 7.00 %)
Tracks: 71594 71372 : +0.31 % (tol = 7.00 %)
Steps: 5660 5899 : -4.05 % (tol = 7.00 %)
PPS: 6813.6 11348.7 : -40.0% speedup = x0.6
TPS: 16249.0 27087.8 : -40.0% speedup = x0.6
SPS: 1284.6 2238.8 : -42.6% speedup = x0.6
Track B11 1 2 : -50.0%
Track Be8 37 26 : +42.3%
Track C12 299 310 : -3.5%
Track C13 10 4 : +150.0%
Track C14 19 18 : +5.6%
Track F16 1 1 : +0.0%
Track He3 3 1 : +200.0%
Track N14 61 73 : -16.4%
Track N15 147 146 : +0.7%
Track O14 1 1 : +0.0%
Track O15 69 78 : -11.5%
Track O16 2388 2341 : +2.0%
Track O17 4 1 : +300.0%
Track O18 5 3 : +66.7%
Track alpha 402 370 : +8.6%
Track deuteron17 18 : -5.6%
Track e+ 8 12 : -33.3%
Track e- 34001 33914 : +0.3%
Track gamma 2271 2331 : -2.6%
Track neutron 135 150 : -10.0%
Track proton 31715 31569 : +0.5%
Track C11 0 2
Track triton 0 1
Tracks : {'B11': 1, 'Be8': 37, 'C12': 299, 'C13': 10, 'C14': 19, 'F16': 1, 'He3': 3, 'N14': 61, 'N15': 147, 'O14': 1, 'O15': 69, 'O16': 2388, 'O17': 4, 'O18': 5, 'alpha': 402, 'deuteron': 17, 'e+': 8, 'e-': 34001, 'gamma': 2271, 'neutron': 135, 'proton': 31715}
Tracks (ref): {'B11': '2', 'Be8': '26', 'C11': '2', 'C12': '310', 'C13': '4', 'C14': '18', 'F16': '1', 'He3': '1', 'N14': '73', 'N15': '146', 'O14': '1', 'O15': '78', 'O16': '2341', 'O17': '1', 'O18': '3', 'alpha': '370', 'deuteron': '18', 'e+': '12', 'e-': '33914', 'gamma': '2331', 'neutron': '150', 'proton': '31569', 'triton': '1'}
Tracks vs track_types : 71594 71594

Stats filter 2
QObject::moveToThread: Current thread (0xa5bfc80) is not the object's thread (0xa757890).
Cannot move to target thread (0xa5bfc80)

qt.qpa.plugin: Could not load the Qt platform plugin "xcb" in "/home/opengate_env/lib/python3.11/site-packages/opengate_core/plugins" even though it was found.
This application failed to start because no Qt platform plugin could be initialized. Reinstalling the application may fix this problem.

Available platform plugins are: eglfs, linuxfb, minimal, minimalegl, offscreen, vnc, xcb, wayland-egl, wayland, wayland-xcomposite-egl, wayland-xcomposite-glx, webgl.

Aborted (core dumped)
/usr/lib/python3.11/multiprocessing/resource_tracker.py:254: UserWarning: resource_tracker: There appear to be 1 leaked semaphore objects to clean up at shutdown
warnings.warn('resource_tracker: There appear to be %d '
Running: test023_filters_material.py FAILED ! 20.3 s /home/opengate_env/lib/python3.11/site-packages/opengate/tests/../tests/log/test023_filters_material.py.log
Importing opengate (thread 346167) ... done
['Direction', 'EventDirection', 'EventID', 'EventKineticEnergy', 'EventPosition', 'GlobalTime', 'HitUniqueVolumeID', 'KineticEnergy', 'LocalTime', 'PDGCode', 'ParentID', 'ParentParticleName', 'ParticleName', 'Position', 'PostDirection', 'PostKineticEnergy', 'PostPosition', 'PostStepUniqueVolumeID', 'PostStepVolumeCopyNo', 'PreDirection', 'PreDirectionLocal', 'PreGlobalTime', 'PreKineticEnergy', 'PrePosition', 'PrePositionLocal', 'PreStepUniqueVolumeID', 'PreStepVolumeCopyNo', 'ProcessDefinedStep', 'RunID', 'StepLength', 'ThreadID', 'TimeFromBeginOfEvent', 'TotalEnergyDeposit', 'TrackCreatorProcess', 'TrackID', 'TrackLength', 'TrackProperTime', 'TrackVertexKineticEnergy', 'TrackVertexMomentumDirection', 'TrackVertexPosition', 'TrackVolumeCopyNo', 'TrackVolumeInstanceID', 'TrackVolumeName', 'Weight']
List of active attributes (including dynamic attributes) ['TotalEnergyDeposit', 'KineticEnergy', 'PostPosition', 'TrackCreatorProcess', 'GlobalTime', 'TrackVolumeName', 'RunID', 'ThreadID', 'TrackID']
Simulation: create RunManager (single thread)
Simulation: initialize Geometry
Simulation: initialize Physics
Simulation: initialize Source
Simulation: initialize Actors
Simulation: initialize G4RunManager
Simulation: (no volumes overlap checking)

Simulation: START
Simulation: STOP. Run: 3. Time: 4.6 seconds.

QObject::moveToThread: Current thread (0xbb39530) is not the object's thread (0xa4e77f0).
Cannot move to target thread (0xbb39530)

qt.qpa.plugin: Could not load the Qt platform plugin "xcb" in "/home/opengate_env/lib/python3.11/site-packages/opengate_core/plugins" even though it was found.
This application failed to start because no Qt platform plugin could be initialized. Reinstalling the application may fix this problem.

Available platform plugins are: eglfs, linuxfb, minimal, minimalegl, offscreen, vnc, xcb, wayland-egl, wayland, wayland-xcomposite-egl, wayland-xcomposite-glx, webgl.

Aborted (core dumped)
Running: test025_hits_collection.py FAILED ! 12.8 s /home/opengate_env/lib/python3.11/site-packages/opengate/tests/../tests/log/test025_hits_collection.py.log
Importing opengate (thread 346205) ... done
['Direction', 'EventDirection', 'EventID', 'EventKineticEnergy', 'EventPosition', 'GlobalTime', 'HitUniqueVolumeID', 'KineticEnergy', 'LocalTime', 'PDGCode', 'ParentID', 'ParentParticleName', 'ParticleName', 'Position', 'PostDirection', 'PostKineticEnergy', 'PostPosition', 'PostStepUniqueVolumeID', 'PostStepVolumeCopyNo', 'PreDirection', 'PreDirectionLocal', 'PreGlobalTime', 'PreKineticEnergy', 'PrePosition', 'PrePositionLocal', 'PreStepUniqueVolumeID', 'PreStepVolumeCopyNo', 'ProcessDefinedStep', 'RunID', 'StepLength', 'ThreadID', 'TimeFromBeginOfEvent', 'TotalEnergyDeposit', 'TrackCreatorProcess', 'TrackID', 'TrackLength', 'TrackProperTime', 'TrackVertexKineticEnergy', 'TrackVertexMomentumDirection', 'TrackVertexPosition', 'TrackVolumeCopyNo', 'TrackVolumeInstanceID', 'TrackVolumeName', 'Weight']
List of active attributes (including dynamic attributes) ['TotalEnergyDeposit', 'KineticEnergy', 'PostPosition', 'TrackCreatorProcess', 'GlobalTime', 'TrackVolumeName', 'RunID', 'ThreadID', 'TrackID']
Simulation: create MTRunManager with 3 threads
Simulation: initialize Geometry
Simulation: initialize Physics
Simulation: initialize Source
Simulation: initialize Actors
Simulation: initialize G4RunManager
Simulation: (no volumes overlap checking)

Simulation: START
Simulation: STOP. Run: 3. Time: 35.3 seconds.

QObject::moveToThread: Current thread (0x8c32200) is not the object's thread (0x9021750).
Cannot move to target thread (0x8c32200)

qt.qpa.plugin: Could not load the Qt platform plugin "xcb" in "/home/opengate_env/lib/python3.11/site-packages/opengate_core/plugins" even though it was found.
This application failed to start because no Qt platform plugin could be initialized. Reinstalling the application may fix this problem.

Available platform plugins are: eglfs, linuxfb, minimal, minimalegl, offscreen, vnc, xcb, wayland-egl, wayland, wayland-xcomposite-egl, wayland-xcomposite-glx, webgl.

Aborted (core dumped)
Running: test025_hits_collection_mt.py FAILED ! 44.5 s /home/opengate_env/lib/python3.11/site-packages/opengate/tests/../tests/log/test025_hits_collection_mt.py.log
Running: test026_simple_signal.py OK 5.4 s /home/opengate_env/lib/python3.11/site-packages/opengate/tests/../tests/log/test026_simple_signal.py.log
Importing opengate (thread 346446) ... done
Simulation: create MTRunManager with 2 threads
Simulation: initialize Geometry
Simulation: initialize Physics
Simulation: initialize Source
Simulation: initialize Actors
Simulation: initialize G4RunManager
Simulation: check volumes overlap

Simulation: START
Simulation: STOP. Run: 3. Time: 35.4 seconds.

Compare stats
Runs 6
Events 4984
Tracks 15083
Step 49024
Init 0.0067 6.7 ms
Duration 35.354085 35.3541 s
PPS 141
TPS 427
SPS 1387
start Wed Dec 13 09:30:39 2023
stop Wed Dec 13 09:31:14 2023
Sim start 0 ps
Sim end 0 ps
Threads ?
Number of runs was 6. Set to 1 before comparison
Runs: 1 1
Events: 4984 5066 : -1.62 % (tol = 7.00 %)
Tracks: 15083 15505 : -2.72 % (tol = 7.00 %)
Steps: 49024 49925 : -1.80 % (tol = 7.00 %)
PPS: 141.0 678.4 : -79.2% speedup = x0.2
TPS: 426.6 2076.2 : -79.5% speedup = x0.2
SPS: 1386.7 6685.3 : -79.3% speedup = x0.2

Compare HITS
QObject::moveToThread: Current thread (0xb20df90) is not the object's thread (0x8800ac0).
Cannot move to target thread (0xb20df90)

qt.qpa.plugin: Could not load the Qt platform plugin "xcb" in "/home/opengate_env/lib/python3.11/site-packages/opengate_core/plugins" even though it was found.
This application failed to start because no Qt platform plugin could be initialized. Reinstalling the application may fix this problem.

Available platform plugins are: eglfs, linuxfb, minimal, minimalegl, offscreen, vnc, xcb, wayland-egl, wayland, wayland-xcomposite-egl, wayland-xcomposite-glx, webgl.

Aborted (core dumped)
Running: test027_fake_spect_mt.py FAILED ! 40.3 s /home/opengate_env/lib/python3.11/site-packages/opengate/tests/../tests/log/test027_fake_spect_mt.py.log
Running: test028_ge_nm670_spect_1_colli.py OK 9.4 s /home/opengate_env/lib/python3.11/site-packages/opengate/tests/../tests/log/test028_ge_nm670_spect_1_colli.py.log
Importing opengate (thread 346536) ... done
Crystal : spect_crystal
Simulation: create RunManager (single thread)
Simulation: initialize Geometry
Simulation: initialize Physics
Simulation: initialize Source
Simulation: initialize Actors
Simulation: initialize G4RunManager
Simulation: check volumes overlap
Simulation: initialize user fct
Entered hook
Known regions are:


DefaultRegionForTheWorld
Cuts in this region:
gamma: 10.0
electron: 10.0
proton: 10.0
positron: 10.0


DefaultRegionForParallelWorld
Cuts in this region:
gamma: 10.0
electron: 10.0
proton: 10.0
positron: 10.0


spect_region
Cuts in this region:
gamma: 0.1
electron: 0.01
proton: 10.0
positron: 0.1

Simulation: START
Simulation: STOP. Run: 1. Time: 6.8 seconds.

Compare stats
Runs 1
Events 90122
Tracks 234067
Step 947243
Init 2.047801 2.0478 s
Duration 4.753147 4.75315 s
PPS 18960
TPS 49245
SPS 199288
start Wed Dec 13 09:31:27 2023
stop Wed Dec 13 09:31:34 2023
Sim start 0 ps
Sim end 0 ps
Threads ?
Track types: {'e-': 85589, 'gamma': 148478}
Number of runs was 1. Set to 1 before comparison
Runs: 1 1
Events: 90122 90250 : -0.14 % (tol = 7.00 %)
Tracks: 234067 234740 : -0.29 % (tol = 7.00 %)
Steps: 947243 949150 : -0.20 % (tol = 7.00 %)
PPS: 18960.5 13218.1 : +43.4% speedup = x1.4
TPS: 49244.6 34380.3 : +43.2% speedup = x1.4
SPS: 199287.5 139013.6 : +43.4% speedup = x1.4
Tracks : {'e-': 85589, 'gamma': 148478}
Tracks (ref): {}
Tracks vs track_types : 234067 234067

Compare hits
QObject::moveToThread: Current thread (0xc3e9de0) is not the object's thread (0xc16a880).
Cannot move to target thread (0xc3e9de0)

qt.qpa.plugin: Could not load the Qt platform plugin "xcb" in "/home/opengate_env/lib/python3.11/site-packages/opengate_core/plugins" even though it was found.
This application failed to start because no Qt platform plugin could be initialized. Reinstalling the application may fix this problem.

Available platform plugins are: eglfs, linuxfb, minimal, minimalegl, offscreen, vnc, xcb, wayland-egl, wayland, wayland-xcomposite-egl, wayland-xcomposite-glx, webgl.

Aborted (core dumped)
Running: test028_ge_nm670_spect_2_hits.py FAILED ! 14.7 s /home/opengate_env/lib/python3.11/site-packages/opengate/tests/../tests/log/test028_ge_nm670_spect_2_hits.py.log
Importing opengate (thread 346575) ... done
Crystal : spect_crystal
Simulation: create MTRunManager with 3 threads
Simulation: initialize Geometry
Simulation: initialize Physics
Simulation: initialize Source
Simulation: initialize Actors
Simulation: initialize G4RunManager
Simulation: check volumes overlap
Simulation: initialize user fct
Entered hook
Known regions are:


DefaultRegionForTheWorld
Cuts in this region:
gamma: 10.0
electron: 10.0
proton: 10.0
positron: 10.0


DefaultRegionForParallelWorld
Cuts in this region:
gamma: 10.0
electron: 10.0
proton: 10.0
positron: 10.0


spect_region
Cuts in this region:
gamma: 0.1
electron: 0.01
proton: 10.0
positron: 0.1

Simulation: START
Simulation: STOP. Run: 1. Time: 11.7 seconds.

Compare stats
Runs 3
Events 89912
Tracks 233390
Step 944624
Init 0.012433 12.433 ms
Duration 11.699263 11.6993 s
PPS 7685
TPS 19949
SPS 80742
start Wed Dec 13 09:31:44 2023
stop Wed Dec 13 09:31:55 2023
Sim start 0 ps
Sim end 0 ps
Threads ?
Track types: {'e-': 85275, 'gamma': 148115}
Number of runs was 3. Set to 1 before comparison
Runs: 1 1
Events: 89912 90250 : -0.37 % (tol = 7.00 %)
Tracks: 233390 234740 : -0.58 % (tol = 7.00 %)
Steps: 944624 949150 : -0.48 % (tol = 7.00 %)
PPS: 7685.3 13218.1 : -41.9% speedup = x0.6
TPS: 19949.1 34380.3 : -42.0% speedup = x0.6
SPS: 80742.2 139013.6 : -41.9% speedup = x0.6
Tracks : {'e-': 85275, 'gamma': 148115}
Tracks (ref): {}
Tracks vs track_types : 233390 233390

Compare hits
QObject::moveToThread: Current thread (0xd88c620) is not the object's thread (0x7a018a0).
Cannot move to target thread (0xd88c620)

qt.qpa.plugin: Could not load the Qt platform plugin "xcb" in "/home/opengate_env/lib/python3.11/site-packages/opengate_core/plugins" even though it was found.
This application failed to start because no Qt platform plugin could be initialized. Reinstalling the application may fix this problem.

Available platform plugins are: eglfs, linuxfb, minimal, minimalegl, offscreen, vnc, xcb, wayland-egl, wayland, wayland-xcomposite-egl, wayland-xcomposite-glx, webgl.

Aborted (core dumped)
Running: test028_ge_nm670_spect_2_hits_mt.py FAILED ! 20.9 s /home/opengate_env/lib/python3.11/site-packages/opengate/tests/../tests/log/test028_ge_nm670_spect_2_hits_mt.py.log
Importing opengate (thread 346618) ... done
Crystal : spect_crystal
Simulation: create RunManager (single thread)
Simulation: initialize Geometry
Simulation: initialize Physics
Simulation: initialize Source
Simulation: initialize Actors
Simulation: initialize G4RunManager
Simulation: check volumes overlap
Simulation: initialize user fct
Entered hook
Known regions are:


DefaultRegionForTheWorld
Cuts in this region:
gamma: 10.0
electron: 10.0
proton: 10.0
positron: 10.0


DefaultRegionForParallelWorld
Cuts in this region:
gamma: 10.0
electron: 10.0
proton: 10.0
positron: 10.0


spect_region
Cuts in this region:
gamma: 0.1
electron: 0.01
proton: 10.0
positron: 0.1

Simulation: START
Simulation: STOP. Run: 1. Time: 6.9 seconds.

Compare stats
Runs 1
Events 90634
Tracks 234964
Step 951681
Init 3.45278 3.45278 s
Duration 4.807336 4.80734 s
PPS 18853
TPS 48876
SPS 197964
start Wed Dec 13 09:32:02 2023
stop Wed Dec 13 09:32:11 2023
Sim start 0 ps
Sim end 0 ps
Threads ?
Track types: {'e-': 85772, 'gamma': 149192}
Number of runs was 1. Set to 1 before comparison
Runs: 1 1
Events: 90634 90950 : -0.35 % (tol = 7.00 %)
Tracks: 234964 236477 : -0.64 % (tol = 7.00 %)
Steps: 951681 953491 : -0.19 % (tol = 7.00 %)
PPS: 18853.3 14465.2 : +30.3% speedup = x1.3
TPS: 48876.1 37610.5 : +30.0% speedup = x1.3
SPS: 197964.3 151648.2 : +30.5% speedup = x1.3
Tracks : {'e-': 85772, 'gamma': 149192}
Tracks (ref): {}
Tracks vs track_types : 234964 234964

Compare hits
QObject::moveToThread: Current thread (0xa195fb0) is not the object's thread (0x8b30450).
Cannot move to target thread (0xa195fb0)

qt.qpa.plugin: Could not load the Qt platform plugin "xcb" in "/home/opengate_env/lib/python3.11/site-packages/opengate_core/plugins" even though it was found.
This application failed to start because no Qt platform plugin could be initialized. Reinstalling the application may fix this problem.

Available platform plugins are: eglfs, linuxfb, minimal, minimalegl, offscreen, vnc, xcb, wayland-egl, wayland, wayland-xcomposite-egl, wayland-xcomposite-glx, webgl.

Aborted (core dumped)
Running: test028_ge_nm670_spect_3_proj.py FAILED ! 17.9 s /home/opengate_env/lib/python3.11/site-packages/opengate/tests/../tests/log/test028_ge_nm670_spect_3_proj.py.log
Importing opengate (thread 346686) ... done
Crystal : spect_crystal
Verbose : 20
Running verbose : 0
Geant4 verbose : False, level = 1
Visualisation : False, verbose level = 1
Visu type : qt
Check overlap : True
Multithreading : no (but available: G4 was compiled with MT)
Random engine : MixMaxRng, seed = 123456
Simulation: create RunManager (single thread)
Simulation: initialize Geometry
Simulation: initialize Physics
Simulation: initialize Source
Simulation: initialize Actors
Simulation: initialize G4RunManager
Simulation: check volumes overlap
Simulation: initialize user fct
Entered hook
Known regions are:


DefaultRegionForTheWorld
Cuts in this region:
gamma: 10.0
electron: 10.0
proton: 10.0
positron: 10.0


DefaultRegionForParallelWorld
Cuts in this region:
gamma: 10.0
electron: 10.0
proton: 10.0
positron: 10.0


spect_region
Cuts in this region:
gamma: 0.1
electron: 0.01
proton: 10.0
positron: 0.1

Simulation: START
Simulation: STOP. Run: 1. Time: 7.3 seconds.

Runs 1
Events 89563
Tracks 232127
Step 939033
Init 3.431549 3.43155 s
Duration 5.350314 5.35031 s
PPS 16740
TPS 43386
SPS 175510
start Wed Dec 13 09:32:20 2023
stop Wed Dec 13 09:32:29 2023
Sim start 0 ps
Sim end 0 ps
Threads ?
Track types: {'e-': 84615, 'gamma': 147512}

Compare singles
QObject::moveToThread: Current thread (0x7ce1560) is not the object's thread (0xbf01ee0).
Cannot move to target thread (0x7ce1560)

qt.qpa.plugin: Could not load the Qt platform plugin "xcb" in "/home/opengate_env/lib/python3.11/site-packages/opengate_core/plugins" even though it was found.
This application failed to start because no Qt platform plugin could be initialized. Reinstalling the application may fix this problem.

Available platform plugins are: eglfs, linuxfb, minimal, minimalegl, offscreen, vnc, xcb, wayland-egl, wayland, wayland-xcomposite-egl, wayland-xcomposite-glx, webgl.

Aborted (core dumped)
Running: test028_ge_nm670_spect_3_proj_blur.py FAILED ! 14.3 s /home/opengate_env/lib/python3.11/site-packages/opengate/tests/../tests/log/test028_ge_nm670_spect_3_proj_blur.py.log
Importing opengate (thread 346740) ... done
Crystal : spect_crystal
Simulation: create MTRunManager with 4 threads
Simulation: initialize Geometry
Simulation: initialize Physics
Simulation: initialize Source
Simulation: initialize Actors
Simulation: initialize G4RunManager
Simulation: check volumes overlap
Simulation: initialize user fct
Entered hook
Known regions are:


DefaultRegionForTheWorld
Cuts in this region:
gamma: 10.0
electron: 10.0
proton: 10.0
positron: 10.0


DefaultRegionForParallelWorld
Cuts in this region:
gamma: 10.0
electron: 10.0
proton: 10.0
positron: 10.0


spect_region
Cuts in this region:
gamma: 0.1
electron: 0.01
proton: 10.0
positron: 0.1

Simulation: START
Simulation: STOP. Run: 1. Time: 11.8 seconds.

QObject::moveToThread: Current thread (0x871f080) is not the object's thread (0xbe098d0).
Cannot move to target thread (0x871f080)

qt.qpa.plugin: Could not load the Qt platform plugin "xcb" in "/home/opengate_env/lib/python3.11/site-packages/opengate_core/plugins" even though it was found.
This application failed to start because no Qt platform plugin could be initialized. Reinstalling the application may fix this problem.

Available platform plugins are: eglfs, linuxfb, minimal, minimalegl, offscreen, vnc, xcb, wayland-egl, wayland, wayland-xcomposite-egl, wayland-xcomposite-glx, webgl.

Aborted (core dumped)
Running: test028_ge_nm670_spect_3_proj_mt.py FAILED ! 20.1 s /home/opengate_env/lib/python3.11/site-packages/opengate/tests/../tests/log/test028_ge_nm670_spect_3_proj_mt.py.log
Importing opengate (thread 346798) ... done
The repeated volume spect_collimator_hole must have the 'build_physical_volume' option set to False. Setting it to False.
rotation 15 deg and translation = [ -54.63670042 0. -203.90694193]
Simulation: create RunManager (single thread)
Simulation: initialize Geometry
Simulation: initialize Physics
Simulation: initialize Source
Simulation: initialize Actors
Simulation: initialize G4RunManager
Simulation: (no volumes overlap checking)

Simulation: START
Simulation: STOP. Run: 1. Time: 19.6 seconds.

Compare acceptance angle skipped particles
Number of zeros events: 0 0 0
Number of simulated events: 806437
Skip Events mode, adding the skipped ones
Number of simulated events: 2999050
Skipped particles b1 = 691753 23.07 % vs 23.06 %
Skipped particles b2 = 785940 26.21 % vs 23.06 %
Skipped particles b3 = 714920 23.84 % vs 23.06 %
Compare stats
Runs 1
Events 2999050
Tracks 3425996
Step 7145757
Init 5.811733 5.81173 s
Duration 15.166781 15.1668 s
PPS 197738
TPS 225888
SPS 471145
start Wed Dec 13 09:32:55 2023
stop Wed Dec 13 09:33:16 2023
Sim start 0 ps
Sim end 0 ps
Threads ?
Number of runs was 1. Set to 1 before comparison
Number of steps was 7145757, force to the same value (because of angle acceptance).
Runs: 1 1
Events: 2999050 3000651 : -0.05 % (tol = 7.00 %)
Tracks: 3425996 3425996 : +0.00 % (tol = 7.00 %)
Steps: 14403412 14403412 : +0.00 % (tol = 7.00 %)
PPS: 197738.1 141096.2 : +40.1% speedup = x1.4
TPS: 225888.1 161096.7 : +40.2% speedup = x1.4
SPS: 949668.4 677275.4 : +40.2% speedup = x1.4
Compare projection image
QObject::moveToThread: Current thread (0x7d87560) is not the object's thread (0x73a11a0).
Cannot move to target thread (0x7d87560)

qt.qpa.plugin: Could not load the Qt platform plugin "xcb" in "/home/opengate_env/lib/python3.11/site-packages/opengate_core/plugins" even though it was found.
This application failed to start because no Qt platform plugin could be initialized. Reinstalling the application may fix this problem.

Available platform plugins are: eglfs, linuxfb, minimal, minimalegl, offscreen, vnc, xcb, wayland-egl, wayland, wayland-xcomposite-egl, wayland-xcomposite-glx, webgl.

Aborted (core dumped)
Running: test028_ge_nm670_spect_4_acc_angle_aa_se.py FAILED ! 25.7 s /home/opengate_env/lib/python3.11/site-packages/opengate/tests/../tests/log/test028_ge_nm670_spect_4_acc_angle_aa_se.py.log
Importing opengate (thread 346866) ... done
The repeated volume spect_collimator_hole must have the 'build_physical_volume' option set to False. Setting it to False.
rotation 15 deg and translation = [ -54.63670042 0. -203.90694193]
Simulation: create MTRunManager with 3 threads
Simulation: initialize Geometry
Simulation: initialize Physics
Simulation: initialize Source
Simulation: initialize Actors
Simulation: initialize G4RunManager
Simulation: (no volumes overlap checking)

Simulation: START
Simulation: STOP. Run: 1. Time: 11.9 seconds.

Compare acceptance angle skipped particles
Number of zeros events: 0 0 0
Number of simulated events: 808791
Skip Events mode, adding the skipped ones
Number of simulated events: 3003417
Skipped particles b1 = 695211 23.15 % vs 23.06 %
Skipped particles b2 = 786996 26.20 % vs 23.06 %
Skipped particles b3 = 712419 23.72 % vs 23.06 %
Compare stats
Runs 3
Events 3003417
Tracks 3425996
Step 7162957
Init 1.405239 1.40524 s
Duration 11.857695 11.8577 s
PPS 253288
TPS 288926
SPS 604077
start Wed Dec 13 09:33:25 2023
stop Wed Dec 13 09:33:38 2023
Sim start 0 ps
Sim end 0 ps
Threads ?
Number of runs was 3. Set to 1 before comparison
Number of steps was 7162957, force to the same value (because of angle acceptance).
Runs: 1 1
Events: 3003417 3000651 : +0.09 % (tol = 7.00 %)
Tracks: 3425996 3425996 : +0.00 % (tol = 7.00 %)
Steps: 14403412 14403412 : +0.00 % (tol = 7.00 %)
PPS: 253288.4 141096.2 : +79.5% speedup = x1.8
TPS: 288926.0 161096.7 : +79.3% speedup = x1.8
SPS: 1214689.0 677275.4 : +79.3% speedup = x1.8
Compare projection image
QObject::moveToThread: Current thread (0x9c40060) is not the object's thread (0x9c5a540).
Cannot move to target thread (0x9c40060)

qt.qpa.plugin: Could not load the Qt platform plugin "xcb" in "/home/opengate_env/lib/python3.11/site-packages/opengate_core/plugins" even though it was found.
This application failed to start because no Qt platform plugin could be initialized. Reinstalling the application may fix this problem.

Available platform plugins are: eglfs, linuxfb, minimal, minimalegl, offscreen, vnc, xcb, wayland-egl, wayland, wayland-xcomposite-egl, wayland-xcomposite-glx, webgl.

Aborted (core dumped)
Running: test028_ge_nm670_spect_4_acc_angle_aa_se_mt.py FAILED ! 22.3 s /home/opengate_env/lib/python3.11/site-packages/opengate/tests/../tests/log/test028_ge_nm670_spect_4_acc_angle_aa_se_mt.py.log
Importing opengate (thread 346923) ... done
The repeated volume spect_collimator_hole must have the 'build_physical_volume' option set to False. Setting it to False.
rotation 15 deg and translation = [ -54.63670042 0. -203.90694193]
Actor Projection : {'_name': 'Projection', 'element_type': 'Actor', 'type_name': 'DigitizerProjectionActor', 'mother': 'spect_crystal', 'filters': [], 'filters_boolean_operator': 'and', 'priority': 100, 'output': PosixPath('/home/opengate_env/lib/python3.11/site-packages/opengate/tests/src/../output/proj028_colli.mhd'), 'input_digi_collections': ['Singles', 'scatter', 'peak140', 'Singles'], 'spacing': [4.41806, 4.41806], 'size': [128, 128], 'physical_volume_index': None, 'origin_as_image_center': True, 'detector_orientation_matrix': array([[1., 0., 0.],
[0., 1., 0.],
[0., 0., 1.]])}
Simulation: create RunManager (single thread)
Simulation: initialize Geometry
Simulation: initialize Physics
Simulation: initialize Source
Simulation: initialize Actors
Simulation: initialize G4RunManager
Simulation: (no volumes overlap checking)

Simulation: START
Simulation: STOP. Run: 1. Time: 26.2 seconds.

Actor Projection : {'_name': 'Projection', 'element_type': 'Actor', 'type_name': 'DigitizerProjectionActor', 'mother': 'spect_crystal', 'filters': [], 'filters_boolean_operator': 'and', 'priority': 100, 'output': PosixPath('/home/opengate_env/lib/python3.11/site-packages/opengate/tests/src/../output/proj028_colli.mhd'), 'input_digi_collections': ['Singles', 'scatter', 'peak140', 'Singles'], 'spacing': [4.41806, 4.41806, 1], 'size': [128, 128, 1], 'physical_volume_index': None, 'origin_as_image_center': True, 'detector_orientation_matrix': array([[1., 0., 0.],
[0., 1., 0.],
[0., 0., 1.]])}
Compare acceptance angle skipped particles
Number of zeros events: 692356 784273 714035
Number of simulated events: 2999435
Skipped particles b1 = 692356 23.08 % vs 23.06 %
Skipped particles b2 = 784273 26.15 % vs 23.06 %
Skipped particles b3 = 714035 23.81 % vs 23.06 %
Compare stats
Runs 1
Events 2999435
Tracks 3330545
Step 7161183
Init 5.704975 5.70498 s
Duration 21.923078 21.9231 s
PPS 136816
TPS 151920
SPS 326650
start Wed Dec 13 09:33:43 2023
stop Wed Dec 13 09:34:11 2023
Sim start 0 ps
Sim end 0 ps
Threads ?
Number of runs was 1. Set to 1 before comparison
Number of steps was 7161183, force to the same value (because of angle acceptance).
Runs: 1 1
Events: 2999435 3000651 : -0.04 % (tol = 7.00 %)
Tracks: 3330545 3425996 : -2.79 % (tol = 7.00 %)
Steps: 14403412 14403412 : +0.00 % (tol = 7.00 %)
PPS: 136816.3 141096.2 : -3.0% speedup = x1.0
TPS: 151919.6 161096.7 : -5.7% speedup = x0.9
SPS: 656997.7 677275.4 : -3.0% speedup = x1.0
Compare projection image
QObject::moveToThread: Current thread (0x870a830) is not the object's thread (0x9ca3bb0).
Cannot move to target thread (0x870a830)

qt.qpa.plugin: Could not load the Qt platform plugin "xcb" in "/home/opengate_env/lib/python3.11/site-packages/opengate_core/plugins" even though it was found.
This application failed to start because no Qt platform plugin could be initialized. Reinstalling the application may fix this problem.

Available platform plugins are: eglfs, linuxfb, minimal, minimalegl, offscreen, vnc, xcb, wayland-egl, wayland, wayland-xcomposite-egl, wayland-xcomposite-glx, webgl.

Aborted (core dumped)
Running: test028_ge_nm670_spect_4_acc_angle_aa_ze.py FAILED ! 32.5 s /home/opengate_env/lib/python3.11/site-packages/opengate/tests/../tests/log/test028_ge_nm670_spect_4_acc_angle_aa_ze.py.log
Importing opengate (thread 346992) ... done
The repeated volume spect_collimator_hole must have the 'build_physical_volume' option set to False. Setting it to False.
rotation 15 deg and translation = [ -54.63670042 0. -203.90694193]
Simulation: create RunManager (single thread)
Simulation: initialize Geometry
Simulation: initialize Physics
Simulation: initialize Source
Simulation: initialize Actors
Simulation: initialize G4RunManager
Simulation: (no volumes overlap checking)

Simulation: START
Simulation: STOP. Run: 1. Time: 36.7 seconds.

Compare acceptance angle skipped particles
Number of zeros events: 0 0 0
Number of simulated events: 2999869
Skip Events mode, adding the skipped ones
Number of simulated events: 2999869
Skipped particles b1 = 0 0.00 % vs 23.06 %
Skipped particles b2 = 0 0.00 % vs 23.06 %
Skipped particles b3 = 0 0.00 % vs 23.06 %
Compare stats
Runs 1
Events 2999869
Tracks 3425996
Step 13900444
Init 5.719472 5.71947 s
Duration 32.389299 32.3893 s
PPS 92619
TPS 105776
SPS 429168
start Wed Dec 13 09:34:15 2023
stop Wed Dec 13 09:34:53 2023
Sim start 0 ps
Sim end 0 ps
Threads ?
Number of runs was 1. Set to 1 before comparison
Number of steps was 13900444, force to the same value (because of angle acceptance).
Runs: 1 1
Events: 2999869 3000651 : -0.03 % (tol = 7.00 %)
Tracks: 3425996 3425996 : +0.00 % (tol = 7.00 %)
Steps: 14403412 14403412 : +0.00 % (tol = 7.00 %)
PPS: 92619.1 141096.2 : -34.4% speedup = x0.7
TPS: 105775.6 161096.7 : -34.3% speedup = x0.7
SPS: 444696.6 677275.4 : -34.3% speedup = x0.7
Compare projection image
QObject::moveToThread: Current thread (0x8e9ae50) is not the object's thread (0xdd27a60).
Cannot move to target thread (0x8e9ae50)

qt.qpa.plugin: Could not load the Qt platform plugin "xcb" in "/home/opengate_env/lib/python3.11/site-packages/opengate_core/plugins" even though it was found.
This application failed to start because no Qt platform plugin could be initialized. Reinstalling the application may fix this problem.

Available platform plugins are: eglfs, linuxfb, minimal, minimalegl, offscreen, vnc, xcb, wayland-egl, wayland, wayland-xcomposite-egl, wayland-xcomposite-glx, webgl.

Aborted (core dumped)
Running: test028_ge_nm670_spect_4_acc_angle_noaa.py FAILED ! 42.8 s /home/opengate_env/lib/python3.11/site-packages/opengate/tests/../tests/log/test028_ge_nm670_spect_4_acc_angle_noaa.py.log
Importing opengate (thread 347048) ... done
iec_sphere_10mm iec_source_iec_10mm 0.52 mL 2617.99 Bq 5000.00 Bq/mL
iec_sphere_13mm iec_source_iec_13mm 1.15 mL 5751.73 Bq 5000.00 Bq/mL
iec_sphere_17mm iec_source_iec_17mm 2.57 mL 12862.20 Bq 5000.00 Bq/mL
iec_sphere_22mm iec_source_iec_22mm 5.58 mL 27876.40 Bq 5000.00 Bq/mL
iec_sphere_28mm iec_source_iec_28mm 11.49 mL 57470.20 Bq 5000.00 Bq/mL
iec_sphere_37mm iec_source_iec_37mm 26.52 mL 132609.24 Bq 5000.00 Bq/mL
Total activity is 239187.7746749369 Bq
iec_sphere_10mm iec_source2_iec_10mm 0.52 mL 2617.99 Bq 5000.00 Bq/mL
iec_sphere_13mm iec_source2_iec_13mm 1.15 mL 5751.73 Bq 5000.00 Bq/mL
iec_sphere_17mm iec_source2_iec_17mm 2.57 mL 12862.20 Bq 5000.00 Bq/mL
iec_sphere_22mm iec_source2_iec_22mm 5.58 mL 27876.40 Bq 5000.00 Bq/mL
iec_sphere_28mm iec_source2_iec_28mm 11.49 mL 57470.20 Bq 5000.00 Bq/mL
iec_sphere_37mm iec_source2_iec_37mm 26.52 mL 132609.24 Bq 5000.00 Bq/mL
Total activity is 239187.7746749369 Bq
Run 9 intervals: [[0, 111111111.1111111], [111111111.1111111, 222222222.2222222], [222222222.2222222, 333333333.3333333], [333333333.3333333, 444444444.4444444], [444444444.4444444, 555555555.5555556], [555555555.5555556, 666666666.6666667], [666666666.6666667, 777777777.7777779], [777777777.7777779, 888888888.8888891], [888888888.8888891, 1000000000.0000002]]
Actors order: [['Move', 10], ['Stats', 100], ['Hits', 100], ['Singles', 100], ['EnergyWindows', 100], ['Projection', 100]]
Simulation: create RunManager (single thread)
Simulation: initialize Geometry
Simulation: initialize Physics
Simulation: initialize Source
Simulation: initialize Actors
Simulation: initialize G4RunManager
Simulation: check volumes overlap
Simulation: initialize user fct
Entered hook
Known regions are:


DefaultRegionForTheWorld
Cuts in this region:
gamma: 10.0
electron: 10.0
proton: 10.0
positron: 10.0


DefaultRegionForParallelWorld
Cuts in this region:
gamma: 10.0
electron: 10.0
proton: 10.0
positron: 10.0


spect_region
Cuts in this region:
gamma: 1.0
electron: 1.0
proton: 1.0
positron: 1.0

Simulation: START
Simulation: STOP. Run: 9. Time: 17.1 seconds.

Compare stats
Runs 9
Events 478590
Tracks 492636
Step 5673987
Init 3.893496 3.8935 s
Duration 14.548735 14.5487 s
PPS 32896
TPS 33861
SPS 389999
start Wed Dec 13 09:34:58 2023
stop Wed Dec 13 09:35:17 2023
Sim start 0 ps
Sim end 0 ps
Threads ?
Number of steps was 5673987, forced to the same value (because of angle acceptance).
Runs: 9 9
Events: 478590 477017 : +0.33 % (tol = 2.00 %)
Tracks: 492636 491172 : +0.30 % (tol = 2.00 %)
Steps: 5654650 5654650 : +0.00 % (tol = 2.00 %)
PPS: 32895.6 74075.3 : -55.6% speedup = x0.4
TPS: 33861.1 76273.4 : -55.6% speedup = x0.4
SPS: 388669.5 878102.1 : -55.7% speedup = x0.4
True
Compare images
QObject::moveToThread: Current thread (0x97a4fb0) is not the object's thread (0xe33c6e0).
Cannot move to target thread (0x97a4fb0)

qt.qpa.plugin: Could not load the Qt platform plugin "xcb" in "/home/opengate_env/lib/python3.11/site-packages/opengate_core/plugins" even though it was found.
This application failed to start because no Qt platform plugin could be initialized. Reinstalling the application may fix this problem.

Available platform plugins are: eglfs, linuxfb, minimal, minimalegl, offscreen, vnc, xcb, wayland-egl, wayland, wayland-xcomposite-egl, wayland-xcomposite-glx, webgl.

Aborted (core dumped)
Running: test029_volume_time_rotation_1.py FAILED ! 23.3 s /home/opengate_env/lib/python3.11/site-packages/opengate/tests/../tests/log/test029_volume_time_rotation_1.py.log
Importing opengate (thread 347263) ... done
iec_sphere_10mm iec_source_iec_10mm 0.52 mL 2617.99 Bq 5000.00 Bq/mL
iec_sphere_13mm iec_source_iec_13mm 1.15 mL 5751.73 Bq 5000.00 Bq/mL
iec_sphere_17mm iec_source_iec_17mm 2.57 mL 12862.20 Bq 5000.00 Bq/mL
iec_sphere_22mm iec_source_iec_22mm 5.58 mL 27876.40 Bq 5000.00 Bq/mL
iec_sphere_28mm iec_source_iec_28mm 11.49 mL 57470.20 Bq 5000.00 Bq/mL
iec_sphere_37mm iec_source_iec_37mm 26.52 mL 132609.24 Bq 5000.00 Bq/mL
Total activity is 239187.7746749369 Bq
iec_sphere_10mm iec_source2_iec_10mm 0.52 mL 2617.99 Bq 5000.00 Bq/mL
iec_sphere_13mm iec_source2_iec_13mm 1.15 mL 5751.73 Bq 5000.00 Bq/mL
iec_sphere_17mm iec_source2_iec_17mm 2.57 mL 12862.20 Bq 5000.00 Bq/mL
iec_sphere_22mm iec_source2_iec_22mm 5.58 mL 27876.40 Bq 5000.00 Bq/mL
iec_sphere_28mm iec_source2_iec_28mm 11.49 mL 57470.20 Bq 5000.00 Bq/mL
iec_sphere_37mm iec_source2_iec_37mm 26.52 mL 132609.24 Bq 5000.00 Bq/mL
Total activity is 239187.7746749369 Bq
Run 9 intervals: [[0, 111111111.1111111], [111111111.1111111, 222222222.2222222], [222222222.2222222, 333333333.3333333], [333333333.3333333, 444444444.4444444], [444444444.4444444, 555555555.5555556], [555555555.5555556, 666666666.6666667], [666666666.6666667, 777777777.7777779], [777777777.7777779, 888888888.8888891], [888888888.8888891, 1000000000.0000002]]
Actors order: [['Move', 10], ['Stats', 100], ['Hits', 100], ['Singles', 100], ['EnergyWindows', 100], ['Projection', 100]]
Importing opengate (thread 347298) ... Importing opengate (thread 347336) ... done
Simulation: create RunManager (single thread)
Simulation: initialize Geometry
Simulation: initialize Physics
Simulation: initialize Source
Simulation: initialize Actors
Simulation: initialize G4RunManager
Simulation: check volumes overlap
Simulation: initialize user fct
Entered hook
Known regions are:


DefaultRegionForTheWorld
Cuts in this region:
gamma: 10.0
electron: 10.0
proton: 10.0
positron: 10.0


DefaultRegionForParallelWorld
Cuts in this region:
gamma: 10.0
electron: 10.0
proton: 10.0
positron: 10.0


spect_region
Cuts in this region:
gamma: 1.0
electron: 1.0
proton: 1.0
positron: 1.0

Simulation: START (in a new process)
Simulation: STOP. Run: 9. Time: 17.6 seconds.

done
Compare stats
Runs 9
Events 478590
Tracks 492636
Step 5673987
Init 3.795032 3.79503 s
Duration 15.204995 15.205 s
PPS 31476
TPS 32400
SPS 373166
start Wed Dec 13 09:35:27 2023
stop Wed Dec 13 09:35:46 2023
Sim start 0 ps
Sim end 1 s
Threads 1
Number of steps was 5673987, forced to the same value (because of angle acceptance).
Runs: 9 9
Events: 478590 477017 : +0.33 % (tol = 2.00 %)
Tracks: 492636 491172 : +0.30 % (tol = 2.00 %)
Steps: 5654650 5654650 : +0.00 % (tol = 2.00 %)
PPS: 31475.8 74075.3 : -57.5% speedup = x0.4
TPS: 32399.6 76273.4 : -57.5% speedup = x0.4
SPS: 371894.2 878102.1 : -57.6% speedup = x0.4
True
Compare images
QObject::moveToThread: Current thread (0xa451ba0) is not the object's thread (0xaa88ad0).
Cannot move to target thread (0xa451ba0)

qt.qpa.plugin: Could not load the Qt platform plugin "xcb" in "/home/opengate_env/lib/python3.11/site-packages/opengate_core/plugins" even though it was found.
This application failed to start because no Qt platform plugin could be initialized. Reinstalling the application may fix this problem.

Available platform plugins are: eglfs, linuxfb, minimal, minimalegl, offscreen, vnc, xcb, wayland-egl, wayland, wayland-xcomposite-egl, wayland-xcomposite-glx, webgl.

Aborted (core dumped)
/usr/lib/python3.11/multiprocessing/resource_tracker.py:254: UserWarning: resource_tracker: There appear to be 1 leaked semaphore objects to clean up at shutdown
warnings.warn('resource_tracker: There appear to be %d '
Running: test029_volume_time_rotation_1_process.py FAILED ! 33.7 s /home/opengate_env/lib/python3.11/site-packages/opengate/tests/../tests/log/test029_volume_time_rotation_1_process.py.log
Importing opengate (thread 347394) ... done
iec_sphere_10mm iec_source_iec_10mm 0.52 mL 2617.99 Bq 5000.00 Bq/mL
iec_sphere_13mm iec_source_iec_13mm 1.15 mL 5751.73 Bq 5000.00 Bq/mL
iec_sphere_17mm iec_source_iec_17mm 2.57 mL 12862.20 Bq 5000.00 Bq/mL
iec_sphere_22mm iec_source_iec_22mm 5.58 mL 27876.40 Bq 5000.00 Bq/mL
iec_sphere_28mm iec_source_iec_28mm 11.49 mL 57470.20 Bq 5000.00 Bq/mL
iec_sphere_37mm iec_source_iec_37mm 26.52 mL 132609.24 Bq 5000.00 Bq/mL
Total activity is 239187.7746749369 Bq
iec_sphere_10mm iec_source2_iec_10mm 0.52 mL 2617.99 Bq 5000.00 Bq/mL
iec_sphere_13mm iec_source2_iec_13mm 1.15 mL 5751.73 Bq 5000.00 Bq/mL
iec_sphere_17mm iec_source2_iec_17mm 2.57 mL 12862.20 Bq 5000.00 Bq/mL
iec_sphere_22mm iec_source2_iec_22mm 5.58 mL 27876.40 Bq 5000.00 Bq/mL
iec_sphere_28mm iec_source2_iec_28mm 11.49 mL 57470.20 Bq 5000.00 Bq/mL
iec_sphere_37mm iec_source2_iec_37mm 26.52 mL 132609.24 Bq 5000.00 Bq/mL
Total activity is 239187.7746749369 Bq
Run 9 intervals: [[0, 111111111.1111111], [111111111.1111111, 222222222.2222222], [222222222.2222222, 333333333.3333333], [333333333.3333333, 444444444.4444444], [444444444.4444444, 555555555.5555556], [555555555.5555556, 666666666.6666667], [666666666.6666667, 777777777.7777779], [777777777.7777779, 888888888.8888891], [888888888.8888891, 1000000000.0000002]]
Actors order: [['Move', 10], ['Stats', 100], ['Hits', 100], ['Singles', 100], ['EnergyWindows', 100], ['Projection', 100]]
Simulation: create RunManager (single thread)
Simulation: initialize Geometry
Simulation: initialize Physics
Simulation: initialize Source
Simulation: initialize Actors
Simulation: initialize G4RunManager
Simulation: check volumes overlap
Simulation: initialize user fct
Entered hook
Known regions are:


DefaultRegionForTheWorld
Cuts in this region:
gamma: 10.0
electron: 10.0
proton: 10.0
positron: 10.0


DefaultRegionForParallelWorld
Cuts in this region:
gamma: 10.0
electron: 10.0
proton: 10.0
positron: 10.0


spect_region
Cuts in this region:
gamma: 1.0
electron: 1.0
proton: 1.0
positron: 1.0

Simulation: START
Simulation: STOP. Run: 9. Time: 12.4 seconds.

Compare stats
Runs 9
Events 477956
Tracks 488914
Step 3543913
Init 3.787462 3.78746 s
Duration 9.956459 9.95646 s
PPS 48005
TPS 49105
SPS 355941
start Wed Dec 13 09:35:55 2023
stop Wed Dec 13 09:36:09 2023
Sim start 0 ps
Sim end 0 ps
Threads ?
Number of steps was 3543913, forced to the same value (because of angle acceptance).
Runs: 9 9
Events: 477956 477017 : +0.20 % (tol = 1.00 %)
Tracks: 488914 491172 : -0.46 % (tol = 1.00 %)
Steps: 5654650 5654650 : +0.00 % (tol = 1.00 %)
PPS: 48004.6 74075.3 : -35.2% speedup = x0.6
TPS: 49105.2 76273.4 : -35.6% speedup = x0.6
SPS: 567937.9 878102.1 : -35.3% speedup = x0.6
True
Compare images
QObject::moveToThread: Current thread (0x80bea00) is not the object's thread (0x8089ea0).
Cannot move to target thread (0x80bea00)

qt.qpa.plugin: Could not load the Qt platform plugin "xcb" in "/home/opengate_env/lib/python3.11/site-packages/opengate_core/plugins" even though it was found.
This application failed to start because no Qt platform plugin could be initialized. Reinstalling the application may fix this problem.

Available platform plugins are: eglfs, linuxfb, minimal, minimalegl, offscreen, vnc, xcb, wayland-egl, wayland, wayland-xcomposite-egl, wayland-xcomposite-glx, webgl.

Aborted (core dumped)
Running: test029_volume_time_rotation_2.py FAILED ! 18.5 s /home/opengate_env/lib/python3.11/site-packages/opengate/tests/../tests/log/test029_volume_time_rotation_2.py.log
Importing opengate (thread 347448) ... done
Simulation: create RunManager (single thread)
Simulation: initialize Geometry
Simulation: initialize Physics
Simulation: initialize Source
Simulation: initialize Actors
Simulation: initialize G4RunManager
Simulation: check volumes overlap

Simulation: START
Simulation: STOP. Run: 3. Time: 6.5 seconds.

Runs 3
Events 29625
Tracks 1102380
Step 2823937
Init 0.628306 628.306 ms
Duration 7.724061 7.72406 s
PPS 3835
TPS 142720
SPS 365603
start Wed Dec 13 09:36:15 2023
stop Wed Dec 13 09:36:23 2023
Sim start 0 ps
Sim end 0 ps
Threads ?
Track types: {'B10': 22, 'B11': 38, 'B12': 1, 'B13': 1, 'B9': 1, 'Be10': 5, 'Be7': 1, 'Be8': 190, 'Be9': 2, 'C10': 2, 'C11': 29, 'C12': 921, 'C13': 289, 'C14': 222, 'F16': 5, 'He3': 42, 'Li7': 1, 'N13': 67, 'N14': 569, 'N15': 635, 'O13': 1, 'O14': 21, 'O15': 326, 'O16': 4101, 'O17': 4, 'O18': 7, 'alpha': 1036, 'deuteron': 333, 'e+': 43, 'e-': 1044928, 'gamma': 8549, 'neutron': 2375, 'proton': 37551, 'triton': 62}
DoseActor "dose": dim=[99, 99, 99] spacing=[2.0, 2.0, 2.0] /home/opengate_env/lib/python3.11/site-packages/opengate/tests/src/../output/test030/test030-edep.mhd tr=[2.0, 3.0, -2.0]
Runs: 3 3
Events: 29625 29864 : -0.80 % (tol = 11.00 %)
Tracks: 1102380 1112843 : -0.94 % (tol = 11.00 %)
Steps: 2823937 2847538 : -0.83 % (tol = 11.00 %)
PPS: 3835.4 7090.8 : -45.9% speedup = x0.5
TPS: 142720.3 264229.0 : -46.0% speedup = x0.5
SPS: 365602.6 676108.1 : -45.9% speedup = x0.5
Track B10 22 21 : +4.8%
Track B11 38 53 : -28.3%
Track B12 1 1 : +0.0%
Track B13 1 1 : +0.0%
Track B9 1 4 : -75.0%
Track Be10 5 6 : -16.7%
Track Be7 1 1 : +0.0%
Track Be8 190 195 : -2.6%
Track Be9 2 2 : +0.0%
Track C10 2 0
Track C11 29 14 : +107.1%
Track C12 921 950 : -3.1%
Track C13 289 287 : +0.7%
Track C14 222 168 : +32.1%
Track F16 5 9 : -44.4%
Track He3 42 45 : -6.7%
Track Li7 1 2 : -50.0%
Track N13 67 65 : +3.1%
Track N14 569 564 : +0.9%
Track N15 635 613 : +3.6%
Track O13 1 1 : +0.0%
Track O14 21 33 : -36.4%
Track O15 326 354 : -7.9%
Track O16 4101 4184 : -2.0%
Track O17 4 1 : +300.0%
Track O18 7 9 : -22.2%
Track alpha 1036 1051 : -1.4%
Track deuteron333 354 : -5.9%
Track e+ 43 48 : -10.4%
Track e- 1044928 1055049 : -1.0%
Track gamma 8549 8536 : +0.2%
Track neutron 2375 2482 : -4.3%
Track proton 37551 37683 : -0.4%
Track triton 62 51 : +21.6%
Track F15 0 1
Track He5 0 1
Track He6 0 1
Track Li8 0 1
Track N12 0 1
Track N16 0 1
Tracks : {'B10': 22, 'B11': 38, 'B12': 1, 'B13': 1, 'B9': 1, 'Be10': 5, 'Be7': 1, 'Be8': 190, 'Be9': 2, 'C10': 2, 'C11': 29, 'C12': 921, 'C13': 289, 'C14': 222, 'F16': 5, 'He3': 42, 'Li7': 1, 'N13': 67, 'N14': 569, 'N15': 635, 'O13': 1, 'O14': 21, 'O15': 326, 'O16': 4101, 'O17': 4, 'O18': 7, 'alpha': 1036, 'deuteron': 333, 'e+': 43, 'e-': 1044928, 'gamma': 8549, 'neutron': 2375, 'proton': 37551, 'triton': 62}
Tracks (ref): {'B10': '21', 'B11': '53', 'B12': '1', 'B13': '1', 'B9': '4', 'Be10': '6', 'Be7': '1', 'Be8': '195', 'Be9': '2', 'C11': '14', 'C12': '950', 'C13': '287', 'C14': '168', 'F15': '1', 'F16': '9', 'He3': '45', 'He5': '1', 'He6': '1', 'Li7': '2', 'Li8': '1', 'N12': '1', 'N13': '65', 'N14': '564', 'N15': '613', 'N16': '1', 'O13': '1', 'O14': '33', 'O15': '354', 'O16': '4184', 'O17': '1', 'O18': '9', 'alpha': '1051', 'deuteron': '354', 'e+': '48', 'e-': '1055049', 'gamma': '8536', 'neutron': '2482', 'proton': '37683', 'triton': '51'}
Tracks vs track_types : 1102380 1102380

Difference for EDEP
QObject::moveToThread: Current thread (0x9835c30) is not the object's thread (0xa6aacf0).
Cannot move to target thread (0x9835c30)

qt.qpa.plugin: Could not load the Qt platform plugin "xcb" in "/home/opengate_env/lib/python3.11/site-packages/opengate_core/plugins" even though it was found.
This application failed to start because no Qt platform plugin could be initialized. Reinstalling the application may fix this problem.

Available platform plugins are: eglfs, linuxfb, minimal, minimalegl, offscreen, vnc, xcb, wayland-egl, wayland, wayland-xcomposite-egl, wayland-xcomposite-glx, webgl.

Aborted (core dumped)
Running: test030_dose_motion.py FAILED ! 12.8 s /home/opengate_env/lib/python3.11/site-packages/opengate/tests/../tests/log/test030_dose_motion.py.log
Importing opengate (thread 347516) ... QObject::moveToThread: Current thread (0x95de210) is not the object's thread (0x95cc160).
Cannot move to target thread (0x95de210)

qt.qpa.plugin: Could not load the Qt platform plugin "xcb" in "/home/opengate_env/lib/python3.11/site-packages/opengate_core/plugins" even though it was found.
This application failed to start because no Qt platform plugin could be initialized. Reinstalling the application may fix this problem.

Available platform plugins are: eglfs, linuxfb, minimal, minimalegl, offscreen, vnc, xcb, wayland-egl, wayland, wayland-xcomposite-egl, wayland-xcomposite-glx, webgl.

Aborted (core dumped)
Running: test031_beta_plus_spectrum.py FAILED ! 3.0 s /home/opengate_env/lib/python3.11/site-packages/opengate/tests/../tests/log/test031_beta_plus_spectrum.py.log
Importing opengate (thread 347554) ... done
Image : [102 79 74] [3. 3. 3.] [-149.5 -79.499999 -106.5 ]
No source: no particle will be generated
■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■ [00m:00s<00m:00s]
■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■ [00m:17s<00m:00s]
Starting voxelization ...
Output labels: {'iec': 1, 'iec_capillary_10mm': 17, 'iec_capillary_13mm': 19, 'iec_capillary_17mm': 22, 'iec_capillary_22mm': 23, 'iec_capillary_28mm': 25, 'iec_capillary_37mm': 27, 'iec_capillary_shell_10mm': 18, 'iec_capillary_shell_13mm': 20, 'iec_capillary_shell_17mm': 21, 'iec_capillary_shell_22mm': 24, 'iec_capillary_shell_28mm': 26, 'iec_capillary_shell_37mm': 28, 'iec_center_cylinder': 3, 'iec_center_cylinder_hole': 4, 'iec_interior': 2, 'iec_sphere_10mm': 16, 'iec_sphere_13mm': 15, 'iec_sphere_17mm': 12, 'iec_sphere_22mm': 10, 'iec_sphere_28mm': 8, 'iec_sphere_37mm': 6, 'iec_sphere_shell_10mm': 14, 'iec_sphere_shell_13mm': 13, 'iec_sphere_shell_17mm': 11, 'iec_sphere_shell_22mm': 9, 'iec_sphere_shell_28mm': 7, 'iec_sphere_shell_37mm': 5, 'world': 0}
Write image /home/opengate_env/lib/python3.11/site-packages/opengate/tests/src/../output/test032/test032_iec_3mm.mhd
Image : [302 232 216] [1. 1. 1.] [-150.5 -80.499999 -107.5 ]
Starting voxelization ...
Output labels: {'iec': 1, 'iec_capillary_10mm': 18, 'iec_capillary_13mm': 20, 'iec_capillary_17mm': 22, 'iec_capillary_22mm': 24, 'iec_capillary_28mm': 26, 'iec_capillary_37mm': 28, 'iec_capillary_shell_10mm': 17, 'iec_capillary_shell_13mm': 19, 'iec_capillary_shell_17mm': 21, 'iec_capillary_shell_22mm': 23, 'iec_capillary_shell_28mm': 25, 'iec_capillary_shell_37mm': 27, 'iec_center_cylinder': 3, 'iec_center_cylinder_hole': 4, 'iec_interior': 2, 'iec_sphere_10mm': 16, 'iec_sphere_13mm': 14, 'iec_sphere_17mm': 12, 'iec_sphere_22mm': 10, 'iec_sphere_28mm': 8, 'iec_sphere_37mm': 6, 'iec_sphere_shell_10mm': 15, 'iec_sphere_shell_13mm': 13, 'iec_sphere_shell_17mm': 11, 'iec_sphere_shell_22mm': 9, 'iec_sphere_shell_28mm': 7, 'iec_sphere_shell_37mm': 5, 'world': 0}
Write image /home/opengate_env/lib/python3.11/site-packages/opengate/tests/src/../output/test032/test032_iec.mhd

Difference labels
Labels comparisons, added: set()
Labels comparisons, removed: set()
Labels comparisons: modified: {}

Difference with ref image
QObject::moveToThread: Current thread (0xaf4a7f0) is not the object's thread (0x8e93500).
Cannot move to target thread (0xaf4a7f0)

qt.qpa.plugin: Could not load the Qt platform plugin "xcb" in "/home/opengate_env/lib/python3.11/site-packages/opengate_core/plugins" even though it was found.
This application failed to start because no Qt platform plugin could be initialized. Reinstalling the application may fix this problem.

Available platform plugins are: eglfs, linuxfb, minimal, minimalegl, offscreen, vnc, xcb, wayland-egl, wayland, wayland-xcomposite-egl, wayland-xcomposite-glx, webgl.

Aborted (core dumped)
Running: test032_create_voxelized_volume.py FAILED ! 26.2 s /home/opengate_env/lib/python3.11/site-packages/opengate/tests/../tests/log/test032_create_voxelized_volume.py.log
Importing opengate (thread 347592) ... done
pMin and pMax of iec1 (-150,-80,-107) (150,150,107)
Simulation: create RunManager (single thread)
Simulation: initialize Geometry
Simulation: initialize Physics
Simulation: initialize Source
Simulation: initialize Actors
Simulation: initialize G4RunManager
Simulation: check volumes overlap

Simulation: START
DoseActor "dose1" has the flag img_coord_system set to True, but it is not attached to an ImageVolume volume ("iec1", of type "BooleanVolume"). So the flag is ignored.
Simulation: STOP. Run: 1. Time: 7.1 seconds.

QObject::moveToThread: Current thread (0x933f930) is not the object's thread (0x88e6110).
Cannot move to target thread (0x933f930)

qt.qpa.plugin: Could not load the Qt platform plugin "xcb" in "/home/opengate_env/lib/python3.11/site-packages/opengate_core/plugins" even though it was found.
This application failed to start because no Qt platform plugin could be initialized. Reinstalling the application may fix this problem.

Available platform plugins are: eglfs, linuxfb, minimal, minimalegl, offscreen, vnc, xcb, wayland-egl, wayland, wayland-xcomposite-egl, wayland-xcomposite-glx, webgl.

Aborted (core dumped)
Running: test032_voxel_vs_volume.py FAILED ! 15.6 s /home/opengate_env/lib/python3.11/site-packages/opengate/tests/../tests/log/test032_voxel_vs_volume.py.log
Importing opengate (thread 347646) ... Importing opengate (thread 347680) ... done
Image size=[32 25 24]
Image spacing=[10. 10. 10.]
Image origin=[-146. -75.999999 -103. ]
Starting voxelization ...
Simulation: create RunManager (single thread)
Simulation: initialize Geometry
Simulation: initialize Physics
Simulation: initialize Source
No source: no particle will be generated
Simulation: initialize Actors
Simulation: initialize G4RunManager
Simulation: check volumes overlap
■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■ [00m:00s<00m:00s]
Output labels:
{
"iec": 1,
"iec_capillary_37mm": 16,
"iec_capillary_shell_10mm": 14,
"iec_capillary_shell_17mm": 13,
"iec_capillary_shell_28mm": 15,
"iec_center_cylinder": 3,
"iec_center_cylinder_hole": 4,
"iec_interior": 2,
"iec_sphere_10mm": 11,
"iec_sphere_13mm": 12,
"iec_sphere_17mm": 10,
"iec_sphere_22mm": 9,
"iec_sphere_28mm": 5,
"iec_sphere_37mm": 7,
"iec_sphere_shell_22mm": 6,
"iec_sphere_shell_37mm": 8,
"world": 0
}
Write image /home/opengate_env/lib/python3.11/site-packages/opengate/tests/src/../output/test032/iec_10mm.mhd

Voxelized source:
Sphere 10mm : index = 11 -> 666 BqmL
Sphere 13mm : index = 12 -> 555 BqmL
Sphere 17mm : index = 10 -> 444 BqmL
Sphere 22mm : index = 9 -> 333 BqmL
Sphere 28mm : index = 5 -> 222 BqmL
Sphere 37mm : index = 7 -> 111 BqmL
Sphere 22mm : index = 6 -> 333 BqmL
Sphere 37mm : index = 8 -> 111 BqmL
Write image source /home/opengate_env/lib/python3.11/site-packages/opengate/tests/src/../output/test032/iec_source_10mm.mhd
Importing opengate (thread 347728) ... done
Image size=[36 28 26]
Image spacing=[9. 9. 9.]
Image origin=[-146.5 -76.499999 -103.5 ]
Starting voxelization ...
Simulation: create RunManager (single thread)
Simulation: initialize Geometry
Simulation: initialize Physics
Simulation: initialize Source
No source: no particle will be generated
Simulation: initialize Actors
Simulation: initialize G4RunManager
Simulation: check volumes overlap
■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■ [00m:00s<00m:00s]
Output labels:
{
"iec": 1,
"iec_capillary_10mm": 16,
"iec_capillary_28mm": 17,
"iec_center_cylinder": 3,
"iec_center_cylinder_hole": 4,
"iec_interior": 2,
"iec_sphere_10mm": 13,
"iec_sphere_13mm": 14,
"iec_sphere_17mm": 10,
"iec_sphere_22mm": 7,
"iec_sphere_28mm": 5,
"iec_sphere_37mm": 6,
"iec_sphere_shell_13mm": 15,
"iec_sphere_shell_17mm": 12,
"iec_sphere_shell_22mm": 9,
"iec_sphere_shell_28mm": 8,
"iec_sphere_shell_37mm": 11,
"world": 0
}
Write image /home/opengate_env/lib/python3.11/site-packages/opengate/tests/src/../output/test032/iec_9mm.mhd

Voxelized source:
Sphere 10mm : index = 13 -> 111 BqmL
Sphere 13mm : index = 14 -> 222 BqmL
Sphere 17mm : index = 10 -> 333 BqmL
Sphere 22mm : index = 7 -> 444 BqmL
Sphere 28mm : index = 5 -> 555 BqmL
Sphere 37mm : index = 6 -> 666 BqmL
Write image source /home/opengate_env/lib/python3.11/site-packages/opengate/tests/src/../output/test032/iec_source_9mm.mhd
done
python /home/opengate_env/lib/python3.11/site-packages/opengate/tests/../tests/src/../../bin/voxelize_iec_phantom -o /home/opengate_env/lib/python3.11/site-packages/opengate/tests/src/../output/test032/iec_10mm.mhd -s 10 --output_source /home/opengate_env/lib/python3.11/site-packages/opengate/tests/src/../output/test032/iec_source_10mm.mhd -a 666 555 444 333 222 111
python /home/opengate_env/lib/python3.11/site-packages/opengate/tests/../tests/src/../../bin/voxelize_iec_phantom -o /home/opengate_env/lib/python3.11/site-packages/opengate/tests/src/../output/test032/iec_9mm.mhd -s 9 --output_source /home/opengate_env/lib/python3.11/site-packages/opengate/tests/src/../output/test032/iec_source_9mm.mhd -a 111 222 333 444 555 666 --no_shell

Difference with ref image
QObject::moveToThread: Current thread (0xaf1aa60) is not the object's thread (0x8657460).
Cannot move to target thread (0xaf1aa60)

qt.qpa.plugin: Could not load the Qt platform plugin "xcb" in "/home/opengate_env/lib/python3.11/site-packages/opengate_core/plugins" even though it was found.
This application failed to start because no Qt platform plugin could be initialized. Reinstalling the application may fix this problem.

Available platform plugins are: eglfs, linuxfb, minimal, minimalegl, offscreen, vnc, xcb, wayland-egl, wayland, wayland-xcomposite-egl, wayland-xcomposite-glx, webgl.

Aborted (core dumped)
Running: test032_voxelized_volume_source.py FAILED ! 20.1 s /home/opengate_env/lib/python3.11/site-packages/opengate/tests/../tests/log/test032_voxelized_volume_source.py.log
Importing opengate (thread 347766) ... done
The repeated volume spect1_collimator_hole must have the 'build_physical_volume' option set to False. Setting it to False.
The repeated volume spect2_collimator_hole must have the 'build_physical_volume' option set to False. Setting it to False.
Simulation: create RunManager (single thread)
Simulation: initialize Geometry
Simulation: initialize Physics
Simulation: initialize Source
Simulation: initialize Actors
Simulation: initialize G4RunManager
Simulation: (no volumes overlap checking)

Simulation: START
Simulation: STOP. Run: 9. Time: 9.6 seconds.

Runs 9
Events 91154
Tracks 91317
Step 649998
Init 8.517918 8.51792 s
Duration 2.424609 2.42461 s
PPS 37595
TPS 37663
SPS 268084
start Wed Dec 13 09:37:31 2023
stop Wed Dec 13 09:37:42 2023
Sim start 0 ps
Sim end 0 ps
Threads ?
Skipped particles 5907820
Zeros E particles 0
Check nb of skipped particles
Skipped particles ref=5908066, get 5907820 -> 0.004163799118019331% vs tol=1.0%
Check stats
Steps counts not compared (was 649998)
Track counts not compared (was 91317)
Modify Events + skipped 5998974)
Runs: 9 9
Events: 5998974 5998031 : +0.02 % (tol = 3.00 %)
Tracks: 6034780 6034780 : +0.00 % (tol = 3.00 %)
Steps: 28624618 28624618 : +0.00 % (tol = 3.00 %)
PPS: 2474202.6 223929.1 : +1004.9% speedup = x11.0
TPS: 2488970.4 225301.1 : +1004.7% speedup = x11.0
SPS: 11805869.7 1068664.9 : +1004.7% speedup = x11.0
Check images
Starting run 0 (master)
Starting run 1 (master)
Starting run 2 (master)
Starting run 3 (master)
Starting run 4 (master)
Starting run 5 (master)
Starting run 6 (master)
Starting run 7 (master)
Starting run 8 (master)
QObject::moveToThread: Current thread (0x92db1e0) is not the object's thread (0x93af1d0).
Cannot move to target thread (0x92db1e0)

qt.qpa.plugin: Could not load the Qt platform plugin "xcb" in "/home/opengate_env/lib/python3.11/site-packages/opengate_core/plugins" even though it was found.
This application failed to start because no Qt platform plugin could be initialized. Reinstalling the application may fix this problem.

Available platform plugins are: eglfs, linuxfb, minimal, minimalegl, offscreen, vnc, xcb, wayland-egl, wayland, wayland-xcomposite-egl, wayland-xcomposite-glx, webgl.

Aborted (core dumped)
Running: test033_rotation_spect_aa_se.py FAILED ! 15.7 s /home/opengate_env/lib/python3.11/site-packages/opengate/tests/../tests/log/test033_rotation_spect_aa_se.py.log
Importing opengate (thread 347820) ... done
The repeated volume spect1_collimator_hole must have the 'build_physical_volume' option set to False. Setting it to False.
The repeated volume spect2_collimator_hole must have the 'build_physical_volume' option set to False. Setting it to False.
Simulation: create MTRunManager with 2 threads
Simulation: initialize Geometry
Simulation: initialize Physics
Simulation: initialize Source
Simulation: initialize Actors
Simulation: initialize G4RunManager
Simulation: (no volumes overlap checking)

Simulation: START
Simulation: STOP. Run: 9. Time: 106.0 seconds.

Runs 18
Events 91186
Tracks 91375
Step 649644
Init 1.382957 1.38296 s
Duration 106.01467 1.76691 min
PPS 860
TPS 862
SPS 6128
start Wed Dec 13 09:37:54 2023
stop Wed Dec 13 09:39:42 2023
Sim start 0 ps
Sim end 0 ps
Threads ?
Skipped particles 5910468
Zeros E particles 0
Check nb of skipped particles
Skipped particles ref=5913808, get 5910468 -> 0.05647799184552491% vs tol=1.0%
Check stats
Steps counts not compared (was 649644)
Track counts not compared (was 91375)
Modify Events + skipped 6001654)
Runs: 18 18
Events: 6001654 5998031 : +0.06 % (tol = 3.00 %)
Tracks: 6034780 6034780 : +0.00 % (tol = 3.00 %)
Steps: 28624618 28624618 : +0.00 % (tol = 3.00 %)
PPS: 56611.5 223929.1 : -74.7% speedup = x0.3
TPS: 56924.0 225301.1 : -74.7% speedup = x0.3
SPS: 270006.2 1068664.9 : -74.7% speedup = x0.3
Check images
Starting run 0 (1)
Starting run 0 (0)
Starting run 1 (1)
Starting run 1 (0)
Starting run 2 (0)
Starting run 2 (1)
Starting run 3 (0)
Starting run 3 (1)
Starting run 4 (0)
Starting run 4 (1)
Starting run 5 (0)
Starting run 5 (1)
Starting run 6 (1)
Starting run 6 (0)
Starting run 7 (1)
Starting run 7 (0)
Starting run 8 (0)
Starting run 8 (1)
QObject::moveToThread: Current thread (0x8cd5120) is not the object's thread (0x8d5af40).
Cannot move to target thread (0x8cd5120)

qt.qpa.plugin: Could not load the Qt platform plugin "xcb" in "/home/opengate_env/lib/python3.11/site-packages/opengate_core/plugins" even though it was found.
This application failed to start because no Qt platform plugin could be initialized. Reinstalling the application may fix this problem.

Available platform plugins are: eglfs, linuxfb, minimal, minimalegl, offscreen, vnc, xcb, wayland-egl, wayland, wayland-xcomposite-egl, wayland-xcomposite-glx, webgl.

Aborted (core dumped)
Running: test033_rotation_spect_aa_se_mt.py FAILED ! 119.5 s /home/opengate_env/lib/python3.11/site-packages/opengate/tests/../tests/log/test033_rotation_spect_aa_se_mt.py.log
Importing opengate (thread 347904) ... done
The repeated volume spect1_collimator_hole must have the 'build_physical_volume' option set to False. Setting it to False.
The repeated volume spect2_collimator_hole must have the 'build_physical_volume' option set to False. Setting it to False.
Simulation: create RunManager (single thread)
Simulation: initialize Geometry
Simulation: initialize Physics
Simulation: initialize Source
Simulation: initialize Actors
Simulation: initialize G4RunManager
Simulation: (no volumes overlap checking)

Simulation: START
Simulation: STOP. Run: 9. Time: 33.0 seconds.

Runs 9
Events 5999325
Tracks 5999499
Step 650340
Init 8.449546 8.44955 s
Duration 25.950069 25.9501 s
PPS 231187
TPS 231194
SPS 25061
start Wed Dec 13 09:39:47 2023
stop Wed Dec 13 09:40:21 2023
Sim start 0 ps
Sim end 0 ps
Threads ?
Skipped particles 0
Zeros E particles 5908068
Check nb of skipped particles
Skipped particles ref=5905908, get 5908068 -> 0.03657354635392221% vs tol=1.0%
Check stats
Steps counts not compared (was 650340)
Track counts not compared (was 5999499)
Runs: 9 9
Events: 5999325 5998031 : +0.02 % (tol = 3.00 %)
Tracks: 6034780 6034780 : +0.00 % (tol = 3.00 %)
Steps: 28624618 28624618 : +0.00 % (tol = 3.00 %)
PPS: 231187.2 223929.1 : +3.2% speedup = x1.0
TPS: 232553.5 225301.1 : +3.2% speedup = x1.0
SPS: 1103065.2 1068664.9 : +3.2% speedup = x1.0
Check images
Starting run 0 (master)
Starting run 1 (master)
Starting run 2 (master)
Starting run 3 (master)
Starting run 4 (master)
Starting run 5 (master)
Starting run 6 (master)
Starting run 7 (master)
Starting run 8 (master)
QObject::moveToThread: Current thread (0x8895c40) is not the object's thread (0x9e72bc0).
Cannot move to target thread (0x8895c40)

qt.qpa.plugin: Could not load the Qt platform plugin "xcb" in "/home/opengate_env/lib/python3.11/site-packages/opengate_core/plugins" even though it was found.
This application failed to start because no Qt platform plugin could be initialized. Reinstalling the application may fix this problem.

Available platform plugins are: eglfs, linuxfb, minimal, minimalegl, offscreen, vnc, xcb, wayland-egl, wayland, wayland-xcomposite-egl, wayland-xcomposite-glx, webgl.

Aborted (core dumped)
Running: test033_rotation_spect_aa_ze.py FAILED ! 39.3 s /home/opengate_env/lib/python3.11/site-packages/opengate/tests/../tests/log/test033_rotation_spect_aa_ze.py.log
Importing opengate (thread 348120) ... done
The repeated volume spect1_collimator_hole must have the 'build_physical_volume' option set to False. Setting it to False.
The repeated volume spect2_collimator_hole must have the 'build_physical_volume' option set to False. Setting it to False.
Simulation: create RunManager (single thread)
Simulation: initialize Geometry
Simulation: initialize Physics
Simulation: initialize Source
Simulation: initialize Actors
Simulation: initialize G4RunManager
Simulation: (no volumes overlap checking)

Simulation: START
Simulation: STOP. Run: 9. Time: 66.8 seconds.

Runs 9
Events 6000472
Tracks 6036889
Step 28610373
Init 8.702873 8.70287 s
Duration 59.513571 59.5136 s
PPS 100825
TPS 101437
SPS 480737
start Wed Dec 13 09:40:26 2023
stop Wed Dec 13 09:41:34 2023
Sim start 0 ps
Sim end 0 ps
Threads ?
Skipped particles 0
Zeros E particles 0
Check nb of skipped particles
Skipped particles ref=0, get 0 -> 0% vs tol=1.0%
Check stats
Steps counts not compared (was 28610373)
Runs: 9 9
Events: 6000472 5998031 : +0.04 % (tol = 3.00 %)
Tracks: 6036889 6034780 : +0.03 % (tol = 3.00 %)
Steps: 28624618 28624618 : +0.00 % (tol = 3.00 %)
PPS: 100825.3 223929.1 : -55.0% speedup = x0.5
TPS: 101437.2 225301.1 : -55.0% speedup = x0.5
SPS: 480976.3 1068664.9 : -55.0% speedup = x0.5
Check images
Starting run 0 (master)
Starting run 1 (master)
Starting run 2 (master)
Starting run 3 (master)
Starting run 4 (master)
Starting run 5 (master)
Starting run 6 (master)
Starting run 7 (master)
Starting run 8 (master)
QObject::moveToThread: Current thread (0x6c5f100) is not the object's thread (0x8247b00).
Cannot move to target thread (0x6c5f100)

qt.qpa.plugin: Could not load the Qt platform plugin "xcb" in "/home/opengate_env/lib/python3.11/site-packages/opengate_core/plugins" even though it was found.
This application failed to start because no Qt platform plugin could be initialized. Reinstalling the application may fix this problem.

Available platform plugins are: eglfs, linuxfb, minimal, minimalegl, offscreen, vnc, xcb, wayland-egl, wayland, wayland-xcomposite-egl, wayland-xcomposite-glx, webgl.

Aborted (core dumped)
Running: test033_rotation_spect_noaa.py FAILED ! 73.0 s /home/opengate_env/lib/python3.11/site-packages/opengate/tests/../tests/log/test033_rotation_spect_noaa.py.log
Importing opengate (thread 348188) ... done
The repeated volume spect1_collimator_hole must have the 'build_physical_volume' option set to False. Setting it to False.
The repeated volume spect2_collimator_hole must have the 'build_physical_volume' option set to False. Setting it to False.
Simulation: create MTRunManager with 4 threads
Simulation: initialize Geometry
Simulation: initialize Physics
Simulation: initialize Source
Simulation: initialize Actors
Simulation: initialize G4RunManager
Simulation: (no volumes overlap checking)

Simulation: START
Simulation: STOP. Run: 9. Time: 106.3 seconds.

Runs 36
Events 5997720
Tracks 6034006
Step 28612224
Init 1.37761 1.37761 s
Duration 106.31324 1.77189 min
PPS 56416
TPS 56757
SPS 269131
start Wed Dec 13 09:41:46 2023
stop Wed Dec 13 09:43:34 2023
Sim start 0 ps
Sim end 0 ps
Threads ?
Skipped particles 0
Zeros E particles 0
Check nb of skipped particles
Skipped particles ref=0, get 0 -> 0% vs tol=1.0%
Check stats
Steps counts not compared (was 28612224)
Runs: 36 36
Events: 5997720 5998031 : -0.01 % (tol = 3.00 %)
Tracks: 6034006 6034780 : -0.01 % (tol = 3.00 %)
Steps: 28624618 28624618 : +0.00 % (tol = 3.00 %)
PPS: 56415.6 223929.1 : -74.8% speedup = x0.3
TPS: 56756.9 225301.1 : -74.8% speedup = x0.3
SPS: 269247.9 1068664.9 : -74.8% speedup = x0.3
Check images
Starting run 0 (3)
Starting run 0 (1)
Starting run 0 (2)
Starting run 0 (0)
Starting run 1 (3)
Starting run 1 (0)
Starting run 1 (1)
Starting run 1 (2)
Starting run 2 (1)
Starting run 2 (3)
Starting run 2 (0)
Starting run 2 (2)
Starting run 3 (0)
Starting run 3 (2)
Starting run 3 (3)
Starting run 3 (1)
Starting run 4 (3)
Starting run 4 (0)
Starting run 4 (2)
Starting run 4 (1)
Starting run 5 (3)
Starting run 5 (2)
Starting run 5 (1)
Starting run 5 (0)
Starting run 6 (1)
Starting run 6 (3)
Starting run 6 (0)
Starting run 6 (2)
Starting run 7 (0)
Starting run 7 (3)
Starting run 7 (1)
Starting run 7 (2)
Starting run 8 (2)
Starting run 8 (1)
Starting run 8 (3)
Starting run 8 (0)
QObject::moveToThread: Current thread (0x10389060) is not the object's thread (0x8ca5ff0).
Cannot move to target thread (0x10389060)

qt.qpa.plugin: Could not load the Qt platform plugin "xcb" in "/home/opengate_env/lib/python3.11/site-packages/opengate_core/plugins" even though it was found.
This application failed to start because no Qt platform plugin could be initialized. Reinstalling the application may fix this problem.

Available platform plugins are: eglfs, linuxfb, minimal, minimalegl, offscreen, vnc, xcb, wayland-egl, wayland, wayland-xcomposite-egl, wayland-xcomposite-glx, webgl.

Aborted (core dumped)
Running: test033_rotation_spect_noaa_mt.py FAILED ! 119.5 s /home/opengate_env/lib/python3.11/site-packages/opengate/tests/../tests/log/test033_rotation_spect_noaa_mt.py.log
Importing opengate (thread 348275) ... done
Simulation: create RunManager (single thread)
Simulation: initialize Geometry
Simulation: initialize Physics
Simulation: initialize Source
Simulation: initialize Actors
Simulation: initialize G4RunManager
Simulation: (no volumes overlap checking)
Simulation: initialize user fct
Entered hook
Known regions are:


DefaultRegionForTheWorld
Cuts in this region:
gamma: 1000000.0
electron: 1000000.0
proton: 1000000.0
positron: 1000000.0


DefaultRegionForParallelWorld
Cuts in this region:
gamma: 1000000.0
electron: 1000000.0
proton: 1000000.0
positron: 1000000.0


waterbox_region
Cuts in this region:
gamma: 1.0
electron: 1.0
proton: 1.0
positron: 1.0

Simulation: START
Generate 100000 particles from GAN in 0.4 sec (GPU=cpu)
Generate 100000 particles from GAN in 0.3 sec (GPU=cpu)
Generate 100000 particles from GAN in 0.3 sec (GPU=cpu)
Generate 100000 particles from GAN in 0.3 sec (GPU=cpu)
Generate 100000 particles from GAN in 0.3 sec (GPU=cpu)
Generate 100000 particles from GAN in 0.3 sec (GPU=cpu)
Generate 100000 particles from GAN in 0.3 sec (GPU=cpu)
Generate 100000 particles from GAN in 0.3 sec (GPU=cpu)
Generate 100000 particles from GAN in 0.3 sec (GPU=cpu)
Generate 100000 particles from GAN in 0.3 sec (GPU=cpu)
Simulation: STOP. Run: 1. Time: 37.0 seconds.

Source, nb of E<=0: 0
Check stats
Runs 1
Events 1000000
Tracks 1586495
Step 16138416
Init 1.484516 1.48452 s
Duration 35.645422 35.6454 s
PPS 28054
TPS 44508
SPS 452749
start Wed Dec 13 09:43:40 2023
stop Wed Dec 13 09:44:17 2023
Sim start 0 ps
Sim end 0 ps
Threads ?
Track types: {'Ar40': 1, 'N14': 4, 'O16': 4833, 'O17': 1, 'O18': 6, 'e+': 5564, 'e-': 523853, 'gamma': 1052147, 'proton': 86}
Runs: 1 1
Events: 1000000 1000000 : +0.00 % (tol = 10.00 %)
Tracks: 1586495 1585892 : +0.04 % (tol = 10.00 %)
Steps: 16138416 16130145 : +0.05 % (tol = 10.00 %)
PPS: 28054.1 17478.4 : +60.5% speedup = x1.6
TPS: 44507.7 27718.8 : +60.6% speedup = x1.6
SPS: 452748.6 281928.5 : +60.6% speedup = x1.6
Tracks : {'Ar40': 1, 'N14': 4, 'O16': 4833, 'O17': 1, 'O18': 6, 'e+': 5564, 'e-': 523853, 'gamma': 1052147, 'proton': 86}
Tracks (ref): {}
Tracks vs track_types : 1586495 1586495
Check dose
QObject::moveToThread: Current thread (0x85f40e0) is not the object's thread (0x54c5d50).
Cannot move to target thread (0x85f40e0)

qt.qpa.plugin: Could not load the Qt platform plugin "xcb" in "/home/opengate_env/lib/python3.11/site-packages/opengate_core/plugins" even though it was found.
This application failed to start because no Qt platform plugin could be initialized. Reinstalling the application may fix this problem.

Available platform plugins are: eglfs, linuxfb, minimal, minimalegl, offscreen, vnc, xcb, wayland-egl, wayland, wayland-xcomposite-egl, wayland-xcomposite-glx, webgl.

Aborted (core dumped)
Running: test034_gan_phsp_linac.py FAILED ! 43.7 s /home/opengate_env/lib/python3.11/site-packages/opengate/tests/../tests/log/test034_gan_phsp_linac.py.log
Importing opengate (thread 348358) ... done
Density tolerance = 50 mg/cm3
Number of materials in the CT : 74 materials
Phys list cuts:
*** Production cuts for World: ***
all: 1000.0
gamma: None
electron: None
positron: None
proton: None
*** Production cuts per regions ***
In region ct_region:
all: 1.0

Simulation: create RunManager (single thread)
Simulation: initialize Geometry
Simulation: initialize Physics
Simulation: initialize Source
Simulation: initialize Actors
Simulation: initialize G4RunManager
Simulation: check volumes overlap

Simulation: START (in a new process)
Simulation: STOP. Run: 1. Time: 18.4 seconds.

Check stats
Runs 1
Events 998574
Tracks 998574
Step 1434126
Init 12.056741 12.0567 s
Duration 6.329863 6.32986 s
PPS 157756
TPS 157756
SPS 226565
start Wed Dec 13 09:44:25 2023
stop Wed Dec 13 09:44:44 2023
Sim start 0 ps
Sim end 1 s
Threads 1
Track types: {'alpha': 998574}
Runs: 1 1
Events: 998574 998374 : +0.02 % (tol = 10.00 %)
Tracks: 998574 998374 : +0.02 % (tol = 10.00 %)
Steps: 1434126 1432198 : +0.13 % (tol = 10.00 %)
PPS: 157756.0 397148.0 : -60.3% speedup = x0.4
TPS: 157756.0 397148.0 : -60.3% speedup = x0.4
SPS: 226565.1 569720.9 : -60.2% speedup = x0.4
Track alpha 998574 998374 : +0.0%
Tracks : {'alpha': 998574}
Tracks (ref): {'alpha': '998374'}
Tracks vs track_types : 998574 998574

Check dose
QObject::moveToThread: Current thread (0x92299d0) is not the object's thread (0x83f6110).
Cannot move to target thread (0x92299d0)

qt.qpa.plugin: Could not load the Qt platform plugin "xcb" in "/home/opengate_env/lib/python3.11/site-packages/opengate_core/plugins" even though it was found.
This application failed to start because no Qt platform plugin could be initialized. Reinstalling the application may fix this problem.

Available platform plugins are: eglfs, linuxfb, minimal, minimalegl, offscreen, vnc, xcb, wayland-egl, wayland, wayland-xcomposite-egl, wayland-xcomposite-glx, webgl.

Aborted (core dumped)
Running: test035_dose_rate.py FAILED ! 24.7 s /home/opengate_env/lib/python3.11/site-packages/opengate/tests/../tests/log/test035_dose_rate.py.log
Importing opengate (thread 348424) ... done
The repeated volume crystal_pixel must have the 'build_physical_volume' option set to False. Setting it to False.
*** Production cuts for World: ***
all: None
gamma: 0.01
electron: 0.01
positron: 1.0
proton: 1.0
*** No cuts per region defined. ***

Simulation: create RunManager (single thread)
Simulation: initialize Geometry
Simulation: initialize Physics
Simulation: initialize Source
Simulation: initialize Actors
Simulation: initialize G4RunManager
Simulation: check volumes overlap
Could not check overlap for volume crystal_pixel_param.
Simulation: initialize user fct
Entered hook
Known regions are:


DefaultRegionForTheWorld
Cuts in this region:
gamma: 0.01
electron: 0.01
proton: 1.0
positron: 1.0


DefaultRegionForParallelWorld
Cuts in this region:
gamma: 0.01
electron: 0.01
proton: 1.0
positron: 1.0

Simulation: START
Simulation: STOP. Run: 1. Time: 6.7 seconds.

There are 1893 volumes used in the adder
Compare stats
Runs 1
Events 79865
Tracks 224348
Step 1158929
Init 1.578389 1.57839 s
Duration 5.12665 5.12665 s
PPS 15578
TPS 43761
SPS 226060
start Wed Dec 13 09:44:47 2023
stop Wed Dec 13 09:44:54 2023
Sim start 0 ps
Sim end 0 ps
Threads ?
Number of runs was 1. Set to 1 before comparison
Runs: 1 1
Events: 79865 79900 : -0.04 % (tol = 7.00 %)
Tracks: 224348 228492 : -1.81 % (tol = 7.00 %)
Steps: 1158929 1161022 : -0.18 % (tol = 7.00 %)
PPS: 15578.4 8463.3 : +84.1% speedup = x1.8
TPS: 43761.1 24202.6 : +80.8% speedup = x1.8
SPS: 226059.7 122979.3 : +83.8% speedup = x1.8

Compare HITS
QObject::moveToThread: Current thread (0xa493810) is not the object's thread (0x87c49c0).
Cannot move to target thread (0xa493810)

qt.qpa.plugin: Could not load the Qt platform plugin "xcb" in "/home/opengate_env/lib/python3.11/site-packages/opengate_core/plugins" even though it was found.
This application failed to start because no Qt platform plugin could be initialized. Reinstalling the application may fix this problem.

Available platform plugins are: eglfs, linuxfb, minimal, minimalegl, offscreen, vnc, xcb, wayland-egl, wayland, wayland-xcomposite-egl, wayland-xcomposite-glx, webgl.

Aborted (core dumped)
Running: test036_adder_depth_param.py FAILED ! 15.7 s /home/opengate_env/lib/python3.11/site-packages/opengate/tests/../tests/log/test036_adder_depth_param.py.log
Importing opengate (thread 348464) ... done
*** Production cuts for World: ***
all: None
gamma: 0.01
electron: 0.01
positron: 1.0
proton: 1.0
*** No cuts per region defined. ***

Simulation: create RunManager (single thread)
Simulation: initialize Geometry
Simulation: initialize Physics
Simulation: initialize Source
Simulation: initialize Actors
Simulation: initialize G4RunManager
Simulation: check volumes overlap
Simulation: initialize user fct
Entered hook
Known regions are:


DefaultRegionForTheWorld
Cuts in this region:
gamma: 0.01
electron: 0.01
proton: 1.0
positron: 1.0


DefaultRegionForParallelWorld
Cuts in this region:
gamma: 0.01
electron: 0.01
proton: 1.0
positron: 1.0

Simulation: START
Simulation: STOP. Run: 1. Time: 6.5 seconds.

There are 1893 volumes used in the adder
Compare stats
Runs 1
Events 79865
Tracks 224348
Step 1158929
Init 1.527859 1.52786 s
Duration 4.999185 4.99918 s
PPS 15976
TPS 44877
SPS 231824
start Wed Dec 13 09:45:09 2023
stop Wed Dec 13 09:45:15 2023
Sim start 0 ps
Sim end 0 ps
Threads ?
Number of runs was 1. Set to 1 before comparison
Runs: 1 1
Events: 79865 79900 : -0.04 % (tol = 7.00 %)
Tracks: 224348 228492 : -1.81 % (tol = 7.00 %)
Steps: 1158929 1161022 : -0.18 % (tol = 7.00 %)
PPS: 15975.6 8463.3 : +88.8% speedup = x1.9
TPS: 44876.9 24202.6 : +85.4% speedup = x1.9
SPS: 231823.6 122979.3 : +88.5% speedup = x1.9

Compare HITS
QObject::moveToThread: Current thread (0xb574a40) is not the object's thread (0x9dc7a50).
Cannot move to target thread (0xb574a40)

qt.qpa.plugin: Could not load the Qt platform plugin "xcb" in "/home/opengate_env/lib/python3.11/site-packages/opengate_core/plugins" even though it was found.
This application failed to start because no Qt platform plugin could be initialized. Reinstalling the application may fix this problem.

Available platform plugins are: eglfs, linuxfb, minimal, minimalegl, offscreen, vnc, xcb, wayland-egl, wayland, wayland-xcomposite-egl, wayland-xcomposite-glx, webgl.

Aborted (core dumped)
Running: test036_adder_depth_repeat.py FAILED ! 21.0 s /home/opengate_env/lib/python3.11/site-packages/opengate/tests/../tests/log/test036_adder_depth_repeat.py.log
Running: test037_digi_attributes_list.py OK 3.2 s /home/opengate_env/lib/python3.11/site-packages/opengate/tests/../tests/log/test037_digi_attributes_list.py.log
Importing opengate (thread 348699) ... done
Yield for F18 (nb of e+ per decay) : 0.968600992766
Crystal : pet_crystal
Simulation: create RunManager (single thread)
Simulation: initialize Geometry
Simulation: initialize Physics
Simulation: initialize Source
Simulation: initialize Actors
Simulation: initialize G4RunManager
Simulation: (no volumes overlap checking)
Simulation: initialize user fct
Entered hook
Known regions are:


DefaultRegionForTheWorld
Cuts in this region:
gamma: 1000.0
electron: 1000.0
proton: 1000.0
positron: 1000.0


DefaultRegionForParallelWorld
Cuts in this region:
gamma: 1000.0
electron: 1000.0
proton: 1000.0
positron: 1000.0


reg1
Cuts in this region:
gamma: 10.0
electron: 10.0
proton: 10.0
positron: 10.0


reg2
Cuts in this region:
gamma: 0.1
electron: 0.1
proton: 0.1
positron: 0.1

Simulation: START
Simulation: STOP. Run: 1. Time: 9.9 seconds.

Runs 1
Events 86711
Tracks 292188
Step 4144768
Init 2.048971 2.04897 s
Duration 7.836024 7.83602 s
PPS 11066
TPS 37288
SPS 528938
start Wed Dec 13 09:45:27 2023
stop Wed Dec 13 09:45:37 2023
Sim start 0 ps
Sim end 0 ps
Threads ?
Track types: {'e+': 86711, 'e-': 11411, 'gamma': 194066}

Check stats
Runs: 1 1
Events: 86711 86622 : +0.10 % (tol = 2.80 %)
Tracks: 292188 291921 : +0.09 % (tol = 2.80 %)
Steps: 4144768 4235281 : -2.14 % (tol = 2.80 %)
PPS: 11065.7 2440.5 : +353.4% speedup = x4.5
TPS: 37287.8 8224.8 : +353.4% speedup = x4.5
SPS: 528937.6 119327.6 : +343.3% speedup = x4.4
Tracks : {'e+': 86711, 'e-': 11411, 'gamma': 194066}
Tracks (ref): {}
Tracks vs track_types : 292188 292188

Check root (hits)
QObject::moveToThread: Current thread (0x84b9d50) is not the object's thread (0x84fa700).
Cannot move to target thread (0x84b9d50)

qt.qpa.plugin: Could not load the Qt platform plugin "xcb" in "/home/opengate_env/lib/python3.11/site-packages/opengate_core/plugins" even though it was found.
This application failed to start because no Qt platform plugin could be initialized. Reinstalling the application may fix this problem.

Available platform plugins are: eglfs, linuxfb, minimal, minimalegl, offscreen, vnc, xcb, wayland-egl, wayland, wayland-xcomposite-egl, wayland-xcomposite-glx, webgl.

Aborted (core dumped)
Running: test037_pet_hits_singles_1.py FAILED ! 14.4 s /home/opengate_env/lib/python3.11/site-packages/opengate/tests/../tests/log/test037_pet_hits_singles_1.py.log
Importing opengate (thread 348737) ... done
Yield for F18 (nb of e+ per decay) : 0.968600992766
Simulation: create RunManager (single thread)
Simulation: initialize Geometry
Simulation: initialize Physics
Simulation: initialize Source
Simulation: initialize Actors
Simulation: initialize G4RunManager
Simulation: (no volumes overlap checking)
Simulation: initialize user fct
Entered hook
Known regions are:


DefaultRegionForTheWorld
Cuts in this region:
gamma: 1000.0
electron: 1000.0
proton: 1000.0
positron: 1000.0


DefaultRegionForParallelWorld
Cuts in this region:
gamma: 1000.0
electron: 1000.0
proton: 1000.0
positron: 1000.0


reg1
Cuts in this region:
gamma: 10.0
electron: 10.0
proton: 10.0
positron: 10.0


reg2
Cuts in this region:
gamma: 0.1
electron: 0.1
proton: 0.1
positron: 0.1

Simulation: START
Simulation: STOP. Run: 1. Time: 10.2 seconds.

Runs 1
Events 86819
Tracks 292459
Step 4167300
Init 2.052685 2.05268 s
Duration 8.200717 8.20072 s
PPS 10587
TPS 35663
SPS 508163
start Wed Dec 13 09:45:41 2023
stop Wed Dec 13 09:45:51 2023
Sim start 0 ps
Sim end 0 ps
Threads ?
Track types: {'e+': 86819, 'e-': 11478, 'gamma': 194162}

Check stats
Runs: 1 1
Events: 86819 86622 : +0.23 % (tol = 3.00 %)
Tracks: 292459 291921 : +0.18 % (tol = 3.00 %)
Steps: 4167300 4235281 : -1.61 % (tol = 3.00 %)
PPS: 10586.8 2842.2 : +272.5% speedup = x3.7
TPS: 35662.6 9578.5 : +272.3% speedup = x3.7
SPS: 508162.9 138967.4 : +265.7% speedup = x3.7
Tracks : {'e+': 86819, 'e-': 11478, 'gamma': 194162}
Tracks (ref): {}
Tracks vs track_types : 292459 292459

Check root (hits)
QObject::moveToThread: Current thread (0x8206f20) is not the object's thread (0xb178a50).
Cannot move to target thread (0x8206f20)

qt.qpa.plugin: Could not load the Qt platform plugin "xcb" in "/home/opengate_env/lib/python3.11/site-packages/opengate_core/plugins" even though it was found.
This application failed to start because no Qt platform plugin could be initialized. Reinstalling the application may fix this problem.

Available platform plugins are: eglfs, linuxfb, minimal, minimalegl, offscreen, vnc, xcb, wayland-egl, wayland, wayland-xcomposite-egl, wayland-xcomposite-glx, webgl.

Aborted (core dumped)
Running: test037_pet_hits_singles_2.py FAILED ! 14.8 s /home/opengate_env/lib/python3.11/site-packages/opengate/tests/../tests/log/test037_pet_hits_singles_2.py.log
Importing opengate (thread 348775) ... done
Sphere 10: [28.6, -16.0367, 37.0] 0.524 cm3 9425 Bq 18000.0 BqmL
Sphere 13: [-28.6, -16.0367, 37.0] 1.150 cm3 17255 Bq 15000.0 BqmL
Sphere 17: [-57.2, 35.0, 37.0] 2.572 cm3 30869 Bq 12000.0 BqmL
Sphere 22: [-28.6, 84.5367, 37.0] 5.575 cm3 50178 Bq 9000.0 BqmL
Sphere 28: [28.6, 84.5367, 37.0] 11.494 cm3 68964 Bq 6000.0 BqmL
Sphere 37: [57.2, 35.0, 37.0] 26.522 cm3 79566 Bq 3000.0 BqmL
Total activity 256257 Bq
Activity ratio [0.03677867817430642, 0.06733562995745933, 0.12046243058024497, 0.19580968260000733, 0.2691218477607915, 0.3104917309271905] 1.0
Importing opengate (thread 348810) ... Importing opengate (thread 348848) ... done
Simulation: create RunManager (single thread)
Simulation: initialize Geometry
Simulation: initialize Physics
Simulation: initialize Source
Simulation: initialize Actors
Simulation: initialize G4RunManager
Simulation: check volumes overlap

Simulation: START (in a new process)
Generate 50000 particles from GAN in 0.38 sec (GPU=cpu)
Generate 50000 particles from GAN in 0.32 sec (GPU=cpu)
Generate 50000 particles from GAN in 0.31 sec (GPU=cpu)
Generate 50000 particles from GAN in 0.31 sec (GPU=cpu)
Generate 50000 particles from GAN in 0.31 sec (GPU=cpu)
Generate 50000 particles from GAN in 0.29 sec (GPU=cpu)
Simulation: STOP. Run: 1. Time: 5.4 seconds.

done
QObject::moveToThread: Current thread (0xaefe030) is not the object's thread (0xacbc8d0).
Cannot move to target thread (0xaefe030)

qt.qpa.plugin: Could not load the Qt platform plugin "xcb" in "/home/opengate_env/lib/python3.11/site-packages/opengate_core/plugins" even though it was found.
This application failed to start because no Qt platform plugin could be initialized. Reinstalling the application may fix this problem.

Available platform plugins are: eglfs, linuxfb, minimal, minimalegl, offscreen, vnc, xcb, wayland-egl, wayland, wayland-xcomposite-egl, wayland-xcomposite-glx, webgl.

Aborted (core dumped)
/usr/lib/python3.11/multiprocessing/resource_tracker.py:254: UserWarning: resource_tracker: There appear to be 1 leaked semaphore objects to clean up at shutdown
warnings.warn('resource_tracker: There appear to be %d '
Running: test038_gan_phsp_spect_gan_aa.py FAILED ! 22.0 s /home/opengate_env/lib/python3.11/site-packages/opengate/tests/../tests/log/test038_gan_phsp_spect_gan_aa.py.log
Importing opengate (thread 348935) ... done
The repeated volume spect1_collimator_hole must have the 'build_physical_volume' option set to False. Setting it to False.
Sphere 10: [28.6, -16.0367, 37.0] 0.524 cm3 4712 Bq 9000.0 BqmL
Sphere 13: [-28.6, -16.0367, 37.0] 1.150 cm3 8628 Bq 7500.0 BqmL
Sphere 17: [-57.2, 35.0, 37.0] 2.572 cm3 15435 Bq 6000.0 BqmL
Sphere 22: [-28.6, 84.5367, 37.0] 5.575 cm3 25089 Bq 4500.0 BqmL
Sphere 28: [28.6, 84.5367, 37.0] 11.494 cm3 34482 Bq 3000.0 BqmL
Sphere 37: [57.2, 35.0, 37.0] 26.522 cm3 39783 Bq 1500.0 BqmL
Total activity 128128 Bq
Activity ratio [0.03677867817430642, 0.06733562995745933, 0.12046243058024497, 0.19580968260000733, 0.2691218477607915, 0.3104917309271905] 1.0
Simulation: create MTRunManager with 2 threads
Simulation: initialize Geometry
Simulation: initialize Physics
Simulation: initialize Source
Simulation: initialize Actors
Simulation: initialize G4RunManager
Simulation: check volumes overlap
Could not check overlap for volume spect1_collimator_hole_param.

Simulation: START
Generate 50000 particles from GAN Generate 50000 particles from GAN in 0.56 sec (GPU=cpu)
in 0.59 sec (GPU=cpu)
Generate 50000 particles from GAN Generate 50000 particles from GAN in 0.53 sec (GPU=cpu)
in 0.55 sec (GPU=cpu)
Generate 50000 particles from GAN Generate 50000 particles from GAN in 0.53 sec (GPU=cpu)
in 0.52 sec (GPU=cpu)
Simulation: STOP. Run: 1. Time: 11.9 seconds.

Actor phsp : {'_name': 'phsp', 'element_type': 'Actor', 'type_name': 'PhaseSpaceActor', 'mother': 'phase_space_sphere', 'filters': [], 'filters_boolean_operator': 'and', 'priority': 100, 'attributes': ['KineticEnergy', 'PrePosition', 'PreDirection', 'GlobalTime', 'EventPosition', 'EventDirection', 'EventKineticEnergy'], 'output': PosixPath('/home/opengate_env/lib/python3.11/site-packages/opengate/tests/src/../output/test038_gan_phsp.root'), 'store_absorbed_event': False, 'debug': False}

Check stats
Source, nb of skipped particles (absorbed) : 0
Source, nb of zeros particles (absorbed) : 19000
Runs 2
Events 256153
Tracks 261403
Step 949997
Init 1.434452 1.43445 s
Duration 11.848839 11.8488 s
PPS 21618
TPS 22061
SPS 80176
start Wed Dec 13 09:46:23 2023
stop Wed Dec 13 09:46:37 2023
Sim start 0 ps
Sim end 0 ps
Threads ?
Steps cannot be compared => was 949997, 0.70%
Runs: 1 1
Events: 256153 257071 : -0.36 % (tol = 10.00 %)
Tracks: 261403 262120 : -0.27 % (tol = 10.00 %)
Steps: 3131062 3131062 : +0.00 % (tol = 10.00 %)
PPS: 21618.4 26254.1 : -17.7% speedup = x0.8
TPS: 22061.5 26769.8 : -17.6% speedup = x0.8
SPS: 264250.5 319768.6 : -17.4% speedup = x0.8

Check conditions (position, direction)
QObject::moveToThread: Current thread (0x90c8e90) is not the object's thread (0x8964240).
Cannot move to target thread (0x90c8e90)

qt.qpa.plugin: Could not load the Qt platform plugin "xcb" in "/home/opengate_env/lib/python3.11/site-packages/opengate_core/plugins" even though it was found.
This application failed to start because no Qt platform plugin could be initialized. Reinstalling the application may fix this problem.

Available platform plugins are: eglfs, linuxfb, minimal, minimalegl, offscreen, vnc, xcb, wayland-egl, wayland, wayland-xcomposite-egl, wayland-xcomposite-glx, webgl.

Aborted (core dumped)
Running: test038_gan_phsp_spect_gan_mt.py FAILED ! 24.1 s /home/opengate_env/lib/python3.11/site-packages/opengate/tests/../tests/log/test038_gan_phsp_spect_gan_mt.py.log
Importing opengate (thread 349036) ... done
The repeated volume spect1_collimator_hole must have the 'build_physical_volume' option set to False. Setting it to False.
Sphere 10: [28.6, -16.0367, 37.0] 0.524 cm3 9425 Bq 18000.0 BqmL
Sphere 13: [-28.6, -16.0367, 37.0] 1.150 cm3 17255 Bq 15000.0 BqmL
Sphere 17: [-57.2, 35.0, 37.0] 2.572 cm3 30869 Bq 12000.0 BqmL
Sphere 22: [-28.6, 84.5367, 37.0] 5.575 cm3 50178 Bq 9000.0 BqmL
Sphere 28: [28.6, 84.5367, 37.0] 11.494 cm3 68964 Bq 6000.0 BqmL
Sphere 37: [57.2, 35.0, 37.0] 26.522 cm3 79566 Bq 3000.0 BqmL
Total activity 256257 Bq
Activity ratio [0.03677867817430642, 0.06733562995745933, 0.12046243058024497, 0.19580968260000733, 0.2691218477607915, 0.3104917309271905] 1.0
Simulation: create RunManager (single thread)
Simulation: initialize Geometry
Simulation: initialize Physics
Simulation: initialize Source
Simulation: initialize Actors
Simulation: initialize G4RunManager
Simulation: check volumes overlap
Could not check overlap for volume spect1_collimator_hole_param.

Simulation: START
Generate 50000 particles from GAN in 0.29 sec (GPU=cpu)
Generate 50000 particles from GAN in 0.30 sec (GPU=cpu)
Generate 50000 particles from GAN in 0.33 sec (GPU=cpu)
Generate 50000 particles from GAN in 0.31 sec (GPU=cpu)
Generate 50000 particles from GAN in 0.31 sec (GPU=cpu)
Generate 50000 particles from GAN in 0.30 sec (GPU=cpu)
Simulation: STOP. Run: 1. Time: 9.5 seconds.

Actor phsp : {'_name': 'phsp', 'element_type': 'Actor', 'type_name': 'PhaseSpaceActor', 'mother': 'phase_space_sphere', 'filters': [], 'filters_boolean_operator': 'and', 'priority': 100, 'attributes': ['KineticEnergy', 'PrePosition', 'PreDirection', 'GlobalTime', 'EventPosition', 'EventDirection', 'EventKineticEnergy'], 'output': PosixPath('/home/opengate_env/lib/python3.11/site-packages/opengate/tests/src/../output/test038_gan_phsp.root'), 'store_absorbed_event': False, 'debug': False}

Check stats
Source, nb of skipped particles (absorbed) : 37967
Source, nb of zeros particles (absorbed) : 5
Runs 1
Events 217487
Tracks 222543
Step 944290
Init 6.28456 6.28456 s
Duration 4.64284 4.64284 s
PPS 46844
TPS 47933
SPS 203386
start Wed Dec 13 09:46:42 2023
stop Wed Dec 13 09:46:53 2023
Sim start 0 ps
Sim end 0 ps
Threads ?
Steps cannot be compared => was 944290, 0.70%
Tracks cannot be compared => was 222543
Runs: 1 1
Events: 255454 257071 : -0.63 % (tol = 10.00 %)
Tracks: 262120 262120 : +0.00 % (tol = 10.00 %)
Steps: 3131062 3131062 : +0.00 % (tol = 10.00 %)
PPS: 55021.1 26254.1 : +109.6% speedup = x2.1
TPS: 56456.8 26769.8 : +110.9% speedup = x2.1
SPS: 674385.1 319768.6 : +110.9% speedup = x2.1

Check conditions (position, direction)
QObject::moveToThread: Current thread (0x8d34e30) is not the object's thread (0x77710b0).
Cannot move to target thread (0x8d34e30)

qt.qpa.plugin: Could not load the Qt platform plugin "xcb" in "/home/opengate_env/lib/python3.11/site-packages/opengate_core/plugins" even though it was found.
This application failed to start because no Qt platform plugin could be initialized. Reinstalling the application may fix this problem.

Available platform plugins are: eglfs, linuxfb, minimal, minimalegl, offscreen, vnc, xcb, wayland-egl, wayland, wayland-xcomposite-egl, wayland-xcomposite-glx, webgl.

Aborted (core dumped)
Running: test038_gan_phsp_spect_gan_se.py FAILED ! 16.6 s /home/opengate_env/lib/python3.11/site-packages/opengate/tests/../tests/log/test038_gan_phsp_spect_gan_se.py.log
Importing opengate (thread 349106) ... done
The repeated volume spect1_collimator_hole must have the 'build_physical_volume' option set to False. Setting it to False.
Sphere 10: [28.6, -16.0367, 37.0] 0.524 cm3 9425 Bq 18000.0 BqmL
Sphere 13: [-28.6, -16.0367, 37.0] 1.150 cm3 17255 Bq 15000.0 BqmL
Sphere 17: [-57.2, 35.0, 37.0] 2.572 cm3 30869 Bq 12000.0 BqmL
Sphere 22: [-28.6, 84.5367, 37.0] 5.575 cm3 50178 Bq 9000.0 BqmL
Sphere 28: [28.6, 84.5367, 37.0] 11.494 cm3 68964 Bq 6000.0 BqmL
Sphere 37: [57.2, 35.0, 37.0] 26.522 cm3 79566 Bq 3000.0 BqmL
Total activity 256257 Bq
Activity ratio [0.03677867817430642, 0.06733562995745933, 0.12046243058024497, 0.19580968260000733, 0.2691218477607915, 0.3104917309271905] 1.0
Simulation: create RunManager (single thread)
Simulation: initialize Geometry
Simulation: initialize Physics
Simulation: initialize Source
Simulation: initialize Actors
Simulation: initialize G4RunManager
Simulation: check volumes overlap
Could not check overlap for volume spect1_collimator_hole_param.

Simulation: START
Generate 50000 particles from GAN in 0.32 sec (GPU=cpu)
Generate 50000 particles from GAN in 0.31 sec (GPU=cpu)
Generate 50000 particles from GAN in 0.32 sec (GPU=cpu)
Generate 50000 particles from GAN in 0.34 sec (GPU=cpu)
Generate 50000 particles from GAN in 0.33 sec (GPU=cpu)
Generate 50000 particles from GAN in 0.33 sec (GPU=cpu)
Simulation: STOP. Run: 1. Time: 10.0 seconds.

Actor phsp : {'_name': 'phsp', 'element_type': 'Actor', 'type_name': 'PhaseSpaceActor', 'mother': 'phase_space_sphere', 'filters': [], 'filters_boolean_operator': 'and', 'priority': 100, 'attributes': ['KineticEnergy', 'PrePosition', 'PreDirection', 'GlobalTime', 'EventPosition', 'EventDirection', 'EventKineticEnergy'], 'output': PosixPath('/home/opengate_env/lib/python3.11/site-packages/opengate/tests/src/../output/test038_gan_phsp.root'), 'store_absorbed_event': False, 'debug': False}

Check stats
Source, nb of skipped particles (absorbed) : 0
Source, nb of zeros particles (absorbed) : 38108
Runs 1
Events 256156
Tracks 261204
Step 947555
Init 6.535073 6.53507 s
Duration 4.950956 4.95096 s
PPS 51739
TPS 52758
SPS 191388
start Wed Dec 13 09:46:59 2023
stop Wed Dec 13 09:47:11 2023
Sim start 0 ps
Sim end 0 ps
Threads ?
Steps cannot be compared => was 947555, 0.70%
Runs: 1 1
Events: 256156 257071 : -0.36 % (tol = 10.00 %)
Tracks: 261204 262120 : -0.35 % (tol = 10.00 %)
Steps: 3131062 3131062 : +0.00 % (tol = 10.00 %)
PPS: 51738.7 26254.1 : +97.1% speedup = x2.0
TPS: 52758.3 26769.8 : +97.1% speedup = x2.0
SPS: 632415.6 319768.6 : +97.8% speedup = x2.0

Check conditions (position, direction)
QObject::moveToThread: Current thread (0x8f6c830) is not the object's thread (0x84dd620).
Cannot move to target thread (0x8f6c830)

qt.qpa.plugin: Could not load the Qt platform plugin "xcb" in "/home/opengate_env/lib/python3.11/site-packages/opengate_core/plugins" even though it was found.
This application failed to start because no Qt platform plugin could be initialized. Reinstalling the application may fix this problem.

Available platform plugins are: eglfs, linuxfb, minimal, minimalegl, offscreen, vnc, xcb, wayland-egl, wayland, wayland-xcomposite-egl, wayland-xcomposite-glx, webgl.

Aborted (core dumped)
Running: test038_gan_phsp_spect_gan_ze.py FAILED ! 17.1 s /home/opengate_env/lib/python3.11/site-packages/opengate/tests/../tests/log/test038_gan_phsp_spect_gan_ze.py.log
Importing opengate (thread 349189) ... done
iec_sphere_10mm source1_iec_10mm 0.52 mL 52.36 Bq 100.00 Bq/mL
iec_sphere_13mm source1_iec_13mm 1.15 mL 115.03 Bq 100.00 Bq/mL
iec_sphere_17mm source1_iec_17mm 2.57 mL 257.24 Bq 100.00 Bq/mL
iec_sphere_22mm source1_iec_22mm 5.58 mL 557.53 Bq 100.00 Bq/mL
iec_sphere_28mm source1_iec_28mm 11.49 mL 1149.40 Bq 100.00 Bq/mL
iec_sphere_37mm source1_iec_37mm 26.52 mL 2652.18 Bq 100.00 Bq/mL
Total activity is 4783.755493498737 Bq
Volume = iec_interior Source = iec_source_bg 10483.10 mL 149758.55 Bq 14.29 Bq/mL
Actor phase_space : {'_name': 'phase_space', 'element_type': 'Actor', 'type_name': 'PhaseSpaceActor', 'mother': 'phase_space_sphere', 'filters': [<opengate.userinfo.UserInfo object at 0x7f4196666250>], 'filters_boolean_operator': 'and', 'priority': 100, 'attributes': ['KineticEnergy', 'PrePosition', 'PreDirection', 'TimeFromBeginOfEvent', 'EventID', 'EventKineticEnergy', 'EventPosition', 'EventDirection'], 'output': PosixPath('/home/opengate_env/lib/python3.11/site-packages/opengate/tests/src/../output/test038_train.root'), 'store_absorbed_event': True, 'debug': False}
/home/opengate_env/lib/python3.11/site-packages/opengate/tests/src/../output/test038_train.root
Simulation: create RunManager (single thread)
Simulation: initialize Geometry
Simulation: initialize Physics
Simulation: initialize Source
Simulation: initialize Actors
Simulation: initialize G4RunManager
Simulation: check volumes overlap

Simulation: START
Simulation: STOP. Run: 1. Time: 6.4 seconds.

Check stats
Runs 1
Events 154196
Tracks 158001
Step 1290955
Init 1.699308 1.69931 s
Duration 4.679638 4.67964 s
PPS 32950
TPS 33764
SPS 275866
start Wed Dec 13 09:47:17 2023
stop Wed Dec 13 09:47:23 2023
Sim start 0 ps
Sim end 0 ps
Threads ?
Runs: 1 1
Events: 154196 154184 : +0.01 % (tol = 2.00 %)
Tracks: 158001 158170 : -0.11 % (tol = 2.00 %)
Steps: 1290955 1291266 : -0.02 % (tol = 2.00 %)
PPS: 32950.4 67658.7 : -51.3% speedup = x0.5
TPS: 33763.5 69407.9 : -51.4% speedup = x0.5
SPS: 275866.4 566631.0 : -51.3% speedup = x0.5

Check root
QObject::moveToThread: Current thread (0x8629240) is not the object's thread (0x85f5a20).
Cannot move to target thread (0x8629240)

qt.qpa.plugin: Could not load the Qt platform plugin "xcb" in "/home/opengate_env/lib/python3.11/site-packages/opengate_core/plugins" even though it was found.
This application failed to start because no Qt platform plugin could be initialized. Reinstalling the application may fix this problem.

Available platform plugins are: eglfs, linuxfb, minimal, minimalegl, offscreen, vnc, xcb, wayland-egl, wayland, wayland-xcomposite-egl, wayland-xcomposite-glx, webgl.

Aborted (core dumped)
Running: test038_gan_phsp_spect_training_dataset.py FAILED ! 11.6 s /home/opengate_env/lib/python3.11/site-packages/opengate/tests/../tests/log/test038_gan_phsp_spect_training_dataset.py.log
Importing opengate (thread 349227) ... done
Simulation: create RunManager (single thread)
Simulation: initialize Geometry
Simulation: initialize Physics
Simulation: initialize Source
Simulation: initialize Actors
Simulation: initialize G4RunManager
Simulation: (no volumes overlap checking)
Simulation: initialize user fct
Entered hook
Known regions are:


DefaultRegionForTheWorld
Cuts in this region:
gamma: 0.01
electron: 0.01
proton: 1.0
positron: 1.0


DefaultRegionForParallelWorld
Cuts in this region:
gamma: 0.01
electron: 0.01
proton: 1.0
positron: 1.0

Simulation: START
Simulation: STOP. Run: 1. Time: 11.4 seconds.

Runs 1
Events 199619
Tracks 603507
Step 2159399
Init 1.43925 1.43925 s
Duration 9.995457 9.99546 s
PPS 19971
TPS 60378
SPS 216038
start Wed Dec 13 09:47:29 2023
stop Wed Dec 13 09:47:40 2023
Sim start 0 ps
Sim end 0 ps
Threads ?
Runs: 2 2
Events: 199619 199541 : +0.04 % (tol = 5.00 %)
Tracks: 603507 602839 : +0.11 % (tol = 5.00 %)
Steps: 2159399 2159229 : +0.01 % (tol = 5.00 %)
PPS: 19971.0 22532.7 : -11.4% speedup = x0.9
TPS: 60378.1 68074.1 : -11.3% speedup = x0.9
SPS: 216038.0 243825.7 : -11.4% speedup = x0.9

Check singles
QObject::moveToThread: Current thread (0x73443f0) is not the object's thread (0x84225d0).
Cannot move to target thread (0x73443f0)

qt.qpa.plugin: Could not load the Qt platform plugin "xcb" in "/home/opengate_env/lib/python3.11/site-packages/opengate_core/plugins" even though it was found.
This application failed to start because no Qt platform plugin could be initialized. Reinstalling the application may fix this problem.

Available platform plugins are: eglfs, linuxfb, minimal, minimalegl, offscreen, vnc, xcb, wayland-egl, wayland, wayland-xcomposite-egl, wayland-xcomposite-glx, webgl.

Aborted (core dumped)
Running: test039_hits_memory_check.py FAILED ! 17.6 s /home/opengate_env/lib/python3.11/site-packages/opengate/tests/../tests/log/test039_hits_memory_check.py.log
Running: test040_gan_phsp_pet_aref.py OK 29.4 s /home/opengate_env/lib/python3.11/site-packages/opengate/tests/../tests/log/test040_gan_phsp_pet_aref.py.log
Importing opengate (thread 349300) ... done
Sphere 10: [-28.634175, 84.59584593, 27.0] 0.524 cm3 15708 Bq 30000.0 BqmL
Sphere 13: [28.634175, 84.59584593, 27.0] 1.150 cm3 28759 Bq 25000.0 BqmL
Sphere 17: [57.26835, 35.0, 27.0] 2.572 cm3 51449 Bq 20000.0 BqmL
Sphere 22: [28.634175, -14.59584593, 27.0] 5.575 cm3 83629 Bq 15000.0 BqmL
Sphere 28: [-28.634175, -14.59584593, 27.0] 11.494 cm3 114940 Bq 10000.0 BqmL
Sphere 37: [-57.26835, 35.0, 27.0] 26.522 cm3 132609 Bq 5000.0 BqmL
Total activity 427094 Bq
Activity ratio [0.036778678174306426, 0.06733562995745934, 0.12046243058024497, 0.19580968260000736, 0.2691218477607915, 0.3104917309271905] 1.0
Simulation: create RunManager (single thread)
Simulation: initialize Geometry
Simulation: initialize Physics
Simulation: initialize Source
Simulation: initialize Actors
Simulation: initialize G4RunManager
Simulation: check volumes overlap

Simulation: START
Generate 100000 particles from GAN in 0.8 sec (device=cpu)
Generate 100000 particles from GAN in 0.7 sec (device=cpu)
Generate 100000 particles from GAN in 0.6 sec (device=cpu)
Generate 100000 particles from GAN in 0.6 sec (device=cpu)
Generate 100000 particles from GAN in 0.6 sec (device=cpu)
Simulation: STOP. Run: 1. Time: 10.9 seconds.

Check stats
Source, nb of skipped particles : 0
Source, nb of skipped particles (check) : 0
Source, nb of zerosE particles : 3190
Source, nb of zerosE particles (check) : 3190
Runs 1
Events 427019
Tracks 912911
Step 2653917
Init 0.604971 604.971 ms
Duration 10.314509 10.3145 s
PPS 41400
TPS 88507
SPS 257299
start Wed Dec 13 09:48:15 2023
stop Wed Dec 13 09:48:26 2023
Sim start 0 ps
Sim end 0 ps
Threads ?
!!! Steps cannot be compared => was 2653917, 0.74%
!!! Tracks cannot be compared => was 912911, 0.33%
Runs: 1 1
Events: 427019 426728 : +0.07 % (tol = 10.00 %)
Tracks: 1362038 1362038 : +0.00 % (tol = 10.00 %)
Steps: 10163954 10163954 : +0.00 % (tol = 10.00 %)
PPS: 41399.8 12985.3 : +218.8% speedup = x3.2
TPS: 132050.7 41446.8 : +218.6% speedup = x3.2
SPS: 985403.6 309289.3 : +218.6% speedup = x3.2

Check conditions (position, direction)
QObject::moveToThread: Current thread (0xc5124c0) is not the object's thread (0xc64ea90).
Cannot move to target thread (0xc5124c0)

qt.qpa.plugin: Could not load the Qt platform plugin "xcb" in "/home/opengate_env/lib/python3.11/site-packages/opengate_core/plugins" even though it was found.
This application failed to start because no Qt platform plugin could be initialized. Reinstalling the application may fix this problem.

Available platform plugins are: eglfs, linuxfb, minimal, minimalegl, offscreen, vnc, xcb, wayland-egl, wayland, wayland-xcomposite-egl, wayland-xcomposite-glx, webgl.

Aborted (core dumped)
Running: test040_gan_phsp_pet_gan.py FAILED ! 16.2 s /home/opengate_env/lib/python3.11/site-packages/opengate/tests/../tests/log/test040_gan_phsp_pet_gan.py.log
Importing opengate (thread 349367) ... done
iec_sphere_10mm source1_iec_10mm 0.52 mL 7.85 Bq 15.00 Bq/mL
iec_sphere_13mm source1_iec_13mm 1.15 mL 17.26 Bq 15.00 Bq/mL
iec_sphere_17mm source1_iec_17mm 2.57 mL 38.59 Bq 15.00 Bq/mL
iec_sphere_22mm source1_iec_22mm 5.58 mL 83.63 Bq 15.00 Bq/mL
iec_sphere_28mm source1_iec_28mm 11.49 mL 172.41 Bq 15.00 Bq/mL
iec_sphere_37mm source1_iec_37mm 26.52 mL 397.83 Bq 15.00 Bq/mL
Total activity is 717.5633240248105 Bq
Volume = iec_interior Source = iec_source_bg 10483.10 mL 22463.78 Bq 2.14 Bq/mL
Actor phase_space : {'_name': 'phase_space', 'element_type': 'Actor', 'type_name': 'PhaseSpaceActor', 'mother': 'phase_space_sphere', 'filters': [<opengate.userinfo.UserInfo object at 0x7f6709d26390>], 'filters_boolean_operator': 'and', 'priority': 100, 'attributes': ['KineticEnergy', 'PrePosition', 'PreDirection', 'TimeFromBeginOfEvent', 'EventID', 'EventKineticEnergy', 'EventPosition', 'EventDirection'], 'output': PosixPath('/home/opengate_env/lib/python3.11/site-packages/opengate/tests/src/../output/test040/test040_train.root'), 'store_absorbed_event': True, 'debug': False}
/home/opengate_env/lib/python3.11/site-packages/opengate/tests/src/../output/test040/test040_train.root
Simulation: create RunManager (single thread)
Simulation: initialize Geometry
Simulation: initialize Physics
Simulation: initialize Source
Simulation: initialize Actors
Simulation: initialize G4RunManager
Simulation: check volumes overlap

Simulation: START
Simulation: STOP. Run: 1. Time: 4.6 seconds.

Check stats
Runs 1
Events 23044
Tracks 73687
Step 929188
Init 1.779685 1.77968 s
Duration 2.805713 2.80571 s
PPS 8213
TPS 26263
SPS 331177
start Wed Dec 13 09:48:32 2023
stop Wed Dec 13 09:48:36 2023
Sim start 0 ps
Sim end 0 ps
Threads ?
Runs: 1 1
Events: 23044 23189 : -0.63 % (tol = 3.00 %)
Tracks: 73687 74676 : -1.32 % (tol = 3.00 %)
Steps: 929188 942355 : -1.40 % (tol = 3.00 %)
PPS: 8213.2 6243.0 : +31.6% speedup = x1.3
TPS: 26263.2 20104.4 : +30.6% speedup = x1.3
SPS: 331177.1 253702.3 : +30.5% speedup = x1.3

Check root
QObject::moveToThread: Current thread (0x95de350) is not the object's thread (0x9a778f0).
Cannot move to target thread (0x95de350)

qt.qpa.plugin: Could not load the Qt platform plugin "xcb" in "/home/opengate_env/lib/python3.11/site-packages/opengate_core/plugins" even though it was found.
This application failed to start because no Qt platform plugin could be initialized. Reinstalling the application may fix this problem.

Available platform plugins are: eglfs, linuxfb, minimal, minimalegl, offscreen, vnc, xcb, wayland-egl, wayland, wayland-xcomposite-egl, wayland-xcomposite-glx, webgl.

Aborted (core dumped)
Running: test040_gan_phsp_pet_training_dataset.py FAILED ! 9.4 s /home/opengate_env/lib/python3.11/site-packages/opengate/tests/../tests/log/test040_gan_phsp_pet_training_dataset.py.log
Importing opengate (thread 349405) ... done
[20.0, 20.0, 4.0]
Importing opengate (thread 349440) ... Importing opengate (thread 349478) ... done
Simulation: create RunManager (single thread)
Simulation: initialize Geometry
Simulation: initialize Physics
Simulation: initialize Source
Simulation: initialize Actors
Simulation: initialize G4RunManager
Simulation: check volumes overlap

Simulation: START (in a new process)
Simulation: STOP. Run: 1. Time: 1.8 seconds.

done
Runs 1
Events 5010
Tracks 18280
Step 156426
Init 1.177921 1.17792 s
Duration 2.223246 2.22325 s
PPS 2253
TPS 8222
SPS 70359
start Wed Dec 13 09:48:47 2023
stop Wed Dec 13 09:48:50 2023
Sim start 0 ps
Sim end 1 s
Threads 1
Track types: {'Al27': 5, 'Ar36': 7, 'Ar37': 6, 'Ar38': 15, 'Ar39': 1, 'B10': 7, 'B11': 10, 'B9': 1, 'Be10': 4, 'Be8': 47, 'Be9': 1, 'C10': 1, 'C11': 14, 'C12': 226, 'C13': 30, 'C14': 20, 'Ca39': 5, 'Ca40': 70, 'Cl34': 2, 'Cl35': 1, 'Cl36': 2, 'Cl37': 1, 'He3': 13, 'He6': 1, 'K38': 4, 'K39': 15, 'K42': 1, 'Mg24': 3, 'Mg26': 4, 'N13': 7, 'N14': 76, 'N15': 65, 'Na23': 1, 'O14': 4, 'O15': 28, 'O16': 603, 'O18': 1, 'P30': 3, 'P31': 33, 'S31': 1, 'S32': 3, 'S33': 1, 'S34': 2, 'S35': 1, 'S36': 1, 'Si27': 1, 'Si28': 5, 'Si29': 7, 'Si30': 11, 'alpha': 207, 'deuteron': 48, 'e+': 8, 'e-': 8756, 'gamma': 1366, 'neutron': 305, 'proton': 6215, 'triton': 4}
DoseActor "dose": dim=[10, 10, 50] spacing=[20.0, 20.0, 4.0] /home/opengate_env/lib/python3.11/site-packages/opengate/tests/src/../output/test041-edep.mhd tr=[0, 0, 0]
Tests stats file
Runs: 1 1
Events: 5010 5000 : +0.20 % (tol = 10.00 %)
Tracks: 18280 18271 : +0.05 % (tol = 10.00 %)
Steps: 156426 158578 : -1.36 % (tol = 10.00 %)
PPS: 2253.5 5694.8 : -60.4% speedup = x0.4
TPS: 8222.2 20810.0 : -60.5% speedup = x0.4
SPS: 70359.3 180614.2 : -61.0% speedup = x0.4
Tracks : {'Al27': 5, 'Ar36': 7, 'Ar37': 6, 'Ar38': 15, 'Ar39': 1, 'B10': 7, 'B11': 10, 'B9': 1, 'Be10': 4, 'Be8': 47, 'Be9': 1, 'C10': 1, 'C11': 14, 'C12': 226, 'C13': 30, 'C14': 20, 'Ca39': 5, 'Ca40': 70, 'Cl34': 2, 'Cl35': 1, 'Cl36': 2, 'Cl37': 1, 'He3': 13, 'He6': 1, 'K38': 4, 'K39': 15, 'K42': 1, 'Mg24': 3, 'Mg26': 4, 'N13': 7, 'N14': 76, 'N15': 65, 'Na23': 1, 'O14': 4, 'O15': 28, 'O16': 603, 'O18': 1, 'P30': 3, 'P31': 33, 'S31': 1, 'S32': 3, 'S33': 1, 'S34': 2, 'S35': 1, 'S36': 1, 'Si27': 1, 'Si28': 5, 'Si29': 7, 'Si30': 11, 'alpha': 207, 'deuteron': 48, 'e+': 8, 'e-': 8756, 'gamma': 1366, 'neutron': 305, 'proton': 6215, 'triton': 4}
Tracks (ref): {}
Tracks vs track_types : 18280 18280

Difference for EDEP
QObject::moveToThread: Current thread (0x8d4abd0) is not the object's thread (0x9a1bf00).
Cannot move to target thread (0x8d4abd0)

qt.qpa.plugin: Could not load the Qt platform plugin "xcb" in "/home/opengate_env/lib/python3.11/site-packages/opengate_core/plugins" even though it was found.
This application failed to start because no Qt platform plugin could be initialized. Reinstalling the application may fix this problem.

Available platform plugins are: eglfs, linuxfb, minimal, minimalegl, offscreen, vnc, xcb, wayland-egl, wayland, wayland-xcomposite-egl, wayland-xcomposite-glx, webgl.

Aborted (core dumped)
/usr/lib/python3.11/multiprocessing/resource_tracker.py:254: UserWarning: resource_tracker: There appear to be 1 leaked semaphore objects to clean up at shutdown
warnings.warn('resource_tracker: There appear to be %d '
Running: test041_dose_actor.py FAILED ! 17.6 s /home/opengate_env/lib/python3.11/site-packages/opengate/tests/../tests/log/test041_dose_actor.py.log
Importing opengate (thread 349536) ... done
Simulation: create RunManager (single thread)
Simulation: initialize Geometry
Simulation: initialize Physics
Simulation: initialize Source
Simulation: initialize Actors
Simulation: initialize G4RunManager
Simulation: check volumes overlap

Simulation: START
Simulation: STOP. Run: 1. Time: 9.1 seconds.

Runs 1
Events 99886
Tracks 108128
Step 2894379
Init 1.294038 1.29404 s
Duration 9.512198 9.5122 s
PPS 10501
TPS 11367
SPS 304281
start Wed Dec 13 09:48:59 2023
stop Wed Dec 13 09:49:10 2023
Sim start 0 ps
Sim end 0 ps
Threads ?
Track types: {'B10': 2, 'B11': 1, 'C11': 18, 'C12': 769, 'C13': 3, 'C14': 1, 'F17': 13, 'F18[1121.360]': 1, 'He3': 30, 'Li6': 9, 'N12': 1, 'N13': 14, 'N14': 151, 'N15': 229, 'O14': 4, 'O15': 277, 'O16': 721, 'O17': 2, 'alpha': 992, 'deuteron': 127, 'gamma': 2148, 'neutron': 310, 'proton': 102299, 'triton': 6}
DoseActor "doseInXZ": dim=[250, 1, 250] spacing=[0.4, 100, 0.4] /home/opengate_env/lib/python3.11/site-packages/opengate/tests/src/../output/test042-lateral_xz.mhd tr=[0, 0, 0]

Tests stats file
Runs: 1 1
Events: 99886 100000 : -0.11 % (tol = 14.00 %)
Tracks: 108128 115137 : -6.09 % (tol = 14.00 %)
Steps: 2894379 2954555 : -2.04 % (tol = 14.00 %)
PPS: 10500.8 9509.7 : +10.4% speedup = x1.1
TPS: 11367.3 10949.2 : +3.8% speedup = x1.0
SPS: 304280.8 280968.8 : +8.3% speedup = x1.1
Tracks : {'B10': 2, 'B11': 1, 'C11': 18, 'C12': 769, 'C13': 3, 'C14': 1, 'F17': 13, 'F18[1121.360]': 1, 'He3': 30, 'Li6': 9, 'N12': 1, 'N13': 14, 'N14': 151, 'N15': 229, 'O14': 4, 'O15': 277, 'O16': 721, 'O17': 2, 'alpha': 992, 'deuteron': 127, 'gamma': 2148, 'neutron': 310, 'proton': 102299, 'triton': 6}
Tracks (ref): {}
Tracks vs track_types : 108128 108128

Difference for EDEP XZ
QObject::moveToThread: Current thread (0x94aa160) is not the object's thread (0xca098d0).
Cannot move to target thread (0x94aa160)

qt.qpa.plugin: Could not load the Qt platform plugin "xcb" in "/home/opengate_env/lib/python3.11/site-packages/opengate_core/plugins" even though it was found.
This application failed to start because no Qt platform plugin could be initialized. Reinstalling the application may fix this problem.

Available platform plugins are: eglfs, linuxfb, minimal, minimalegl, offscreen, vnc, xcb, wayland-egl, wayland, wayland-xcomposite-egl, wayland-xcomposite-glx, webgl.

Aborted (core dumped)
Running: test042_gauss_gps.py FAILED ! 15.4 s /home/opengate_env/lib/python3.11/site-packages/opengate/tests/../tests/log/test042_gauss_gps.py.log
Running: test043_distances.py OK 3.3 s /home/opengate_env/lib/python3.11/site-packages/opengate/tests/../tests/log/test043_distances.py.log
Importing opengate (thread 349639) ... done
plane position 61.100001 mm
crystal distance 47.875 mm
Importing opengate (thread 349674) ... Importing opengate (thread 349712) ... done
Simulation: create RunManager (single thread)
Simulation: initialize Geometry
Simulation: initialize Physics
Simulation: initialize Source
Simulation: initialize Actors
Simulation: initialize G4RunManager
Simulation: check volumes overlap

Simulation: START (in a new process)
Apply ARF to 2 hits (device = cpu)
Simulation: STOP. Run: 1. Time: 1.6 seconds.

done
First simulation with spawn ok

Simulation: create RunManager (single thread)
Simulation: initialize Geometry
Simulation: initialize Physics
Simulation: initialize Source
Simulation: initialize Actors
Simulation: initialize G4RunManager
Simulation: check volumes overlap

Simulation: START
Apply ARF to 200000 hits (device = cpu)
Apply ARF to 200000 hits (device = cpu)
Apply ARF to 200000 hits (device = cpu)
Apply ARF to 200000 hits (device = cpu)
Apply ARF to 73018 hits (device = cpu)
Simulation: STOP. Run: 1. Time: 14.1 seconds.

Runs 1
Events 2657434
Tracks 2657434
Step 6523508
Init 1.342778 1.34278 s
Duration 15.720357 15.7204 s
PPS 169044
TPS 169044
SPS 414972
start Wed Dec 13 09:49:28 2023
stop Wed Dec 13 09:49:45 2023
Sim start 0 ps
Sim end 0 ps
Threads ?
Track types: {'gamma': 2657434}

Number of batch: 5
Number of detected particles: 873018
Scaling ref = 4e8, activity = 0.001, scale = 400.0

Tests stats file
Runs: 1 1
Events: 2657434 2654029 : +0.13 % (tol = 1.00 %)
Tracks: 2657434 2654029 : +0.13 % (tol = 1.00 %)
Steps: 6523508 6523508 : +0.00 % (tol = 1.00 %)
PPS: 169044.1 80053.5 : +111.2% speedup = x2.1
TPS: 169044.1 80053.5 : +111.2% speedup = x2.1
SPS: 414972.0 196768.6 : +110.9% speedup = x2.1
Tracks : {'gamma': 2657434}
Tracks (ref): {}
Tracks vs track_types : 2657434 2657434

Compare image to analog
QObject::moveToThread: Current thread (0x8f50540) is not the object's thread (0x8dd0250).
Cannot move to target thread (0x8f50540)

qt.qpa.plugin: Could not load the Qt platform plugin "xcb" in "/home/opengate_env/lib/python3.11/site-packages/opengate_core/plugins" even though it was found.
This application failed to start because no Qt platform plugin could be initialized. Reinstalling the application may fix this problem.

Available platform plugins are: eglfs, linuxfb, minimal, minimalegl, offscreen, vnc, xcb, wayland-egl, wayland, wayland-xcomposite-egl, wayland-xcomposite-glx, webgl.

Aborted (core dumped)
/usr/lib/python3.11/multiprocessing/resource_tracker.py:254: UserWarning: resource_tracker: There appear to be 1 leaked semaphore objects to clean up at shutdown
warnings.warn('resource_tracker: There appear to be %d '
Running: test043_garf.py FAILED ! 31.7 s /home/opengate_env/lib/python3.11/site-packages/opengate/tests/../tests/log/test043_garf.py.log
Importing opengate (thread 349808) ... done
The repeated volume spect_collimator_hole must have the 'build_physical_volume' option set to False. Setting it to False.
Simulation: create RunManager (single thread)
Simulation: initialize Geometry
Simulation: initialize Physics
Simulation: initialize Source
Simulation: initialize Actors
Simulation: initialize G4RunManager
Simulation: check volumes overlap
Could not check overlap for volume spect_collimator_hole_param.

Simulation: START
Simulation: STOP. Run: 1. Time: 23.5 seconds.

Runs 1
Events 2656001
Tracks 2656001
Step 9039560
Init 4.20971 4.20971 s
Duration 20.938328 20.9383 s
PPS 126849
TPS 126849
SPS 431723
start Wed Dec 13 09:49:49 2023
stop Wed Dec 13 09:50:14 2023
Sim start 0 ps
Sim end 0 ps
Threads ?
Track types: {'gamma': 2656001}
We change the spacing/origin to be compared to the old gate

Tests stats file
Runs: 1 1
Events: 2656001 2654029 : +0.07 % (tol = 1.00 %)
Tracks: 2656001 2654029 : +0.07 % (tol = 1.00 %)
Steps: 9039560 9030684 : +0.10 % (tol = 1.00 %)
PPS: 126848.8 80053.5 : +58.5% speedup = x1.6
TPS: 126848.8 80053.5 : +58.5% speedup = x1.6
SPS: 431723.1 272392.5 : +58.5% speedup = x1.6
Tracks : {'gamma': 2656001}
Tracks (ref): {}
Tracks vs track_types : 2656001 2656001

Tests projection (old gate)
QObject::moveToThread: Current thread (0x9b359d0) is not the object's thread (0x8c160a0).
Cannot move to target thread (0x9b359d0)

qt.qpa.plugin: Could not load the Qt platform plugin "xcb" in "/home/opengate_env/lib/python3.11/site-packages/opengate_core/plugins" even though it was found.
This application failed to start because no Qt platform plugin could be initialized. Reinstalling the application may fix this problem.

Available platform plugins are: eglfs, linuxfb, minimal, minimalegl, offscreen, vnc, xcb, wayland-egl, wayland, wayland-xcomposite-egl, wayland-xcomposite-glx, webgl.

Aborted (core dumped)
Running: test043_garf_analog.py FAILED ! 29.6 s /home/opengate_env/lib/python3.11/site-packages/opengate/tests/../tests/log/test043_garf_analog.py.log
Importing opengate (thread 350023) ... done
plane position 61.100001 mm
crystal distance 47.875 mm
Simulation: create MTRunManager with 3 threads
Simulation: initialize Geometry
Simulation: initialize Physics
Simulation: initialize Source
Simulation: initialize Actors
Simulation: initialize G4RunManager
Simulation: check volumes overlap

Simulation: START
Apply ARF to 200000 hits (device = cpu)
Apply ARF to 200000 hits (device = cpu)
Apply ARF to 200000 hits (device = cpu)
Apply ARF to 91058 hits (device = cpu)
Apply ARF to 92167 hits (device = cpu)
Apply ARF to 90877 hits (device = cpu)
Simulation: STOP. Run: 1. Time: 11.8 seconds.

Runs 3
Events 2656547
Tracks 2656547
Step 6527813
Init 0.000317 317 us
Duration 14.716209 14.7162 s
PPS 180518
TPS 180518
SPS 443580
start Wed Dec 13 09:50:19 2023
stop Wed Dec 13 09:50:33 2023
Sim start 0 ps
Sim end 0 ps
Threads ?
Track types: {'gamma': 2656547}

Number of batch: 6
Number of detected particles: 874102
Scaling ref = 4e8, activity = 0.0003333333333333333, scale = 400.0

Tests stats file
Runs: 3 3
Events: 2656547 2654029 : +0.09 % (tol = 1.00 %)
Tracks: 2656547 2654029 : +0.09 % (tol = 1.00 %)
Steps: 6527813 6527813 : +0.00 % (tol = 1.00 %)
PPS: 180518.4 80053.5 : +125.5% speedup = x2.3
TPS: 180518.4 80053.5 : +125.5% speedup = x2.3
SPS: 443579.8 196898.4 : +125.3% speedup = x2.3
Tracks : {'gamma': 2656547}
Tracks (ref): {}
Tracks vs track_types : 2656547 2656547

Compare image to analog
QObject::moveToThread: Current thread (0xcb21670) is not the object's thread (0x92f1560).
Cannot move to target thread (0xcb21670)

qt.qpa.plugin: Could not load the Qt platform plugin "xcb" in "/home/opengate_env/lib/python3.11/site-packages/opengate_core/plugins" even though it was found.
This application failed to start because no Qt platform plugin could be initialized. Reinstalling the application may fix this problem.

Available platform plugins are: eglfs, linuxfb, minimal, minimalegl, offscreen, vnc, xcb, wayland-egl, wayland, wayland-xcomposite-egl, wayland-xcomposite-glx, webgl.

Aborted (core dumped)
Running: test043_garf_mt.py FAILED ! 19.1 s /home/opengate_env/lib/python3.11/site-packages/opengate/tests/../tests/log/test043_garf_mt.py.log
Importing opengate (thread 350136) ... done
The repeated volume spect_collimator_hole must have the 'build_physical_volume' option set to False. Setting it to False.
plane position 61.100001 mm
crystal distance 47.875 mm
Position of the detector plane 61.100001 mm
Simulation: create RunManager (single thread)
Simulation: initialize Geometry
Simulation: initialize Physics
Simulation: initialize Source
Simulation: initialize Actors
Simulation: initialize G4RunManager
Simulation: check volumes overlap
Could not check overlap for volume spect_collimator_hole_param.

Simulation: START
Simulation: STOP. Run: 1. Time: 9.9 seconds.

Runs 1
Events 383686
Tracks 383686
Step 3403245
Init 4.207248 4.20725 s
Duration 5.733897 5.7339 s
PPS 66915
TPS 66915
SPS 593531
start Wed Dec 13 09:50:36 2023
stop Wed Dec 13 09:50:46 2023
Sim start 0 ps
Sim end 0 ps
Threads ?
Track types: {'gamma': 383686}
Nb of skip particles 615755 160.48%
Compare stats
Runs: 1 1
Events: 383686 383686 : +0.00 % (tol = 1.00 %)
Tracks: 383686 383686 : +0.00 % (tol = 1.00 %)
Steps: 3403245 3403245 : +0.00 % (tol = 1.00 %)
PPS: 66915.4 66915.4 : +0.0% speedup = x1.0
TPS: 66915.4 66915.4 : +0.0% speedup = x1.0
SPS: 593530.9 593530.9 : +0.0% speedup = x1.0
Track gamma 383686 383686 : +0.0%
Tracks : {'gamma': 383686}
Tracks (ref): {'gamma': '383686'}
Tracks vs track_types : 383686 383686
Compare root
QObject::moveToThread: Current thread (0x848db50) is not the object's thread (0x80c3eb0).
Cannot move to target thread (0x848db50)

qt.qpa.plugin: Could not load the Qt platform plugin "xcb" in "/home/opengate_env/lib/python3.11/site-packages/opengate_core/plugins" even though it was found.
This application failed to start because no Qt platform plugin could be initialized. Reinstalling the application may fix this problem.

Available platform plugins are: eglfs, linuxfb, minimal, minimalegl, offscreen, vnc, xcb, wayland-egl, wayland, wayland-xcomposite-egl, wayland-xcomposite-glx, webgl.

Aborted (core dumped)
Running: test043_garf_training_dataset.py FAILED ! 13.2 s /home/opengate_env/lib/python3.11/site-packages/opengate/tests/../tests/log/test043_garf_training_dataset.py.log
Importing opengate (thread 350174) ... done
Simulation: create RunManager (single thread)
Simulation: initialize Geometry
Simulation: initialize Physics
Simulation: initialize Source
Simulation: initialize Actors
Simulation: initialize G4RunManager
Simulation: check volumes overlap

Simulation: START
Simulation: STOP. Run: 1. Time: 3.0 seconds.

QObject::moveToThread: Current thread (0x92729a0) is not the object's thread (0x8666090).
Cannot move to target thread (0x92729a0)

qt.qpa.plugin: Could not load the Qt platform plugin "xcb" in "/home/opengate_env/lib/python3.11/site-packages/opengate_core/plugins" even though it was found.
This application failed to start because no Qt platform plugin could be initialized. Reinstalling the application may fix this problem.

Available platform plugins are: eglfs, linuxfb, minimal, minimalegl, offscreen, vnc, xcb, wayland-egl, wayland, wayland-xcomposite-egl, wayland-xcomposite-glx, webgl.

Aborted (core dumped)
Running: test044_pbs.py FAILED ! 9.4 s /home/opengate_env/lib/python3.11/site-packages/opengate/tests/../tests/log/test044_pbs.py.log
Importing opengate (thread 350228) ... done
Number of sources: 1
Source mysource : {'_name': 'mysource', 'element_type': 'Source', 'type_name': 'IonPencilBeamSource', 'mother': 'world', 'start_time': None, 'end_time': None, 'particle': 'ion 6 12', 'ion': Box({'Z': 0, 'A': 0, 'E': 0}), 'n': 20000, 'activity': 0, 'weight': -1, 'weight_sigma': -1, 'half_life': -1, 'user_particle_life_time': -1, 'tac_times': None, 'tac_activities': None, 'position': Box({'type': 'disc', 'radius': 0, 'sigma_x': 0, 'sigma_y': 0, 'size': [0, 0, 0], 'translation': [-100.0, 20.0, 30.0], 'rotation': array([[ 2.22044605e-16, -0.00000000e+00, -1.00000000e+00],
[ 0.00000000e+00, 1.00000000e+00, -0.00000000e+00],
[ 1.00000000e+00, 0.00000000e+00, 2.22044605e-16]]), 'confine': None}), 'direction': Box({'type': 'momentum', 'theta': [0, 3.141592653589793], 'phi': [0, 6.283185307179586], 'momentum': [-1, 0, 0], 'focus_point': [0, 0, 0], 'sigma': [0, 0], 'acceptance_angle': {'skip_policy': 'SkipEvents', 'volumes': [], 'intersection_flag': False, 'normal_flag': False, 'normal_vector': [0, 0, 1], 'normal_tolerance': 0.05235987755982989}, 'partPhSp_x': [2.3335754, 0.0023335754, 7.8728e-07, 0], 'partPhSp_y': [1.96433431, 7.9118e-07, 2.49161e-06, 0]}), 'energy': Box({'type': 'mono', 'mono': 1440.0, 'sigma_gauss': 0, 'is_cdf': False, 'min_energy': None, 'max_energy': None})}
Simulation: create RunManager (single thread)
Simulation: initialize Geometry
Simulation: initialize Physics
Simulation: initialize Source
Simulation: initialize Actors
Simulation: initialize G4RunManager
Simulation: check volumes overlap

Simulation: START
Simulation: STOP. Run: 1. Time: 2.9 seconds.

QObject::moveToThread: Current thread (0x6f8a340) is not the object's thread (0x8e6c780).
Cannot move to target thread (0x6f8a340)

qt.qpa.plugin: Could not load the Qt platform plugin "xcb" in "/home/opengate_env/lib/python3.11/site-packages/opengate_core/plugins" even though it was found.
This application failed to start because no Qt platform plugin could be initialized. Reinstalling the application may fix this problem.

Available platform plugins are: eglfs, linuxfb, minimal, minimalegl, offscreen, vnc, xcb, wayland-egl, wayland, wayland-xcomposite-egl, wayland-xcomposite-glx, webgl.

Aborted (core dumped)
Running: test044_pbs_rot_transl.py FAILED ! 9.4 s /home/opengate_env/lib/python3.11/site-packages/opengate/tests/../tests/log/test044_pbs_rot_transl.py.log
Importing opengate (thread 350282) ... done
Number of sources: 1
Source mysource : {'_name': 'mysource', 'element_type': 'Source', 'type_name': 'IonPencilBeamSource', 'mother': 'waterbox', 'start_time': None, 'end_time': None, 'particle': 'ion 6 12', 'ion': Box({'Z': 0, 'A': 0, 'E': 0}), 'n': 20000, 'activity': 0, 'weight': -1, 'weight_sigma': -1, 'half_life': -1, 'user_particle_life_time': -1, 'tac_times': None, 'tac_activities': None, 'position': Box({'type': 'disc', 'radius': 0, 'sigma_x': 0, 'sigma_y': 0, 'size': [0, 0, 0], 'translation': [0.0, 0.0, -501.0], 'rotation': array([[1., 0., 0.],
[0., 1., 0.],
[0., 0., 1.]]), 'confine': None}), 'direction': Box({'type': 'momentum', 'theta': [0, 3.141592653589793], 'phi': [0, 6.283185307179586], 'momentum': [0, 0, 1], 'focus_point': [0, 0, 0], 'sigma': [0, 0], 'acceptance_angle': {'skip_policy': 'SkipEvents', 'volumes': [], 'intersection_flag': False, 'normal_flag': False, 'normal_vector': [0, 0, 1], 'normal_tolerance': 0.05235987755982989}, 'partPhSp_x': [2.3335754, 0.0023335754, 7.8728e-07, 0], 'partPhSp_y': [1.96433431, 7.9118e-07, 2.49161e-06, 0]}), 'energy': Box({'type': 'mono', 'mono': 1440.0, 'sigma_gauss': 0, 'is_cdf': False, 'min_energy': None, 'max_energy': None})}
Simulation: create RunManager (single thread)
Simulation: initialize Geometry
Simulation: initialize Physics
Simulation: initialize Source
Simulation: initialize Actors
Simulation: initialize G4RunManager
Simulation: check volumes overlap

Simulation: START
Simulation: STOP. Run: 1. Time: 3.0 seconds.

QObject::moveToThread: Current thread (0x88a1400) is not the object's thread (0x93df8b0).
Cannot move to target thread (0x88a1400)

qt.qpa.plugin: Could not load the Qt platform plugin "xcb" in "/home/opengate_env/lib/python3.11/site-packages/opengate_core/plugins" even though it was found.
This application failed to start because no Qt platform plugin could be initialized. Reinstalling the application may fix this problem.

Available platform plugins are: eglfs, linuxfb, minimal, minimalegl, offscreen, vnc, xcb, wayland-egl, wayland, wayland-xcomposite-egl, wayland-xcomposite-glx, webgl.

Aborted (core dumped)
Running: test044_pbs_source_to_volume.py FAILED ! 9.4 s /home/opengate_env/lib/python3.11/site-packages/opengate/tests/../tests/log/test044_pbs_source_to_volume.py.log
Importing opengate (thread 350350) ... done
Number of sources: 1
Source mysource : {'_name': 'mysource', 'element_type': 'Source', 'type_name': 'IonPencilBeamSource', 'mother': 'world', 'start_time': None, 'end_time': None, 'particle': 'ion 6 12', 'ion': Box({'Z': 0, 'A': 0, 'E': 0}), 'n': 20000, 'activity': 0, 'weight': -1, 'weight_sigma': -1, 'half_life': -1, 'user_particle_life_time': -1, 'tac_times': None, 'tac_activities': None, 'position': Box({'type': 'disc', 'radius': 0, 'sigma_x': 0, 'sigma_y': 0, 'size': [0, 0, 0], 'translation': [0.0, 0.0, 0.0], 'rotation': array([[ 2.22044605e-16, -0.00000000e+00, -1.00000000e+00],
[ 0.00000000e+00, 1.00000000e+00, -0.00000000e+00],
[ 1.00000000e+00, 0.00000000e+00, 2.22044605e-16]]), 'confine': None}), 'direction': Box({'type': 'momentum', 'theta': [0, 3.141592653589793], 'phi': [0, 6.283185307179586], 'momentum': [-1, 0, 0], 'focus_point': [0, 0, 0], 'sigma': [0, 0], 'acceptance_angle': {'skip_policy': 'SkipEvents', 'volumes': [], 'intersection_flag': False, 'normal_flag': False, 'normal_vector': [0, 0, 1], 'normal_tolerance': 0.05235987755982989}, 'partPhSp_x': [2.3335754, 0.0023335754, 7.8728e-07, 0], 'partPhSp_y': [1.96433431, 0.00179118, 2.49161e-06, 1]}), 'energy': Box({'type': 'mono', 'mono': 1440.0, 'sigma_gauss': 0, 'is_cdf': False, 'min_energy': None, 'max_energy': None})}
Simulation: create RunManager (single thread)
Simulation: initialize Geometry
Simulation: initialize Physics
Simulation: initialize Source
Simulation: initialize Actors
Simulation: initialize G4RunManager
Simulation: check volumes overlap

Simulation: START
Simulation: STOP. Run: 1. Time: 3.0 seconds.

QObject::moveToThread: Current thread (0x998ed70) is not the object's thread (0x8f92900).
Cannot move to target thread (0x998ed70)

qt.qpa.plugin: Could not load the Qt platform plugin "xcb" in "/home/opengate_env/lib/python3.11/site-packages/opengate_core/plugins" even though it was found.
This application failed to start because no Qt platform plugin could be initialized. Reinstalling the application may fix this problem.

Available platform plugins are: eglfs, linuxfb, minimal, minimalegl, offscreen, vnc, xcb, wayland-egl, wayland, wayland-xcomposite-egl, wayland-xcomposite-glx, webgl.

Aborted (core dumped)
Running: test044_pbs_unfocused.py FAILED ! 9.4 s /home/opengate_env/lib/python3.11/site-packages/opengate/tests/../tests/log/test044_pbs_unfocused.py.log
Importing opengate (thread 350404) ... done
Number of sources: 2
Source mysource1 : {'_name': 'mysource1', 'element_type': 'Source', 'type_name': 'IonPencilBeamSource', 'mother': 'waterbox1', 'start_time': None, 'end_time': None, 'particle': 'proton', 'ion': Box({'Z': 0, 'A': 0, 'E': 0}), 'n': 20000, 'activity': 0, 'weight': 1, 'weight_sigma': -1, 'half_life': -1, 'user_particle_life_time': -1, 'tac_times': None, 'tac_activities': None, 'position': Box({'type': 'disc', 'radius': 0, 'sigma_x': 0, 'sigma_y': 0, 'size': [0, 0, 0], 'translation': [0.0, 0.0, -525.0], 'rotation': array([[1., 0., 0.],
[0., 1., 0.],
[0., 0., 1.]]), 'confine': None}), 'direction': Box({'type': 'momentum', 'theta': [0, 3.141592653589793], 'phi': [0, 6.283185307179586], 'momentum': [0, 0, 1], 'focus_point': [0, 0, 0], 'sigma': [0, 0], 'acceptance_angle': {'skip_policy': 'SkipEvents', 'volumes': [], 'intersection_flag': False, 'normal_flag': False, 'normal_vector': [0, 0, 1], 'normal_tolerance': 0.05235987755982989}, 'partPhSp_x': [2.3335754, 0.0023335754, 7.8728e-07, 0], 'partPhSp_y': [1.96433431, 7.9118e-07, 2.49161e-06, 0]}), 'energy': Box({'type': 'mono', 'mono': 60.0, 'sigma_gauss': 0, 'is_cdf': False, 'min_energy': None, 'max_energy': None})}
Source mysource2 : {'_name': 'mysource2', 'element_type': 'Source', 'type_name': 'IonPencilBeamSource', 'mother': 'waterbox2', 'start_time': None, 'end_time': None, 'particle': 'proton', 'ion': Box({'Z': 0, 'A': 0, 'E': 0}), 'n': 20000, 'activity': 0, 'weight': 2, 'weight_sigma': -1, 'half_life': -1, 'user_particle_life_time': -1, 'tac_times': None, 'tac_activities': None, 'position': Box({'type': 'disc', 'radius': 0, 'sigma_x': 0, 'sigma_y': 0, 'size': [0, 0, 0], 'translation': [0.0, 0.0, -525.0], 'rotation': array([[1., 0., 0.],
[0., 1., 0.],
[0., 0., 1.]]), 'confine': None}), 'direction': Box({'type': 'momentum', 'theta': [0, 3.141592653589793], 'phi': [0, 6.283185307179586], 'momentum': [0, 0, 1], 'focus_point': [0, 0, 0], 'sigma': [0, 0], 'acceptance_angle': {'skip_policy': 'SkipEvents', 'volumes': [], 'intersection_flag': False, 'normal_flag': False, 'normal_vector': [0, 0, 1], 'normal_tolerance': 0.05235987755982989}, 'partPhSp_x': [2.3335754, 0.0023335754, 7.8728e-07, 0], 'partPhSp_y': [1.96433431, 7.9118e-07, 2.49161e-06, 0]}), 'energy': Box({'type': 'mono', 'mono': 60.0, 'sigma_gauss': 0, 'is_cdf': False, 'min_energy': None, 'max_energy': None})}
Simulation: create RunManager (single thread)
Simulation: initialize Geometry
Simulation: initialize Physics
Simulation: initialize Source
Simulation: initialize Actors
Simulation: initialize G4RunManager
Simulation: check volumes overlap

Simulation: START
Simulation: STOP. Run: 1. Time: 2.1 seconds.

QObject::moveToThread: Current thread (0x7ff1140) is not the object's thread (0x9833a10).
Cannot move to target thread (0x7ff1140)

qt.qpa.plugin: Could not load the Qt platform plugin "xcb" in "/home/opengate_env/lib/python3.11/site-packages/opengate_core/plugins" even though it was found.
This application failed to start because no Qt platform plugin could be initialized. Reinstalling the application may fix this problem.

Available platform plugins are: eglfs, linuxfb, minimal, minimalegl, offscreen, vnc, xcb, wayland-egl, wayland, wayland-xcomposite-egl, wayland-xcomposite-glx, webgl.

Aborted (core dumped)
Running: test044_pbs_weight.py FAILED ! 8.3 s /home/opengate_env/lib/python3.11/site-packages/opengate/tests/../tests/log/test044_pbs_weight.py.log
Running: test046_rad.py OK 3.2 s /home/opengate_env/lib/python3.11/site-packages/opengate/tests/../tests/log/test046_rad.py.log
Importing opengate (thread 350493) ... done
Simulation: create RunManager (single thread)
Simulation: initialize Geometry
Simulation: initialize Physics
Simulation: initialize Source
Simulation: initialize Actors
Simulation: initialize G4RunManager
Simulation: check volumes overlap

Simulation: START
Generate 100000 particles from GAN in 0.08 sec (GPU=cpu)
Generate 100000 particles from GAN in 0.08 sec (GPU=cpu)
Generate 100000 particles from GAN in 0.08 sec (GPU=cpu)
Generate 100000 particles from GAN in 0.08 sec (GPU=cpu)
Generate 100000 particles from GAN in 0.08 sec (GPU=cpu)
Generate 100000 particles from GAN in 0.08 sec (GPU=cpu)
Generate 100000 particles from GAN in 0.08 sec (GPU=cpu)
Generate 100000 particles from GAN in 0.08 sec (GPU=cpu)
Generate 100000 particles from GAN in 0.08 sec (GPU=cpu)
Generate 100000 particles from GAN in 0.08 sec (GPU=cpu)
Generate 100000 particles from GAN in 0.08 sec (GPU=cpu)
Simulation: STOP. Run: 1. Time: 11.4 seconds.

Tests stats file
Runs 1
Events 1000321
Tracks 1000321
Step 1006963
Init 3.879722 3.87972 s
Duration 7.787996 7.788 s
PPS 128444
TPS 128444
SPS 129297
start Wed Dec 13 09:51:43 2023
stop Wed Dec 13 09:51:54 2023
Sim start 0 ps
Sim end 0 ps
Threads ?
Track types: {'alpha': 1000321}
Runs: 1 1
Events: 1000321 1000816 : -0.05 % (tol = 0.50 %)
Tracks: 1000321 1000816 : -0.05 % (tol = 0.50 %)
Steps: 1006963 1007387 : -0.04 % (tol = 0.50 %)
PPS: 128444.0 302895.3 : -57.6% speedup = x0.4
TPS: 128444.0 302895.3 : -57.6% speedup = x0.4
SPS: 129296.8 304884.0 : -57.6% speedup = x0.4
Track alpha 1000321 1000816 : -0.0%
Tracks : {'alpha': 1000321}
Tracks (ref): {'alpha': '1000816'}
Tracks vs track_types : 1000321 1000321

Compare image to analog
QObject::moveToThread: Current thread (0x72ece60) is not the object's thread (0x922b790).
Cannot move to target thread (0x72ece60)

qt.qpa.plugin: Could not load the Qt platform plugin "xcb" in "/home/opengate_env/lib/python3.11/site-packages/opengate_core/plugins" even though it was found.
This application failed to start because no Qt platform plugin could be initialized. Reinstalling the application may fix this problem.

Available platform plugins are: eglfs, linuxfb, minimal, minimalegl, offscreen, vnc, xcb, wayland-egl, wayland, wayland-xcomposite-egl, wayland-xcomposite-glx, webgl.

Aborted (core dumped)
Running: test047_gan_vox_source_cond.py FAILED ! 18.8 s /home/opengate_env/lib/python3.11/site-packages/opengate/tests/../tests/log/test047_gan_vox_source_cond.py.log
Running: test047_voxelization.py OK 7.5 s /home/opengate_env/lib/python3.11/site-packages/opengate/tests/../tests/log/test047_voxelization.py.log
Importing opengate (thread 350598) ... done
Reading 4 images
Image info: [128 128 90] [4.41806 4.41806 1. ] [-280.54681 -280.54681 0. ]

Compare image to reference
QObject::moveToThread: Current thread (0xa177380) is not the object's thread (0x82f5c90).
Cannot move to target thread (0xa177380)

qt.qpa.plugin: Could not load the Qt platform plugin "xcb" in "/home/opengate_env/lib/python3.11/site-packages/opengate_core/plugins" even though it was found.
This application failed to start because no Qt platform plugin could be initialized. Reinstalling the application may fix this problem.

Available platform plugins are: eglfs, linuxfb, minimal, minimalegl, offscreen, vnc, xcb, wayland-egl, wayland, wayland-xcomposite-egl, wayland-xcomposite-glx, webgl.

Aborted (core dumped)
Running: test048_split_spect_projections.py FAILED ! 6.2 s /home/opengate_env/lib/python3.11/site-packages/opengate/tests/../tests/log/test048_split_spect_projections.py.log
Importing opengate (thread 350636) ... done
Yield for F18 (nb of e+ per decay) : 0.968600992766
Simulation: create RunManager (single thread)
Simulation: initialize Geometry
Simulation: initialize Physics
Simulation: initialize Source
Simulation: initialize Actors
Simulation: initialize G4RunManager
Simulation: check volumes overlap
Simulation: initialize user fct
Entered hook
Known regions are:


DefaultRegionForTheWorld
Cuts in this region:
gamma: 1000.0
electron: 1000.0
proton: 1000.0
positron: 1000.0


DefaultRegionForParallelWorld
Cuts in this region:
gamma: 1000.0
electron: 1000.0
proton: 1000.0
positron: 1000.0


phantom_region
Cuts in this region:
gamma: 10.0
electron: 10.0
proton: 10.0
positron: 10.0


pet_crystal_region
Cuts in this region:
gamma: 0.1
electron: 0.1
proton: 0.1
positron: 0.1

Simulation: START
Simulation: STOP. Run: 1. Time: 9.4 seconds.

Runs 1
Events 86211
Tracks 298080
Step 3698837
Init 1.642 1.642 s
Duration 7.842851 7.84285 s
PPS 10992
TPS 38007
SPS 471619
start Wed Dec 13 09:52:11 2023
stop Wed Dec 13 09:52:21 2023
Sim start 0 ps
Sim end 0 ps
Threads ?
Track types: {'e+': 86211, 'e-': 14722, 'gamma': 197147}

Nb of ignored hits : 232

Check stats
Runs: 1 1
Events: 86211 86063 : +0.17 % (tol = 2.50 %)
Tracks: 298080 297517 : +0.19 % (tol = 2.50 %)
Steps: 3698837 3767240 : -1.82 % (tol = 2.50 %)
PPS: 10992.3 2378.4 : +362.2% speedup = x4.6
TPS: 38006.6 8222.2 : +362.2% speedup = x4.6
SPS: 471618.9 104112.0 : +353.0% speedup = x4.5
Tracks : {'e+': 86211, 'e-': 14722, 'gamma': 197147}
Tracks (ref): {}
Tracks vs track_types : 298080 298080

Check root (hits)
QObject::moveToThread: Current thread (0x93a03c0) is not the object's thread (0x8f33360).
Cannot move to target thread (0x93a03c0)

qt.qpa.plugin: Could not load the Qt platform plugin "xcb" in "/home/opengate_env/lib/python3.11/site-packages/opengate_core/plugins" even though it was found.
This application failed to start because no Qt platform plugin could be initialized. Reinstalling the application may fix this problem.

Available platform plugins are: eglfs, linuxfb, minimal, minimalegl, offscreen, vnc, xcb, wayland-egl, wayland, wayland-xcomposite-egl, wayland-xcomposite-glx, webgl.

Aborted (core dumped)
Running: test049_pet_digit_blurring_v1.py FAILED ! 14.5 s /home/opengate_env/lib/python3.11/site-packages/opengate/tests/../tests/log/test049_pet_digit_blurring_v1.py.log
Importing opengate (thread 350688) ... done
Yield for F18 (nb of e+ per decay) : 0.968600992766
Simulation: create MTRunManager with 2 threads
Simulation: initialize Geometry
Simulation: initialize Physics
Simulation: initialize Source
Simulation: initialize Actors
Simulation: initialize G4RunManager
Simulation: check volumes overlap
Simulation: initialize user fct
Entered hook
Known regions are:


DefaultRegionForTheWorld
Cuts in this region:
gamma: 1000.0
electron: 1000.0
proton: 1000.0
positron: 1000.0


DefaultRegionForParallelWorld
Cuts in this region:
gamma: 1000.0
electron: 1000.0
proton: 1000.0
positron: 1000.0


phantom_region
Cuts in this region:
gamma: 10.0
electron: 10.0
proton: 10.0
positron: 10.0


pet_crystal_region
Cuts in this region:
gamma: 0.1
electron: 0.1
proton: 0.1
positron: 0.1

Simulation: START
Simulation: STOP. Run: 1. Time: 11.9 seconds.

Runs 2
Events 86558
Tracks 299522
Step 3708327
Init 0.001811 1.811 ms
Duration 11.881637 11.8816 s
PPS 7285
TPS 25209
SPS 312106
start Wed Dec 13 09:52:28 2023
stop Wed Dec 13 09:52:40 2023
Sim start 0 ps
Sim end 0 ps
Threads ?
Track types: {'e+': 86558, 'e-': 14877, 'gamma': 198087}

Nb of ignored hits : 185

Check stats
Runs: 2 2
Events: 86558 86063 : +0.58 % (tol = 2.50 %)
Tracks: 299522 297517 : +0.67 % (tol = 2.50 %)
Steps: 3708327 3767240 : -1.56 % (tol = 2.50 %)
PPS: 7285.0 2378.4 : +206.3% speedup = x3.1
TPS: 25208.8 8222.2 : +206.6% speedup = x3.1
SPS: 312105.7 104112.0 : +199.8% speedup = x3.0
Tracks : {'e+': 86558, 'e-': 14877, 'gamma': 198087}
Tracks (ref): {}
Tracks vs track_types : 299522 299522

Check root (hits)
QObject::moveToThread: Current thread (0xc9ba680) is not the object's thread (0x8e597f0).
Cannot move to target thread (0xc9ba680)

qt.qpa.plugin: Could not load the Qt platform plugin "xcb" in "/home/opengate_env/lib/python3.11/site-packages/opengate_core/plugins" even though it was found.
This application failed to start because no Qt platform plugin could be initialized. Reinstalling the application may fix this problem.

Available platform plugins are: eglfs, linuxfb, minimal, minimalegl, offscreen, vnc, xcb, wayland-egl, wayland, wayland-xcomposite-egl, wayland-xcomposite-glx, webgl.

Aborted (core dumped)
Running: test049_pet_digit_blurring_v2_mt.py FAILED ! 18.6 s /home/opengate_env/lib/python3.11/site-packages/opengate/tests/../tests/log/test049_pet_digit_blurring_v2_mt.py.log
Importing opengate (thread 350728) ... done
Yield for F18 (nb of e+ per decay) : 0.968600992766
Simulation: create RunManager (single thread)
Simulation: initialize Geometry
Simulation: initialize Physics
Simulation: initialize Source
Simulation: initialize Actors
Simulation: initialize G4RunManager
Simulation: check volumes overlap
Simulation: initialize user fct
Entered hook
Known regions are:


DefaultRegionForTheWorld
Cuts in this region:
gamma: 1000.0
electron: 1000.0
proton: 1000.0
positron: 1000.0


DefaultRegionForParallelWorld
Cuts in this region:
gamma: 1000.0
electron: 1000.0
proton: 1000.0
positron: 1000.0


phantom_region
Cuts in this region:
gamma: 10.0
electron: 10.0
proton: 10.0
positron: 10.0


pet_crystal_region
Cuts in this region:
gamma: 0.1
electron: 0.1
proton: 0.1
positron: 0.1

Simulation: START
Simulation: STOP. Run: 1. Time: 9.5 seconds.

Runs 1
Events 86460
Tracks 299086
Step 3711469
Init 1.63575 1.63575 s
Duration 7.841935 7.84194 s
PPS 11025
TPS 38139
SPS 473285
start Wed Dec 13 09:52:44 2023
stop Wed Dec 13 09:52:54 2023
Sim start 0 ps
Sim end 0 ps
Threads ?
Track types: {'e+': 86460, 'e-': 14776, 'gamma': 197850}

Nb of ignored hits : 202

Check stats
Runs: 1 1
Events: 86460 86257 : +0.24 % (tol = 2.50 %)
Tracks: 299086 298287 : +0.27 % (tol = 2.50 %)
Steps: 3711469 3775173 : -1.69 % (tol = 2.50 %)
PPS: 11025.3 2361.8 : +366.8% speedup = x4.7
TPS: 38139.3 8167.4 : +367.0% speedup = x4.7
SPS: 473284.8 103367.7 : +357.9% speedup = x4.6
Tracks : {'e+': 86460, 'e-': 14776, 'gamma': 197850}
Tracks (ref): {}
Tracks vs track_types : 299086 299086

Check root (singles)
QObject::moveToThread: Current thread (0x65e2210) is not the object's thread (0x90dd770).
Cannot move to target thread (0x65e2210)

qt.qpa.plugin: Could not load the Qt platform plugin "xcb" in "/home/opengate_env/lib/python3.11/site-packages/opengate_core/plugins" even though it was found.
This application failed to start because no Qt platform plugin could be initialized. Reinstalling the application may fix this problem.

Available platform plugins are: eglfs, linuxfb, minimal, minimalegl, offscreen, vnc, xcb, wayland-egl, wayland, wayland-xcomposite-egl, wayland-xcomposite-glx, webgl.

Aborted (core dumped)
Running: test049_pet_digit_blurring_v3.py FAILED ! 13.1 s /home/opengate_env/lib/python3.11/site-packages/opengate/tests/../tests/log/test049_pet_digit_blurring_v3.py.log
Importing opengate (thread 350766) ... done
Yield for F18 (nb of e+ per decay) : 0.968600992766
Simulation: create RunManager (single thread)
Simulation: initialize Geometry
Simulation: initialize Physics
Simulation: initialize Source
Simulation: initialize Actors
Simulation: initialize G4RunManager
Simulation: check volumes overlap
Simulation: initialize user fct
Entered hook
Known regions are:


DefaultRegionForTheWorld
Cuts in this region:
gamma: 1000.0
electron: 1000.0
proton: 1000.0
positron: 1000.0


DefaultRegionForParallelWorld
Cuts in this region:
gamma: 1000.0
electron: 1000.0
proton: 1000.0
positron: 1000.0


phantom_region
Cuts in this region:
gamma: 10.0
electron: 10.0
proton: 10.0
positron: 10.0


pet_crystal_region
Cuts in this region:
gamma: 0.1
electron: 0.1
proton: 0.1
positron: 0.1

Simulation: START
Simulation: STOP. Run: 1. Time: 9.6 seconds.

Runs 1
Events 86460
Tracks 299086
Step 3711469
Init 1.686166 1.68617 s
Duration 7.895681 7.89568 s
PPS 10950
TPS 37880
SPS 470063
start Wed Dec 13 09:52:57 2023
stop Wed Dec 13 09:53:07 2023
Sim start 0 ps
Sim end 0 ps
Threads ?
Track types: {'e+': 86460, 'e-': 14776, 'gamma': 197850}

Nb of ignored hits : 202

Check stats
Runs: 1 1
Events: 86460 86605 : -0.17 % (tol = 3.00 %)
Tracks: 299086 299672 : -0.20 % (tol = 3.00 %)
Steps: 3711469 3791577 : -2.11 % (tol = 3.00 %)
PPS: 10950.3 2294.6 : +377.2% speedup = x4.8
TPS: 37879.7 7939.9 : +377.1% speedup = x4.8
SPS: 470063.2 100459.1 : +367.9% speedup = x4.7
Tracks : {'e+': 86460, 'e-': 14776, 'gamma': 197850}
Tracks (ref): {}
Tracks vs track_types : 299086 299086

Check root (singles)
QObject::moveToThread: Current thread (0x8541720) is not the object's thread (0x988fb80).
Cannot move to target thread (0x8541720)

qt.qpa.plugin: Could not load the Qt platform plugin "xcb" in "/home/opengate_env/lib/python3.11/site-packages/opengate_core/plugins" even though it was found.
This application failed to start because no Qt platform plugin could be initialized. Reinstalling the application may fix this problem.

Available platform plugins are: eglfs, linuxfb, minimal, minimalegl, offscreen, vnc, xcb, wayland-egl, wayland, wayland-xcomposite-egl, wayland-xcomposite-glx, webgl.

Aborted (core dumped)
Running: test049_pet_digit_blurring_v4.py FAILED ! 13.3 s /home/opengate_env/lib/python3.11/site-packages/opengate/tests/../tests/log/test049_pet_digit_blurring_v4.py.log
Importing opengate (thread 350804) ... done
{'current': PosixPath('/home/opengate_env/lib/python3.11/site-packages/opengate/tests/src'), 'data': PosixPath('/home/opengate_env/lib/python3.11/site-packages/opengate/tests/src/../data'), 'gate': PosixPath('/home/opengate_env/lib/python3.11/site-packages/opengate/tests/src/../data/gate/test050_let_actor_letd'), 'gate_output': PosixPath('/home/opengate_env/lib/python3.11/site-packages/opengate/tests/src/../data/gate/test050_let_actor_letd/output'), 'gate_data': PosixPath('/home/opengate_env/lib/python3.11/site-packages/opengate/tests/src/../data/gate/test050_let_actor_letd/data'), 'output': PosixPath('/home/opengate_env/lib/python3.11/site-packages/opengate/tests/src/../output'), 'output_ref': PosixPath('/home/opengate_env/lib/python3.11/site-packages/opengate/tests/src/../data/output_ref')}
Filters: (0)
Number of filters: 0
Simulation: create RunManager (single thread)
Simulation: initialize Geometry
Simulation: initialize Physics
Simulation: initialize Source
Simulation: initialize Actors
Simulation: initialize G4RunManager
Simulation: check volumes overlap

Simulation: START
Simulation: STOP. Run: 1. Time: 7.0 seconds.

QObject::moveToThread: Current thread (0x77bdea0) is not the object's thread (0x8372fc0).
Cannot move to target thread (0x77bdea0)

qt.qpa.plugin: Could not load the Qt platform plugin "xcb" in "/home/opengate_env/lib/python3.11/site-packages/opengate_core/plugins" even though it was found.
This application failed to start because no Qt platform plugin could be initialized. Reinstalling the application may fix this problem.

Available platform plugins are: eglfs, linuxfb, minimal, minimalegl, offscreen, vnc, xcb, wayland-egl, wayland, wayland-xcomposite-egl, wayland-xcomposite-glx, webgl.

Aborted (core dumped)
Running: test050_let_actor_letd.py FAILED ! 13.1 s /home/opengate_env/lib/python3.11/site-packages/opengate/tests/../tests/log/test050_let_actor_letd.py.log
Importing opengate (thread 350872) ... done
Importing opengate (thread 350907) ... Importing opengate (thread 350945) ... done
Simulation: create RunManager (single thread)
Simulation: initialize Geometry
Simulation: initialize Physics
Simulation: initialize Source
Simulation: initialize Actors
Simulation: initialize G4RunManager
Simulation: check volumes overlap

Simulation: START (in a new process)
Simulation: STOP. Run: 1. Time: 8.6 seconds.

done

Check stats
Runs: 1 1
Events: 10294 10111 : +1.81 % (tol = 5.00 %)
Tracks: 372209 360239 : +3.32 % (tol = 5.00 %)
Steps: 2963384 2900601 : +2.16 % (tol = 5.00 %)
PPS: 1380.2 2877.2 : -52.0% speedup = x0.5
TPS: 49904.9 102511.4 : -51.3% speedup = x0.5
SPS: 397323.2 825409.7 : -51.9% speedup = x0.5
Track Ac225 10294 10111 : +1.8%
Track At217 10284 10106 : +1.8%
Track At217[100.250]151 176 : -14.2%
Track At217[218.120]1616 1576 : +2.5%
Track At217[272.070]31 29 : +6.9%
Track At217[368.230]59 42 : +40.5%
Track At217[382.340]10 8 : +25.0%
Track At217[410.640]15 12 : +25.0%
Track At217[424.350]2 1 : +100.0%
Track At217[568.500]1 1 : +0.0%
Track At217[577.000]8 7 : +14.3%
Track Bi209 10294 10111 : +1.8%
Track Bi213 10284 10105 : +1.8%
Track Bi213[1050.000]1 0
Track Bi213[257.870]5 6 : -16.7%
Track Bi213[593.180]4 3 : +33.3%
Track Bi213[758.900]1 1 : +0.0%
Track Fr221 10294 10111 : +1.8%
Track Fr221[100.890]183 159 : +15.1%
Track Fr221[108.410]471 485 : -2.9%
Track Fr221[145.910]13 10 : +30.0%
Track Fr221[150.070]125 150 : -16.7%
Track Fr221[195.770]473 414 : +14.3%
Track Fr221[224.640]125 118 : +5.9%
Track Fr221[234.510]5 2 : +150.0%
Track Fr221[253.560]158 143 : +10.5%
Track Fr221[26.000]301 289 : +4.2%
Track Fr221[272.600]5 2 : +150.0%
Track Fr221[279.210]13 9 : +44.4%
Track Fr221[288.080]6 9 : -33.3%
Track Fr221[36.640]2684 2615 : +2.6%
Track Fr221[38.540]1110 1105 : +0.5%
Track Fr221[393.350]16 17 : -5.9%
Track Fr221[400.750]8 12 : -33.3%
Track Fr221[517.810]8 6 : +33.3%
Track Fr221[552.050]21 23 : -8.7%
Track Fr221[570.810]2 1 : +100.0%
Track Fr221[630.710]2 1 : +100.0%
Track Fr221[637.720]1 0
Track Fr221[712.000]1 1 : +0.0%
Track Fr221[824.200]1 0
Track Fr221[99.620]958 870 : +10.1%
Track Fr221[99.850]159 154 : +3.2%
Track Pb209 10294 10111 : +1.8%
Track Pb209[1567.090]237 213 : +11.3%
Track Pb209[2032.220]237 211 : +12.3%
Track Pb209[2149.430]236 211 : +11.8%
Track Pb209[2315.900]1 0
Track Pb209[2424.000]1 1 : +0.0%
Track Pb209[2563.000]1 0
Track Pb209[2904.000]2 0
Track Pb209[3069.920]1 4 : -75.0%
Track Pb209[778.800]3 0
Track Po213 10055 9896 : +1.6%
Track Po213[1003.553]8 6 : +33.3%
Track Po213[1045.670]2 3 : -33.3%
Track Po213[1100.167]67 61 : +9.8%
Track Po213[1119.291]4 10 : -60.0%
Track Po213[292.800]68 58 : +17.2%
Track Po213[440.450]3160 3143 : +0.5%
Track Ra221 10 5 : +100.0%
Track Rn217 10 6 : +66.7%
Track Rn217[149.180]2 4 : -50.0%
Track Rn217[184.000]1 0
Track Rn217[88.900]1 0
Track Rn217[93.020]2 2 : +0.0%
Track Tl209 239 215 : +11.2%
Track Tl209[323.810]17 20 : -15.0%
Track alpha 41176 40444 : +1.8%
Track anti_nu_e20588 20222 : +1.8%
Track e+ 1 2 : -50.0%
Track e- 214081 205164 : +4.3%
Track gamma 11501 11219 : +2.5%
Track Fr221[294.660]0 2
Track Fr221[602.200]0 1
Track Pb209[1423.000]0 1
Track Pb209[2738.000]0 1
Track Po213[600.730]0 1
Track Po213[867.980]0 1
Tracks : {'Ac225': 10294, 'At217': 10284, 'At217[100.250]': 151, 'At217[218.120]': 1616, 'At217[272.070]': 31, 'At217[368.230]': 59, 'At217[382.340]': 10, 'At217[410.640]': 15, 'At217[424.350]': 2, 'At217[568.500]': 1, 'At217[577.000]': 8, 'Bi209': 10294, 'Bi213': 10284, 'Bi213[1050.000]': 1, 'Bi213[257.870]': 5, 'Bi213[593.180]': 4, 'Bi213[758.900]': 1, 'Fr221': 10294, 'Fr221[100.890]': 183, 'Fr221[108.410]': 471, 'Fr221[145.910]': 13, 'Fr221[150.070]': 125, 'Fr221[195.770]': 473, 'Fr221[224.640]': 125, 'Fr221[234.510]': 5, 'Fr221[253.560]': 158, 'Fr221[26.000]': 301, 'Fr221[272.600]': 5, 'Fr221[279.210]': 13, 'Fr221[288.080]': 6, 'Fr221[36.640]': 2684, 'Fr221[38.540]': 1110, 'Fr221[393.350]': 16, 'Fr221[400.750]': 8, 'Fr221[517.810]': 8, 'Fr221[552.050]': 21, 'Fr221[570.810]': 2, 'Fr221[630.710]': 2, 'Fr221[637.720]': 1, 'Fr221[712.000]': 1, 'Fr221[824.200]': 1, 'Fr221[99.620]': 958, 'Fr221[99.850]': 159, 'Pb209': 10294, 'Pb209[1567.090]': 237, 'Pb209[2032.220]': 237, 'Pb209[2149.430]': 236, 'Pb209[2315.900]': 1, 'Pb209[2424.000]': 1, 'Pb209[2563.000]': 1, 'Pb209[2904.000]': 2, 'Pb209[3069.920]': 1, 'Pb209[778.800]': 3, 'Po213': 10055, 'Po213[1003.553]': 8, 'Po213[1045.670]': 2, 'Po213[1100.167]': 67, 'Po213[1119.291]': 4, 'Po213[292.800]': 68, 'Po213[440.450]': 3160, 'Ra221': 10, 'Rn217': 10, 'Rn217[149.180]': 2, 'Rn217[184.000]': 1, 'Rn217[88.900]': 1, 'Rn217[93.020]': 2, 'Tl209': 239, 'Tl209[323.810]': 17, 'alpha': 41176, 'anti_nu_e': 20588, 'e+': 1, 'e-': 214081, 'gamma': 11501}
Tracks (ref): {'Ac225': '10111', 'At217': '10106', 'At217[100.250]': '176', 'At217[218.120]': '1576', 'At217[272.070]': '29', 'At217[368.230]': '42', 'At217[382.340]': '8', 'At217[410.640]': '12', 'At217[424.350]': '1', 'At217[568.500]': '1', 'At217[577.000]': '7', 'Bi209': '10111', 'Bi213': '10105', 'Bi213[257.870]': '6', 'Bi213[593.180]': '3', 'Bi213[758.900]': '1', 'Fr221': '10111', 'Fr221[100.890]': '159', 'Fr221[108.410]': '485', 'Fr221[145.910]': '10', 'Fr221[150.070]': '150', 'Fr221[195.770]': '414', 'Fr221[224.640]': '118', 'Fr221[234.510]': '2', 'Fr221[253.560]': '143', 'Fr221[26.000]': '289', 'Fr221[272.600]': '2', 'Fr221[279.210]': '9', 'Fr221[288.080]': '9', 'Fr221[294.660]': '2', 'Fr221[36.640]': '2615', 'Fr221[38.540]': '1105', 'Fr221[393.350]': '17', 'Fr221[400.750]': '12', 'Fr221[517.810]': '6', 'Fr221[552.050]': '23', 'Fr221[570.810]': '1', 'Fr221[602.200]': '1', 'Fr221[630.710]': '1', 'Fr221[712.000]': '1', 'Fr221[99.620]': '870', 'Fr221[99.850]': '154', 'Pb209': '10111', 'Pb209[1423.000]': '1', 'Pb209[1567.090]': '213', 'Pb209[2032.220]': '211', 'Pb209[2149.430]': '211', 'Pb209[2424.000]': '1', 'Pb209[2738.000]': '1', 'Pb209[3069.920]': '4', 'Po213': '9896', 'Po213[1003.553]': '6', 'Po213[1045.670]': '3', 'Po213[1100.167]': '61', 'Po213[1119.291]': '10', 'Po213[292.800]': '58', 'Po213[440.450]': '3143', 'Po213[600.730]': '1', 'Po213[867.980]': '1', 'Ra221': '5', 'Rn217': '6', 'Rn217[149.180]': '4', 'Rn217[93.020]': '2', 'Tl209': '215', 'Tl209[323.810]': '20', 'alpha': '40444', 'anti_nu_e': '20222', 'e+': '2', 'e-': '205164', 'gamma': '11219'}
Tracks vs track_types : 372209 372209

Check root time difference
Number of time diff larger than 1 sec (~3.67%): 42.00 vs 54.00 -> 12.00 (tol=20)
Time diff mean in minutes: 40.23 vs 49.82 -> 9.59 (tol=30)

Check root nb of hits
QObject::moveToThread: Current thread (0x84e4940) is not the object's thread (0x7d2d6e0).
Cannot move to target thread (0x84e4940)

qt.qpa.plugin: Could not load the Qt platform plugin "xcb" in "/home/opengate_env/lib/python3.11/site-packages/opengate_core/plugins" even though it was found.
This application failed to start because no Qt platform plugin could be initialized. Reinstalling the application may fix this problem.

Available platform plugins are: eglfs, linuxfb, minimal, minimalegl, offscreen, vnc, xcb, wayland-egl, wayland, wayland-xcomposite-egl, wayland-xcomposite-glx, webgl.

Aborted (core dumped)
Running: test051_adder_time_difference.py FAILED ! 18.2 s /home/opengate_env/lib/python3.11/site-packages/opengate/tests/../tests/log/test051_adder_time_difference.py.log
Importing opengate (thread 350987) ... done
Importing opengate (thread 351022) ... Importing opengate (thread 351060) ... done
Simulation: create RunManager (single thread)
Simulation: initialize Geometry
Simulation: initialize Physics
Simulation: initialize Source
Simulation: initialize Actors
Simulation: initialize G4RunManager
Simulation: check volumes overlap

Simulation: START (in a new process)
Simulation: STOP. Run: 2. Time: 1.1 seconds.

done
Runs 2
Events 162785
Tracks 166769
Step 172338
Init 0.62928 629.28 ms
Duration 0.510143 510.143 ms
PPS 319097
TPS 326906
SPS 337823
start Wed Dec 13 09:53:47 2023
stop Wed Dec 13 09:53:48 2023
Sim start 0 ps
Sim end 7 s
Threads 1
Track types: {'e-': 3983, 'gamma': 162786}

Check root time
QObject::moveToThread: Current thread (0x821c1c0) is not the object's thread (0x769d600).
Cannot move to target thread (0x821c1c0)

qt.qpa.plugin: Could not load the Qt platform plugin "xcb" in "/home/opengate_env/lib/python3.11/site-packages/opengate_core/plugins" even though it was found.
This application failed to start because no Qt platform plugin could be initialized. Reinstalling the application may fix this problem.

Available platform plugins are: eglfs, linuxfb, minimal, minimalegl, offscreen, vnc, xcb, wayland-egl, wayland, wayland-xcomposite-egl, wayland-xcomposite-glx, webgl.

Aborted (core dumped)
Running: test052_tac_activity_source.py FAILED ! 10.8 s /home/opengate_env/lib/python3.11/site-packages/opengate/tests/../tests/log/test052_tac_activity_source.py.log
Running: test053_production_cuts.py OK 3.7 s /home/opengate_env/lib/python3.11/site-packages/opengate/tests/../tests/log/test053_production_cuts.py.log
Running: test053_step_limiter_mt.py OK 22.3 s /home/opengate_env/lib/python3.11/site-packages/opengate/tests/../tests/log/test053_step_limiter_mt.py.log
Importing opengate (thread 351265) ... done
Geometry trees:
b'volume_tree_root\n world\n fake\n patient\n world2\n detector\n world3\n detector2\n'
Importing opengate (thread 351300) ... Importing opengate (thread 351338) ... done
Simulation: create RunManager (single thread)
Simulation: initialize Geometry
Simulation: initialize Physics
Simulation: initialize Source
Simulation: initialize Actors
Simulation: initialize G4RunManager
Simulation: check volumes overlap

Simulation: START (in a new process)
Simulation: STOP. Run: 1. Time: 2.9 seconds.

done
QObject::moveToThread: Current thread (0x85628a0) is not the object's thread (0x7c10200).
Cannot move to target thread (0x85628a0)

qt.qpa.plugin: Could not load the Qt platform plugin "xcb" in "/home/opengate_env/lib/python3.11/site-packages/opengate_core/plugins" even though it was found.
This application failed to start because no Qt platform plugin could be initialized. Reinstalling the application may fix this problem.

Available platform plugins are: eglfs, linuxfb, minimal, minimalegl, offscreen, vnc, xcb, wayland-egl, wayland, wayland-xcomposite-egl, wayland-xcomposite-glx, webgl.

Aborted (core dumped)
Running: test054_parallel_geometry.py FAILED ! 15.8 s /home/opengate_env/lib/python3.11/site-packages/opengate/tests/../tests/log/test054_parallel_geometry.py.log
Running: test056_template_source.py OK 4.1 s /home/opengate_env/lib/python3.11/site-packages/opengate/tests/../tests/log/test056_template_source.py.log
Running: test057_digit_efficiency.py OK 7.8 s /home/opengate_env/lib/python3.11/site-packages/opengate/tests/../tests/log/test057_digit_efficiency.py.log
Running: test058_calc_uncertainty_mt.py OK 19.3 s /home/opengate_env/lib/python3.11/site-packages/opengate/tests/../tests/log/test058_calc_uncertainty_mt.py.log
Importing opengate (thread 351522) ... done
Volume = iec_interior Source = iec_bg 10483.10 mL 1048309.83 Bq 100.00 Bq/mL
iec_sphere_10mm spheres_iec_10mm 0.52 mL 52.36 Bq 100.00 Bq/mL
iec_sphere_13mm spheres_iec_13mm 1.15 mL 115.03 Bq 100.00 Bq/mL
iec_sphere_17mm spheres_iec_17mm 2.57 mL 257.24 Bq 100.00 Bq/mL
iec_sphere_22mm spheres_iec_22mm 5.58 mL 557.53 Bq 100.00 Bq/mL
iec_sphere_28mm spheres_iec_28mm 11.49 mL 1149.40 Bq 100.00 Bq/mL
iec_sphere_37mm spheres_iec_37mm 26.52 mL 2652.18 Bq 100.00 Bq/mL
Total activity is 4783.755493498737 Bq
Simulation: create RunManager (single thread)
Simulation: initialize Geometry
Simulation: initialize Physics
Simulation: initialize Source
Simulation: initialize Actors
Simulation: initialize G4RunManager
Simulation: check volumes overlap

Simulation: START
Simulation: STOP. Run: 1. Time: 9.5 seconds.

QObject::moveToThread: Current thread (0x968e250) is not the object's thread (0x8f78d60).
Cannot move to target thread (0x968e250)

qt.qpa.plugin: Could not load the Qt platform plugin "xcb" in "/home/opengate_env/lib/python3.11/site-packages/opengate_core/plugins" even though it was found.
This application failed to start because no Qt platform plugin could be initialized. Reinstalling the application may fix this problem.

Available platform plugins are: eglfs, linuxfb, minimal, minimalegl, offscreen, vnc, xcb, wayland-egl, wayland, wayland-xcomposite-egl, wayland-xcomposite-glx, webgl.

Aborted (core dumped)
Running: test058_iec_six_spheres.py FAILED ! 14.7 s /home/opengate_env/lib/python3.11/site-packages/opengate/tests/../tests/log/test058_iec_six_spheres.py.log
Running: test059_tpsource_abs_dose.py OK 34.4 s /home/opengate_env/lib/python3.11/site-packages/opengate/tests/../tests/log/test059_tpsource_abs_dose.py.log
Running: test059_tpsource_gantry_rot.py OK 37.5 s /home/opengate_env/lib/python3.11/site-packages/opengate/tests/../tests/log/test059_tpsource_gantry_rot.py.log
Running: test059_tpsource_optics.py OK 30.7 s /home/opengate_env/lib/python3.11/site-packages/opengate/tests/../tests/log/test059_tpsource_optics.py.log
Importing opengate (thread 351889) ... done
ENERGY: 305.1
ENERGY: 120.0
Simulation: create RunManager (single thread)
Simulation: initialize Geometry
Simulation: initialize Physics
PyG4VPhysicsConstructor::ConstructParticle
UserLimitsPhysics.init
Simulation: initialize Source
Simulation: initialize Actors
Simulation: initialize G4RunManager
PyG4VPhysicsConstructor::ConstructProcess
user_limits_particles is False for all particles. No tracking cuts will be applied. Use Simulation.set_user_limits_particles().
Simulation: check volumes overlap

Simulation: START
Simulation: STOP. Run: 1. Time: 21.3 seconds.

QObject::moveToThread: Current thread (0x8aa64e0) is not the object's thread (0xbe65110).
Cannot move to target thread (0x8aa64e0)

qt.qpa.plugin: Could not load the Qt platform plugin "xcb" in "/home/opengate_env/lib/python3.11/site-packages/opengate_core/plugins" even though it was found.
This application failed to start because no Qt platform plugin could be initialized. Reinstalling the application may fix this problem.

Available platform plugins are: eglfs, linuxfb, minimal, minimalegl, offscreen, vnc, xcb, wayland-egl, wayland, wayland-xcomposite-egl, wayland-xcomposite-glx, webgl.

Aborted (core dumped)
Running: test059_tpsource_optics_vbl.py FAILED ! 29.9 s /home/opengate_env/lib/python3.11/site-packages/opengate/tests/../tests/log/test059_tpsource_optics_vbl.py.log
Running: test059_tpsource_range_ref.py OK 18.6 s /home/opengate_env/lib/python3.11/site-packages/opengate/tests/../tests/log/test059_tpsource_range_ref.py.log
Importing opengate (thread 352008) ... done
ENERGY: 60.0
Simulation: create RunManager (single thread)
Simulation: initialize Geometry
Simulation: initialize Physics
Simulation: initialize Source
Simulation: initialize Actors
Simulation: initialize G4RunManager
Simulation: check volumes overlap

Simulation: START
Simulation: STOP. Run: 1. Time: 2.3 seconds.

QObject::moveToThread: Current thread (0x8033640) is not the object's thread (0xc31f860).
Cannot move to target thread (0x8033640)

qt.qpa.plugin: Could not load the Qt platform plugin "xcb" in "/home/opengate_env/lib/python3.11/site-packages/opengate_core/plugins" even though it was found.
This application failed to start because no Qt platform plugin could be initialized. Reinstalling the application may fix this problem.

Available platform plugins are: eglfs, linuxfb, minimal, minimalegl, offscreen, vnc, xcb, wayland-egl, wayland, wayland-xcomposite-egl, wayland-xcomposite-glx, webgl.

Aborted (core dumped)
Running: test059_tpsource_weights.py FAILED ! 8.7 s /home/opengate_env/lib/python3.11/site-packages/opengate/tests/../tests/log/test059_tpsource_weights.py.log
Running: test060_phsp_source_particlename_direct.py OK 12.5 s /home/opengate_env/lib/python3.11/site-packages/opengate/tests/../tests/log/test060_phsp_source_particlename_direct.py.log
Running: test060_phsp_source_particlename_fromphs_pdgcode.py OK 12.7 s /home/opengate_env/lib/python3.11/site-packages/opengate/tests/../tests/log/test060_phsp_source_particlename_fromphs_pdgcode.py.log
Running: test060_phsp_source_rotation.py OK 12.4 s /home/opengate_env/lib/python3.11/site-packages/opengate/tests/../tests/log/test060_phsp_source_rotation.py.log
Running: test060_phsp_source_translation.py OK 12.4 s /home/opengate_env/lib/python3.11/site-packages/opengate/tests/../tests/log/test060_phsp_source_translation.py.log
Running: test061_user_event_info_mt.py OK 31.0 s /home/opengate_env/lib/python3.11/site-packages/opengate/tests/../tests/log/test061_user_event_info_mt.py.log
Running: test062_apply_g4_cmds.py OK 26.2 s /home/opengate_env/lib/python3.11/site-packages/opengate/tests/../tests/log/test062_apply_g4_cmds.py.log
Running: test063_em_switches.py OK 6.1 s /home/opengate_env/lib/python3.11/site-packages/opengate/tests/../tests/log/test063_em_switches.py.log

@nkrah
Copy link
Collaborator

nkrah commented Dec 13, 2023

Thanks for posting and for following our work.

It seems to me that the core dump occurs within the function assert_images(...) in opengate/tests/utility.py when the function tries to plot the dose images via matplotlib.pyplot:

    fig, ax = plt.subplots(ncols=1, nrows=1, figsize=(25, 10))
    plot_img_axis(ax, img1, "reference", axis)
    plot_img_axis(ax, img2, "test", axis)
    if fig_name is None:
        n = filename2.replace(".mhd", "_test.png")
    else:
        n = fig_name
    print("Save image test figure :", n)
    plt.savefig(n)

Could you try commenting these lines and share the output of test008_dose_actor.py?

I suspect that something is wrong with the backend of your matplotlib installation. I guess your default backend is Qtagg, which relies on Qt because that would explain the Qt errors.

Are you able to plot anything with python/matplotlib in the virtualenvironment in which GATE 10 is installed?

import matplotlib.pyplot as plt
plt.plot([1,2,3], [1,4,9])
plt.savefig('.test_matplotlib.png')

Can you please also do the following in a terminal:

export MPLBACKEND=agg
python test008_dose_actor.py 

and see if the error still occurs? matplotlib should pickup the variable MPLBACKEND and set the backend to the non-interactive "Agg".

@jizhang02
Copy link

Hello,
I tested the visualization in my Windows system and WSL2 system, it both works.
Windows:
image
WSL2:
image

The pip list is as follows:

Package             Version
------------------- ----------
anytree             2.12.1
asttokens           2.4.1
awkward             2.5.0
awkward-cpp         26
certifi             2023.11.17
charset-normalizer  3.3.2
click               8.1.7
colorama            0.4.6
colored             2.2.3
colorlog            6.7.0
comm                0.1.4
contourpy           1.2.0
cycler              0.12.1
debugpy             1.6.7
decorator           5.1.1
exceptiongroup      1.2.0
executing           2.0.1
fonttools           4.45.1
fsspec              2023.10.0
gatetools           0.12.1
gitdb               4.0.11
GitPython           3.1.40
idna                3.6
importlib-metadata  6.8.0
importlib-resources 6.1.1
ipykernel           6.26.0
ipython             8.18.1
itk                 5.4rc2
itk-core            5.4rc2
itk-filtering       5.4rc2
itk-io              5.4rc2
itk-numerics        5.4rc2
itk-registration    5.4rc2
itk-segmentation    5.4rc2
jedi                0.19.1
jupyter_client      8.6.0
jupyter_core        4.12.0
kiwisolver          1.4.5
lz4                 4.3.2
matplotlib          3.8.2
matplotlib-inline   0.1.6
nest-asyncio        1.5.8
numpy               1.26.2
opengate            10.0b6
opengate-core       10.0b6
packaging           23.2
parso               0.8.3
pickleshare         0.7.5
Pillow              10.1.0
pip                 23.3.1
platformdirs        4.1.0
pooch               1.8.0
prompt-toolkit      3.0.41
psutil              5.9.0
pure-eval           0.2.2
pydicom             2.4.3
Pygments            2.17.2
pyparsing           3.1.1
python-box          6.1.0
python-dateutil     2.8.2
pyvista             0.43.1
pywin32             227
pyzmq               23.2.1
requests            2.31.0
scipy               1.11.4
scooby              0.9.2
setuptools          68.0.0
SimpleITK           2.3.1
six                 1.16.0
smmap               5.0.1
stack-data          0.6.2
tornado             6.2
tqdm                4.66.1
traitlets           5.14.0
typing_extensions   4.8.0
uproot              5.2.0rc3
urllib3             2.1.0
vtk                 9.3.0
wcwidth             0.2.12
wget                3.2
wheel               0.41.2
xxhash              3.4.1
zipp                3.17.0

In Windows, the Nvidia packages may be needed.
image

If some .so files were missed, I installed libs like: conda install -c conda-forge libstdcxx-ng or conda install qt=5 or sudo apt-get install libgl1-mesa-dri, these terminal commands are from the online forums such as stackoverflow, github, askubuntu, reddit etc. Hope it helps.

@franky180
Copy link
Author

Thank you for your response @nkrah. I did as you said and get the following output ending with "Great, tests are ok.".

python test008_dose_actor.py
test:~/opengate_env/lib/python3.11/site-packages/opengate/tests/src$ python test008_dose_actor.py
Importing opengate (thread 446163) ... done
Importing opengate (thread 446199) ... done
Importing opengate (thread 446237) ... done
Simulation: create RunManager (single thread)
Simulation: initialize Geometry
Simulation: initialize Physics
Simulation: initialize Source
Simulation: initialize Actors
Simulation: initialize G4RunManager
Simulation: check volumes overlap
--------------------------------------------------------------------------------
Simulation: START (in a new process)
Simulation: STOP. Run: 1. Time: 8.2 seconds.
--------------------------------------------------------------------------------
Runs      1
Events    49945
Tracks    1361355
Step      3278176
Init      1.333599 	1.3336 s  
Duration  10.730168 	10.7302 s  
PPS       4655
TPS       126872
SPS       305510
start     Thu Dec 14 15:06:18 2023
stop      Thu Dec 14 15:06:30 2023
Sim start 0 ps 
Sim end   1 s  
Threads   1
Track types: {'Ar40': 2, 'B10': 27, 'B11': 53, 'B12': 3, 'B13': 1, 'Be10': 5, 'Be7': 2, 'Be8': 168, 'Be9': 6, 'C10': 3, 'C11': 21, 'C12': 737, 'C13': 237, 'C14': 138, 'F15': 1, 'F16': 3, 'He3': 41, 'Li5': 1, 'Li7': 1, 'N12': 2, 'N13': 56, 'N14': 440, 'N15': 535, 'Ne20': 1, 'O14': 18, 'O15': 250, 'O16': 2251, 'O17': 1, 'O18': 2, 'alpha': 833, 'deuteron': 292, 'e+': 23, 'e-': 1289538, 'gamma': 6934, 'neutron': 2201, 'proton': 56476, 'triton': 52}
DoseActor "dose": dim=[99, 99, 99] spacing=[2.0, 2.0, 2.0] /home//opengate_env/lib/python3.11/site-packages/opengate/tests/src/../output/test008-edep.mhd tr=[2.0, 3.0, -2.0]
Runs:         1 1 
Events:       49945 50000 : -0.11 %  (tol = 11.00 %)
Tracks:       1361355 1340714 : +1.54 %  (tol = 11.00 %)
Steps:        3278176 3021614 : +8.49 %  (tol = 11.00 %)
PPS:          4654.6 5160.9 : -9.8%    speedup = x0.9
TPS:          126871.7 138386.6 : -8.3%    speedup = x0.9
SPS:          305510.2 311886.6 : -2.0%    speedup = x1.0
Tracks      : {'Ar40': 2, 'B10': 27, 'B11': 53, 'B12': 3, 'B13': 1, 'Be10': 5, 'Be7': 2, 'Be8': 168, 'Be9': 6, 'C10': 3, 'C11': 21, 'C12': 737, 'C13': 237, 'C14': 138, 'F15': 1, 'F16': 3, 'He3': 41, 'Li5': 1, 'Li7': 1, 'N12': 2, 'N13': 56, 'N14': 440, 'N15': 535, 'Ne20': 1, 'O14': 18, 'O15': 250, 'O16': 2251, 'O17': 1, 'O18': 2, 'alpha': 833, 'deuteron': 292, 'e+': 23, 'e-': 1289538, 'gamma': 6934, 'neutron': 2201, 'proton': 56476, 'triton': 52}
Tracks (ref): {}
Tracks vs track_types : 1361355 1361355

Difference for EDEP
Images with same size/spacing/origin/dir ? True
Image1: [99 99 99] [2. 2. 2.] [ -96. -95. -100.]
Image2: [99 99 99] [2. 2. 2.] [ -96. -95. -100.]
Img sums 1995606.0 vs 1991147.125 : 0.22 % (tol 1.00 %)
Image1: [99 99 99] [2. 2. 2.] [ -96. -95. -100.] /home//opengate_env/lib/python3.11/site-packages/opengate/tests/src/../data/gate/gate_test008_dose_actor/output/output-Edep.mhd
Image2: [99 99 99] [2. 2. 2.] [ -96. -95. -100.] /home//opengate_env/lib/python3.11/site-packages/opengate/tests/src/../output/test008-edep.mhd
Image diff computed on 970299/970299
SAD (per event/total): 7.68 % (tolerance is 13.00 %)

Difference for uncertainty
Images with same size/spacing/origin/dir ? True
Image1: [99 99 99] [2. 2. 2.] [ -96. -95. -100.]
Image2: [99 99 99] [2. 2. 2.] [ -96. -95. -100.]
Img sums 968529.5 vs 968578.1875 : 0.01 % (tol 1.00 %)
Image1: [99 99 99] [2. 2. 2.] [ -96. -95. -100.] /home//opengate_env/lib/python3.11/site-packages/opengate/tests/src/../data/gate/gate_test008_dose_actor/output/output-Edep-Uncertainty.mhd
Image2: [99 99 99] [2. 2. 2.] [ -96. -95. -100.] /home//opengate_env/lib/python3.11/site-packages/opengate/tests/src/../output/test008-edep_uncertainty.mhd
Image diff computed on 970299/970299
SAD (per event/total): 17.36 % (tolerance is 30.00 %)

Great, tests are ok.

This means you already spotted the right part of the code, thank you!

Does matplotlib work at all?

Yes, I can run the lines of code you provided me with and it works fine and saves the test picture as expected (in the same virtual environment in which I'm also using GATE)

Agg backend

I removed the coments in front of the code you asked me to comment out to go back to the original implementation of utility.py and run the codes to change the backend. This actually also worked fine.

Agg backend run results
test:~/opengate_env/lib/python3.11/site-packages/opengate/tests/src$ export MPLBACKEND=agg
(opengate_env) (base) test:~/opengate_env/lib/python3.11/site-packages/opengate/tests/src$ python test008_dose_actor.py 
Importing opengate (thread 447022) ... done
Importing opengate (thread 447071) ... done
Importing opengate (thread 447109) ... done
Simulation: create RunManager (single thread)
Simulation: initialize Geometry
Simulation: initialize Physics
Simulation: initialize Source
Simulation: initialize Actors
Simulation: initialize G4RunManager
Simulation: check volumes overlap
--------------------------------------------------------------------------------
Simulation: START (in a new process)
Simulation: STOP. Run: 1. Time: 7.3 seconds.
--------------------------------------------------------------------------------
Runs      1
Events    49945
Tracks    1361355
Step      3278176
Init      0.626478 	626.478 ms 
Duration  8.483392 	8.48339 s  
PPS       5887
TPS       160473
SPS       386423
start     Thu Dec 14 15:16:14 2023
stop      Thu Dec 14 15:16:23 2023
Sim start 0 ps 
Sim end   1 s  
Threads   1
Track types: {'Ar40': 2, 'B10': 27, 'B11': 53, 'B12': 3, 'B13': 1, 'Be10': 5, 'Be7': 2, 'Be8': 168, 'Be9': 6, 'C10': 3, 'C11': 21, 'C12': 737, 'C13': 237, 'C14': 138, 'F15': 1, 'F16': 3, 'He3': 41, 'Li5': 1, 'Li7': 1, 'N12': 2, 'N13': 56, 'N14': 440, 'N15': 535, 'Ne20': 1, 'O14': 18, 'O15': 250, 'O16': 2251, 'O17': 1, 'O18': 2, 'alpha': 833, 'deuteron': 292, 'e+': 23, 'e-': 1289538, 'gamma': 6934, 'neutron': 2201, 'proton': 56476, 'triton': 52}
DoseActor "dose": dim=[99, 99, 99] spacing=[2.0, 2.0, 2.0] /home//opengate_env/lib/python3.11/site-packages/opengate/tests/src/../output/test008-edep.mhd tr=[2.0, 3.0, -2.0]
Runs:         1 1 
Events:       49945 50000 : -0.11 %  (tol = 11.00 %)
Tracks:       1361355 1340714 : +1.54 %  (tol = 11.00 %)
Steps:        3278176 3021614 : +8.49 %  (tol = 11.00 %)
PPS:          5887.4 5160.9 : +14.1%    speedup = x1.1
TPS:          160473.0 138386.6 : +16.0%    speedup = x1.2
SPS:          386422.8 311886.6 : +23.9%    speedup = x1.2
Tracks      : {'Ar40': 2, 'B10': 27, 'B11': 53, 'B12': 3, 'B13': 1, 'Be10': 5, 'Be7': 2, 'Be8': 168, 'Be9': 6, 'C10': 3, 'C11': 21, 'C12': 737, 'C13': 237, 'C14': 138, 'F15': 1, 'F16': 3, 'He3': 41, 'Li5': 1, 'Li7': 1, 'N12': 2, 'N13': 56, 'N14': 440, 'N15': 535, 'Ne20': 1, 'O14': 18, 'O15': 250, 'O16': 2251, 'O17': 1, 'O18': 2, 'alpha': 833, 'deuteron': 292, 'e+': 23, 'e-': 1289538, 'gamma': 6934, 'neutron': 2201, 'proton': 56476, 'triton': 52}
Tracks (ref): {}
Tracks vs track_types : 1361355 1361355

Difference for EDEP
Images with same size/spacing/origin/dir ? True
Image1: [99 99 99] [2. 2. 2.] [ -96. -95. -100.]
Image2: [99 99 99] [2. 2. 2.] [ -96. -95. -100.]
Img sums 1995606.0 vs 1991147.125 : 0.22 % (tol 1.00 %)
Image1: [99 99 99] [2. 2. 2.] [ -96. -95. -100.] /home//opengate_env/lib/python3.11/site-packages/opengate/tests/src/../data/gate/gate_test008_dose_actor/output/output-Edep.mhd
Image2: [99 99 99] [2. 2. 2.] [ -96. -95. -100.] /home//opengate_env/lib/python3.11/site-packages/opengate/tests/src/../output/test008-edep.mhd
Image diff computed on 970299/970299
SAD (per event/total): 7.68 % (tolerance is 13.00 %)
Save image test figure : /home//opengate_env/lib/python3.11/site-packages/opengate/tests/src/../output/test008-edep_test.png

Difference for uncertainty
Images with same size/spacing/origin/dir ? True
Image1: [99 99 99] [2. 2. 2.] [ -96. -95. -100.]
Image2: [99 99 99] [2. 2. 2.] [ -96. -95. -100.]
Img sums 968529.5 vs 968578.1875 : 0.01 % (tol 1.00 %)
Image1: [99 99 99] [2. 2. 2.] [ -96. -95. -100.] /home//opengate_env/lib/python3.11/site-packages/opengate/tests/src/../data/gate/gate_test008_dose_actor/output/output-Edep-Uncertainty.mhd
Image2: [99 99 99] [2. 2. 2.] [ -96. -95. -100.] /home//opengate_env/lib/python3.11/site-packages/opengate/tests/src/../output/test008-edep_uncertainty.mhd
Image diff computed on 970299/970299
SAD (per event/total): 17.36 % (tolerance is 30.00 %)
Save image test figure : /home//opengate_env/lib/python3.11/site-packages/opengate/tests/src/../output/test008-edep_uncertainty_test.png

Great, tests are ok.

Pip list

Below the result of the pip list command. It seems as if I have the same matplotlib version as @jizhang02.

pip list of opengate_env test:~/opengate_env/lib/python3.11/site-packages/opengate/tests/src$ pip list
Package Version
anytree 2.12.1
awkward 2.5.0
awkward-cpp 26
certifi 2023.11.17
cfgv 3.4.0
charset-normalizer 3.3.2
click 8.1.7
colorama 0.4.6
colored 2.2.3
colorlog 6.7.0
contourpy 1.2.0
cycler 0.12.1
distlib 0.3.7
filelock 3.13.1
fonttools 4.45.1
fsspec 2023.10.0
gaga-phsp 0.7.0
garf 2.4
gatetools 0.12.1
gitdb 4.0.11
GitPython 3.1.40
identify 2.5.32
idna 3.6
importlib-metadata 6.8.0
itk 5.3.0
itk-core 5.3.0
itk-filtering 5.3.0
itk-io 5.3.0
itk-numerics 5.3.0
itk-registration 5.3.0
itk-segmentation 5.3.0
Jinja2 3.1.2
kiwisolver 1.4.5
lz4 4.3.2
MarkupSafe 2.1.3
matplotlib 3.8.2
mpmath 1.3.0
networkx 3.2.1
nodeenv 1.8.0
numpy 1.26.2
nvidia-cublas-cu12 12.1.3.1
nvidia-cuda-cupti-cu12 12.1.105
nvidia-cuda-nvrtc-cu12 12.1.105
nvidia-cuda-runtime-cu12 12.1.105
nvidia-cudnn-cu12 8.9.2.26
nvidia-cufft-cu12 11.0.2.54
nvidia-curand-cu12 10.3.2.106
nvidia-cusolver-cu12 11.4.5.107
nvidia-cusparse-cu12 12.1.0
nvidia-nccl-cu12 2.18.1
nvidia-nvjitlink-cu12 12.3.101
nvidia-nvtx-cu12 12.1.105
opencv-python 4.5.5.64
opengate 10.0b6
opengate-core 10.0b6
packaging 23.2
Pillow 10.1.0
pip 23.3.1
platformdirs 3.11.0
pooch 1.8.0
pre-commit 3.5.0
pydicom 2.4.3
pyparsing 3.1.1
PyQt5 5.15.10
PyQt5-Qt5 5.15.2
PyQt5-sip 12.13.0
PyRoot 0.3.0
python-box 6.1.0
python-dateutil 2.8.2
pyvista 0.42.3
PyYAML 6.0.1
requests 2.31.0
scipy 1.11.4
scooby 0.9.2
setuptools 69.0.2
six 1.16.0
smmap 5.0.1
sympy 1.12
torch 2.1.1
tqdm 4.66.1
triton 2.1.0
typing_extensions 4.8.0
uproot 5.1.2
urllib3 2.1.0
virtualenv 20.25.0
vtk 9.2.6
wget 3.2
wheel 0.41.3
xxhash 3.4.1
zipp 3.17.0

Conclusion

Do I just always change the backend to Agg now or is there any other way to reinstall the matplotlib backend or whatever it is that is not working. I tried to reinstall various packages based on stackoverflow suggestions for similar problems but nothing fixed it yet.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants