./Ultimate.py --spec ../../../trunk/examples/svcomp/properties/unreach-call.prp --file ../../../trunk/examples/svcomp/pthread/queue_longer.i --full-output --witness-type correctness_witness --witnessparser.only.consider.loop.invariants false --validate ./goblint.2023-12-19_14-39-08.files/SV-COMP24_unreach-call/queue_longer.yml/witness.yml --architecture 32bit -------------------------------------------------------------------------------- Checking for ERROR reachability Using default analysis Version 3d25acf6 Calling Ultimate with: /root/.sdkman/candidates/java/current/bin/java -Dosgi.configuration.area=/storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/data/config -Xmx15G -Xms4m -jar /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/plugins/org.eclipse.equinox.launcher_1.5.800.v20200727-1323.jar -data @noDefault -ultimatedata /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/data -tc /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/config/AutomizerReachWitnessValidation.xml -i ../../../trunk/examples/svcomp/pthread/queue_longer.i ./goblint.2023-12-19_14-39-08.files/SV-COMP24_unreach-call/queue_longer.yml/witness.yml -s /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/config/svcomp-Reach-32bit-Automizer_Default.epf --cacsl2boogietranslator.entry.function main --traceabstraction.compute.hoare.annotation.of.negated.interpolant.automaton,.abstraction.and.cfg false --witnessparser.only.consider.loop.invariants false --- Real Ultimate output --- This is Ultimate 0.2.4-dev-3d25acf-m [2024-01-30 14:26:43,559 INFO L188 SettingsManager]: Resetting all preferences to default values... [2024-01-30 14:26:43,602 INFO L114 SettingsManager]: Loading settings from /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/config/svcomp-Reach-32bit-Automizer_Default.epf [2024-01-30 14:26:43,606 WARN L101 SettingsManager]: Preference file contains the following unknown settings: [2024-01-30 14:26:43,606 WARN L103 SettingsManager]: * de.uni_freiburg.informatik.ultimate.core.Log level for class [2024-01-30 14:26:43,624 INFO L130 SettingsManager]: Preferences different from defaults after loading the file: [2024-01-30 14:26:43,625 INFO L151 SettingsManager]: Preferences of UltimateCore differ from their defaults: [2024-01-30 14:26:43,625 INFO L153 SettingsManager]: * Log level for class=de.uni_freiburg.informatik.ultimate.lib.smtlibutils.quantifier.QuantifierPusher=ERROR; [2024-01-30 14:26:43,625 INFO L151 SettingsManager]: Preferences of Boogie Preprocessor differ from their defaults: [2024-01-30 14:26:43,626 INFO L153 SettingsManager]: * Use memory slicer=true [2024-01-30 14:26:43,626 INFO L151 SettingsManager]: Preferences of Boogie Procedure Inliner differ from their defaults: [2024-01-30 14:26:43,626 INFO L153 SettingsManager]: * Ignore calls to procedures called more than once=ONLY_FOR_SEQUENTIAL_PROGRAMS [2024-01-30 14:26:43,626 INFO L151 SettingsManager]: Preferences of BlockEncodingV2 differ from their defaults: [2024-01-30 14:26:43,627 INFO L153 SettingsManager]: * Create parallel compositions if possible=false [2024-01-30 14:26:43,627 INFO L153 SettingsManager]: * Use SBE=true [2024-01-30 14:26:43,627 INFO L151 SettingsManager]: Preferences of CACSL2BoogieTranslator differ from their defaults: [2024-01-30 14:26:43,627 INFO L153 SettingsManager]: * Pointer base address is valid at dereference=IGNORE [2024-01-30 14:26:43,628 INFO L153 SettingsManager]: * sizeof long=4 [2024-01-30 14:26:43,628 INFO L153 SettingsManager]: * Overapproximate operations on floating types=true [2024-01-30 14:26:43,628 INFO L153 SettingsManager]: * sizeof POINTER=4 [2024-01-30 14:26:43,628 INFO L153 SettingsManager]: * Check division by zero=IGNORE [2024-01-30 14:26:43,630 INFO L153 SettingsManager]: * Pointer to allocated memory at dereference=IGNORE [2024-01-30 14:26:43,631 INFO L153 SettingsManager]: * If two pointers are subtracted or compared they have the same base address=IGNORE [2024-01-30 14:26:43,631 INFO L153 SettingsManager]: * Check array bounds for arrays that are off heap=IGNORE [2024-01-30 14:26:43,631 INFO L153 SettingsManager]: * Allow undefined functions=false [2024-01-30 14:26:43,631 INFO L153 SettingsManager]: * sizeof long double=12 [2024-01-30 14:26:43,631 INFO L153 SettingsManager]: * Check if freed pointer was valid=false [2024-01-30 14:26:43,631 INFO L153 SettingsManager]: * Use constant arrays=true [2024-01-30 14:26:43,632 INFO L151 SettingsManager]: Preferences of RCFGBuilder differ from their defaults: [2024-01-30 14:26:43,632 INFO L153 SettingsManager]: * Size of a code block=SequenceOfStatements [2024-01-30 14:26:43,632 INFO L153 SettingsManager]: * Only consider context switches at boundaries of atomic blocks=true [2024-01-30 14:26:43,632 INFO L153 SettingsManager]: * SMT solver=External_DefaultMode [2024-01-30 14:26:43,632 INFO L153 SettingsManager]: * Command for external solver=z3 SMTLIB2_COMPLIANT=true -memory:2024 -smt2 -in -t:4000 [2024-01-30 14:26:43,632 INFO L151 SettingsManager]: Preferences of TraceAbstraction differ from their defaults: [2024-01-30 14:26:43,632 INFO L153 SettingsManager]: * Compute Interpolants along a Counterexample=FPandBP [2024-01-30 14:26:43,633 INFO L153 SettingsManager]: * Positions where we compute the Hoare Annotation=LoopHeads [2024-01-30 14:26:43,633 INFO L153 SettingsManager]: * Trace refinement strategy=CAMEL [2024-01-30 14:26:43,633 INFO L153 SettingsManager]: * Command for external solver=z3 SMTLIB2_COMPLIANT=true -memory:2024 -smt2 -in [2024-01-30 14:26:43,633 INFO L153 SettingsManager]: * Apply one-shot large block encoding in concurrent analysis=false [2024-01-30 14:26:43,633 INFO L153 SettingsManager]: * Automaton type used in concurrency analysis=PETRI_NET [2024-01-30 14:26:43,633 INFO L153 SettingsManager]: * Compute Hoare Annotation of negated interpolant automaton, abstraction and CFG=true [2024-01-30 14:26:43,633 INFO L153 SettingsManager]: * Order on configurations for Petri net unfoldings=DBO [2024-01-30 14:26:43,634 INFO L153 SettingsManager]: * SMT solver=External_ModelsAndUnsatCoreMode [2024-01-30 14:26:43,634 INFO L153 SettingsManager]: * Looper check in Petri net analysis=SEMANTIC WARNING: An illegal reflective access operation has occurred WARNING: Illegal reflective access by com.sun.xml.bind.v2.runtime.reflect.opt.Injector$1 (file:/storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/plugins/com.sun.xml.bind_2.2.0.v201505121915.jar) to method java.lang.ClassLoader.defineClass(java.lang.String,byte[],int,int) WARNING: Please consider reporting this to the maintainers of com.sun.xml.bind.v2.runtime.reflect.opt.Injector$1 WARNING: Use --illegal-access=warn to enable warnings of further illegal reflective access operations WARNING: All illegal access operations will be denied in a future release Applying setting for plugin de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator: Entry function -> main Applying setting for plugin de.uni_freiburg.informatik.ultimate.plugins.generator.traceabstraction: Compute Hoare Annotation of negated interpolant automaton, abstraction and CFG -> false Applying setting for plugin de.uni_freiburg.informatik.ultimate.witnessparser: Only consider loop invariants -> false [2024-01-30 14:26:43,850 INFO L75 nceAwareModelManager]: Repository-Root is: /tmp [2024-01-30 14:26:43,872 INFO L261 ainManager$Toolchain]: [Toolchain 1]: Applicable parser(s) successfully (re)initialized [2024-01-30 14:26:43,874 INFO L217 ainManager$Toolchain]: [Toolchain 1]: Toolchain selected. [2024-01-30 14:26:43,874 INFO L270 PluginConnector]: Initializing Witness Parser... [2024-01-30 14:26:43,875 INFO L274 PluginConnector]: Witness Parser initialized [2024-01-30 14:26:43,876 INFO L431 ainManager$Toolchain]: [Toolchain 1]: Parsing single file: /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/./goblint.2023-12-19_14-39-08.files/SV-COMP24_unreach-call/queue_longer.yml/witness.yml [2024-01-30 14:26:44,090 INFO L270 PluginConnector]: Initializing CDTParser... [2024-01-30 14:26:44,090 INFO L274 PluginConnector]: CDTParser initialized [2024-01-30 14:26:44,091 INFO L431 ainManager$Toolchain]: [Toolchain 1]: Parsing single file: /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/../../../trunk/examples/svcomp/pthread/queue_longer.i [2024-01-30 14:26:45,131 INFO L533 CDTParser]: Created temporary CDT project at NULL [2024-01-30 14:26:45,383 INFO L384 CDTParser]: Found 1 translation units. [2024-01-30 14:26:45,383 INFO L180 CDTParser]: Scanning /storage/repos/ultimate/trunk/examples/svcomp/pthread/queue_longer.i [2024-01-30 14:26:45,394 INFO L427 CDTParser]: About to delete temporary CDT project at /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/data/a279baf18/20be66bc4d1948348c32bf3fad42700e/FLAG8b35c7dde [2024-01-30 14:26:45,406 INFO L435 CDTParser]: Successfully deleted /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/data/a279baf18/20be66bc4d1948348c32bf3fad42700e [2024-01-30 14:26:45,407 INFO L299 ainManager$Toolchain]: ####################### [Toolchain 1] ####################### [2024-01-30 14:26:45,408 INFO L133 ToolchainWalker]: Walking toolchain with 5 elements. [2024-01-30 14:26:45,410 INFO L112 PluginConnector]: ------------------------CACSL2BoogieTranslator---------------------------- [2024-01-30 14:26:45,410 INFO L270 PluginConnector]: Initializing CACSL2BoogieTranslator... [2024-01-30 14:26:45,413 INFO L274 PluginConnector]: CACSL2BoogieTranslator initialized [2024-01-30 14:26:45,414 INFO L184 PluginConnector]: Executing the observer ACSLObjectContainerObserver from plugin CACSL2BoogieTranslator for "witness.yml de.uni_freiburg.informatik.ultimate.witnessparser CORRECTNESS_WITNESS 30.01 02:26:44" (1/2) ... [2024-01-30 14:26:45,416 INFO L204 PluginConnector]: Invalid model from CACSL2BoogieTranslator for observer de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator.ACSLObjectContainerObserver@7afec3ad and model type witness.yml de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator CORRECTNESS_WITNESS 30.01 02:26:45, skipping insertion in model container [2024-01-30 14:26:45,416 INFO L184 PluginConnector]: Executing the observer CACSL2BoogieTranslatorObserver from plugin CACSL2BoogieTranslator for "witness.yml de.uni_freiburg.informatik.ultimate.witnessparser CORRECTNESS_WITNESS 30.01 02:26:44" (1/2) ... [2024-01-30 14:26:45,417 INFO L204 PluginConnector]: Invalid model from CACSL2BoogieTranslator for observer de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator.CACSL2BoogieTranslatorObserver@72a37ed0 and model type witness.yml de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator CORRECTNESS_WITNESS 30.01 02:26:45, skipping insertion in model container [2024-01-30 14:26:45,417 INFO L184 PluginConnector]: Executing the observer ACSLObjectContainerObserver from plugin CACSL2BoogieTranslator for "CDTParser AST 30.01 02:26:45" (2/2) ... [2024-01-30 14:26:45,418 INFO L204 PluginConnector]: Invalid model from CACSL2BoogieTranslator for observer de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator.ACSLObjectContainerObserver@7afec3ad and model type de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 30.01 02:26:45, skipping insertion in model container [2024-01-30 14:26:45,418 INFO L184 PluginConnector]: Executing the observer CACSL2BoogieTranslatorObserver from plugin CACSL2BoogieTranslator for "CDTParser AST 30.01 02:26:45" (2/2) ... [2024-01-30 14:26:45,418 INFO L83 nessWitnessExtractor]: Extracting all invariants from correctness witness [2024-01-30 14:26:45,804 INFO L96 nessWitnessExtractor]: Found the following entries in the witness: [2024-01-30 14:26:45,808 INFO L98 nessWitnessExtractor]: Location invariant before [L1056-L1056] ((((enqueue_flag == (_Bool)1) && (dequeue_flag == (_Bool)0)) && (queue.amount == 0)) && (queue.head == 0)) && (queue.tail == 0) [2024-01-30 14:26:45,809 INFO L98 nessWitnessExtractor]: Location invariant before [L1061-L1061] ((((enqueue_flag == (_Bool)1) && (dequeue_flag == (_Bool)0)) && (queue.amount == 0)) && (queue.head == 0)) && (queue.tail == 0) [2024-01-30 14:26:45,809 INFO L98 nessWitnessExtractor]: Location invariant before [L1031-L1031] (((((0 <= ((QType *)arg)->head) && (0 <= ((QType *)arg)->tail)) && (((QType *)arg)->head <= 400)) && (((QType *)arg)->tail <= 400)) && (arg == (void *)(& queue))) && (i == 399) [2024-01-30 14:26:45,809 INFO L98 nessWitnessExtractor]: Location invariant before [L960-L966] (q == & queue) && ((((((((enqueue_flag == (_Bool)1 && dequeue_flag == (_Bool)0) && queue.amount == 0) && queue.head == 0) && queue.tail == 0) && q->amount == 0) && q->head == 0) && q->tail == 0) || (((((((((((((-2147483647 <= queue.amount && -2147483647 <= q->amount) && 0 <= queue.head) && 0 <= q->head) && 1 <= queue.tail) && 1 <= q->tail) && queue.head <= 400) && queue.tail <= 400) && q->head <= 400) && q->tail <= 400) && queue.tail != 401) && q->tail != 401) && (enqueue_flag == (_Bool)0 || enqueue_flag == (_Bool)1)) && (dequeue_flag == (_Bool)0 || dequeue_flag == (_Bool)1))) [2024-01-30 14:26:45,810 INFO L98 nessWitnessExtractor]: Location invariant after [L960-L966] ((((((((((((((-2147483647 <= queue.amount) && (-2147483647 <= q->amount)) && (0 <= queue.head)) && (0 <= q->head)) && (1 <= queue.tail)) && (1 <= q->tail)) && (queue.head <= 400)) && (queue.tail <= 400)) && (q->head <= 400)) && (q->tail <= 400)) && (q == & queue)) && (queue.tail != 401)) && (q->tail != 401)) && (enqueue_flag == (_Bool)0 || enqueue_flag == (_Bool)1)) && (dequeue_flag == (_Bool)0 || dequeue_flag == (_Bool)1) [2024-01-30 14:26:45,810 INFO L98 nessWitnessExtractor]: Location invariant before [L1057-L1057] ((((enqueue_flag == (_Bool)1) && (dequeue_flag == (_Bool)0)) && (queue.amount == 0)) && (queue.head == 0)) && (queue.tail == 0) [2024-01-30 14:26:45,810 INFO L98 nessWitnessExtractor]: Location invariant before [L1055-L1055] ((((enqueue_flag == (_Bool)0) && (dequeue_flag == (_Bool)0)) && (queue.amount == 0)) && (queue.head == 0)) && (queue.tail == 0) [2024-01-30 14:26:45,810 INFO L98 nessWitnessExtractor]: Location invariant before [L1062-L1062] ((((enqueue_flag == (_Bool)1) && (dequeue_flag == (_Bool)0)) && (queue.amount == 0)) && (queue.head == 0)) && (queue.tail == 0) [2024-01-30 14:26:45,810 INFO L98 nessWitnessExtractor]: Location invariant before [L1003-L1003] ((((((((((((((0 <= queue.tail) && (0 <= q->tail)) && (1 <= queue.head)) && (1 <= q->head)) && (queue.amount <= 2147483646)) && (queue.head <= 400)) && (queue.tail <= 400)) && (q->amount <= 2147483646)) && (q->head <= 400)) && (q->tail <= 400)) && (dequeue_flag == (_Bool)1)) && (q == & queue)) && (queue.head != 401)) && (q->head != 401)) && (enqueue_flag == (_Bool)0 || enqueue_flag == (_Bool)1) [2024-01-30 14:26:45,810 INFO L98 nessWitnessExtractor]: Loop invariant at [L1037-L1049] ((((0 <= ((QType *)arg)->head) && (0 <= ((QType *)arg)->tail)) && (((QType *)arg)->head <= 400)) && (((QType *)arg)->tail <= 400)) && (arg == (void *)(& queue)) [2024-01-30 14:26:45,811 INFO L98 nessWitnessExtractor]: Location invariant before [L1024-L1024] (((((((((((0 <= queue.head) && (0 <= queue.tail)) && (0 <= ((QType *)arg)->head)) && (0 <= ((QType *)arg)->tail)) && (queue.head <= 400)) && (queue.tail <= 400)) && (((QType *)arg)->head <= 400)) && (((QType *)arg)->tail <= 400)) && (enqueue_flag == (_Bool)1)) && (arg == (void *)(& queue))) && (dequeue_flag == (_Bool)0 || dequeue_flag == (_Bool)1)) && (((((i == 3 || i == 2) || i == 1) || (0 == i && i == 0)) || (5 <= i && i <= 398)) || i == 4) [2024-01-30 14:26:45,811 INFO L98 nessWitnessExtractor]: Location invariant before [L956-L956] ((((((((enqueue_flag == (_Bool)1) && (dequeue_flag == (_Bool)0)) && (queue.amount == 0)) && (queue.head == 0)) && (queue.tail == 0)) && (q == & queue)) && (q->amount == 0)) && (q->head == 0)) && (q->tail == 0) [2024-01-30 14:26:45,811 INFO L98 nessWitnessExtractor]: Location invariant before [L1009-L1009] ((((((((((((((0 <= queue.head) && (0 <= queue.tail)) && (0 <= ((QType *)arg)->head)) && (0 <= ((QType *)arg)->tail)) && (queue.head <= 400)) && (queue.tail <= 400)) && (((QType *)arg)->head <= 400)) && (((QType *)arg)->tail <= 400)) && ((4294967296LL + (long long )i) + (long long )value >= 0LL)) && ((4294967295LL - (long long )i) + (long long )value >= 0LL)) && ((4294967295LL + (long long )i) - (long long )value >= 0LL)) && ((4294967294LL - (long long )i) - (long long )value >= 0LL)) && (arg == (void *)(& queue))) && (enqueue_flag == (_Bool)0 || enqueue_flag == (_Bool)1)) && (dequeue_flag == (_Bool)0 || dequeue_flag == (_Bool)1) [2024-01-30 14:26:45,811 INFO L98 nessWitnessExtractor]: Location invariant before [L954-L954] ((((((((enqueue_flag == (_Bool)1) && (dequeue_flag == (_Bool)0)) && (queue.amount == 0)) && (queue.head == 0)) && (queue.tail == 0)) && (q == & queue)) && (q->amount == 0)) && (q->head == 0)) && (q->tail == 0) [2024-01-30 14:26:45,812 INFO L98 nessWitnessExtractor]: Location invariant before [L997-L1002] ((((((((((((0 <= queue.head) && (0 <= queue.tail)) && (0 <= q->head)) && (0 <= q->tail)) && (queue.amount <= 2147483646)) && (queue.head <= 400)) && (queue.tail <= 400)) && (q->amount <= 2147483646)) && (q->head <= 400)) && (q->tail <= 400)) && (dequeue_flag == (_Bool)1)) && (q == & queue)) && (enqueue_flag == (_Bool)0 || enqueue_flag == (_Bool)1) [2024-01-30 14:26:45,812 INFO L98 nessWitnessExtractor]: Location invariant after [L997-L1002] ((((((((((((((0 <= queue.head) && (0 <= queue.tail)) && (0 <= q->head)) && (0 <= q->tail)) && (queue.amount <= 2147483646)) && (queue.head <= 399)) && (queue.tail <= 400)) && (q->amount <= 2147483646)) && (q->head <= 399)) && (q->tail <= 400)) && (dequeue_flag == (_Bool)1)) && (q == & queue)) && (queue.head != 400)) && (q->head != 400)) && (enqueue_flag == (_Bool)0 || enqueue_flag == (_Bool)1) [2024-01-30 14:26:45,812 INFO L98 nessWitnessExtractor]: Location invariant before [L1058-L1060] ((((enqueue_flag == (_Bool)1) && (dequeue_flag == (_Bool)0)) && (queue.amount == 0)) && (queue.head == 0)) && (queue.tail == 0) [2024-01-30 14:26:45,812 INFO L98 nessWitnessExtractor]: Location invariant after [L952-L957] ((((((((enqueue_flag == (_Bool)1) && (dequeue_flag == (_Bool)0)) && (queue.amount == 0)) && (queue.head == 0)) && (queue.tail == 0)) && (q == & queue)) && (q->amount == 0)) && (q->head == 0)) && (q->tail == 0) [2024-01-30 14:26:45,812 INFO L98 nessWitnessExtractor]: Location invariant before [L1008-L1008] ((((((((0 <= ((QType *)arg)->head) && (0 <= ((QType *)arg)->tail)) && (((QType *)arg)->head <= 400)) && (((QType *)arg)->tail <= 400)) && ((4294967296LL + (long long )i) + (long long )value >= 0LL)) && ((4294967295LL - (long long )i) + (long long )value >= 0LL)) && ((4294967295LL + (long long )i) - (long long )value >= 0LL)) && ((4294967294LL - (long long )i) - (long long )value >= 0LL)) && (arg == (void *)(& queue)) [2024-01-30 14:26:45,812 INFO L98 nessWitnessExtractor]: Location invariant before [L1021-L1028] (((((((((((0 <= queue.head) && (0 <= queue.tail)) && (0 <= ((QType *)arg)->head)) && (0 <= ((QType *)arg)->tail)) && (queue.head <= 400)) && (queue.tail <= 400)) && (((QType *)arg)->head <= 400)) && (((QType *)arg)->tail <= 400)) && (arg == (void *)(& queue))) && (enqueue_flag == (_Bool)0 || enqueue_flag == (_Bool)1)) && (dequeue_flag == (_Bool)0 || dequeue_flag == (_Bool)1)) && (((((i == 3 || i == 2) || i == 1) || (0 == i && i == 0)) || (5 <= i && i <= 398)) || i == 4) [2024-01-30 14:26:45,812 INFO L98 nessWitnessExtractor]: Location invariant before [L1040-L1047] (((((((((((0 <= queue.head) && (0 <= queue.tail)) && (0 <= ((QType *)arg)->head)) && (0 <= ((QType *)arg)->tail)) && (queue.head <= 400)) && (queue.tail <= 400)) && (((QType *)arg)->head <= 400)) && (((QType *)arg)->tail <= 400)) && (arg == (void *)(& queue))) && (enqueue_flag == (_Bool)0 || enqueue_flag == (_Bool)1)) && (dequeue_flag == (_Bool)0 || dequeue_flag == (_Bool)1)) && ((((i == 3 || i == 2) || i == 1) || (0 == i && i == 0)) || (4 <= i && i <= 399)) [2024-01-30 14:26:45,813 INFO L98 nessWitnessExtractor]: Location invariant before [L1025-L1025] (((((((((((((((-2147483647 <= queue.amount) && (-2147483647 <= ((QType *)arg)->amount)) && (0 <= queue.head)) && (0 <= ((QType *)arg)->head)) && (1 <= queue.tail)) && (1 <= ((QType *)arg)->tail)) && (queue.head <= 400)) && (queue.tail <= 400)) && (((QType *)arg)->head <= 400)) && (((QType *)arg)->tail <= 400)) && (enqueue_flag == (_Bool)1)) && (arg == (void *)(& queue))) && (queue.tail != 401)) && (((QType *)arg)->tail != 401)) && (dequeue_flag == (_Bool)0 || dequeue_flag == (_Bool)1)) && (((((i == 3 || i == 2) || i == 1) || (0 == i && i == 0)) || (5 <= i && i <= 398)) || i == 4) [2024-01-30 14:26:45,813 INFO L98 nessWitnessExtractor]: Location invariant before [L1014-L1016] ((((((((((((((-2147483647 <= queue.amount) && (-2147483647 <= ((QType *)arg)->amount)) && (0 <= queue.head)) && (0 <= ((QType *)arg)->head)) && (1 <= queue.tail)) && (1 <= ((QType *)arg)->tail)) && (queue.head <= 400)) && (queue.tail <= 400)) && (((QType *)arg)->head <= 400)) && (((QType *)arg)->tail <= 400)) && (arg == (void *)(& queue))) && (queue.tail != 401)) && (((QType *)arg)->tail != 401)) && (enqueue_flag == (_Bool)0 || enqueue_flag == (_Bool)1)) && (dequeue_flag == (_Bool)0 || dequeue_flag == (_Bool)1) [2024-01-30 14:26:45,813 INFO L98 nessWitnessExtractor]: Location invariant before [L999-L999] ((((((((((0 <= queue.tail) && (0 <= q->tail)) && (queue.amount <= 2147483646)) && (queue.tail <= 400)) && (q->amount <= 2147483646)) && (q->tail <= 400)) && (dequeue_flag == (_Bool)1)) && (queue.head == 400)) && (q == & queue)) && (q->head == 400)) && (enqueue_flag == (_Bool)0 || enqueue_flag == (_Bool)1) [2024-01-30 14:26:45,813 INFO L98 nessWitnessExtractor]: Location invariant before [L22-L22] (((((0 <= queue.head) && (0 <= queue.tail)) && (queue.head <= 400)) && (queue.tail <= 400)) && (enqueue_flag == (_Bool)0 || enqueue_flag == (_Bool)1)) && (dequeue_flag == (_Bool)0 || dequeue_flag == (_Bool)1) [2024-01-30 14:26:45,814 INFO L98 nessWitnessExtractor]: Location invariant before [L1032-L1032] ((((((((((((((-2147483647 <= queue.amount) && (-2147483647 <= ((QType *)arg)->amount)) && (0 <= queue.head)) && (0 <= ((QType *)arg)->head)) && (1 <= queue.tail)) && (1 <= ((QType *)arg)->tail)) && (queue.head <= 400)) && (queue.tail <= 400)) && (((QType *)arg)->head <= 400)) && (((QType *)arg)->tail <= 400)) && (arg == (void *)(& queue))) && (queue.tail != 401)) && (((QType *)arg)->tail != 401)) && (enqueue_flag == (_Bool)0 || enqueue_flag == (_Bool)1)) && (dequeue_flag == (_Bool)0 || dequeue_flag == (_Bool)1) [2024-01-30 14:26:45,814 INFO L98 nessWitnessExtractor]: Location invariant before [L1027-L1027] (((((((((((((((-2147483647 <= queue.amount) && (-2147483647 <= ((QType *)arg)->amount)) && (0 <= queue.head)) && (0 <= ((QType *)arg)->head)) && (1 <= queue.tail)) && (1 <= ((QType *)arg)->tail)) && (queue.head <= 400)) && (queue.tail <= 400)) && (((QType *)arg)->head <= 400)) && (((QType *)arg)->tail <= 400)) && (enqueue_flag == (_Bool)0)) && (arg == (void *)(& queue))) && (queue.tail != 401)) && (((QType *)arg)->tail != 401)) && (dequeue_flag == (_Bool)0 || dequeue_flag == (_Bool)1)) && (((((i == 3 || i == 2) || i == 1) || (0 == i && i == 0)) || (5 <= i && i <= 398)) || i == 4) [2024-01-30 14:26:45,814 INFO L98 nessWitnessExtractor]: Location invariant before [L955-L955] ((((((((enqueue_flag == (_Bool)1) && (dequeue_flag == (_Bool)0)) && (queue.amount == 0)) && (queue.head == 0)) && (queue.tail == 0)) && (q == & queue)) && (q->amount == 0)) && (q->head == 0)) && (q->tail == 0) [2024-01-30 14:26:45,814 INFO L98 nessWitnessExtractor]: Location invariant before [L1046-L1046] (((((((((((((((0 <= queue.tail) && (0 <= ((QType *)arg)->tail)) && (1 <= queue.head)) && (1 <= ((QType *)arg)->head)) && (queue.amount <= 2147483646)) && (queue.head <= 400)) && (queue.tail <= 400)) && (((QType *)arg)->amount <= 2147483646)) && (((QType *)arg)->head <= 400)) && (((QType *)arg)->tail <= 400)) && (dequeue_flag == (_Bool)0)) && (arg == (void *)(& queue))) && (queue.head != 401)) && (((QType *)arg)->head != 401)) && (enqueue_flag == (_Bool)0 || enqueue_flag == (_Bool)1)) && ((((i == 2 || i == 1) || (0 == i && i == 0)) || (4 <= i && i <= 399)) || i == 3) [2024-01-30 14:26:45,814 INFO L98 nessWitnessExtractor]: Location invariant before [L1039-L1039] (((((0 <= ((QType *)arg)->head) && (0 <= ((QType *)arg)->tail)) && (((QType *)arg)->head <= 400)) && (((QType *)arg)->tail <= 400)) && (arg == (void *)(& queue))) && ((((i == 3 || i == 2) || i == 1) || (0 == i && i == 0)) || (4 <= i && i <= 399)) [2024-01-30 14:26:45,814 INFO L98 nessWitnessExtractor]: Location invariant before [L1042-L1044] (((((((((0 <= queue.tail) && (0 <= ((QType *)arg)->tail)) && (queue.head <= 400)) && (queue.tail <= 400)) && (((QType *)arg)->head <= 400)) && (((QType *)arg)->tail <= 400)) && (dequeue_flag == (_Bool)1)) && (arg == (void *)(& queue))) && (enqueue_flag == (_Bool)0 || enqueue_flag == (_Bool)1)) && (((((((((((((i == 2 && ((((((1 <= queue.head && 1 <= ((QType *)arg)->head) && queue.amount <= 2147483646) && ((QType *)arg)->amount <= 2147483646) && queue.head != 401) && ((QType *)arg)->head != 401) || (0 <= queue.head && 0 <= ((QType *)arg)->head))) || ((((((1 <= queue.head && 1 <= ((QType *)arg)->head) && queue.amount <= 2147483646) && ((QType *)arg)->amount <= 2147483646) && i == 1) && queue.head != 401) && ((QType *)arg)->head != 401)) || ((((((1 <= queue.head && 1 <= ((QType *)arg)->head) && queue.amount <= 2147483646) && ((QType *)arg)->amount <= 2147483646) && i == 1) && queue.head != 401) && ((QType *)arg)->head != 401)) || ((0 <= queue.head && 0 <= ((QType *)arg)->head) && i == 1)) || (((((((1 <= queue.head && 1 <= ((QType *)arg)->head) && queue.amount <= 2147483646) && ((QType *)arg)->amount <= 2147483646) && 0 == i) && i == 0) && queue.head != 401) && ((QType *)arg)->head != 401)) || (((((((1 <= queue.head && 1 <= ((QType *)arg)->head) && queue.amount <= 2147483646) && ((QType *)arg)->amount <= 2147483646) && 0 == i) && i == 0) && queue.head != 401) && ((QType *)arg)->head != 401)) || (((0 <= queue.head && 0 <= ((QType *)arg)->head) && 0 == i) && i == 0)) || (((((((1 <= queue.head && 1 <= ((QType *)arg)->head) && 4 <= i) && queue.amount <= 2147483646) && i <= 399) && ((QType *)arg)->amount <= 2147483646) && queue.head != 401) && ((QType *)arg)->head != 401)) || (((((((1 <= queue.head && 1 <= ((QType *)arg)->head) && 4 <= i) && queue.amount <= 2147483646) && i <= 399) && ((QType *)arg)->amount <= 2147483646) && queue.head != 401) && ((QType *)arg)->head != 401)) || (((0 <= queue.head && 0 <= ((QType *)arg)->head) && 4 <= i) && i <= 399)) || ((((((1 <= queue.head && 1 <= ((QType *)arg)->head) && queue.amount <= 2147483646) && ((QType *)arg)->amount <= 2147483646) && i == 3) && queue.head != 401) && ((QType *)arg)->head != 401)) || ((((((1 <= queue.head && 1 <= ((QType *)arg)->head) && queue.amount <= 2147483646) && ((QType *)arg)->amount <= 2147483646) && i == 3) && queue.head != 401) && ((QType *)arg)->head != 401)) || ((0 <= queue.head && 0 <= ((QType *)arg)->head) && i == 3)) [2024-01-30 14:26:45,814 INFO L98 nessWitnessExtractor]: Location invariant before [L1045-L1045] (((((((((((((((0 <= queue.tail) && (0 <= ((QType *)arg)->tail)) && (1 <= queue.head)) && (1 <= ((QType *)arg)->head)) && (queue.amount <= 2147483646)) && (queue.head <= 400)) && (queue.tail <= 400)) && (((QType *)arg)->amount <= 2147483646)) && (((QType *)arg)->head <= 400)) && (((QType *)arg)->tail <= 400)) && (dequeue_flag == (_Bool)1)) && (arg == (void *)(& queue))) && (queue.head != 401)) && (((QType *)arg)->head != 401)) && (enqueue_flag == (_Bool)0 || enqueue_flag == (_Bool)1)) && ((((i == 2 || i == 1) || (0 == i && i == 0)) || (4 <= i && i <= 399)) || i == 3) [2024-01-30 14:26:45,815 INFO L98 nessWitnessExtractor]: Location invariant before [L984-L984] ((((((((((-2147483647 <= queue.amount) && (-2147483647 <= q->amount)) && (0 <= queue.head)) && (0 <= q->head)) && (queue.head <= 400)) && (q->head <= 400)) && (queue.tail == 400)) && (q == & queue)) && (q->tail == 400)) && (enqueue_flag == (_Bool)0 || enqueue_flag == (_Bool)1)) && (dequeue_flag == (_Bool)0 || dequeue_flag == (_Bool)1) [2024-01-30 14:26:45,815 INFO L98 nessWitnessExtractor]: Location invariant before [L962-L962] (q == & queue) && ((((((((enqueue_flag == (_Bool)1 && dequeue_flag == (_Bool)0) && queue.amount == 0) && queue.head == 0) && queue.tail == 0) && q->amount == 0) && q->head == 0) && q->tail == 0) || (((((((((((((((-2147483647 <= queue.amount && -2147483647 <= q->amount) && 1 <= queue.head) && 1 <= queue.tail) && 1 <= q->head) && 1 <= q->tail) && queue.head <= 400) && queue.tail <= 400) && q->head <= 400) && q->tail <= 400) && queue.head != 401) && queue.tail != 401) && q->head != 401) && q->tail != 401) && (enqueue_flag == (_Bool)0 || enqueue_flag == (_Bool)1)) && (dequeue_flag == (_Bool)0 || dequeue_flag == (_Bool)1))) [2024-01-30 14:26:45,815 INFO L98 nessWitnessExtractor]: Location invariant before [L1013-L1013] ((((((((((((((-2147483647 <= queue.amount) && (-2147483647 <= ((QType *)arg)->amount)) && (0 <= queue.head)) && (0 <= ((QType *)arg)->head)) && (1 <= queue.tail)) && (1 <= ((QType *)arg)->tail)) && (queue.head <= 400)) && (queue.tail <= 400)) && (((QType *)arg)->head <= 400)) && (((QType *)arg)->tail <= 400)) && (arg == (void *)(& queue))) && (queue.tail != 401)) && (((QType *)arg)->tail != 401)) && (enqueue_flag == (_Bool)0 || enqueue_flag == (_Bool)1)) && (dequeue_flag == (_Bool)0 || dequeue_flag == (_Bool)1) [2024-01-30 14:26:45,815 INFO L98 nessWitnessExtractor]: Location invariant before [L980-L980] ((((((((((0 <= queue.head) && (0 <= queue.tail)) && (0 <= q->head)) && (0 <= q->tail)) && (queue.head <= 400)) && (queue.tail <= 400)) && (q->head <= 400)) && (q->tail <= 400)) && (q == & queue)) && (enqueue_flag == (_Bool)0 || enqueue_flag == (_Bool)1)) && (dequeue_flag == (_Bool)0 || dequeue_flag == (_Bool)1) [2024-01-30 14:26:45,816 INFO L98 nessWitnessExtractor]: Location invariant before [L1029-L1029] (((((((((((0 <= queue.head) && (0 <= queue.tail)) && (0 <= ((QType *)arg)->head)) && (0 <= ((QType *)arg)->tail)) && (queue.head <= 400)) && (queue.tail <= 400)) && (((QType *)arg)->head <= 400)) && (((QType *)arg)->tail <= 400)) && (enqueue_flag == (_Bool)0)) && (arg == (void *)(& queue))) && (dequeue_flag == (_Bool)0 || dequeue_flag == (_Bool)1)) && (((((i == 3 || i == 2) || i == 1) || (0 == i && i == 0)) || (5 <= i && i <= 398)) || i == 4) [2024-01-30 14:26:45,816 INFO L98 nessWitnessExtractor]: Location invariant before [L1050-L1050] (((((0 <= ((QType *)arg)->head) && (0 <= ((QType *)arg)->tail)) && (((QType *)arg)->head <= 400)) && (((QType *)arg)->tail <= 400)) && (arg == (void *)(& queue))) && (i == 400) [2024-01-30 14:26:45,817 INFO L98 nessWitnessExtractor]: Location invariant before [L1048-L1048] (((((((((((0 <= queue.head) && (0 <= queue.tail)) && (0 <= ((QType *)arg)->head)) && (0 <= ((QType *)arg)->tail)) && (queue.head <= 400)) && (queue.tail <= 400)) && (((QType *)arg)->head <= 400)) && (((QType *)arg)->tail <= 400)) && (dequeue_flag == (_Bool)0)) && (arg == (void *)(& queue))) && (enqueue_flag == (_Bool)0 || enqueue_flag == (_Bool)1)) && ((((i == 2 || i == 1) || (0 == i && i == 0)) || (4 <= i && i <= 399)) || i == 3) [2024-01-30 14:26:45,817 INFO L98 nessWitnessExtractor]: Location invariant before [L1020-L1020] (((((0 <= ((QType *)arg)->head) && (0 <= ((QType *)arg)->tail)) && (((QType *)arg)->head <= 400)) && (((QType *)arg)->tail <= 400)) && (arg == (void *)(& queue))) && (((((i == 3 || i == 2) || i == 1) || (0 == i && i == 0)) || (5 <= i && i <= 398)) || i == 4) [2024-01-30 14:26:45,817 INFO L98 nessWitnessExtractor]: Location invariant before [L981-L981] ((((((((((0 <= queue.head) && (0 <= queue.tail)) && (0 <= q->head)) && (0 <= q->tail)) && (queue.head <= 400)) && (queue.tail <= 400)) && (q->head <= 400)) && (q->tail <= 400)) && (q == & queue)) && (enqueue_flag == (_Bool)0 || enqueue_flag == (_Bool)1)) && (dequeue_flag == (_Bool)0 || dequeue_flag == (_Bool)1) [2024-01-30 14:26:45,817 INFO L98 nessWitnessExtractor]: Location invariant before [L982-L989] ((((((((((((-2147483647 <= queue.amount) && (-2147483647 <= q->amount)) && (0 <= queue.head)) && (0 <= queue.tail)) && (0 <= q->head)) && (0 <= q->tail)) && (queue.head <= 400)) && (queue.tail <= 400)) && (q->head <= 400)) && (q->tail <= 400)) && (q == & queue)) && (enqueue_flag == (_Bool)0 || enqueue_flag == (_Bool)1)) && (dequeue_flag == (_Bool)0 || dequeue_flag == (_Bool)1) [2024-01-30 14:26:45,818 INFO L98 nessWitnessExtractor]: Location invariant before [L963-L963] (q == & queue) && ((((((((enqueue_flag == (_Bool)1 && dequeue_flag == (_Bool)0) && queue.amount == 0) && queue.head == 0) && queue.tail == 0) && q->amount == 0) && q->head == 0) && q->tail == 0) || (((((((((((((((-2147483647 <= queue.amount && -2147483647 <= q->amount) && 1 <= queue.head) && 1 <= queue.tail) && 1 <= q->head) && 1 <= q->tail) && queue.head <= 400) && queue.tail <= 400) && q->head <= 400) && q->tail <= 400) && queue.head != 401) && queue.tail != 401) && q->head != 401) && q->tail != 401) && (enqueue_flag == (_Bool)0 || enqueue_flag == (_Bool)1)) && (dequeue_flag == (_Bool)0 || dequeue_flag == (_Bool)1))) [2024-01-30 14:26:45,818 INFO L98 nessWitnessExtractor]: Location invariant before [L1010-L1012] (((((((((0 <= queue.head) && (0 <= ((QType *)arg)->head)) && (queue.head <= 400)) && (queue.tail <= 400)) && (((QType *)arg)->head <= 400)) && (((QType *)arg)->tail <= 400)) && (arg == (void *)(& queue))) && (enqueue_flag == (_Bool)0 || enqueue_flag == (_Bool)1)) && (dequeue_flag == (_Bool)0 || dequeue_flag == (_Bool)1)) && ((((((-2147483647 <= queue.amount && -2147483647 <= ((QType *)arg)->amount) && 1 <= queue.tail) && 1 <= ((QType *)arg)->tail) && queue.tail != 401) && ((QType *)arg)->tail != 401) || (0 <= queue.tail && 0 <= ((QType *)arg)->tail)) [2024-01-30 14:26:45,818 INFO L98 nessWitnessExtractor]: Location invariant before [L1017-L1017] ((((((((((((((-2147483647 <= queue.amount) && (-2147483647 <= ((QType *)arg)->amount)) && (0 <= queue.head)) && (0 <= ((QType *)arg)->head)) && (1 <= queue.tail)) && (1 <= ((QType *)arg)->tail)) && (queue.head <= 400)) && (queue.tail <= 400)) && (((QType *)arg)->head <= 400)) && (((QType *)arg)->tail <= 400)) && (arg == (void *)(& queue))) && (queue.tail != 401)) && (((QType *)arg)->tail != 401)) && (enqueue_flag == (_Bool)0 || enqueue_flag == (_Bool)1)) && (dequeue_flag == (_Bool)0 || dequeue_flag == (_Bool)1) [2024-01-30 14:26:45,818 INFO L98 nessWitnessExtractor]: Location invariant before [L995-L995] ((((((((((0 <= queue.head) && (0 <= queue.tail)) && (0 <= q->head)) && (0 <= q->tail)) && (queue.head <= 400)) && (queue.tail <= 400)) && (q->head <= 400)) && (q->tail <= 400)) && (dequeue_flag == (_Bool)1)) && (q == & queue)) && (enqueue_flag == (_Bool)0 || enqueue_flag == (_Bool)1) [2024-01-30 14:26:45,819 INFO L98 nessWitnessExtractor]: Location invariant before [L1043-L1043] (((((((((((((((0 <= queue.tail) && (0 <= ((QType *)arg)->tail)) && (1 <= queue.head)) && (1 <= ((QType *)arg)->head)) && (queue.amount <= 2147483646)) && (queue.head <= 400)) && (queue.tail <= 400)) && (((QType *)arg)->amount <= 2147483646)) && (((QType *)arg)->head <= 400)) && (((QType *)arg)->tail <= 400)) && (dequeue_flag == (_Bool)1)) && (arg == (void *)(& queue))) && (queue.head != 401)) && (((QType *)arg)->head != 401)) && (enqueue_flag == (_Bool)0 || enqueue_flag == (_Bool)1)) && ((((i == 2 || i == 1) || (0 == i && i == 0)) || (4 <= i && i <= 399)) || i == 3) [2024-01-30 14:26:45,819 INFO L98 nessWitnessExtractor]: Location invariant before [L996-L996] ((((((((((0 <= queue.head) && (0 <= queue.tail)) && (0 <= q->head)) && (0 <= q->tail)) && (queue.head <= 400)) && (queue.tail <= 400)) && (q->head <= 400)) && (q->tail <= 400)) && (dequeue_flag == (_Bool)1)) && (q == & queue)) && (enqueue_flag == (_Bool)0 || enqueue_flag == (_Bool)1) [2024-01-30 14:26:45,819 INFO L98 nessWitnessExtractor]: Location invariant before [L988-L988] ((((((((((((((-2147483647 <= queue.amount) && (-2147483647 <= q->amount)) && (0 <= queue.head)) && (0 <= queue.tail)) && (0 <= q->head)) && (0 <= q->tail)) && (queue.head <= 400)) && (queue.tail <= 399)) && (q->head <= 400)) && (q->tail <= 399)) && (q == & queue)) && (queue.tail != 400)) && (q->tail != 400)) && (enqueue_flag == (_Bool)0 || enqueue_flag == (_Bool)1)) && (dequeue_flag == (_Bool)0 || dequeue_flag == (_Bool)1) [2024-01-30 14:26:45,819 INFO L98 nessWitnessExtractor]: Location invariant before [L1026-L1026] (((((((((((((((-2147483647 <= queue.amount) && (-2147483647 <= ((QType *)arg)->amount)) && (0 <= queue.head)) && (0 <= ((QType *)arg)->head)) && (1 <= queue.tail)) && (1 <= ((QType *)arg)->tail)) && (queue.head <= 400)) && (queue.tail <= 400)) && (((QType *)arg)->head <= 400)) && (((QType *)arg)->tail <= 400)) && (enqueue_flag == (_Bool)1)) && (arg == (void *)(& queue))) && (queue.tail != 401)) && (((QType *)arg)->tail != 401)) && (dequeue_flag == (_Bool)0 || dequeue_flag == (_Bool)1)) && (((((i == 3 || i == 2) || i == 1) || (0 == i && i == 0)) || (5 <= i && i <= 398)) || i == 4) [2024-01-30 14:26:45,819 INFO L98 nessWitnessExtractor]: Location invariant before [L1023-L1023] (((((((((((0 <= queue.head) && (0 <= queue.tail)) && (0 <= ((QType *)arg)->head)) && (0 <= ((QType *)arg)->tail)) && (queue.head <= 400)) && (queue.tail <= 400)) && (((QType *)arg)->head <= 400)) && (((QType *)arg)->tail <= 400)) && (enqueue_flag == (_Bool)1)) && (arg == (void *)(& queue))) && (dequeue_flag == (_Bool)0 || dequeue_flag == (_Bool)1)) && (((((i == 3 || i == 2) || i == 1) || (0 == i && i == 0)) || (5 <= i && i <= 398)) || i == 4) [2024-01-30 14:26:45,819 INFO L98 nessWitnessExtractor]: Loop invariant at [L1018-L1030] ((((0 <= ((QType *)arg)->head) && (0 <= ((QType *)arg)->tail)) && (((QType *)arg)->head <= 400)) && (((QType *)arg)->tail <= 400)) && (arg == (void *)(& queue)) [2024-01-30 14:26:45,820 INFO L98 nessWitnessExtractor]: Location invariant before [L990-L990] ((((((((((((((-2147483647 <= queue.amount) && (-2147483647 <= q->amount)) && (0 <= queue.head)) && (0 <= q->head)) && (1 <= queue.tail)) && (1 <= q->tail)) && (queue.head <= 400)) && (queue.tail <= 400)) && (q->head <= 400)) && (q->tail <= 400)) && (q == & queue)) && (queue.tail != 401)) && (q->tail != 401)) && (enqueue_flag == (_Bool)0 || enqueue_flag == (_Bool)1)) && (dequeue_flag == (_Bool)0 || dequeue_flag == (_Bool)1) [2024-01-30 14:26:45,865 INFO L177 MainTranslator]: Built tables and reachable declarations [2024-01-30 14:26:46,208 WARN L239 ndardFunctionHandler]: Function reach_error is already implemented but we override the implementation for the call at /storage/repos/ultimate/trunk/examples/svcomp/pthread/queue_longer.i[43296,43309] [2024-01-30 14:26:46,225 WARN L239 ndardFunctionHandler]: Function reach_error is already implemented but we override the implementation for the call at /storage/repos/ultimate/trunk/examples/svcomp/pthread/queue_longer.i[43503,43516] [2024-01-30 14:26:46,228 WARN L239 ndardFunctionHandler]: Function reach_error is already implemented but we override the implementation for the call at /storage/repos/ultimate/trunk/examples/svcomp/pthread/queue_longer.i[43783,43796] [2024-01-30 14:26:46,231 INFO L209 PostProcessor]: Analyzing one entry point: main [2024-01-30 14:26:46,238 INFO L202 MainTranslator]: Completed pre-run [2024-01-30 14:26:46,246 WARN L424 MainDispatcher]: Unable to annotate typedef unsigned char __u_char; with a witness entry Start Parsing Local Start Parsing Local Start Parsing Local [2024-01-30 14:26:46,815 WARN L424 MainDispatcher]: Unable to annotate void init(QType *q) { q->head=0; q->tail=0; q->amount=0; } with a witness entry Start Parsing Local Start Parsing Local Start Parsing Local Start Parsing Local Start Parsing Local Start Parsing Local Start Parsing Local Start Parsing Local Start Parsing Local Start Parsing Local Start Parsing Local Start Parsing Local Start Parsing Local Start Parsing Local Start Parsing Local Start Parsing Local Syntax error [2024-01-30 14:26:49,933 ERROR L324 MainTranslator]: Unsupported Syntax: Unable to instrument "((((((((0 <= ((QType *)arg)->head) && (0 <= ((QType *)arg)->tail)) && (((QType *)arg)->head <= 400)) && (((QType *)arg)->tail <= 400)) && ((4294967296LL + (long long )i) + (long long )value >= 0LL)) && ((4294967295LL - (long long )i) + (long long )value >= 0LL)) && ((4294967295LL + (long long )i) - (long long )value >= 0LL)) && ((4294967294LL - (long long )i) - (long long )value >= 0LL)) && (arg == (void *)(& queue))" at C: pthread_mutex_lock(&m); [1008] (Syntax Error: #34[rpar](0/30 - 0/31)) [2024-01-30 14:26:49,933 INFO L204 PluginConnector]: Invalid model from CACSL2BoogieTranslator for observer de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator.CACSL2BoogieTranslatorObserver@72a37ed0 and model type de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 30.01 02:26:49, skipping insertion in model container [2024-01-30 14:26:49,934 INFO L131 PluginConnector]: ------------------------ END CACSL2BoogieTranslator---------------------------- [2024-01-30 14:26:49,934 INFO L186 ToolchainWalker]: Toolchain execution was canceled (user or tool) before executing de.uni_freiburg.informatik.ultimate.boogie.procedureinliner [2024-01-30 14:26:49,935 INFO L158 Benchmark]: Toolchain (without parser) took 4526.34ms. Allocated memory was 159.4MB in the beginning and 2.3GB in the end (delta: 2.2GB). Free memory was 106.4MB in the beginning and 1.6GB in the end (delta: -1.5GB). Peak memory consumption was 882.4MB. Max. memory is 16.1GB. [2024-01-30 14:26:49,936 INFO L158 Benchmark]: Witness Parser took 0.16ms. Allocated memory is still 113.2MB. Free memory is still 62.8MB. There was no memory consumed. Max. memory is 16.1GB. [2024-01-30 14:26:49,936 INFO L158 Benchmark]: CDTParser took 0.14ms. Allocated memory is still 113.2MB. Free memory is still 64.8MB. There was no memory consumed. Max. memory is 16.1GB. [2024-01-30 14:26:49,936 INFO L158 Benchmark]: CACSL2BoogieTranslator took 4524.26ms. Allocated memory was 159.4MB in the beginning and 2.3GB in the end (delta: 2.2GB). Free memory was 105.8MB in the beginning and 1.6GB in the end (delta: -1.5GB). Peak memory consumption was 880.3MB. Max. memory is 16.1GB. [2024-01-30 14:26:49,937 INFO L338 ainManager$Toolchain]: ####################### End [Toolchain 1] ####################### --- Results --- * Results from de.uni_freiburg.informatik.ultimate.core: - StatisticsResult: Toolchain Benchmarks Benchmark results are: * Witness Parser took 0.16ms. Allocated memory is still 113.2MB. Free memory is still 62.8MB. There was no memory consumed. Max. memory is 16.1GB. * CDTParser took 0.14ms. Allocated memory is still 113.2MB. Free memory is still 64.8MB. There was no memory consumed. Max. memory is 16.1GB. * CACSL2BoogieTranslator took 4524.26ms. Allocated memory was 159.4MB in the beginning and 2.3GB in the end (delta: 2.2GB). Free memory was 105.8MB in the beginning and 1.6GB in the end (delta: -1.5GB). Peak memory consumption was 880.3MB. Max. memory is 16.1GB. * Results from de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator: - UnsupportedSyntaxResult [Line: 1008]: Unsupported Syntax Unable to instrument "((((((((0 <= ((QType *)arg)->head) && (0 <= ((QType *)arg)->tail)) && (((QType *)arg)->head <= 400)) && (((QType *)arg)->tail <= 400)) && ((4294967296LL + (long long )i) + (long long )value >= 0LL)) && ((4294967295LL - (long long )i) + (long long )value >= 0LL)) && ((4294967295LL + (long long )i) - (long long )value >= 0LL)) && ((4294967294LL - (long long )i) - (long long )value >= 0LL)) && (arg == (void *)(& queue))" at C: pthread_mutex_lock(&m); [1008] (Syntax Error: #34[rpar](0/30 - 0/31)) RESULT: Ultimate could not prove your program: Toolchain returned no result. Received shutdown request... --- End real Ultimate output --- Execution finished normally Using bit-precise analysis Retrying with bit-precise analysis ### Bit-precise run ### Calling Ultimate with: /root/.sdkman/candidates/java/current/bin/java -Dosgi.configuration.area=/storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/data/config -Xmx15G -Xms4m -jar /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/plugins/org.eclipse.equinox.launcher_1.5.800.v20200727-1323.jar -data @noDefault -ultimatedata /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/data -tc /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/config/AutomizerReachWitnessValidation.xml -i ../../../trunk/examples/svcomp/pthread/queue_longer.i ./goblint.2023-12-19_14-39-08.files/SV-COMP24_unreach-call/queue_longer.yml/witness.yml -s /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/config/svcomp-Reach-32bit-Automizer_Bitvector.epf --cacsl2boogietranslator.entry.function main --traceabstraction.compute.hoare.annotation.of.negated.interpolant.automaton,.abstraction.and.cfg false --witnessparser.only.consider.loop.invariants false --- Real Ultimate output --- This is Ultimate 0.2.4-dev-3d25acf-m [2024-01-30 14:26:51,719 INFO L188 SettingsManager]: Resetting all preferences to default values... [2024-01-30 14:26:51,782 INFO L114 SettingsManager]: Loading settings from /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/config/svcomp-Reach-32bit-Automizer_Bitvector.epf [2024-01-30 14:26:51,787 WARN L101 SettingsManager]: Preference file contains the following unknown settings: [2024-01-30 14:26:51,788 WARN L103 SettingsManager]: * de.uni_freiburg.informatik.ultimate.core.Log level for class [2024-01-30 14:26:51,822 INFO L130 SettingsManager]: Preferences different from defaults after loading the file: [2024-01-30 14:26:51,823 INFO L151 SettingsManager]: Preferences of UltimateCore differ from their defaults: [2024-01-30 14:26:51,823 INFO L153 SettingsManager]: * Log level for class=de.uni_freiburg.informatik.ultimate.lib.smtlibutils.quantifier.QuantifierPusher=ERROR; [2024-01-30 14:26:51,824 INFO L151 SettingsManager]: Preferences of Boogie Preprocessor differ from their defaults: [2024-01-30 14:26:51,824 INFO L153 SettingsManager]: * Use memory slicer=true [2024-01-30 14:26:51,824 INFO L151 SettingsManager]: Preferences of Boogie Procedure Inliner differ from their defaults: [2024-01-30 14:26:51,824 INFO L153 SettingsManager]: * Ignore calls to procedures called more than once=ONLY_FOR_SEQUENTIAL_PROGRAMS [2024-01-30 14:26:51,825 INFO L151 SettingsManager]: Preferences of BlockEncodingV2 differ from their defaults: [2024-01-30 14:26:51,825 INFO L153 SettingsManager]: * Create parallel compositions if possible=false [2024-01-30 14:26:51,825 INFO L153 SettingsManager]: * Use SBE=true [2024-01-30 14:26:51,826 INFO L151 SettingsManager]: Preferences of CACSL2BoogieTranslator differ from their defaults: [2024-01-30 14:26:51,826 INFO L153 SettingsManager]: * Pointer base address is valid at dereference=IGNORE [2024-01-30 14:26:51,826 INFO L153 SettingsManager]: * sizeof long=4 [2024-01-30 14:26:51,826 INFO L153 SettingsManager]: * sizeof POINTER=4 [2024-01-30 14:26:51,827 INFO L153 SettingsManager]: * Check division by zero=IGNORE [2024-01-30 14:26:51,827 INFO L153 SettingsManager]: * Pointer to allocated memory at dereference=IGNORE [2024-01-30 14:26:51,830 INFO L153 SettingsManager]: * If two pointers are subtracted or compared they have the same base address=IGNORE [2024-01-30 14:26:51,830 INFO L153 SettingsManager]: * Check array bounds for arrays that are off heap=IGNORE [2024-01-30 14:26:51,831 INFO L153 SettingsManager]: * Adapt memory model on pointer casts if necessary=true [2024-01-30 14:26:51,831 INFO L153 SettingsManager]: * Use bitvectors instead of ints=true [2024-01-30 14:26:51,831 INFO L153 SettingsManager]: * Allow undefined functions=false [2024-01-30 14:26:51,831 INFO L153 SettingsManager]: * Memory model=HoenickeLindenmann_4ByteResolution [2024-01-30 14:26:51,832 INFO L153 SettingsManager]: * sizeof long double=12 [2024-01-30 14:26:51,832 INFO L153 SettingsManager]: * Check if freed pointer was valid=false [2024-01-30 14:26:51,832 INFO L153 SettingsManager]: * Use constant arrays=true [2024-01-30 14:26:51,832 INFO L151 SettingsManager]: Preferences of RCFGBuilder differ from their defaults: [2024-01-30 14:26:51,832 INFO L153 SettingsManager]: * Size of a code block=SequenceOfStatements [2024-01-30 14:26:51,833 INFO L153 SettingsManager]: * Only consider context switches at boundaries of atomic blocks=true [2024-01-30 14:26:51,833 INFO L153 SettingsManager]: * SMT solver=External_DefaultMode [2024-01-30 14:26:51,833 INFO L153 SettingsManager]: * Command for external solver=z3 SMTLIB2_COMPLIANT=true -memory:2024 -smt2 -in -t:4000 [2024-01-30 14:26:51,833 INFO L151 SettingsManager]: Preferences of TraceAbstraction differ from their defaults: [2024-01-30 14:26:51,834 INFO L153 SettingsManager]: * Compute Interpolants along a Counterexample=FPandBP [2024-01-30 14:26:51,834 INFO L153 SettingsManager]: * Positions where we compute the Hoare Annotation=LoopHeads [2024-01-30 14:26:51,834 INFO L153 SettingsManager]: * Trace refinement strategy=WOLF [2024-01-30 14:26:51,834 INFO L153 SettingsManager]: * Command for external solver=cvc4 --incremental --print-success --lang smt [2024-01-30 14:26:51,835 INFO L153 SettingsManager]: * Apply one-shot large block encoding in concurrent analysis=false [2024-01-30 14:26:51,837 INFO L153 SettingsManager]: * Automaton type used in concurrency analysis=PETRI_NET [2024-01-30 14:26:51,838 INFO L153 SettingsManager]: * Compute Hoare Annotation of negated interpolant automaton, abstraction and CFG=true [2024-01-30 14:26:51,838 INFO L153 SettingsManager]: * Order on configurations for Petri net unfoldings=DBO [2024-01-30 14:26:51,838 INFO L153 SettingsManager]: * SMT solver=External_ModelsAndUnsatCoreMode [2024-01-30 14:26:51,838 INFO L153 SettingsManager]: * Logic for external solver=AUFBV [2024-01-30 14:26:51,838 INFO L153 SettingsManager]: * Looper check in Petri net analysis=SEMANTIC WARNING: An illegal reflective access operation has occurred WARNING: Illegal reflective access by com.sun.xml.bind.v2.runtime.reflect.opt.Injector$1 (file:/storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/plugins/com.sun.xml.bind_2.2.0.v201505121915.jar) to method java.lang.ClassLoader.defineClass(java.lang.String,byte[],int,int) WARNING: Please consider reporting this to the maintainers of com.sun.xml.bind.v2.runtime.reflect.opt.Injector$1 WARNING: Use --illegal-access=warn to enable warnings of further illegal reflective access operations WARNING: All illegal access operations will be denied in a future release Applying setting for plugin de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator: Entry function -> main Applying setting for plugin de.uni_freiburg.informatik.ultimate.plugins.generator.traceabstraction: Compute Hoare Annotation of negated interpolant automaton, abstraction and CFG -> false Applying setting for plugin de.uni_freiburg.informatik.ultimate.witnessparser: Only consider loop invariants -> false [2024-01-30 14:26:52,114 INFO L75 nceAwareModelManager]: Repository-Root is: /tmp [2024-01-30 14:26:52,129 INFO L261 ainManager$Toolchain]: [Toolchain 1]: Applicable parser(s) successfully (re)initialized [2024-01-30 14:26:52,132 INFO L217 ainManager$Toolchain]: [Toolchain 1]: Toolchain selected. [2024-01-30 14:26:52,133 INFO L270 PluginConnector]: Initializing Witness Parser... [2024-01-30 14:26:52,133 INFO L274 PluginConnector]: Witness Parser initialized [2024-01-30 14:26:52,135 INFO L431 ainManager$Toolchain]: [Toolchain 1]: Parsing single file: /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/./goblint.2023-12-19_14-39-08.files/SV-COMP24_unreach-call/queue_longer.yml/witness.yml [2024-01-30 14:26:52,382 INFO L270 PluginConnector]: Initializing CDTParser... [2024-01-30 14:26:52,384 INFO L274 PluginConnector]: CDTParser initialized [2024-01-30 14:26:52,385 INFO L431 ainManager$Toolchain]: [Toolchain 1]: Parsing single file: /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/../../../trunk/examples/svcomp/pthread/queue_longer.i [2024-01-30 14:26:53,548 INFO L533 CDTParser]: Created temporary CDT project at NULL [2024-01-30 14:26:53,739 INFO L384 CDTParser]: Found 1 translation units. [2024-01-30 14:26:53,742 INFO L180 CDTParser]: Scanning /storage/repos/ultimate/trunk/examples/svcomp/pthread/queue_longer.i [2024-01-30 14:26:53,755 INFO L427 CDTParser]: About to delete temporary CDT project at /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/data/4c3c3c2cd/953a968669ae4caba12e3c6280f4f116/FLAG75eb05fdd [2024-01-30 14:26:53,767 INFO L435 CDTParser]: Successfully deleted /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/data/4c3c3c2cd/953a968669ae4caba12e3c6280f4f116 [2024-01-30 14:26:53,767 INFO L299 ainManager$Toolchain]: ####################### [Toolchain 1] ####################### [2024-01-30 14:26:53,768 INFO L133 ToolchainWalker]: Walking toolchain with 5 elements. [2024-01-30 14:26:53,769 INFO L112 PluginConnector]: ------------------------CACSL2BoogieTranslator---------------------------- [2024-01-30 14:26:53,769 INFO L270 PluginConnector]: Initializing CACSL2BoogieTranslator... [2024-01-30 14:26:53,773 INFO L274 PluginConnector]: CACSL2BoogieTranslator initialized [2024-01-30 14:26:53,773 INFO L184 PluginConnector]: Executing the observer ACSLObjectContainerObserver from plugin CACSL2BoogieTranslator for "witness.yml de.uni_freiburg.informatik.ultimate.witnessparser CORRECTNESS_WITNESS 30.01 02:26:52" (1/2) ... [2024-01-30 14:26:53,774 INFO L204 PluginConnector]: Invalid model from CACSL2BoogieTranslator for observer de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator.ACSLObjectContainerObserver@225aab71 and model type witness.yml de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator CORRECTNESS_WITNESS 30.01 02:26:53, skipping insertion in model container [2024-01-30 14:26:53,774 INFO L184 PluginConnector]: Executing the observer CACSL2BoogieTranslatorObserver from plugin CACSL2BoogieTranslator for "witness.yml de.uni_freiburg.informatik.ultimate.witnessparser CORRECTNESS_WITNESS 30.01 02:26:52" (1/2) ... [2024-01-30 14:26:53,775 INFO L204 PluginConnector]: Invalid model from CACSL2BoogieTranslator for observer de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator.CACSL2BoogieTranslatorObserver@79a56375 and model type witness.yml de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator CORRECTNESS_WITNESS 30.01 02:26:53, skipping insertion in model container [2024-01-30 14:26:53,775 INFO L184 PluginConnector]: Executing the observer ACSLObjectContainerObserver from plugin CACSL2BoogieTranslator for "CDTParser AST 30.01 02:26:53" (2/2) ... [2024-01-30 14:26:53,776 INFO L204 PluginConnector]: Invalid model from CACSL2BoogieTranslator for observer de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator.ACSLObjectContainerObserver@225aab71 and model type de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 30.01 02:26:53, skipping insertion in model container [2024-01-30 14:26:53,776 INFO L184 PluginConnector]: Executing the observer CACSL2BoogieTranslatorObserver from plugin CACSL2BoogieTranslator for "CDTParser AST 30.01 02:26:53" (2/2) ... [2024-01-30 14:26:53,776 INFO L83 nessWitnessExtractor]: Extracting all invariants from correctness witness [2024-01-30 14:26:54,176 INFO L96 nessWitnessExtractor]: Found the following entries in the witness: [2024-01-30 14:26:54,177 INFO L98 nessWitnessExtractor]: Location invariant before [L1010-L1012] (((((((((0 <= queue.head) && (0 <= ((QType *)arg)->head)) && (queue.head <= 400)) && (queue.tail <= 400)) && (((QType *)arg)->head <= 400)) && (((QType *)arg)->tail <= 400)) && (arg == (void *)(& queue))) && (enqueue_flag == (_Bool)0 || enqueue_flag == (_Bool)1)) && (dequeue_flag == (_Bool)0 || dequeue_flag == (_Bool)1)) && ((((((-2147483647 <= queue.amount && -2147483647 <= ((QType *)arg)->amount) && 1 <= queue.tail) && 1 <= ((QType *)arg)->tail) && queue.tail != 401) && ((QType *)arg)->tail != 401) || (0 <= queue.tail && 0 <= ((QType *)arg)->tail)) [2024-01-30 14:26:54,177 INFO L98 nessWitnessExtractor]: Location invariant before [L1045-L1045] (((((((((((((((0 <= queue.tail) && (0 <= ((QType *)arg)->tail)) && (1 <= queue.head)) && (1 <= ((QType *)arg)->head)) && (queue.amount <= 2147483646)) && (queue.head <= 400)) && (queue.tail <= 400)) && (((QType *)arg)->amount <= 2147483646)) && (((QType *)arg)->head <= 400)) && (((QType *)arg)->tail <= 400)) && (dequeue_flag == (_Bool)1)) && (arg == (void *)(& queue))) && (queue.head != 401)) && (((QType *)arg)->head != 401)) && (enqueue_flag == (_Bool)0 || enqueue_flag == (_Bool)1)) && ((((i == 2 || i == 1) || (0 == i && i == 0)) || (4 <= i && i <= 399)) || i == 3) [2024-01-30 14:26:54,177 INFO L98 nessWitnessExtractor]: Location invariant before [L1055-L1055] ((((enqueue_flag == (_Bool)0) && (dequeue_flag == (_Bool)0)) && (queue.amount == 0)) && (queue.head == 0)) && (queue.tail == 0) [2024-01-30 14:26:54,178 INFO L98 nessWitnessExtractor]: Location invariant before [L1013-L1013] ((((((((((((((-2147483647 <= queue.amount) && (-2147483647 <= ((QType *)arg)->amount)) && (0 <= queue.head)) && (0 <= ((QType *)arg)->head)) && (1 <= queue.tail)) && (1 <= ((QType *)arg)->tail)) && (queue.head <= 400)) && (queue.tail <= 400)) && (((QType *)arg)->head <= 400)) && (((QType *)arg)->tail <= 400)) && (arg == (void *)(& queue))) && (queue.tail != 401)) && (((QType *)arg)->tail != 401)) && (enqueue_flag == (_Bool)0 || enqueue_flag == (_Bool)1)) && (dequeue_flag == (_Bool)0 || dequeue_flag == (_Bool)1) [2024-01-30 14:26:54,178 INFO L98 nessWitnessExtractor]: Location invariant before [L1026-L1026] (((((((((((((((-2147483647 <= queue.amount) && (-2147483647 <= ((QType *)arg)->amount)) && (0 <= queue.head)) && (0 <= ((QType *)arg)->head)) && (1 <= queue.tail)) && (1 <= ((QType *)arg)->tail)) && (queue.head <= 400)) && (queue.tail <= 400)) && (((QType *)arg)->head <= 400)) && (((QType *)arg)->tail <= 400)) && (enqueue_flag == (_Bool)1)) && (arg == (void *)(& queue))) && (queue.tail != 401)) && (((QType *)arg)->tail != 401)) && (dequeue_flag == (_Bool)0 || dequeue_flag == (_Bool)1)) && (((((i == 3 || i == 2) || i == 1) || (0 == i && i == 0)) || (5 <= i && i <= 398)) || i == 4) [2024-01-30 14:26:54,178 INFO L98 nessWitnessExtractor]: Location invariant before [L1061-L1061] ((((enqueue_flag == (_Bool)1) && (dequeue_flag == (_Bool)0)) && (queue.amount == 0)) && (queue.head == 0)) && (queue.tail == 0) [2024-01-30 14:26:54,178 INFO L98 nessWitnessExtractor]: Location invariant before [L1062-L1062] ((((enqueue_flag == (_Bool)1) && (dequeue_flag == (_Bool)0)) && (queue.amount == 0)) && (queue.head == 0)) && (queue.tail == 0) [2024-01-30 14:26:54,178 INFO L98 nessWitnessExtractor]: Location invariant before [L1043-L1043] (((((((((((((((0 <= queue.tail) && (0 <= ((QType *)arg)->tail)) && (1 <= queue.head)) && (1 <= ((QType *)arg)->head)) && (queue.amount <= 2147483646)) && (queue.head <= 400)) && (queue.tail <= 400)) && (((QType *)arg)->amount <= 2147483646)) && (((QType *)arg)->head <= 400)) && (((QType *)arg)->tail <= 400)) && (dequeue_flag == (_Bool)1)) && (arg == (void *)(& queue))) && (queue.head != 401)) && (((QType *)arg)->head != 401)) && (enqueue_flag == (_Bool)0 || enqueue_flag == (_Bool)1)) && ((((i == 2 || i == 1) || (0 == i && i == 0)) || (4 <= i && i <= 399)) || i == 3) [2024-01-30 14:26:54,178 INFO L98 nessWitnessExtractor]: Location invariant after [L952-L957] ((((((((enqueue_flag == (_Bool)1) && (dequeue_flag == (_Bool)0)) && (queue.amount == 0)) && (queue.head == 0)) && (queue.tail == 0)) && (q == & queue)) && (q->amount == 0)) && (q->head == 0)) && (q->tail == 0) [2024-01-30 14:26:54,178 INFO L98 nessWitnessExtractor]: Location invariant before [L1031-L1031] (((((0 <= ((QType *)arg)->head) && (0 <= ((QType *)arg)->tail)) && (((QType *)arg)->head <= 400)) && (((QType *)arg)->tail <= 400)) && (arg == (void *)(& queue))) && (i == 399) [2024-01-30 14:26:54,179 INFO L98 nessWitnessExtractor]: Location invariant before [L1027-L1027] (((((((((((((((-2147483647 <= queue.amount) && (-2147483647 <= ((QType *)arg)->amount)) && (0 <= queue.head)) && (0 <= ((QType *)arg)->head)) && (1 <= queue.tail)) && (1 <= ((QType *)arg)->tail)) && (queue.head <= 400)) && (queue.tail <= 400)) && (((QType *)arg)->head <= 400)) && (((QType *)arg)->tail <= 400)) && (enqueue_flag == (_Bool)0)) && (arg == (void *)(& queue))) && (queue.tail != 401)) && (((QType *)arg)->tail != 401)) && (dequeue_flag == (_Bool)0 || dequeue_flag == (_Bool)1)) && (((((i == 3 || i == 2) || i == 1) || (0 == i && i == 0)) || (5 <= i && i <= 398)) || i == 4) [2024-01-30 14:26:54,179 INFO L98 nessWitnessExtractor]: Location invariant before [L1008-L1008] ((((((((0 <= ((QType *)arg)->head) && (0 <= ((QType *)arg)->tail)) && (((QType *)arg)->head <= 400)) && (((QType *)arg)->tail <= 400)) && ((4294967296LL + (long long )i) + (long long )value >= 0LL)) && ((4294967295LL - (long long )i) + (long long )value >= 0LL)) && ((4294967295LL + (long long )i) - (long long )value >= 0LL)) && ((4294967294LL - (long long )i) - (long long )value >= 0LL)) && (arg == (void *)(& queue)) [2024-01-30 14:26:54,179 INFO L98 nessWitnessExtractor]: Location invariant before [L1009-L1009] ((((((((((((((0 <= queue.head) && (0 <= queue.tail)) && (0 <= ((QType *)arg)->head)) && (0 <= ((QType *)arg)->tail)) && (queue.head <= 400)) && (queue.tail <= 400)) && (((QType *)arg)->head <= 400)) && (((QType *)arg)->tail <= 400)) && ((4294967296LL + (long long )i) + (long long )value >= 0LL)) && ((4294967295LL - (long long )i) + (long long )value >= 0LL)) && ((4294967295LL + (long long )i) - (long long )value >= 0LL)) && ((4294967294LL - (long long )i) - (long long )value >= 0LL)) && (arg == (void *)(& queue))) && (enqueue_flag == (_Bool)0 || enqueue_flag == (_Bool)1)) && (dequeue_flag == (_Bool)0 || dequeue_flag == (_Bool)1) [2024-01-30 14:26:54,179 INFO L98 nessWitnessExtractor]: Location invariant after [L997-L1002] ((((((((((((((0 <= queue.head) && (0 <= queue.tail)) && (0 <= q->head)) && (0 <= q->tail)) && (queue.amount <= 2147483646)) && (queue.head <= 399)) && (queue.tail <= 400)) && (q->amount <= 2147483646)) && (q->head <= 399)) && (q->tail <= 400)) && (dequeue_flag == (_Bool)1)) && (q == & queue)) && (queue.head != 400)) && (q->head != 400)) && (enqueue_flag == (_Bool)0 || enqueue_flag == (_Bool)1) [2024-01-30 14:26:54,179 INFO L98 nessWitnessExtractor]: Location invariant before [L997-L1002] ((((((((((((0 <= queue.head) && (0 <= queue.tail)) && (0 <= q->head)) && (0 <= q->tail)) && (queue.amount <= 2147483646)) && (queue.head <= 400)) && (queue.tail <= 400)) && (q->amount <= 2147483646)) && (q->head <= 400)) && (q->tail <= 400)) && (dequeue_flag == (_Bool)1)) && (q == & queue)) && (enqueue_flag == (_Bool)0 || enqueue_flag == (_Bool)1) [2024-01-30 14:26:54,179 INFO L98 nessWitnessExtractor]: Location invariant before [L990-L990] ((((((((((((((-2147483647 <= queue.amount) && (-2147483647 <= q->amount)) && (0 <= queue.head)) && (0 <= q->head)) && (1 <= queue.tail)) && (1 <= q->tail)) && (queue.head <= 400)) && (queue.tail <= 400)) && (q->head <= 400)) && (q->tail <= 400)) && (q == & queue)) && (queue.tail != 401)) && (q->tail != 401)) && (enqueue_flag == (_Bool)0 || enqueue_flag == (_Bool)1)) && (dequeue_flag == (_Bool)0 || dequeue_flag == (_Bool)1) [2024-01-30 14:26:54,179 INFO L98 nessWitnessExtractor]: Location invariant before [L955-L955] ((((((((enqueue_flag == (_Bool)1) && (dequeue_flag == (_Bool)0)) && (queue.amount == 0)) && (queue.head == 0)) && (queue.tail == 0)) && (q == & queue)) && (q->amount == 0)) && (q->head == 0)) && (q->tail == 0) [2024-01-30 14:26:54,180 INFO L98 nessWitnessExtractor]: Location invariant before [L960-L966] (q == & queue) && ((((((((enqueue_flag == (_Bool)1 && dequeue_flag == (_Bool)0) && queue.amount == 0) && queue.head == 0) && queue.tail == 0) && q->amount == 0) && q->head == 0) && q->tail == 0) || (((((((((((((-2147483647 <= queue.amount && -2147483647 <= q->amount) && 0 <= queue.head) && 0 <= q->head) && 1 <= queue.tail) && 1 <= q->tail) && queue.head <= 400) && queue.tail <= 400) && q->head <= 400) && q->tail <= 400) && queue.tail != 401) && q->tail != 401) && (enqueue_flag == (_Bool)0 || enqueue_flag == (_Bool)1)) && (dequeue_flag == (_Bool)0 || dequeue_flag == (_Bool)1))) [2024-01-30 14:26:54,180 INFO L98 nessWitnessExtractor]: Location invariant after [L960-L966] ((((((((((((((-2147483647 <= queue.amount) && (-2147483647 <= q->amount)) && (0 <= queue.head)) && (0 <= q->head)) && (1 <= queue.tail)) && (1 <= q->tail)) && (queue.head <= 400)) && (queue.tail <= 400)) && (q->head <= 400)) && (q->tail <= 400)) && (q == & queue)) && (queue.tail != 401)) && (q->tail != 401)) && (enqueue_flag == (_Bool)0 || enqueue_flag == (_Bool)1)) && (dequeue_flag == (_Bool)0 || dequeue_flag == (_Bool)1) [2024-01-30 14:26:54,180 INFO L98 nessWitnessExtractor]: Location invariant before [L22-L22] (((((0 <= queue.head) && (0 <= queue.tail)) && (queue.head <= 400)) && (queue.tail <= 400)) && (enqueue_flag == (_Bool)0 || enqueue_flag == (_Bool)1)) && (dequeue_flag == (_Bool)0 || dequeue_flag == (_Bool)1) [2024-01-30 14:26:54,180 INFO L98 nessWitnessExtractor]: Location invariant before [L962-L962] (q == & queue) && ((((((((enqueue_flag == (_Bool)1 && dequeue_flag == (_Bool)0) && queue.amount == 0) && queue.head == 0) && queue.tail == 0) && q->amount == 0) && q->head == 0) && q->tail == 0) || (((((((((((((((-2147483647 <= queue.amount && -2147483647 <= q->amount) && 1 <= queue.head) && 1 <= queue.tail) && 1 <= q->head) && 1 <= q->tail) && queue.head <= 400) && queue.tail <= 400) && q->head <= 400) && q->tail <= 400) && queue.head != 401) && queue.tail != 401) && q->head != 401) && q->tail != 401) && (enqueue_flag == (_Bool)0 || enqueue_flag == (_Bool)1)) && (dequeue_flag == (_Bool)0 || dequeue_flag == (_Bool)1))) [2024-01-30 14:26:54,181 INFO L98 nessWitnessExtractor]: Location invariant before [L1020-L1020] (((((0 <= ((QType *)arg)->head) && (0 <= ((QType *)arg)->tail)) && (((QType *)arg)->head <= 400)) && (((QType *)arg)->tail <= 400)) && (arg == (void *)(& queue))) && (((((i == 3 || i == 2) || i == 1) || (0 == i && i == 0)) || (5 <= i && i <= 398)) || i == 4) [2024-01-30 14:26:54,181 INFO L98 nessWitnessExtractor]: Location invariant before [L1024-L1024] (((((((((((0 <= queue.head) && (0 <= queue.tail)) && (0 <= ((QType *)arg)->head)) && (0 <= ((QType *)arg)->tail)) && (queue.head <= 400)) && (queue.tail <= 400)) && (((QType *)arg)->head <= 400)) && (((QType *)arg)->tail <= 400)) && (enqueue_flag == (_Bool)1)) && (arg == (void *)(& queue))) && (dequeue_flag == (_Bool)0 || dequeue_flag == (_Bool)1)) && (((((i == 3 || i == 2) || i == 1) || (0 == i && i == 0)) || (5 <= i && i <= 398)) || i == 4) [2024-01-30 14:26:54,181 INFO L98 nessWitnessExtractor]: Location invariant before [L1042-L1044] (((((((((0 <= queue.tail) && (0 <= ((QType *)arg)->tail)) && (queue.head <= 400)) && (queue.tail <= 400)) && (((QType *)arg)->head <= 400)) && (((QType *)arg)->tail <= 400)) && (dequeue_flag == (_Bool)1)) && (arg == (void *)(& queue))) && (enqueue_flag == (_Bool)0 || enqueue_flag == (_Bool)1)) && (((((((((((((i == 2 && ((((((1 <= queue.head && 1 <= ((QType *)arg)->head) && queue.amount <= 2147483646) && ((QType *)arg)->amount <= 2147483646) && queue.head != 401) && ((QType *)arg)->head != 401) || (0 <= queue.head && 0 <= ((QType *)arg)->head))) || ((((((1 <= queue.head && 1 <= ((QType *)arg)->head) && queue.amount <= 2147483646) && ((QType *)arg)->amount <= 2147483646) && i == 1) && queue.head != 401) && ((QType *)arg)->head != 401)) || ((((((1 <= queue.head && 1 <= ((QType *)arg)->head) && queue.amount <= 2147483646) && ((QType *)arg)->amount <= 2147483646) && i == 1) && queue.head != 401) && ((QType *)arg)->head != 401)) || ((0 <= queue.head && 0 <= ((QType *)arg)->head) && i == 1)) || (((((((1 <= queue.head && 1 <= ((QType *)arg)->head) && queue.amount <= 2147483646) && ((QType *)arg)->amount <= 2147483646) && 0 == i) && i == 0) && queue.head != 401) && ((QType *)arg)->head != 401)) || (((((((1 <= queue.head && 1 <= ((QType *)arg)->head) && queue.amount <= 2147483646) && ((QType *)arg)->amount <= 2147483646) && 0 == i) && i == 0) && queue.head != 401) && ((QType *)arg)->head != 401)) || (((0 <= queue.head && 0 <= ((QType *)arg)->head) && 0 == i) && i == 0)) || (((((((1 <= queue.head && 1 <= ((QType *)arg)->head) && 4 <= i) && queue.amount <= 2147483646) && i <= 399) && ((QType *)arg)->amount <= 2147483646) && queue.head != 401) && ((QType *)arg)->head != 401)) || (((((((1 <= queue.head && 1 <= ((QType *)arg)->head) && 4 <= i) && queue.amount <= 2147483646) && i <= 399) && ((QType *)arg)->amount <= 2147483646) && queue.head != 401) && ((QType *)arg)->head != 401)) || (((0 <= queue.head && 0 <= ((QType *)arg)->head) && 4 <= i) && i <= 399)) || ((((((1 <= queue.head && 1 <= ((QType *)arg)->head) && queue.amount <= 2147483646) && ((QType *)arg)->amount <= 2147483646) && i == 3) && queue.head != 401) && ((QType *)arg)->head != 401)) || ((((((1 <= queue.head && 1 <= ((QType *)arg)->head) && queue.amount <= 2147483646) && ((QType *)arg)->amount <= 2147483646) && i == 3) && queue.head != 401) && ((QType *)arg)->head != 401)) || ((0 <= queue.head && 0 <= ((QType *)arg)->head) && i == 3)) [2024-01-30 14:26:54,181 INFO L98 nessWitnessExtractor]: Loop invariant at [L1037-L1049] ((((0 <= ((QType *)arg)->head) && (0 <= ((QType *)arg)->tail)) && (((QType *)arg)->head <= 400)) && (((QType *)arg)->tail <= 400)) && (arg == (void *)(& queue)) [2024-01-30 14:26:54,181 INFO L98 nessWitnessExtractor]: Location invariant before [L1023-L1023] (((((((((((0 <= queue.head) && (0 <= queue.tail)) && (0 <= ((QType *)arg)->head)) && (0 <= ((QType *)arg)->tail)) && (queue.head <= 400)) && (queue.tail <= 400)) && (((QType *)arg)->head <= 400)) && (((QType *)arg)->tail <= 400)) && (enqueue_flag == (_Bool)1)) && (arg == (void *)(& queue))) && (dequeue_flag == (_Bool)0 || dequeue_flag == (_Bool)1)) && (((((i == 3 || i == 2) || i == 1) || (0 == i && i == 0)) || (5 <= i && i <= 398)) || i == 4) [2024-01-30 14:26:54,181 INFO L98 nessWitnessExtractor]: Location invariant before [L1021-L1028] (((((((((((0 <= queue.head) && (0 <= queue.tail)) && (0 <= ((QType *)arg)->head)) && (0 <= ((QType *)arg)->tail)) && (queue.head <= 400)) && (queue.tail <= 400)) && (((QType *)arg)->head <= 400)) && (((QType *)arg)->tail <= 400)) && (arg == (void *)(& queue))) && (enqueue_flag == (_Bool)0 || enqueue_flag == (_Bool)1)) && (dequeue_flag == (_Bool)0 || dequeue_flag == (_Bool)1)) && (((((i == 3 || i == 2) || i == 1) || (0 == i && i == 0)) || (5 <= i && i <= 398)) || i == 4) [2024-01-30 14:26:54,182 INFO L98 nessWitnessExtractor]: Location invariant before [L980-L980] ((((((((((0 <= queue.head) && (0 <= queue.tail)) && (0 <= q->head)) && (0 <= q->tail)) && (queue.head <= 400)) && (queue.tail <= 400)) && (q->head <= 400)) && (q->tail <= 400)) && (q == & queue)) && (enqueue_flag == (_Bool)0 || enqueue_flag == (_Bool)1)) && (dequeue_flag == (_Bool)0 || dequeue_flag == (_Bool)1) [2024-01-30 14:26:54,182 INFO L98 nessWitnessExtractor]: Location invariant before [L1017-L1017] ((((((((((((((-2147483647 <= queue.amount) && (-2147483647 <= ((QType *)arg)->amount)) && (0 <= queue.head)) && (0 <= ((QType *)arg)->head)) && (1 <= queue.tail)) && (1 <= ((QType *)arg)->tail)) && (queue.head <= 400)) && (queue.tail <= 400)) && (((QType *)arg)->head <= 400)) && (((QType *)arg)->tail <= 400)) && (arg == (void *)(& queue))) && (queue.tail != 401)) && (((QType *)arg)->tail != 401)) && (enqueue_flag == (_Bool)0 || enqueue_flag == (_Bool)1)) && (dequeue_flag == (_Bool)0 || dequeue_flag == (_Bool)1) [2024-01-30 14:26:54,182 INFO L98 nessWitnessExtractor]: Location invariant before [L995-L995] ((((((((((0 <= queue.head) && (0 <= queue.tail)) && (0 <= q->head)) && (0 <= q->tail)) && (queue.head <= 400)) && (queue.tail <= 400)) && (q->head <= 400)) && (q->tail <= 400)) && (dequeue_flag == (_Bool)1)) && (q == & queue)) && (enqueue_flag == (_Bool)0 || enqueue_flag == (_Bool)1) [2024-01-30 14:26:54,182 INFO L98 nessWitnessExtractor]: Loop invariant at [L1018-L1030] ((((0 <= ((QType *)arg)->head) && (0 <= ((QType *)arg)->tail)) && (((QType *)arg)->head <= 400)) && (((QType *)arg)->tail <= 400)) && (arg == (void *)(& queue)) [2024-01-30 14:26:54,182 INFO L98 nessWitnessExtractor]: Location invariant before [L1050-L1050] (((((0 <= ((QType *)arg)->head) && (0 <= ((QType *)arg)->tail)) && (((QType *)arg)->head <= 400)) && (((QType *)arg)->tail <= 400)) && (arg == (void *)(& queue))) && (i == 400) [2024-01-30 14:26:54,183 INFO L98 nessWitnessExtractor]: Location invariant before [L982-L989] ((((((((((((-2147483647 <= queue.amount) && (-2147483647 <= q->amount)) && (0 <= queue.head)) && (0 <= queue.tail)) && (0 <= q->head)) && (0 <= q->tail)) && (queue.head <= 400)) && (queue.tail <= 400)) && (q->head <= 400)) && (q->tail <= 400)) && (q == & queue)) && (enqueue_flag == (_Bool)0 || enqueue_flag == (_Bool)1)) && (dequeue_flag == (_Bool)0 || dequeue_flag == (_Bool)1) [2024-01-30 14:26:54,183 INFO L98 nessWitnessExtractor]: Location invariant before [L1058-L1060] ((((enqueue_flag == (_Bool)1) && (dequeue_flag == (_Bool)0)) && (queue.amount == 0)) && (queue.head == 0)) && (queue.tail == 0) [2024-01-30 14:26:54,184 INFO L98 nessWitnessExtractor]: Location invariant before [L981-L981] ((((((((((0 <= queue.head) && (0 <= queue.tail)) && (0 <= q->head)) && (0 <= q->tail)) && (queue.head <= 400)) && (queue.tail <= 400)) && (q->head <= 400)) && (q->tail <= 400)) && (q == & queue)) && (enqueue_flag == (_Bool)0 || enqueue_flag == (_Bool)1)) && (dequeue_flag == (_Bool)0 || dequeue_flag == (_Bool)1) [2024-01-30 14:26:54,184 INFO L98 nessWitnessExtractor]: Location invariant before [L1057-L1057] ((((enqueue_flag == (_Bool)1) && (dequeue_flag == (_Bool)0)) && (queue.amount == 0)) && (queue.head == 0)) && (queue.tail == 0) [2024-01-30 14:26:54,184 INFO L98 nessWitnessExtractor]: Location invariant before [L999-L999] ((((((((((0 <= queue.tail) && (0 <= q->tail)) && (queue.amount <= 2147483646)) && (queue.tail <= 400)) && (q->amount <= 2147483646)) && (q->tail <= 400)) && (dequeue_flag == (_Bool)1)) && (queue.head == 400)) && (q == & queue)) && (q->head == 400)) && (enqueue_flag == (_Bool)0 || enqueue_flag == (_Bool)1) [2024-01-30 14:26:54,184 INFO L98 nessWitnessExtractor]: Location invariant before [L988-L988] ((((((((((((((-2147483647 <= queue.amount) && (-2147483647 <= q->amount)) && (0 <= queue.head)) && (0 <= queue.tail)) && (0 <= q->head)) && (0 <= q->tail)) && (queue.head <= 400)) && (queue.tail <= 399)) && (q->head <= 400)) && (q->tail <= 399)) && (q == & queue)) && (queue.tail != 400)) && (q->tail != 400)) && (enqueue_flag == (_Bool)0 || enqueue_flag == (_Bool)1)) && (dequeue_flag == (_Bool)0 || dequeue_flag == (_Bool)1) [2024-01-30 14:26:54,185 INFO L98 nessWitnessExtractor]: Location invariant before [L984-L984] ((((((((((-2147483647 <= queue.amount) && (-2147483647 <= q->amount)) && (0 <= queue.head)) && (0 <= q->head)) && (queue.head <= 400)) && (q->head <= 400)) && (queue.tail == 400)) && (q == & queue)) && (q->tail == 400)) && (enqueue_flag == (_Bool)0 || enqueue_flag == (_Bool)1)) && (dequeue_flag == (_Bool)0 || dequeue_flag == (_Bool)1) [2024-01-30 14:26:54,185 INFO L98 nessWitnessExtractor]: Location invariant before [L1040-L1047] (((((((((((0 <= queue.head) && (0 <= queue.tail)) && (0 <= ((QType *)arg)->head)) && (0 <= ((QType *)arg)->tail)) && (queue.head <= 400)) && (queue.tail <= 400)) && (((QType *)arg)->head <= 400)) && (((QType *)arg)->tail <= 400)) && (arg == (void *)(& queue))) && (enqueue_flag == (_Bool)0 || enqueue_flag == (_Bool)1)) && (dequeue_flag == (_Bool)0 || dequeue_flag == (_Bool)1)) && ((((i == 3 || i == 2) || i == 1) || (0 == i && i == 0)) || (4 <= i && i <= 399)) [2024-01-30 14:26:54,185 INFO L98 nessWitnessExtractor]: Location invariant before [L1025-L1025] (((((((((((((((-2147483647 <= queue.amount) && (-2147483647 <= ((QType *)arg)->amount)) && (0 <= queue.head)) && (0 <= ((QType *)arg)->head)) && (1 <= queue.tail)) && (1 <= ((QType *)arg)->tail)) && (queue.head <= 400)) && (queue.tail <= 400)) && (((QType *)arg)->head <= 400)) && (((QType *)arg)->tail <= 400)) && (enqueue_flag == (_Bool)1)) && (arg == (void *)(& queue))) && (queue.tail != 401)) && (((QType *)arg)->tail != 401)) && (dequeue_flag == (_Bool)0 || dequeue_flag == (_Bool)1)) && (((((i == 3 || i == 2) || i == 1) || (0 == i && i == 0)) || (5 <= i && i <= 398)) || i == 4) [2024-01-30 14:26:54,185 INFO L98 nessWitnessExtractor]: Location invariant before [L1046-L1046] (((((((((((((((0 <= queue.tail) && (0 <= ((QType *)arg)->tail)) && (1 <= queue.head)) && (1 <= ((QType *)arg)->head)) && (queue.amount <= 2147483646)) && (queue.head <= 400)) && (queue.tail <= 400)) && (((QType *)arg)->amount <= 2147483646)) && (((QType *)arg)->head <= 400)) && (((QType *)arg)->tail <= 400)) && (dequeue_flag == (_Bool)0)) && (arg == (void *)(& queue))) && (queue.head != 401)) && (((QType *)arg)->head != 401)) && (enqueue_flag == (_Bool)0 || enqueue_flag == (_Bool)1)) && ((((i == 2 || i == 1) || (0 == i && i == 0)) || (4 <= i && i <= 399)) || i == 3) [2024-01-30 14:26:54,185 INFO L98 nessWitnessExtractor]: Location invariant before [L956-L956] ((((((((enqueue_flag == (_Bool)1) && (dequeue_flag == (_Bool)0)) && (queue.amount == 0)) && (queue.head == 0)) && (queue.tail == 0)) && (q == & queue)) && (q->amount == 0)) && (q->head == 0)) && (q->tail == 0) [2024-01-30 14:26:54,185 INFO L98 nessWitnessExtractor]: Location invariant before [L1003-L1003] ((((((((((((((0 <= queue.tail) && (0 <= q->tail)) && (1 <= queue.head)) && (1 <= q->head)) && (queue.amount <= 2147483646)) && (queue.head <= 400)) && (queue.tail <= 400)) && (q->amount <= 2147483646)) && (q->head <= 400)) && (q->tail <= 400)) && (dequeue_flag == (_Bool)1)) && (q == & queue)) && (queue.head != 401)) && (q->head != 401)) && (enqueue_flag == (_Bool)0 || enqueue_flag == (_Bool)1) [2024-01-30 14:26:54,186 INFO L98 nessWitnessExtractor]: Location invariant before [L954-L954] ((((((((enqueue_flag == (_Bool)1) && (dequeue_flag == (_Bool)0)) && (queue.amount == 0)) && (queue.head == 0)) && (queue.tail == 0)) && (q == & queue)) && (q->amount == 0)) && (q->head == 0)) && (q->tail == 0) [2024-01-30 14:26:54,186 INFO L98 nessWitnessExtractor]: Location invariant before [L1056-L1056] ((((enqueue_flag == (_Bool)1) && (dequeue_flag == (_Bool)0)) && (queue.amount == 0)) && (queue.head == 0)) && (queue.tail == 0) [2024-01-30 14:26:54,186 INFO L98 nessWitnessExtractor]: Location invariant before [L963-L963] (q == & queue) && ((((((((enqueue_flag == (_Bool)1 && dequeue_flag == (_Bool)0) && queue.amount == 0) && queue.head == 0) && queue.tail == 0) && q->amount == 0) && q->head == 0) && q->tail == 0) || (((((((((((((((-2147483647 <= queue.amount && -2147483647 <= q->amount) && 1 <= queue.head) && 1 <= queue.tail) && 1 <= q->head) && 1 <= q->tail) && queue.head <= 400) && queue.tail <= 400) && q->head <= 400) && q->tail <= 400) && queue.head != 401) && queue.tail != 401) && q->head != 401) && q->tail != 401) && (enqueue_flag == (_Bool)0 || enqueue_flag == (_Bool)1)) && (dequeue_flag == (_Bool)0 || dequeue_flag == (_Bool)1))) [2024-01-30 14:26:54,186 INFO L98 nessWitnessExtractor]: Location invariant before [L1032-L1032] ((((((((((((((-2147483647 <= queue.amount) && (-2147483647 <= ((QType *)arg)->amount)) && (0 <= queue.head)) && (0 <= ((QType *)arg)->head)) && (1 <= queue.tail)) && (1 <= ((QType *)arg)->tail)) && (queue.head <= 400)) && (queue.tail <= 400)) && (((QType *)arg)->head <= 400)) && (((QType *)arg)->tail <= 400)) && (arg == (void *)(& queue))) && (queue.tail != 401)) && (((QType *)arg)->tail != 401)) && (enqueue_flag == (_Bool)0 || enqueue_flag == (_Bool)1)) && (dequeue_flag == (_Bool)0 || dequeue_flag == (_Bool)1) [2024-01-30 14:26:54,187 INFO L98 nessWitnessExtractor]: Location invariant before [L996-L996] ((((((((((0 <= queue.head) && (0 <= queue.tail)) && (0 <= q->head)) && (0 <= q->tail)) && (queue.head <= 400)) && (queue.tail <= 400)) && (q->head <= 400)) && (q->tail <= 400)) && (dequeue_flag == (_Bool)1)) && (q == & queue)) && (enqueue_flag == (_Bool)0 || enqueue_flag == (_Bool)1) [2024-01-30 14:26:54,187 INFO L98 nessWitnessExtractor]: Location invariant before [L1014-L1016] ((((((((((((((-2147483647 <= queue.amount) && (-2147483647 <= ((QType *)arg)->amount)) && (0 <= queue.head)) && (0 <= ((QType *)arg)->head)) && (1 <= queue.tail)) && (1 <= ((QType *)arg)->tail)) && (queue.head <= 400)) && (queue.tail <= 400)) && (((QType *)arg)->head <= 400)) && (((QType *)arg)->tail <= 400)) && (arg == (void *)(& queue))) && (queue.tail != 401)) && (((QType *)arg)->tail != 401)) && (enqueue_flag == (_Bool)0 || enqueue_flag == (_Bool)1)) && (dequeue_flag == (_Bool)0 || dequeue_flag == (_Bool)1) [2024-01-30 14:26:54,187 INFO L98 nessWitnessExtractor]: Location invariant before [L1048-L1048] (((((((((((0 <= queue.head) && (0 <= queue.tail)) && (0 <= ((QType *)arg)->head)) && (0 <= ((QType *)arg)->tail)) && (queue.head <= 400)) && (queue.tail <= 400)) && (((QType *)arg)->head <= 400)) && (((QType *)arg)->tail <= 400)) && (dequeue_flag == (_Bool)0)) && (arg == (void *)(& queue))) && (enqueue_flag == (_Bool)0 || enqueue_flag == (_Bool)1)) && ((((i == 2 || i == 1) || (0 == i && i == 0)) || (4 <= i && i <= 399)) || i == 3) [2024-01-30 14:26:54,187 INFO L98 nessWitnessExtractor]: Location invariant before [L1039-L1039] (((((0 <= ((QType *)arg)->head) && (0 <= ((QType *)arg)->tail)) && (((QType *)arg)->head <= 400)) && (((QType *)arg)->tail <= 400)) && (arg == (void *)(& queue))) && ((((i == 3 || i == 2) || i == 1) || (0 == i && i == 0)) || (4 <= i && i <= 399)) [2024-01-30 14:26:54,188 INFO L98 nessWitnessExtractor]: Location invariant before [L1029-L1029] (((((((((((0 <= queue.head) && (0 <= queue.tail)) && (0 <= ((QType *)arg)->head)) && (0 <= ((QType *)arg)->tail)) && (queue.head <= 400)) && (queue.tail <= 400)) && (((QType *)arg)->head <= 400)) && (((QType *)arg)->tail <= 400)) && (enqueue_flag == (_Bool)0)) && (arg == (void *)(& queue))) && (dequeue_flag == (_Bool)0 || dequeue_flag == (_Bool)1)) && (((((i == 3 || i == 2) || i == 1) || (0 == i && i == 0)) || (5 <= i && i <= 398)) || i == 4) [2024-01-30 14:26:54,234 INFO L177 MainTranslator]: Built tables and reachable declarations [2024-01-30 14:26:54,523 WARN L239 ndardFunctionHandler]: Function reach_error is already implemented but we override the implementation for the call at /storage/repos/ultimate/trunk/examples/svcomp/pthread/queue_longer.i[43296,43309] [2024-01-30 14:26:54,533 WARN L239 ndardFunctionHandler]: Function reach_error is already implemented but we override the implementation for the call at /storage/repos/ultimate/trunk/examples/svcomp/pthread/queue_longer.i[43503,43516] [2024-01-30 14:26:54,535 WARN L239 ndardFunctionHandler]: Function reach_error is already implemented but we override the implementation for the call at /storage/repos/ultimate/trunk/examples/svcomp/pthread/queue_longer.i[43783,43796] [2024-01-30 14:26:54,538 INFO L209 PostProcessor]: Analyzing one entry point: main [2024-01-30 14:26:54,547 INFO L202 MainTranslator]: Completed pre-run [2024-01-30 14:26:54,555 WARN L424 MainDispatcher]: Unable to annotate typedef unsigned char __u_char; with a witness entry Start Parsing Local Start Parsing Local Start Parsing Local [2024-01-30 14:26:55,414 WARN L424 MainDispatcher]: Unable to annotate void init(QType *q) { q->head=0; q->tail=0; q->amount=0; } with a witness entry Start Parsing Local Start Parsing Local Start Parsing Local Start Parsing Local Start Parsing Local Start Parsing Local Start Parsing Local Start Parsing Local Start Parsing Local Start Parsing Local Start Parsing Local Start Parsing Local Start Parsing Local Start Parsing Local Start Parsing Local Start Parsing Local Syntax error [2024-01-30 14:26:59,989 ERROR L324 MainTranslator]: Unsupported Syntax: Unable to instrument "((((((((0 <= ((QType *)arg)->head) && (0 <= ((QType *)arg)->tail)) && (((QType *)arg)->head <= 400)) && (((QType *)arg)->tail <= 400)) && ((4294967296LL + (long long )i) + (long long )value >= 0LL)) && ((4294967295LL - (long long )i) + (long long )value >= 0LL)) && ((4294967295LL + (long long )i) - (long long )value >= 0LL)) && ((4294967294LL - (long long )i) - (long long )value >= 0LL)) && (arg == (void *)(& queue))" at C: pthread_mutex_lock(&m); [1008] (Syntax Error: #34[rpar](0/30 - 0/31)) [2024-01-30 14:26:59,989 INFO L204 PluginConnector]: Invalid model from CACSL2BoogieTranslator for observer de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator.CACSL2BoogieTranslatorObserver@79a56375 and model type de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 30.01 02:26:59, skipping insertion in model container [2024-01-30 14:26:59,989 INFO L131 PluginConnector]: ------------------------ END CACSL2BoogieTranslator---------------------------- [2024-01-30 14:26:59,990 INFO L186 ToolchainWalker]: Toolchain execution was canceled (user or tool) before executing de.uni_freiburg.informatik.ultimate.boogie.procedureinliner [2024-01-30 14:26:59,991 INFO L158 Benchmark]: Toolchain (without parser) took 6222.00ms. Allocated memory was 83.9MB in the beginning and 4.1GB in the end (delta: 4.0GB). Free memory was 48.5MB in the beginning and 2.9GB in the end (delta: -2.9GB). Peak memory consumption was 1.1GB. Max. memory is 16.1GB. [2024-01-30 14:26:59,991 INFO L158 Benchmark]: Witness Parser took 0.17ms. Allocated memory is still 60.8MB. Free memory is still 37.8MB. There was no memory consumed. Max. memory is 16.1GB. [2024-01-30 14:26:59,991 INFO L158 Benchmark]: CDTParser took 0.14ms. Allocated memory is still 60.8MB. Free memory is still 40.8MB. There was no memory consumed. Max. memory is 16.1GB. [2024-01-30 14:26:59,992 INFO L158 Benchmark]: CACSL2BoogieTranslator took 6220.28ms. Allocated memory was 83.9MB in the beginning and 4.1GB in the end (delta: 4.0GB). Free memory was 48.3MB in the beginning and 2.9GB in the end (delta: -2.9GB). Peak memory consumption was 1.1GB. Max. memory is 16.1GB. [2024-01-30 14:26:59,994 INFO L338 ainManager$Toolchain]: ####################### End [Toolchain 1] ####################### --- Results --- * Results from de.uni_freiburg.informatik.ultimate.core: - StatisticsResult: Toolchain Benchmarks Benchmark results are: * Witness Parser took 0.17ms. Allocated memory is still 60.8MB. Free memory is still 37.8MB. There was no memory consumed. Max. memory is 16.1GB. * CDTParser took 0.14ms. Allocated memory is still 60.8MB. Free memory is still 40.8MB. There was no memory consumed. Max. memory is 16.1GB. * CACSL2BoogieTranslator took 6220.28ms. Allocated memory was 83.9MB in the beginning and 4.1GB in the end (delta: 4.0GB). Free memory was 48.3MB in the beginning and 2.9GB in the end (delta: -2.9GB). Peak memory consumption was 1.1GB. Max. memory is 16.1GB. * Results from de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator: - UnsupportedSyntaxResult [Line: 1008]: Unsupported Syntax Unable to instrument "((((((((0 <= ((QType *)arg)->head) && (0 <= ((QType *)arg)->tail)) && (((QType *)arg)->head <= 400)) && (((QType *)arg)->tail <= 400)) && ((4294967296LL + (long long )i) + (long long )value >= 0LL)) && ((4294967295LL - (long long )i) + (long long )value >= 0LL)) && ((4294967295LL + (long long )i) - (long long )value >= 0LL)) && ((4294967294LL - (long long )i) - (long long )value >= 0LL)) && (arg == (void *)(& queue))" at C: pthread_mutex_lock(&m); [1008] (Syntax Error: #34[rpar](0/30 - 0/31)) RESULT: Ultimate could not prove your program: Toolchain returned no result. Received shutdown request... --- End real Ultimate output --- Execution finished normally Writing output log to file Ultimate.log Result: UNKNOWN