./Ultimate.py --spec ../sv-benchmarks/c/properties/unreach-call.prp --file ../sv-benchmarks/c/systemc/token_ring.03.cil-2.c --full-output --architecture 32bit -------------------------------------------------------------------------------- Checking for ERROR reachability Using default analysis Version 48c9605d Calling Ultimate with: /root/.sdkman/candidates/java/21.0.5-tem/bin/java -Dosgi.configuration.area=/storage/repos/ultimate-jdk21/releaseScripts/default/UAutomizer-linux/data/config -Xmx15G -Xms4m -jar /storage/repos/ultimate-jdk21/releaseScripts/default/UAutomizer-linux/plugins/org.eclipse.equinox.launcher_1.6.800.v20240513-1750.jar -data @noDefault -ultimatedata /storage/repos/ultimate-jdk21/releaseScripts/default/UAutomizer-linux/data -tc /storage/repos/ultimate-jdk21/releaseScripts/default/UAutomizer-linux/config/AutomizerReach.xml -i ../sv-benchmarks/c/systemc/token_ring.03.cil-2.c -s /storage/repos/ultimate-jdk21/releaseScripts/default/UAutomizer-linux/config/svcomp-Reach-32bit-Automizer_Default.epf --cacsl2boogietranslator.entry.function main --witnessprinter.witness.directory /storage/repos/ultimate-jdk21/releaseScripts/default/UAutomizer-linux --witnessprinter.witness.filename witness --witnessprinter.write.witness.besides.input.file false --witnessprinter.graph.data.specification CHECK( init(main()), LTL(G ! call(reach_error())) ) --witnessprinter.graph.data.producer Automizer --witnessprinter.graph.data.architecture 32bit --witnessprinter.graph.data.programhash 4996a252ab084c920e1b9a19c3119ce328d4cb97d6d45029062c9dac50449e19 --- Real Ultimate output --- This is Ultimate 0.3.0-?-48c9605-m [2025-02-07 21:13:23,022 INFO L188 SettingsManager]: Resetting all preferences to default values... [2025-02-07 21:13:23,071 INFO L114 SettingsManager]: Loading settings from /storage/repos/ultimate-jdk21/releaseScripts/default/UAutomizer-linux/config/svcomp-Reach-32bit-Automizer_Default.epf [2025-02-07 21:13:23,074 WARN L101 SettingsManager]: Preference file contains the following unknown settings: [2025-02-07 21:13:23,074 WARN L103 SettingsManager]: * de.uni_freiburg.informatik.ultimate.core.Log level for class [2025-02-07 21:13:23,086 INFO L130 SettingsManager]: Preferences different from defaults after loading the file: [2025-02-07 21:13:23,086 INFO L151 SettingsManager]: Preferences of UltimateCore differ from their defaults: [2025-02-07 21:13:23,087 INFO L153 SettingsManager]: * Log level for class=de.uni_freiburg.informatik.ultimate.lib.smtlibutils.quantifier.QuantifierPusher=ERROR; [2025-02-07 21:13:23,087 INFO L151 SettingsManager]: Preferences of Boogie Preprocessor differ from their defaults: [2025-02-07 21:13:23,087 INFO L153 SettingsManager]: * Use memory slicer=true [2025-02-07 21:13:23,087 INFO L151 SettingsManager]: Preferences of Boogie Procedure Inliner differ from their defaults: [2025-02-07 21:13:23,087 INFO L153 SettingsManager]: * Ignore calls to procedures called more than once=ONLY_FOR_SEQUENTIAL_PROGRAMS [2025-02-07 21:13:23,087 INFO L151 SettingsManager]: Preferences of BlockEncodingV2 differ from their defaults: [2025-02-07 21:13:23,087 INFO L153 SettingsManager]: * Create parallel compositions if possible=false [2025-02-07 21:13:23,087 INFO L153 SettingsManager]: * Use SBE=true [2025-02-07 21:13:23,087 INFO L151 SettingsManager]: Preferences of CACSL2BoogieTranslator differ from their defaults: [2025-02-07 21:13:23,087 INFO L153 SettingsManager]: * Pointer base address is valid at dereference=IGNORE [2025-02-07 21:13:23,087 INFO L153 SettingsManager]: * sizeof long=4 [2025-02-07 21:13:23,087 INFO L153 SettingsManager]: * Overapproximate operations on floating types=true [2025-02-07 21:13:23,087 INFO L153 SettingsManager]: * sizeof POINTER=4 [2025-02-07 21:13:23,087 INFO L153 SettingsManager]: * Check division by zero=IGNORE [2025-02-07 21:13:23,087 INFO L153 SettingsManager]: * Pointer to allocated memory at dereference=IGNORE [2025-02-07 21:13:23,088 INFO L153 SettingsManager]: * If two pointers are subtracted or compared they have the same base address=IGNORE [2025-02-07 21:13:23,088 INFO L153 SettingsManager]: * Check array bounds for arrays that are off heap=IGNORE [2025-02-07 21:13:23,088 INFO L153 SettingsManager]: * sizeof long double=12 [2025-02-07 21:13:23,088 INFO L153 SettingsManager]: * Check if freed pointer was valid=false [2025-02-07 21:13:23,088 INFO L153 SettingsManager]: * Behaviour of calls to undefined functions=OVERAPPROXIMATE_BEHAVIOUR [2025-02-07 21:13:23,088 INFO L153 SettingsManager]: * Use constant arrays=true [2025-02-07 21:13:23,088 INFO L151 SettingsManager]: Preferences of IcfgBuilder differ from their defaults: [2025-02-07 21:13:23,088 INFO L153 SettingsManager]: * Size of a code block=SequenceOfStatements [2025-02-07 21:13:23,088 INFO L153 SettingsManager]: * Only consider context switches at boundaries of atomic blocks=true [2025-02-07 21:13:23,088 INFO L153 SettingsManager]: * SMT solver=External_DefaultMode [2025-02-07 21:13:23,088 INFO L153 SettingsManager]: * Command for external solver=z3 SMTLIB2_COMPLIANT=true -memory:2024 -smt2 -in -t:4000 [2025-02-07 21:13:23,088 INFO L151 SettingsManager]: Preferences of TraceAbstraction differ from their defaults: [2025-02-07 21:13:23,088 INFO L153 SettingsManager]: * Compute Interpolants along a Counterexample=FPandBP [2025-02-07 21:13:23,088 INFO L153 SettingsManager]: * Compute procedure contracts=false [2025-02-07 21:13:23,088 INFO L153 SettingsManager]: * Positions where we compute the Hoare Annotation=LoopHeads [2025-02-07 21:13:23,088 INFO L153 SettingsManager]: * Trace refinement strategy=CAMEL [2025-02-07 21:13:23,088 INFO L153 SettingsManager]: * Command for external solver=z3 SMTLIB2_COMPLIANT=true -memory:2024 -smt2 -in [2025-02-07 21:13:23,088 INFO L153 SettingsManager]: * Apply one-shot large block encoding in concurrent analysis=false [2025-02-07 21:13:23,088 INFO L153 SettingsManager]: * Automaton type used in concurrency analysis=PETRI_NET [2025-02-07 21:13:23,089 INFO L153 SettingsManager]: * Order on configurations for Petri net unfoldings=DBO [2025-02-07 21:13:23,089 INFO L153 SettingsManager]: * SMT solver=External_ModelsAndUnsatCoreMode [2025-02-07 21:13:23,089 INFO L153 SettingsManager]: * Looper check in Petri net analysis=SEMANTIC Applying setting for plugin de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator: Entry function -> main Applying setting for plugin de.uni_freiburg.informatik.ultimate.witnessprinter: Witness directory -> /storage/repos/ultimate-jdk21/releaseScripts/default/UAutomizer-linux Applying setting for plugin de.uni_freiburg.informatik.ultimate.witnessprinter: Witness filename -> witness Applying setting for plugin de.uni_freiburg.informatik.ultimate.witnessprinter: Write witness besides input file -> false Applying setting for plugin de.uni_freiburg.informatik.ultimate.witnessprinter: Graph data specification -> CHECK( init(main()), LTL(G ! call(reach_error())) ) Applying setting for plugin de.uni_freiburg.informatik.ultimate.witnessprinter: Graph data producer -> Automizer Applying setting for plugin de.uni_freiburg.informatik.ultimate.witnessprinter: Graph data architecture -> 32bit Applying setting for plugin de.uni_freiburg.informatik.ultimate.witnessprinter: Graph data programhash -> 4996a252ab084c920e1b9a19c3119ce328d4cb97d6d45029062c9dac50449e19 [2025-02-07 21:13:23,267 INFO L75 nceAwareModelManager]: Repository-Root is: /tmp [2025-02-07 21:13:23,287 INFO L261 ainManager$Toolchain]: [Toolchain 1]: Applicable parser(s) successfully (re)initialized [2025-02-07 21:13:23,288 INFO L217 ainManager$Toolchain]: [Toolchain 1]: Toolchain selected. [2025-02-07 21:13:23,290 INFO L270 PluginConnector]: Initializing CDTParser... [2025-02-07 21:13:23,290 INFO L274 PluginConnector]: CDTParser initialized [2025-02-07 21:13:23,295 INFO L431 ainManager$Toolchain]: [Toolchain 1]: Parsing single file: /storage/repos/ultimate-jdk21/releaseScripts/default/UAutomizer-linux/../sv-benchmarks/c/systemc/token_ring.03.cil-2.c [2025-02-07 21:13:24,475 INFO L533 CDTParser]: Created temporary CDT project at /storage/repos/ultimate-jdk21/releaseScripts/default/UAutomizer-linux/data/9fa4c5223/3ff8bd756d7a42c3ae67455b213ae0be/FLAG5a57372ed [2025-02-07 21:13:24,743 INFO L384 CDTParser]: Found 1 translation units. [2025-02-07 21:13:24,744 INFO L180 CDTParser]: Scanning /storage/repos/ultimate-jdk21/releaseScripts/default/sv-benchmarks/c/systemc/token_ring.03.cil-2.c [2025-02-07 21:13:24,755 INFO L427 CDTParser]: About to delete temporary CDT project at /storage/repos/ultimate-jdk21/releaseScripts/default/UAutomizer-linux/data/9fa4c5223/3ff8bd756d7a42c3ae67455b213ae0be/FLAG5a57372ed [2025-02-07 21:13:24,768 INFO L435 CDTParser]: Successfully deleted /storage/repos/ultimate-jdk21/releaseScripts/default/UAutomizer-linux/data/9fa4c5223/3ff8bd756d7a42c3ae67455b213ae0be [2025-02-07 21:13:24,770 INFO L299 ainManager$Toolchain]: ####################### [Toolchain 1] ####################### [2025-02-07 21:13:24,771 INFO L133 ToolchainWalker]: Walking toolchain with 6 elements. [2025-02-07 21:13:24,772 INFO L112 PluginConnector]: ------------------------CACSL2BoogieTranslator---------------------------- [2025-02-07 21:13:24,772 INFO L270 PluginConnector]: Initializing CACSL2BoogieTranslator... [2025-02-07 21:13:24,776 INFO L274 PluginConnector]: CACSL2BoogieTranslator initialized [2025-02-07 21:13:24,780 INFO L184 PluginConnector]: Executing the observer ACSLObjectContainerObserver from plugin CACSL2BoogieTranslator for "CDTParser AST 07.02 09:13:24" (1/1) ... [2025-02-07 21:13:24,781 INFO L204 PluginConnector]: Invalid model from CACSL2BoogieTranslator for observer de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator.ACSLObjectContainerObserver@5f59e083 and model type de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 07.02 09:13:24, skipping insertion in model container [2025-02-07 21:13:24,781 INFO L184 PluginConnector]: Executing the observer CACSL2BoogieTranslatorObserver from plugin CACSL2BoogieTranslator for "CDTParser AST 07.02 09:13:24" (1/1) ... [2025-02-07 21:13:24,808 INFO L175 MainTranslator]: Built tables and reachable declarations [2025-02-07 21:13:24,918 WARN L250 ndardFunctionHandler]: Function reach_error is already implemented but we override the implementation for the call at /storage/repos/ultimate-jdk21/releaseScripts/default/sv-benchmarks/c/systemc/token_ring.03.cil-2.c[671,684] [2025-02-07 21:13:24,976 INFO L210 PostProcessor]: Analyzing one entry point: main [2025-02-07 21:13:24,986 INFO L200 MainTranslator]: Completed pre-run [2025-02-07 21:13:24,995 WARN L250 ndardFunctionHandler]: Function reach_error is already implemented but we override the implementation for the call at /storage/repos/ultimate-jdk21/releaseScripts/default/sv-benchmarks/c/systemc/token_ring.03.cil-2.c[671,684] [2025-02-07 21:13:25,029 INFO L210 PostProcessor]: Analyzing one entry point: main [2025-02-07 21:13:25,048 INFO L204 MainTranslator]: Completed translation [2025-02-07 21:13:25,048 INFO L201 PluginConnector]: Adding new model de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 07.02 09:13:25 WrapperNode [2025-02-07 21:13:25,048 INFO L131 PluginConnector]: ------------------------ END CACSL2BoogieTranslator---------------------------- [2025-02-07 21:13:25,049 INFO L112 PluginConnector]: ------------------------Boogie Procedure Inliner---------------------------- [2025-02-07 21:13:25,049 INFO L270 PluginConnector]: Initializing Boogie Procedure Inliner... [2025-02-07 21:13:25,049 INFO L274 PluginConnector]: Boogie Procedure Inliner initialized [2025-02-07 21:13:25,057 INFO L184 PluginConnector]: Executing the observer TypeChecker from plugin Boogie Procedure Inliner for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 07.02 09:13:25" (1/1) ... [2025-02-07 21:13:25,063 INFO L184 PluginConnector]: Executing the observer Inliner from plugin Boogie Procedure Inliner for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 07.02 09:13:25" (1/1) ... [2025-02-07 21:13:25,084 INFO L138 Inliner]: procedures = 34, calls = 40, calls flagged for inlining = 18, calls inlined = 18, statements flattened = 321 [2025-02-07 21:13:25,087 INFO L131 PluginConnector]: ------------------------ END Boogie Procedure Inliner---------------------------- [2025-02-07 21:13:25,088 INFO L112 PluginConnector]: ------------------------Boogie Preprocessor---------------------------- [2025-02-07 21:13:25,088 INFO L270 PluginConnector]: Initializing Boogie Preprocessor... [2025-02-07 21:13:25,088 INFO L274 PluginConnector]: Boogie Preprocessor initialized [2025-02-07 21:13:25,094 INFO L184 PluginConnector]: Executing the observer EnsureBoogieModelObserver from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 07.02 09:13:25" (1/1) ... [2025-02-07 21:13:25,095 INFO L184 PluginConnector]: Executing the observer TypeChecker from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 07.02 09:13:25" (1/1) ... [2025-02-07 21:13:25,100 INFO L184 PluginConnector]: Executing the observer MemorySlicer from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 07.02 09:13:25" (1/1) ... [2025-02-07 21:13:25,115 INFO L175 MemorySlicer]: Split 2 memory accesses to 1 slices as follows [2]. 100 percent of accesses are in the largest equivalence class. The 2 initializations are split as follows [2]. The 0 writes are split as follows [0]. [2025-02-07 21:13:25,115 INFO L184 PluginConnector]: Executing the observer ConstExpander from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 07.02 09:13:25" (1/1) ... [2025-02-07 21:13:25,116 INFO L184 PluginConnector]: Executing the observer StructExpander from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 07.02 09:13:25" (1/1) ... [2025-02-07 21:13:25,119 INFO L184 PluginConnector]: Executing the observer ReplaceArrayAssignments from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 07.02 09:13:25" (1/1) ... [2025-02-07 21:13:25,120 INFO L184 PluginConnector]: Executing the observer FunctionInliner from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 07.02 09:13:25" (1/1) ... [2025-02-07 21:13:25,121 INFO L184 PluginConnector]: Executing the observer LTLStepAnnotator from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 07.02 09:13:25" (1/1) ... [2025-02-07 21:13:25,122 INFO L184 PluginConnector]: Executing the observer BoogieSymbolTableConstructor from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 07.02 09:13:25" (1/1) ... [2025-02-07 21:13:25,124 INFO L131 PluginConnector]: ------------------------ END Boogie Preprocessor---------------------------- [2025-02-07 21:13:25,124 INFO L112 PluginConnector]: ------------------------IcfgBuilder---------------------------- [2025-02-07 21:13:25,125 INFO L270 PluginConnector]: Initializing IcfgBuilder... [2025-02-07 21:13:25,125 INFO L274 PluginConnector]: IcfgBuilder initialized [2025-02-07 21:13:25,125 INFO L184 PluginConnector]: Executing the observer IcfgBuilderObserver from plugin IcfgBuilder for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 07.02 09:13:25" (1/1) ... [2025-02-07 21:13:25,130 INFO L173 SolverBuilder]: Constructing external solver with command: z3 SMTLIB2_COMPLIANT=true -memory:2024 -smt2 -in -t:4000 [2025-02-07 21:13:25,140 INFO L189 MonitoredProcess]: No working directory specified, using /storage/repos/ultimate-jdk21/releaseScripts/default/UAutomizer-linux/z3 [2025-02-07 21:13:25,151 INFO L229 MonitoredProcess]: Starting monitored process 1 with /storage/repos/ultimate-jdk21/releaseScripts/default/UAutomizer-linux/z3 SMTLIB2_COMPLIANT=true -memory:2024 -smt2 -in -t:4000 (exit command is (exit), workingDir is null) [2025-02-07 21:13:25,153 INFO L327 MonitoredProcess]: [MP /storage/repos/ultimate-jdk21/releaseScripts/default/UAutomizer-linux/z3 SMTLIB2_COMPLIANT=true -memory:2024 -smt2 -in -t:4000 (1)] Waiting until timeout for monitored process [2025-02-07 21:13:25,169 INFO L130 BoogieDeclarations]: Found specification of procedure #Ultimate.allocInit [2025-02-07 21:13:25,169 INFO L130 BoogieDeclarations]: Found specification of procedure fire_delta_events [2025-02-07 21:13:25,169 INFO L138 BoogieDeclarations]: Found implementation of procedure fire_delta_events [2025-02-07 21:13:25,169 INFO L130 BoogieDeclarations]: Found specification of procedure activate_threads [2025-02-07 21:13:25,169 INFO L138 BoogieDeclarations]: Found implementation of procedure activate_threads [2025-02-07 21:13:25,170 INFO L130 BoogieDeclarations]: Found specification of procedure immediate_notify [2025-02-07 21:13:25,170 INFO L138 BoogieDeclarations]: Found implementation of procedure immediate_notify [2025-02-07 21:13:25,170 INFO L130 BoogieDeclarations]: Found specification of procedure exists_runnable_thread [2025-02-07 21:13:25,170 INFO L138 BoogieDeclarations]: Found implementation of procedure exists_runnable_thread [2025-02-07 21:13:25,170 INFO L130 BoogieDeclarations]: Found specification of procedure reset_delta_events [2025-02-07 21:13:25,170 INFO L138 BoogieDeclarations]: Found implementation of procedure reset_delta_events [2025-02-07 21:13:25,170 INFO L130 BoogieDeclarations]: Found specification of procedure write~init~int#0 [2025-02-07 21:13:25,170 INFO L130 BoogieDeclarations]: Found specification of procedure update_channels [2025-02-07 21:13:25,170 INFO L138 BoogieDeclarations]: Found implementation of procedure update_channels [2025-02-07 21:13:25,170 INFO L130 BoogieDeclarations]: Found specification of procedure ULTIMATE.start [2025-02-07 21:13:25,170 INFO L138 BoogieDeclarations]: Found implementation of procedure ULTIMATE.start [2025-02-07 21:13:25,235 INFO L257 CfgBuilder]: Building ICFG [2025-02-07 21:13:25,236 INFO L287 CfgBuilder]: Building CFG for each procedure with an implementation [2025-02-07 21:13:25,459 INFO L1324 $ProcedureCfgBuilder]: dead code at ProgramPoint L382: assume { :end_inline_transmit1 } true; [2025-02-07 21:13:25,460 INFO L1324 $ProcedureCfgBuilder]: dead code at ProgramPoint L193: ~E_M~0 := 2; [2025-02-07 21:13:25,460 INFO L1324 $ProcedureCfgBuilder]: dead code at ProgramPoint L193-1: SUMMARY for call immediate_notify(); srcloc: null [2025-02-07 21:13:25,460 INFO L1324 $ProcedureCfgBuilder]: dead code at ProgramPoint L697: assume 0 == start_simulation_~tmp~3#1;start_simulation_~kernel_st~0#1 := 4;assume { :begin_inline_fire_time_events } true;~M_E~0 := 1; [2025-02-07 21:13:25,460 INFO L1324 $ProcedureCfgBuilder]: dead code at ProgramPoint L697: assume !(0 == start_simulation_~tmp~3#1); [2025-02-07 21:13:25,460 INFO L1324 $ProcedureCfgBuilder]: dead code at ProgramPoint L119: ~token~0 := 1 + ~token~0;~E_2~0 := 1; [2025-02-07 21:13:25,460 INFO L1324 $ProcedureCfgBuilder]: dead code at ProgramPoint L598: assume 1 == ~T2_E~0;~T2_E~0 := 2; [2025-02-07 21:13:25,460 INFO L1324 $ProcedureCfgBuilder]: dead code at ProgramPoint L598: assume !(1 == ~T2_E~0); [2025-02-07 21:13:25,460 INFO L1324 $ProcedureCfgBuilder]: dead code at ProgramPoint L20: assume false;assume false; [2025-02-07 21:13:25,461 INFO L1324 $ProcedureCfgBuilder]: dead code at ProgramPoint L20: assume !false; [2025-02-07 21:13:25,461 INFO L1324 $ProcedureCfgBuilder]: dead code at ProgramPoint L623: assume 1 == ~E_3~0;~E_3~0 := 2; [2025-02-07 21:13:25,461 INFO L1324 $ProcedureCfgBuilder]: dead code at ProgramPoint L623: assume !(1 == ~E_3~0); [2025-02-07 21:13:25,461 INFO L1324 $ProcedureCfgBuilder]: dead code at ProgramPoint L690: SUMMARY for call fire_delta_events(); srcloc: null [2025-02-07 21:13:25,461 INFO L1324 $ProcedureCfgBuilder]: dead code at ProgramPoint L368: havoc master_#t~nondet4#1;assume { :end_inline_master } true; [2025-02-07 21:13:25,461 INFO L1324 $ProcedureCfgBuilder]: dead code at ProgramPoint L682: havoc eval_#t~ret5#1, eval_#t~nondet6#1, eval_~tmp_ndt_1~0#1, eval_#t~nondet7#1, eval_~tmp_ndt_2~0#1, eval_#t~nondet8#1, eval_~tmp_ndt_3~0#1, eval_#t~nondet9#1, eval_~tmp_ndt_4~0#1, eval_~tmp~0#1;assume { :end_inline_eval } true;start_simulation_~kernel_st~0#1 := 2; [2025-02-07 21:13:25,461 INFO L1324 $ProcedureCfgBuilder]: dead code at ProgramPoint L608: assume 1 == ~E_M~0;~E_M~0 := 2; [2025-02-07 21:13:25,461 INFO L1324 $ProcedureCfgBuilder]: dead code at ProgramPoint L608: assume !(1 == ~E_M~0); [2025-02-07 21:13:25,461 INFO L1324 $ProcedureCfgBuilder]: dead code at ProgramPoint L410: assume { :end_inline_transmit3 } true; [2025-02-07 21:13:25,461 INFO L1324 $ProcedureCfgBuilder]: dead code at ProgramPoint L121: ~E_2~0 := 2; [2025-02-07 21:13:25,461 INFO L1324 $ProcedureCfgBuilder]: dead code at ProgramPoint L121-1: SUMMARY for call immediate_notify(); srcloc: null [2025-02-07 21:13:25,461 INFO L1324 $ProcedureCfgBuilder]: dead code at ProgramPoint L691: SUMMARY for call activate_threads(); srcloc: null [2025-02-07 21:13:25,461 INFO L1324 $ProcedureCfgBuilder]: dead code at ProgramPoint L650: assume -2147483648 <= stop_simulation_#t~ret14#1 && stop_simulation_#t~ret14#1 <= 2147483647;stop_simulation_~tmp~2#1 := stop_simulation_#t~ret14#1;havoc stop_simulation_#t~ret14#1; [2025-02-07 21:13:25,461 INFO L1324 $ProcedureCfgBuilder]: dead code at ProgramPoint L650-1: SUMMARY for call stop_simulation_#t~ret14#1 := exists_runnable_thread(); srcloc: null [2025-02-07 21:13:25,461 INFO L1324 $ProcedureCfgBuilder]: dead code at ProgramPoint L708: start_simulation_#t~ret16#1 := stop_simulation_#res#1;havoc stop_simulation_#t~ret14#1, stop_simulation_~tmp~2#1, stop_simulation_~__retres2~0#1;assume { :end_inline_stop_simulation } true;assume -2147483648 <= start_simulation_#t~ret16#1 && start_simulation_#t~ret16#1 <= 2147483647;start_simulation_~tmp___0~1#1 := start_simulation_#t~ret16#1;havoc start_simulation_#t~ret16#1; [2025-02-07 21:13:25,461 INFO L1324 $ProcedureCfgBuilder]: dead code at ProgramPoint L708-1: assume { :begin_inline_stop_simulation } true;havoc stop_simulation_#res#1;havoc stop_simulation_#t~ret14#1, stop_simulation_~tmp~2#1, stop_simulation_~__retres2~0#1;havoc stop_simulation_~tmp~2#1;havoc stop_simulation_~__retres2~0#1; [2025-02-07 21:13:25,461 INFO L1324 $ProcedureCfgBuilder]: dead code at ProgramPoint L700: assume { :end_inline_fire_time_events } true; [2025-02-07 21:13:25,461 INFO L1324 $ProcedureCfgBuilder]: dead code at ProgramPoint L155: ~token~0 := 1 + ~token~0;~E_3~0 := 1; [2025-02-07 21:13:25,462 INFO L1324 $ProcedureCfgBuilder]: dead code at ProgramPoint L692: SUMMARY for call reset_delta_events(); srcloc: null [2025-02-07 21:13:25,462 INFO L1324 $ProcedureCfgBuilder]: dead code at ProgramPoint L593: assume 1 == ~T1_E~0;~T1_E~0 := 2; [2025-02-07 21:13:25,462 INFO L1324 $ProcedureCfgBuilder]: dead code at ProgramPoint L593: assume !(1 == ~T1_E~0); [2025-02-07 21:13:25,462 INFO L1324 $ProcedureCfgBuilder]: dead code at ProgramPoint L81: assume ~token~0 != 3 + ~local~0;assume { :begin_inline_error } true; [2025-02-07 21:13:25,462 INFO L1324 $ProcedureCfgBuilder]: dead code at ProgramPoint L81: assume !(~token~0 != 3 + ~local~0); [2025-02-07 21:13:25,462 INFO L1324 $ProcedureCfgBuilder]: dead code at ProgramPoint L618: assume 1 == ~E_2~0;~E_2~0 := 2; [2025-02-07 21:13:25,462 INFO L1324 $ProcedureCfgBuilder]: dead code at ProgramPoint L618: assume !(1 == ~E_2~0); [2025-02-07 21:13:25,462 INFO L1324 $ProcedureCfgBuilder]: dead code at ProgramPoint L701: assume { :begin_inline_reset_time_events } true; [2025-02-07 21:13:25,462 INFO L1324 $ProcedureCfgBuilder]: dead code at ProgramPoint L701-1: SUMMARY for call activate_threads(); srcloc: null [2025-02-07 21:13:25,462 INFO L1324 $ProcedureCfgBuilder]: dead code at ProgramPoint L652: assume 0 != stop_simulation_~tmp~2#1;stop_simulation_~__retres2~0#1 := 0; [2025-02-07 21:13:25,462 INFO L1324 $ProcedureCfgBuilder]: dead code at ProgramPoint L652: assume !(0 != stop_simulation_~tmp~2#1);stop_simulation_~__retres2~0#1 := 1;stop_simulation_#res#1 := stop_simulation_~__retres2~0#1; [2025-02-07 21:13:25,462 INFO L1324 $ProcedureCfgBuilder]: dead code at ProgramPoint L396: assume { :end_inline_transmit2 } true; [2025-02-07 21:13:25,462 INFO L1324 $ProcedureCfgBuilder]: dead code at ProgramPoint L710: assume 0 != start_simulation_~tmp___0~1#1; [2025-02-07 21:13:25,462 INFO L1324 $ProcedureCfgBuilder]: dead code at ProgramPoint L710: assume !(0 != start_simulation_~tmp___0~1#1); [2025-02-07 21:13:25,462 INFO L1324 $ProcedureCfgBuilder]: dead code at ProgramPoint L702: assume { :end_inline_reset_time_events } true; [2025-02-07 21:13:25,462 INFO L1324 $ProcedureCfgBuilder]: dead code at ProgramPoint L157: ~E_3~0 := 2; [2025-02-07 21:13:25,462 INFO L1324 $ProcedureCfgBuilder]: dead code at ProgramPoint L157-1: SUMMARY for call immediate_notify(); srcloc: null [2025-02-07 21:13:25,462 INFO L1324 $ProcedureCfgBuilder]: dead code at ProgramPoint L603: assume 1 == ~T3_E~0;~T3_E~0 := 2; [2025-02-07 21:13:25,462 INFO L1324 $ProcedureCfgBuilder]: dead code at ProgramPoint L603: assume !(1 == ~T3_E~0); [2025-02-07 21:13:25,462 INFO L1324 $ProcedureCfgBuilder]: dead code at ProgramPoint L83: assume { :end_inline_error } true; [2025-02-07 21:13:25,462 INFO L1324 $ProcedureCfgBuilder]: dead code at ProgramPoint L686: start_simulation_~kernel_st~0#1 := 3; [2025-02-07 21:13:25,462 INFO L1324 $ProcedureCfgBuilder]: dead code at ProgramPoint L686-1: SUMMARY for call update_channels(); srcloc: null [2025-02-07 21:13:25,462 INFO L1324 $ProcedureCfgBuilder]: dead code at ProgramPoint L191: ~token~0 := 1 + ~token~0;~E_M~0 := 1; [2025-02-07 21:13:25,467 INFO L1324 $ProcedureCfgBuilder]: dead code at ProgramPoint L695: assume -2147483648 <= start_simulation_#t~ret15#1 && start_simulation_#t~ret15#1 <= 2147483647;start_simulation_~tmp~3#1 := start_simulation_#t~ret15#1;havoc start_simulation_#t~ret15#1; [2025-02-07 21:13:25,468 INFO L1324 $ProcedureCfgBuilder]: dead code at ProgramPoint L695-1: SUMMARY for call start_simulation_#t~ret15#1 := exists_runnable_thread(); srcloc: null [2025-02-07 21:13:25,468 INFO L1324 $ProcedureCfgBuilder]: dead code at ProgramPoint L588: assume 1 == ~M_E~0;~M_E~0 := 2; [2025-02-07 21:13:25,468 INFO L1324 $ProcedureCfgBuilder]: dead code at ProgramPoint L588: assume !(1 == ~M_E~0); [2025-02-07 21:13:25,468 INFO L1324 $ProcedureCfgBuilder]: dead code at ProgramPoint L613: assume 1 == ~E_1~0;~E_1~0 := 2; [2025-02-07 21:13:25,468 INFO L1324 $ProcedureCfgBuilder]: dead code at ProgramPoint L613: assume !(1 == ~E_1~0); [2025-02-07 21:13:25,494 INFO L? ?]: Removed 33 outVars from TransFormulas that were not future-live. [2025-02-07 21:13:25,494 INFO L308 CfgBuilder]: Performing block encoding [2025-02-07 21:13:25,506 INFO L332 CfgBuilder]: Using the 1 location(s) as analysis (start of procedure ULTIMATE.start) [2025-02-07 21:13:25,506 INFO L337 CfgBuilder]: Removed 0 assume(true) statements. [2025-02-07 21:13:25,507 INFO L201 PluginConnector]: Adding new model de.uni_freiburg.informatik.ultimate.plugins.generator.icfgbuilder CFG 07.02 09:13:25 BoogieIcfgContainer [2025-02-07 21:13:25,507 INFO L131 PluginConnector]: ------------------------ END IcfgBuilder---------------------------- [2025-02-07 21:13:25,509 INFO L112 PluginConnector]: ------------------------TraceAbstraction---------------------------- [2025-02-07 21:13:25,509 INFO L270 PluginConnector]: Initializing TraceAbstraction... [2025-02-07 21:13:25,512 INFO L274 PluginConnector]: TraceAbstraction initialized [2025-02-07 21:13:25,512 INFO L184 PluginConnector]: Executing the observer TraceAbstractionObserver from plugin TraceAbstraction for "CDTParser AST 07.02 09:13:24" (1/3) ... [2025-02-07 21:13:25,513 INFO L204 PluginConnector]: Invalid model from TraceAbstraction for observer de.uni_freiburg.informatik.ultimate.plugins.generator.traceabstraction.TraceAbstractionObserver@5147ed97 and model type de.uni_freiburg.informatik.ultimate.plugins.generator.traceabstraction AST 07.02 09:13:25, skipping insertion in model container [2025-02-07 21:13:25,513 INFO L184 PluginConnector]: Executing the observer TraceAbstractionObserver from plugin TraceAbstraction for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 07.02 09:13:25" (2/3) ... [2025-02-07 21:13:25,513 INFO L204 PluginConnector]: Invalid model from TraceAbstraction for observer de.uni_freiburg.informatik.ultimate.plugins.generator.traceabstraction.TraceAbstractionObserver@5147ed97 and model type de.uni_freiburg.informatik.ultimate.plugins.generator.traceabstraction AST 07.02 09:13:25, skipping insertion in model container [2025-02-07 21:13:25,514 INFO L184 PluginConnector]: Executing the observer TraceAbstractionObserver from plugin TraceAbstraction for "de.uni_freiburg.informatik.ultimate.plugins.generator.icfgbuilder CFG 07.02 09:13:25" (3/3) ... [2025-02-07 21:13:25,515 INFO L128 eAbstractionObserver]: Analyzing ICFG token_ring.03.cil-2.c [2025-02-07 21:13:25,525 INFO L216 ceAbstractionStarter]: Automizer settings: Hoare:LoopHeads NWA Interpolation:FPandBP Determinization: PREDICATE_ABSTRACTION [2025-02-07 21:13:25,526 INFO L151 ceAbstractionStarter]: Applying trace abstraction to ICFG token_ring.03.cil-2.c that has 7 procedures, 121 locations, 1 initial locations, 6 loop locations, and 1 error locations. [2025-02-07 21:13:25,562 INFO L332 AbstractCegarLoop]: ======== Iteration 0 == of CEGAR loop == AllErrorsAtOnce ======== [2025-02-07 21:13:25,569 INFO L333 AbstractCegarLoop]: Settings: SEPARATE_VIOLATION_CHECK=true, mInterprocedural=true, mMaxIterations=1000000, mWatchIteration=1000000, mArtifact=RCFG, mInterpolation=FPandBP, mInterpolantAutomaton=STRAIGHT_LINE, mDumpAutomata=false, mAutomataFormat=ATS_NUMERATE, mDumpPath=., mDeterminiation=PREDICATE_ABSTRACTION, mMinimize=MINIMIZE_SEVPA, mAutomataTypeConcurrency=PETRI_NET, mHoareTripleChecks=INCREMENTAL, mHoareAnnotationPositions=LoopHeads, mDumpOnlyReuseAutomata=false, mLimitTraceHistogram=0, mErrorLocTimeLimit=0, mLimitPathProgramCount=0, mCollectInterpolantStatistics=true, mHeuristicEmptinessCheck=false, mHeuristicEmptinessCheckAStarHeuristic=ZERO, mHeuristicEmptinessCheckAStarHeuristicRandomSeed=1337, mHeuristicEmptinessCheckSmtFeatureScoringMethod=DAGSIZE, mSMTFeatureExtraction=false, mSMTFeatureExtractionDumpPath=., mOverrideInterpolantAutomaton=false, mMcrInterpolantMethod=WP, mPorIndependenceSettings=[Lde.uni_freiburg.informatik.ultimate.lib.tracecheckerutils.partialorder.independence.IndependenceSettings;@fa00698, mLbeIndependenceSettings=[IndependenceType=SEMANTIC, AbstractionType=NONE, UseConditional=false, UseSemiCommutativity=true, Solver=Z3, SolverTimeout=1000ms] [2025-02-07 21:13:25,570 INFO L334 AbstractCegarLoop]: Starting to check reachability of 1 error locations. [2025-02-07 21:13:25,572 INFO L276 IsEmpty]: Start isEmpty. Operand has 121 states, 84 states have (on average 1.7023809523809523) internal successors, (143), 107 states have internal predecessors, (143), 7 states have call successors, (7), 6 states have call predecessors, (7), 6 states have return successors, (7), 7 states have call predecessors, (7), 7 states have call successors, (7) [2025-02-07 21:13:25,577 INFO L282 IsEmpty]: Finished isEmpty. No accepting run. [2025-02-07 21:13:25,578 INFO L782 garLoopResultBuilder]: Registering result SAFE for location ULTIMATE.startErr0ASSERT_VIOLATIONERROR_FUNCTION (0 of 1 remaining) [2025-02-07 21:13:25,581 INFO L422 BasicCegarLoop]: Path program histogram: [] [2025-02-07 21:13:25,585 INFO L343 DoubleDeckerVisitor]: Before removal of dead ends has 121 states, 84 states have (on average 1.7023809523809523) internal successors, (143), 107 states have internal predecessors, (143), 7 states have call successors, (7), 6 states have call predecessors, (7), 6 states have return successors, (7), 7 states have call predecessors, (7), 7 states have call successors, (7) [2025-02-07 21:13:25,611 INFO L170 ceAbstractionStarter]: Computing trace abstraction results [2025-02-07 21:13:25,617 INFO L201 PluginConnector]: Adding new model de.uni_freiburg.informatik.ultimate.plugins.generator.traceabstraction CFG 07.02 09:13:25 BoogieIcfgContainer [2025-02-07 21:13:25,617 INFO L131 PluginConnector]: ------------------------ END TraceAbstraction---------------------------- [2025-02-07 21:13:25,618 INFO L112 PluginConnector]: ------------------------Witness Printer---------------------------- [2025-02-07 21:13:25,618 INFO L270 PluginConnector]: Initializing Witness Printer... [2025-02-07 21:13:25,618 INFO L274 PluginConnector]: Witness Printer initialized [2025-02-07 21:13:25,618 INFO L184 PluginConnector]: Executing the observer RCFGCatcher from plugin Witness Printer for "de.uni_freiburg.informatik.ultimate.plugins.generator.icfgbuilder CFG 07.02 09:13:25" (3/4) ... [2025-02-07 21:13:25,620 INFO L146 WitnessPrinter]: Generating witness for correct program [2025-02-07 21:13:25,622 INFO L385 IcfgBacktranslator]: Ignoring RootEdge to procedure activate_threads [2025-02-07 21:13:25,622 INFO L385 IcfgBacktranslator]: Ignoring RootEdge to procedure immediate_notify [2025-02-07 21:13:25,622 INFO L385 IcfgBacktranslator]: Ignoring RootEdge to procedure exists_runnable_thread [2025-02-07 21:13:25,622 INFO L385 IcfgBacktranslator]: Ignoring RootEdge to procedure fire_delta_events [2025-02-07 21:13:25,622 INFO L385 IcfgBacktranslator]: Ignoring RootEdge to procedure update_channels [2025-02-07 21:13:25,622 INFO L385 IcfgBacktranslator]: Ignoring RootEdge to procedure reset_delta_events [2025-02-07 21:13:25,627 INFO L919 BoogieBacktranslator]: Reduced CFG by removing 14 nodes and edges [2025-02-07 21:13:25,627 INFO L919 BoogieBacktranslator]: Reduced CFG by removing 5 nodes and edges [2025-02-07 21:13:25,627 INFO L919 BoogieBacktranslator]: Reduced CFG by removing 3 nodes and edges [2025-02-07 21:13:25,628 INFO L919 BoogieBacktranslator]: Reduced CFG by removing 1 nodes and edges [2025-02-07 21:13:25,694 INFO L149 WitnessManager]: Wrote witness to /storage/repos/ultimate-jdk21/releaseScripts/default/UAutomizer-linux/witness.graphml [2025-02-07 21:13:25,695 INFO L149 WitnessManager]: Wrote witness to /storage/repos/ultimate-jdk21/releaseScripts/default/UAutomizer-linux/witness.yml [2025-02-07 21:13:25,695 INFO L131 PluginConnector]: ------------------------ END Witness Printer---------------------------- [2025-02-07 21:13:25,695 INFO L158 Benchmark]: Toolchain (without parser) took 924.63ms. Allocated memory is still 142.6MB. Free memory was 105.0MB in the beginning and 44.4MB in the end (delta: 60.6MB). Peak memory consumption was 58.7MB. Max. memory is 16.1GB. [2025-02-07 21:13:25,696 INFO L158 Benchmark]: CDTParser took 0.36ms. Allocated memory is still 201.3MB. Free memory is still 127.5MB. There was no memory consumed. Max. memory is 16.1GB. [2025-02-07 21:13:25,696 INFO L158 Benchmark]: CACSL2BoogieTranslator took 276.93ms. Allocated memory is still 142.6MB. Free memory was 105.0MB in the beginning and 89.6MB in the end (delta: 15.4MB). Peak memory consumption was 16.8MB. Max. memory is 16.1GB. [2025-02-07 21:13:25,696 INFO L158 Benchmark]: Boogie Procedure Inliner took 38.43ms. Allocated memory is still 142.6MB. Free memory was 89.6MB in the beginning and 88.5MB in the end (delta: 1.1MB). There was no memory consumed. Max. memory is 16.1GB. [2025-02-07 21:13:25,696 INFO L158 Benchmark]: Boogie Preprocessor took 35.78ms. Allocated memory is still 142.6MB. Free memory was 88.5MB in the beginning and 86.4MB in the end (delta: 2.1MB). There was no memory consumed. Max. memory is 16.1GB. [2025-02-07 21:13:25,696 INFO L158 Benchmark]: IcfgBuilder took 382.36ms. Allocated memory is still 142.6MB. Free memory was 86.4MB in the beginning and 62.3MB in the end (delta: 24.1MB). Peak memory consumption was 25.2MB. Max. memory is 16.1GB. [2025-02-07 21:13:25,697 INFO L158 Benchmark]: TraceAbstraction took 108.08ms. Allocated memory is still 142.6MB. Free memory was 61.2MB in the beginning and 52.6MB in the end (delta: 8.6MB). Peak memory consumption was 8.4MB. Max. memory is 16.1GB. [2025-02-07 21:13:25,697 INFO L158 Benchmark]: Witness Printer took 77.13ms. Allocated memory is still 142.6MB. Free memory was 52.6MB in the beginning and 44.4MB in the end (delta: 8.2MB). Peak memory consumption was 8.4MB. Max. memory is 16.1GB. [2025-02-07 21:13:25,698 INFO L338 ainManager$Toolchain]: ####################### End [Toolchain 1] ####################### --- Results --- * Results from de.uni_freiburg.informatik.ultimate.core: - StatisticsResult: Toolchain Benchmarks Benchmark results are: * CDTParser took 0.36ms. Allocated memory is still 201.3MB. Free memory is still 127.5MB. There was no memory consumed. Max. memory is 16.1GB. * CACSL2BoogieTranslator took 276.93ms. Allocated memory is still 142.6MB. Free memory was 105.0MB in the beginning and 89.6MB in the end (delta: 15.4MB). Peak memory consumption was 16.8MB. Max. memory is 16.1GB. * Boogie Procedure Inliner took 38.43ms. Allocated memory is still 142.6MB. Free memory was 89.6MB in the beginning and 88.5MB in the end (delta: 1.1MB). There was no memory consumed. Max. memory is 16.1GB. * Boogie Preprocessor took 35.78ms. Allocated memory is still 142.6MB. Free memory was 88.5MB in the beginning and 86.4MB in the end (delta: 2.1MB). There was no memory consumed. Max. memory is 16.1GB. * IcfgBuilder took 382.36ms. Allocated memory is still 142.6MB. Free memory was 86.4MB in the beginning and 62.3MB in the end (delta: 24.1MB). Peak memory consumption was 25.2MB. Max. memory is 16.1GB. * TraceAbstraction took 108.08ms. Allocated memory is still 142.6MB. Free memory was 61.2MB in the beginning and 52.6MB in the end (delta: 8.6MB). Peak memory consumption was 8.4MB. Max. memory is 16.1GB. * Witness Printer took 77.13ms. Allocated memory is still 142.6MB. Free memory was 52.6MB in the beginning and 44.4MB in the end (delta: 8.2MB). Peak memory consumption was 8.4MB. Max. memory is 16.1GB. * Results from de.uni_freiburg.informatik.ultimate.plugins.generator.traceabstraction: - StatisticsResult: ErrorAutomatonStatistics NumberErrorTraces: 0, NumberStatementsAllTraces: 0, NumberRelevantStatements: 0, 0.0s ErrorAutomatonConstructionTimeTotal, 0.0s FaulLocalizationTime, NumberStatementsFirstTrace: -1, TraceLengthAvg: 0, 0.0s ErrorAutomatonConstructionTimeAvg, 0.0s ErrorAutomatonDifferenceTimeAvg, 0.0s ErrorAutomatonDifferenceTimeTotal, NumberOfNoEnhancement: 0, NumberOfFiniteEnhancement: 0, NumberOfInfiniteEnhancement: 0 - PositiveResult [Line: 20]: a call to reach_error is unreachable For all program executions holds that a call to reach_error is unreachable at this location - StatisticsResult: Ultimate Automizer benchmark data CFG has 7 procedures, 121 locations, 1 error locations. Started 1 CEGAR loops. OverallTime: 0.0s, OverallIterations: 0, TraceHistogramMax: 0, PathProgramHistogramMax: 0, EmptinessCheckTime: 0.0s, AutomataDifference: 0.0s, DeadEndRemovalTime: 0.0s, HoareAnnotationTime: 0.0s, InitialAbstractionConstructionTime: 0.0s, HoareTripleCheckerStatistics: , PredicateUnifierStatistics: No data available, 0.0s BasicInterpolantAutomatonTime, BiggestAbstraction: size=121occurred in iteration=0, InterpolantAutomatonStates: 0, traceCheckStatistics: No data available, InterpolantConsolidationStatistics: No data available, PathInvariantsStatistics: No data available, 0/0 InterpolantCoveringCapability, TotalInterpolationStatistics: No data available, 0.0s DumpTime, AutomataMinimizationStatistics: No data available, HoareAnnotationStatistics: No data available, RefinementEngineStatistics: No data available, ReuseStatistics: No data available, ConComCheckerStatistics: No data available - AllSpecificationsHoldResult: All specifications hold 1 specifications checked. All of them hold RESULT: Ultimate proved your program to be correct! [2025-02-07 21:13:25,712 INFO L552 MonitoredProcess]: [MP /storage/repos/ultimate-jdk21/releaseScripts/default/UAutomizer-linux/z3 SMTLIB2_COMPLIANT=true -memory:2024 -smt2 -in -t:4000 (1)] Ended with exit code 0 Received shutdown request... --- End real Ultimate output --- Execution finished normally Writing output log to file Ultimate.log Result: TRUE