2022-03-09 11:25:33 /home/simmo/dev/goblint/sv-comp/analyzer/goblint --conf /home/simmo/dev/goblint/sv-comp/goblint-bench/index/conf/td3.json -v --set dbg.timeout 60 --enable incremental.save --set save_run original example.c --enable dbg.uncalled --enable allglobs --enable printstats Custom include dirs: 1. /home/simmo/dev/goblint/sv-comp/goblint/includes (exists=true) Preprocessing files. Preprocessor cpp: is_bad=false 'cpp' '--undef' '__BLOCKS__' '-I' '/home/simmo/dev/goblint/sv-comp/goblint/includes' '/home/simmo/dev/goblint/sv-comp/goblint/includes/stdlib.c' '-o' '.goblint/preprocessed/stdlib.i' 'cpp' '--undef' '__BLOCKS__' '-I' '/home/simmo/dev/goblint/sv-comp/goblint/includes' '/home/simmo/dev/goblint/sv-comp/goblint/includes/pthread.c' '-o' '.goblint/preprocessed/pthread.i' 'cpp' '--undef' '__BLOCKS__' '-I' '/home/simmo/dev/goblint/sv-comp/goblint/includes' 'example.c' '-o' '.goblint/preprocessed/example.i' Parsing files. Frontc is parsing .goblint/preprocessed/stdlib.i Converting CABS->CIL Frontc is parsing .goblint/preprocessed/pthread.i Converting CABS->CIL Frontc is parsing .goblint/preprocessed/example.i Converting CABS->CIL Pre-merging (0) .goblint/preprocessed/stdlib.i Pre-merging (1) .goblint/preprocessed/pthread.i Pre-merging (2) .goblint/preprocessed/example.i Final merging phase (0): .goblint/preprocessed/stdlib.i Final merging phase (1): .goblint/preprocessed/pthread.i Final merging phase (2): .goblint/preprocessed/example.i Constructors: Adding constructors to: main And now... the Goblin! Startfuns: [main] Exitfuns: [] Otherfuns: [] Using new format for phases! Activated analyses for phase 0: expRelation, base, threadid, threadflag, threadreturn, escape, mutex, access, mallocWrapper Activated transformations for phase 0: Generating the control flow graph. Initializing 2 globals. Executing 11 assigns. Solving the constraint system with td3. Solver statistics are shown every 10s or by signal sigusr1. Unstable solver start vars in 1. phase: call of main on example.c:37:1-42:1 Data after solve completed: |rho|=55 |stable|=54 |infl|=55 |wpoint|=0 |side_dep|=0 |side_infl|=0 Postsolving Saving the solver result to original/solver.marshalled Data after postsolve: |rho|=55 |stable|=54 |infl|=55 |wpoint|=0 |side_dep|=30 |side_infl|=13 Saving the current configuration to original/config.json, meta-data about this run to original/meta.json, and solver statistics to original/solver_stats.csv runtime: 00:00:00.047 vars: 55, evals: 35 max updates: 2 for var node 84 "res = (*fp)();" on example.c:20:9-20:19 |rho|=55 |called|=0 |stable|=54 |infl|=55 |wpoint|=0 |side_dep|=30 |side_infl|=13 Found 8 contexts for 4 functions. Top 5 functions: 2 contexts for entry state of consumer on example.c:16:1-27:1 2 contexts for entry state of producer on example.c:29:1-35:1 2 contexts for entry state of bad on example.c:8:1-10:1 2 contexts for entry state of main on example.c:37:1-42:1 Memory statistics: total=41.59MB, max=7.06MB, minor=39.58MB, major=6.86MB, promoted=4.85MB minor collections=20 major collections=3 compactions=0 [Warning][Deadcode] Function "good" will never be called: 1LoC (example.c:12:1-14:1) [Success][Race] Memory location fp@example.c:6:5-6:13 (safe): read with [lock:{mutex}, thread:[main, consumer]] (conf. 110) (example.c:19:5-21:5) read with [lock:{mutex}, thread:[main, consumer]] (conf. 110) (example.c:20:9-20:19) write with [lock:{mutex}, thread:[main, producer]] (conf. 110) (example.c:32:5-32:13) Summary for all memory locations: safe: 1 vulnerable: 0 unsafe: 0 ------------------- total: 1 vars = 55 evals = 35 narrow_reuses = 0 aborts = 0 Timings: TOTAL 0.024 s parse 0.005 s convert to CIL 0.003 s analysis 0.016 s global_inits 0.001 s solving 0.011 s S.Dom.equal 0.001 s postsolver 0.007 s warn_global 0.001 s access 0.001 s Timing used Memory statistics: total=41.82MB, max=7.06MB, minor=39.81MB, major=6.86MB, promoted=4.85MB minor collections=20 major collections=3 compactions=0 === APPENDED BY BENCHMARKING SCRIPT === Analysis began: 2022-03-09 11:25:33 +0200 Analysis ended: 2022-03-09 11:25:33 +0200 Duration: 0.08 s Goblint params: /home/simmo/dev/goblint/sv-comp/analyzer/goblint --conf /home/simmo/dev/goblint/sv-comp/goblint-bench/index/conf/td3.json -v --set dbg.timeout 60 --enable incremental.save --set save_run original example.c --enable dbg.uncalled --enable allglobs --enable printstats 1>/home/simmo/dev/goblint/sv-comp/goblint-bench/bench_result/example.FromScratch.txt 2>&1