./Ultimate.py --spec ../../../trunk/examples/svcomp/properties/unreach-call.prp --file ../../../trunk/examples/svcomp/pthread/queue.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.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.i ./goblint.2023-12-19_14-39-08.files/SV-COMP24_unreach-call/queue.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:42,464 INFO L188 SettingsManager]: Resetting all preferences to default values... [2024-01-30 14:26:42,582 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:42,587 WARN L101 SettingsManager]: Preference file contains the following unknown settings: [2024-01-30 14:26:42,588 WARN L103 SettingsManager]: * de.uni_freiburg.informatik.ultimate.core.Log level for class [2024-01-30 14:26:42,617 INFO L130 SettingsManager]: Preferences different from defaults after loading the file: [2024-01-30 14:26:42,618 INFO L151 SettingsManager]: Preferences of UltimateCore differ from their defaults: [2024-01-30 14:26:42,619 INFO L153 SettingsManager]: * Log level for class=de.uni_freiburg.informatik.ultimate.lib.smtlibutils.quantifier.QuantifierPusher=ERROR; [2024-01-30 14:26:42,619 INFO L151 SettingsManager]: Preferences of Boogie Preprocessor differ from their defaults: [2024-01-30 14:26:42,623 INFO L153 SettingsManager]: * Use memory slicer=true [2024-01-30 14:26:42,623 INFO L151 SettingsManager]: Preferences of Boogie Procedure Inliner differ from their defaults: [2024-01-30 14:26:42,624 INFO L153 SettingsManager]: * Ignore calls to procedures called more than once=ONLY_FOR_SEQUENTIAL_PROGRAMS [2024-01-30 14:26:42,624 INFO L151 SettingsManager]: Preferences of BlockEncodingV2 differ from their defaults: [2024-01-30 14:26:42,626 INFO L153 SettingsManager]: * Create parallel compositions if possible=false [2024-01-30 14:26:42,626 INFO L153 SettingsManager]: * Use SBE=true [2024-01-30 14:26:42,626 INFO L151 SettingsManager]: Preferences of CACSL2BoogieTranslator differ from their defaults: [2024-01-30 14:26:42,626 INFO L153 SettingsManager]: * Pointer base address is valid at dereference=IGNORE [2024-01-30 14:26:42,627 INFO L153 SettingsManager]: * sizeof long=4 [2024-01-30 14:26:42,627 INFO L153 SettingsManager]: * Overapproximate operations on floating types=true [2024-01-30 14:26:42,627 INFO L153 SettingsManager]: * sizeof POINTER=4 [2024-01-30 14:26:42,627 INFO L153 SettingsManager]: * Check division by zero=IGNORE [2024-01-30 14:26:42,628 INFO L153 SettingsManager]: * Pointer to allocated memory at dereference=IGNORE [2024-01-30 14:26:42,628 INFO L153 SettingsManager]: * If two pointers are subtracted or compared they have the same base address=IGNORE [2024-01-30 14:26:42,629 INFO L153 SettingsManager]: * Check array bounds for arrays that are off heap=IGNORE [2024-01-30 14:26:42,629 INFO L153 SettingsManager]: * Allow undefined functions=false [2024-01-30 14:26:42,629 INFO L153 SettingsManager]: * sizeof long double=12 [2024-01-30 14:26:42,629 INFO L153 SettingsManager]: * Check if freed pointer was valid=false [2024-01-30 14:26:42,630 INFO L153 SettingsManager]: * Use constant arrays=true [2024-01-30 14:26:42,630 INFO L151 SettingsManager]: Preferences of RCFGBuilder differ from their defaults: [2024-01-30 14:26:42,630 INFO L153 SettingsManager]: * Size of a code block=SequenceOfStatements [2024-01-30 14:26:42,631 INFO L153 SettingsManager]: * Only consider context switches at boundaries of atomic blocks=true [2024-01-30 14:26:42,632 INFO L153 SettingsManager]: * SMT solver=External_DefaultMode [2024-01-30 14:26:42,632 INFO L153 SettingsManager]: * Command for external solver=z3 SMTLIB2_COMPLIANT=true -memory:2024 -smt2 -in -t:4000 [2024-01-30 14:26:42,632 INFO L151 SettingsManager]: Preferences of TraceAbstraction differ from their defaults: [2024-01-30 14:26:42,632 INFO L153 SettingsManager]: * Compute Interpolants along a Counterexample=FPandBP [2024-01-30 14:26:42,633 INFO L153 SettingsManager]: * Positions where we compute the Hoare Annotation=LoopHeads [2024-01-30 14:26:42,633 INFO L153 SettingsManager]: * Trace refinement strategy=CAMEL [2024-01-30 14:26:42,633 INFO L153 SettingsManager]: * Command for external solver=z3 SMTLIB2_COMPLIANT=true -memory:2024 -smt2 -in [2024-01-30 14:26:42,633 INFO L153 SettingsManager]: * Apply one-shot large block encoding in concurrent analysis=false [2024-01-30 14:26:42,634 INFO L153 SettingsManager]: * Automaton type used in concurrency analysis=PETRI_NET [2024-01-30 14:26:42,634 INFO L153 SettingsManager]: * Compute Hoare Annotation of negated interpolant automaton, abstraction and CFG=true [2024-01-30 14:26:42,634 INFO L153 SettingsManager]: * Order on configurations for Petri net unfoldings=DBO [2024-01-30 14:26:42,634 INFO L153 SettingsManager]: * SMT solver=External_ModelsAndUnsatCoreMode [2024-01-30 14:26:42,635 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:42,903 INFO L75 nceAwareModelManager]: Repository-Root is: /tmp [2024-01-30 14:26:42,936 INFO L261 ainManager$Toolchain]: [Toolchain 1]: Applicable parser(s) successfully (re)initialized [2024-01-30 14:26:42,938 INFO L217 ainManager$Toolchain]: [Toolchain 1]: Toolchain selected. [2024-01-30 14:26:42,939 INFO L270 PluginConnector]: Initializing Witness Parser... [2024-01-30 14:26:42,940 INFO L274 PluginConnector]: Witness Parser initialized [2024-01-30 14:26:42,941 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.yml/witness.yml [2024-01-30 14:26:43,235 INFO L270 PluginConnector]: Initializing CDTParser... [2024-01-30 14:26:43,236 INFO L274 PluginConnector]: CDTParser initialized [2024-01-30 14:26:43,237 INFO L431 ainManager$Toolchain]: [Toolchain 1]: Parsing single file: /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/../../../trunk/examples/svcomp/pthread/queue.i [2024-01-30 14:26:44,373 INFO L533 CDTParser]: Created temporary CDT project at NULL [2024-01-30 14:26:44,644 INFO L384 CDTParser]: Found 1 translation units. [2024-01-30 14:26:44,648 INFO L180 CDTParser]: Scanning /storage/repos/ultimate/trunk/examples/svcomp/pthread/queue.i [2024-01-30 14:26:44,661 INFO L427 CDTParser]: About to delete temporary CDT project at /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/data/d249fdc17/e6a23ca248ab4029a14764995e127b74/FLAGe0eb5c84c [2024-01-30 14:26:44,672 INFO L435 CDTParser]: Successfully deleted /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/data/d249fdc17/e6a23ca248ab4029a14764995e127b74 [2024-01-30 14:26:44,672 INFO L299 ainManager$Toolchain]: ####################### [Toolchain 1] ####################### [2024-01-30 14:26:44,674 INFO L133 ToolchainWalker]: Walking toolchain with 5 elements. [2024-01-30 14:26:44,675 INFO L112 PluginConnector]: ------------------------CACSL2BoogieTranslator---------------------------- [2024-01-30 14:26:44,675 INFO L270 PluginConnector]: Initializing CACSL2BoogieTranslator... [2024-01-30 14:26:44,679 INFO L274 PluginConnector]: CACSL2BoogieTranslator initialized [2024-01-30 14:26:44,680 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:43" (1/2) ... [2024-01-30 14:26:44,680 INFO L204 PluginConnector]: Invalid model from CACSL2BoogieTranslator for observer de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator.ACSLObjectContainerObserver@203587d3 and model type witness.yml de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator CORRECTNESS_WITNESS 30.01 02:26:44, skipping insertion in model container [2024-01-30 14:26:44,681 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:43" (1/2) ... [2024-01-30 14:26:44,682 INFO L204 PluginConnector]: Invalid model from CACSL2BoogieTranslator for observer de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator.CACSL2BoogieTranslatorObserver@20940f7d and model type witness.yml de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator CORRECTNESS_WITNESS 30.01 02:26:44, skipping insertion in model container [2024-01-30 14:26:44,682 INFO L184 PluginConnector]: Executing the observer ACSLObjectContainerObserver from plugin CACSL2BoogieTranslator for "CDTParser AST 30.01 02:26:44" (2/2) ... [2024-01-30 14:26:44,682 INFO L204 PluginConnector]: Invalid model from CACSL2BoogieTranslator for observer de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator.ACSLObjectContainerObserver@203587d3 and model type de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 30.01 02:26:44, skipping insertion in model container [2024-01-30 14:26:44,683 INFO L184 PluginConnector]: Executing the observer CACSL2BoogieTranslatorObserver from plugin CACSL2BoogieTranslator for "CDTParser AST 30.01 02:26:44" (2/2) ... [2024-01-30 14:26:44,683 INFO L83 nessWitnessExtractor]: Extracting all invariants from correctness witness [2024-01-30 14:26:45,261 INFO L96 nessWitnessExtractor]: Found the following entries in the witness: [2024-01-30 14:26:45,262 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 <= 20)) && (queue.tail <= 20)) && (((QType *)arg)->head <= 20)) && (((QType *)arg)->tail <= 20)) && (arg == (void *)(& queue))) && (queue.tail != 21)) && (((QType *)arg)->tail != 21)) && (enqueue_flag == (_Bool)0 || enqueue_flag == (_Bool)1)) && (dequeue_flag == (_Bool)0 || dequeue_flag == (_Bool)1) [2024-01-30 14:26:45,263 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,263 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,263 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 <= 20)) && (queue.tail <= 20)) && (((QType *)arg)->amount <= 2147483646)) && (((QType *)arg)->head <= 20)) && (((QType *)arg)->tail <= 20)) && (dequeue_flag == (_Bool)1)) && (arg == (void *)(& queue))) && (queue.head != 21)) && (((QType *)arg)->head != 21)) && (enqueue_flag == (_Bool)0 || enqueue_flag == (_Bool)1)) && ((((i == 2 || i == 1) || (0 == i && i == 0)) || (4 <= i && i <= 19)) || i == 3) [2024-01-30 14:26:45,264 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 <= 20)) && (queue.tail <= 19)) && (q->head <= 20)) && (q->tail <= 19)) && (q == & queue)) && (queue.tail != 20)) && (q->tail != 20)) && (enqueue_flag == (_Bool)0 || enqueue_flag == (_Bool)1)) && (dequeue_flag == (_Bool)0 || dequeue_flag == (_Bool)1) [2024-01-30 14:26:45,264 INFO L98 nessWitnessExtractor]: Location invariant before [L996-L996] ((((((((((0 <= queue.head) && (0 <= queue.tail)) && (0 <= q->head)) && (0 <= q->tail)) && (queue.head <= 20)) && (queue.tail <= 20)) && (q->head <= 20)) && (q->tail <= 20)) && (dequeue_flag == (_Bool)1)) && (q == & queue)) && (enqueue_flag == (_Bool)0 || enqueue_flag == (_Bool)1) [2024-01-30 14:26:45,264 INFO L98 nessWitnessExtractor]: Location invariant before [L984-L984] ((((((((((-2147483647 <= queue.amount) && (-2147483647 <= q->amount)) && (0 <= queue.head)) && (0 <= q->head)) && (queue.head <= 20)) && (q->head <= 20)) && (queue.tail == 20)) && (q == & queue)) && (q->tail == 20)) && (enqueue_flag == (_Bool)0 || enqueue_flag == (_Bool)1)) && (dequeue_flag == (_Bool)0 || dequeue_flag == (_Bool)1) [2024-01-30 14:26:45,264 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 <= 20)) && (queue.tail <= 20)) && (((QType *)arg)->amount <= 2147483646)) && (((QType *)arg)->head <= 20)) && (((QType *)arg)->tail <= 20)) && (dequeue_flag == (_Bool)0)) && (arg == (void *)(& queue))) && (queue.head != 21)) && (((QType *)arg)->head != 21)) && (enqueue_flag == (_Bool)0 || enqueue_flag == (_Bool)1)) && ((((i == 2 || i == 1) || (0 == i && i == 0)) || (4 <= i && i <= 19)) || i == 3) [2024-01-30 14:26:45,264 INFO L98 nessWitnessExtractor]: Location invariant before [L1031-L1031] (((((0 <= ((QType *)arg)->head) && (0 <= ((QType *)arg)->tail)) && (((QType *)arg)->head <= 20)) && (((QType *)arg)->tail <= 20)) && (arg == (void *)(& queue))) && (i == 19) [2024-01-30 14:26:45,265 INFO L98 nessWitnessExtractor]: Location invariant before [L1029-L1029] (((((((((((0 <= queue.head) && (0 <= queue.tail)) && (0 <= ((QType *)arg)->head)) && (0 <= ((QType *)arg)->tail)) && (queue.head <= 20)) && (queue.tail <= 20)) && (((QType *)arg)->head <= 20)) && (((QType *)arg)->tail <= 20)) && (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 <= 18)) || i == 4) [2024-01-30 14:26:45,265 INFO L98 nessWitnessExtractor]: Location invariant before [L1023-L1023] (((((((((((0 <= queue.head) && (0 <= queue.tail)) && (0 <= ((QType *)arg)->head)) && (0 <= ((QType *)arg)->tail)) && (queue.head <= 20)) && (queue.tail <= 20)) && (((QType *)arg)->head <= 20)) && (((QType *)arg)->tail <= 20)) && (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 <= 18)) || i == 4) [2024-01-30 14:26:45,265 INFO L98 nessWitnessExtractor]: Location invariant before [L1063-L1063] ((((enqueue_flag == (_Bool)1) && (dequeue_flag == (_Bool)0)) && (queue.amount == 0)) && (queue.head == 0)) && (queue.tail == 0) [2024-01-30 14:26:45,265 INFO L98 nessWitnessExtractor]: Location invariant before [L1048-L1048] (((((((((((0 <= queue.head) && (0 <= queue.tail)) && (0 <= ((QType *)arg)->head)) && (0 <= ((QType *)arg)->tail)) && (queue.head <= 20)) && (queue.tail <= 20)) && (((QType *)arg)->head <= 20)) && (((QType *)arg)->tail <= 20)) && (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 <= 19)) || i == 3) [2024-01-30 14:26:45,265 INFO L98 nessWitnessExtractor]: Location invariant before [L980-L980] ((((((((((0 <= queue.head) && (0 <= queue.tail)) && (0 <= q->head)) && (0 <= q->tail)) && (queue.head <= 20)) && (queue.tail <= 20)) && (q->head <= 20)) && (q->tail <= 20)) && (q == & queue)) && (enqueue_flag == (_Bool)0 || enqueue_flag == (_Bool)1)) && (dequeue_flag == (_Bool)0 || dequeue_flag == (_Bool)1) [2024-01-30 14:26:45,265 INFO L98 nessWitnessExtractor]: Location invariant before [L1039-L1039] (((((0 <= ((QType *)arg)->head) && (0 <= ((QType *)arg)->tail)) && (((QType *)arg)->head <= 20)) && (((QType *)arg)->tail <= 20)) && (arg == (void *)(& queue))) && ((((i == 3 || i == 2) || i == 1) || (0 == i && i == 0)) || (4 <= i && i <= 19)) [2024-01-30 14:26:45,266 INFO L98 nessWitnessExtractor]: Location invariant before [L1042-L1044] (((((((((0 <= queue.tail) && (0 <= ((QType *)arg)->tail)) && (queue.head <= 20)) && (queue.tail <= 20)) && (((QType *)arg)->head <= 20)) && (((QType *)arg)->tail <= 20)) && (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 != 21) && ((QType *)arg)->head != 21) || (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 != 21) && ((QType *)arg)->head != 21)) || ((((((1 <= queue.head && 1 <= ((QType *)arg)->head) && queue.amount <= 2147483646) && ((QType *)arg)->amount <= 2147483646) && i == 1) && queue.head != 21) && ((QType *)arg)->head != 21)) || ((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 != 21) && ((QType *)arg)->head != 21)) || (((((((1 <= queue.head && 1 <= ((QType *)arg)->head) && queue.amount <= 2147483646) && ((QType *)arg)->amount <= 2147483646) && 0 == i) && i == 0) && queue.head != 21) && ((QType *)arg)->head != 21)) || (((0 <= queue.head && 0 <= ((QType *)arg)->head) && 0 == i) && i == 0)) || (((((((1 <= queue.head && 1 <= ((QType *)arg)->head) && 4 <= i) && queue.amount <= 2147483646) && i <= 19) && ((QType *)arg)->amount <= 2147483646) && queue.head != 21) && ((QType *)arg)->head != 21)) || (((((((1 <= queue.head && 1 <= ((QType *)arg)->head) && 4 <= i) && queue.amount <= 2147483646) && i <= 19) && ((QType *)arg)->amount <= 2147483646) && queue.head != 21) && ((QType *)arg)->head != 21)) || (((0 <= queue.head && 0 <= ((QType *)arg)->head) && 4 <= i) && i <= 19)) || ((((((1 <= queue.head && 1 <= ((QType *)arg)->head) && queue.amount <= 2147483646) && ((QType *)arg)->amount <= 2147483646) && i == 3) && queue.head != 21) && ((QType *)arg)->head != 21)) || ((((((1 <= queue.head && 1 <= ((QType *)arg)->head) && queue.amount <= 2147483646) && ((QType *)arg)->amount <= 2147483646) && i == 3) && queue.head != 21) && ((QType *)arg)->head != 21)) || ((0 <= queue.head && 0 <= ((QType *)arg)->head) && i == 3)) [2024-01-30 14:26:45,266 INFO L98 nessWitnessExtractor]: Location invariant before [L1010-L1012] (((((((((0 <= queue.head) && (0 <= ((QType *)arg)->head)) && (queue.head <= 20)) && (queue.tail <= 20)) && (((QType *)arg)->head <= 20)) && (((QType *)arg)->tail <= 20)) && (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 != 21) && ((QType *)arg)->tail != 21) || (0 <= queue.tail && 0 <= ((QType *)arg)->tail)) [2024-01-30 14:26:45,266 INFO L98 nessWitnessExtractor]: Location invariant before [L1008-L1008] ((((((((0 <= ((QType *)arg)->head) && (0 <= ((QType *)arg)->tail)) && (((QType *)arg)->head <= 20)) && (((QType *)arg)->tail <= 20)) && ((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,266 INFO L98 nessWitnessExtractor]: Location invariant before [L1058-L1061] ((((enqueue_flag == (_Bool)1) && (dequeue_flag == (_Bool)0)) && (queue.amount == 0)) && (queue.head == 0)) && (queue.tail == 0) [2024-01-30 14:26:45,266 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 <= 20)) && (queue.tail <= 20)) && (((QType *)arg)->head <= 20)) && (((QType *)arg)->tail <= 20)) && (enqueue_flag == (_Bool)1)) && (arg == (void *)(& queue))) && (queue.tail != 21)) && (((QType *)arg)->tail != 21)) && (dequeue_flag == (_Bool)0 || dequeue_flag == (_Bool)1)) && (((((i == 3 || i == 2) || i == 1) || (0 == i && i == 0)) || (5 <= i && i <= 18)) || i == 4) [2024-01-30 14:26:45,266 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,267 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 <= 20)) && (queue.tail <= 20)) && (q->head <= 20)) && (q->tail <= 20)) && (q == & queue)) && (enqueue_flag == (_Bool)0 || enqueue_flag == (_Bool)1)) && (dequeue_flag == (_Bool)0 || dequeue_flag == (_Bool)1) [2024-01-30 14:26:45,267 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 <= 20)) && (queue.tail <= 20)) && (q->head <= 20)) && (q->tail <= 20)) && (q == & queue)) && (queue.tail != 21)) && (q->tail != 21)) && (enqueue_flag == (_Bool)0 || enqueue_flag == (_Bool)1)) && (dequeue_flag == (_Bool)0 || dequeue_flag == (_Bool)1) [2024-01-30 14:26:45,267 INFO L98 nessWitnessExtractor]: Loop invariant at [L1018-L1030] ((((0 <= ((QType *)arg)->head) && (0 <= ((QType *)arg)->tail)) && (((QType *)arg)->head <= 20)) && (((QType *)arg)->tail <= 20)) && (arg == (void *)(& queue)) [2024-01-30 14:26:45,268 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,268 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 <= 20)) && (queue.tail <= 20)) && (((QType *)arg)->head <= 20)) && (((QType *)arg)->tail <= 20)) && (arg == (void *)(& queue))) && (queue.tail != 21)) && (((QType *)arg)->tail != 21)) && (enqueue_flag == (_Bool)0 || enqueue_flag == (_Bool)1)) && (dequeue_flag == (_Bool)0 || dequeue_flag == (_Bool)1) [2024-01-30 14:26:45,268 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,268 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 <= 20)) && (queue.tail <= 20)) && (((QType *)arg)->amount <= 2147483646)) && (((QType *)arg)->head <= 20)) && (((QType *)arg)->tail <= 20)) && (dequeue_flag == (_Bool)1)) && (arg == (void *)(& queue))) && (queue.head != 21)) && (((QType *)arg)->head != 21)) && (enqueue_flag == (_Bool)0 || enqueue_flag == (_Bool)1)) && ((((i == 2 || i == 1) || (0 == i && i == 0)) || (4 <= i && i <= 19)) || i == 3) [2024-01-30 14:26:45,268 INFO L98 nessWitnessExtractor]: Location invariant before [L22-L22] (((((0 <= queue.head) && (0 <= queue.tail)) && (queue.head <= 20)) && (queue.tail <= 20)) && (enqueue_flag == (_Bool)0 || enqueue_flag == (_Bool)1)) && (dequeue_flag == (_Bool)0 || dequeue_flag == (_Bool)1) [2024-01-30 14:26:45,268 INFO L98 nessWitnessExtractor]: Location invariant before [L995-L995] ((((((((((0 <= queue.head) && (0 <= queue.tail)) && (0 <= q->head)) && (0 <= q->tail)) && (queue.head <= 20)) && (queue.tail <= 20)) && (q->head <= 20)) && (q->tail <= 20)) && (dequeue_flag == (_Bool)1)) && (q == & queue)) && (enqueue_flag == (_Bool)0 || enqueue_flag == (_Bool)1) [2024-01-30 14:26:45,269 INFO L98 nessWitnessExtractor]: Location invariant before [L1024-L1024] (((((((((((0 <= queue.head) && (0 <= queue.tail)) && (0 <= ((QType *)arg)->head)) && (0 <= ((QType *)arg)->tail)) && (queue.head <= 20)) && (queue.tail <= 20)) && (((QType *)arg)->head <= 20)) && (((QType *)arg)->tail <= 20)) && (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 <= 18)) || i == 4) [2024-01-30 14:26:45,269 INFO L98 nessWitnessExtractor]: Location invariant before [L1040-L1047] (((((((((((0 <= queue.head) && (0 <= queue.tail)) && (0 <= ((QType *)arg)->head)) && (0 <= ((QType *)arg)->tail)) && (queue.head <= 20)) && (queue.tail <= 20)) && (((QType *)arg)->head <= 20)) && (((QType *)arg)->tail <= 20)) && (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 <= 19)) [2024-01-30 14:26:45,269 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 <= 20)) && (queue.tail <= 20)) && (((QType *)arg)->head <= 20)) && (((QType *)arg)->tail <= 20)) && (enqueue_flag == (_Bool)1)) && (arg == (void *)(& queue))) && (queue.tail != 21)) && (((QType *)arg)->tail != 21)) && (dequeue_flag == (_Bool)0 || dequeue_flag == (_Bool)1)) && (((((i == 3 || i == 2) || i == 1) || (0 == i && i == 0)) || (5 <= i && i <= 18)) || i == 4) [2024-01-30 14:26:45,269 INFO L98 nessWitnessExtractor]: Location invariant before [L981-L981] ((((((((((0 <= queue.head) && (0 <= queue.tail)) && (0 <= q->head)) && (0 <= q->tail)) && (queue.head <= 20)) && (queue.tail <= 20)) && (q->head <= 20)) && (q->tail <= 20)) && (q == & queue)) && (enqueue_flag == (_Bool)0 || enqueue_flag == (_Bool)1)) && (dequeue_flag == (_Bool)0 || dequeue_flag == (_Bool)1) [2024-01-30 14:26:45,269 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 <= 20)) && (queue.tail <= 20)) && (((QType *)arg)->head <= 20)) && (((QType *)arg)->tail <= 20)) && (arg == (void *)(& queue))) && (queue.tail != 21)) && (((QType *)arg)->tail != 21)) && (enqueue_flag == (_Bool)0 || enqueue_flag == (_Bool)1)) && (dequeue_flag == (_Bool)0 || dequeue_flag == (_Bool)1) [2024-01-30 14:26:45,270 INFO L98 nessWitnessExtractor]: Loop invariant at [L1037-L1049] ((((0 <= ((QType *)arg)->head) && (0 <= ((QType *)arg)->tail)) && (((QType *)arg)->head <= 20)) && (((QType *)arg)->tail <= 20)) && (arg == (void *)(& queue)) [2024-01-30 14:26:45,270 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 <= 19)) && (queue.tail <= 20)) && (q->amount <= 2147483646)) && (q->head <= 19)) && (q->tail <= 20)) && (dequeue_flag == (_Bool)1)) && (q == & queue)) && (queue.head != 20)) && (q->head != 20)) && (enqueue_flag == (_Bool)0 || enqueue_flag == (_Bool)1) [2024-01-30 14:26:45,270 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 <= 20)) && (queue.tail <= 20)) && (q->amount <= 2147483646)) && (q->head <= 20)) && (q->tail <= 20)) && (dequeue_flag == (_Bool)1)) && (q == & queue)) && (enqueue_flag == (_Bool)0 || enqueue_flag == (_Bool)1) [2024-01-30 14:26:45,271 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,272 INFO L98 nessWitnessExtractor]: Location invariant before [L999-L999] ((((((((((0 <= queue.tail) && (0 <= q->tail)) && (queue.amount <= 2147483646)) && (queue.tail <= 20)) && (q->amount <= 2147483646)) && (q->tail <= 20)) && (dequeue_flag == (_Bool)1)) && (queue.head == 20)) && (q == & queue)) && (q->head == 20)) && (enqueue_flag == (_Bool)0 || enqueue_flag == (_Bool)1) [2024-01-30 14:26:45,272 INFO L98 nessWitnessExtractor]: Location invariant before [L1021-L1028] (((((((((((0 <= queue.head) && (0 <= queue.tail)) && (0 <= ((QType *)arg)->head)) && (0 <= ((QType *)arg)->tail)) && (queue.head <= 20)) && (queue.tail <= 20)) && (((QType *)arg)->head <= 20)) && (((QType *)arg)->tail <= 20)) && (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 <= 18)) || i == 4) [2024-01-30 14:26:45,272 INFO L98 nessWitnessExtractor]: Location invariant before [L1009-L1009] ((((((((((((((0 <= queue.head) && (0 <= queue.tail)) && (0 <= ((QType *)arg)->head)) && (0 <= ((QType *)arg)->tail)) && (queue.head <= 20)) && (queue.tail <= 20)) && (((QType *)arg)->head <= 20)) && (((QType *)arg)->tail <= 20)) && ((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,272 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 <= 20)) && (queue.tail <= 20)) && (q->head <= 20)) && (q->tail <= 20)) && (q == & queue)) && (queue.tail != 21)) && (q->tail != 21)) && (enqueue_flag == (_Bool)0 || enqueue_flag == (_Bool)1)) && (dequeue_flag == (_Bool)0 || dequeue_flag == (_Bool)1) [2024-01-30 14:26:45,272 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 <= 20) && queue.tail <= 20) && q->head <= 20) && q->tail <= 20) && queue.tail != 21) && q->tail != 21) && (enqueue_flag == (_Bool)0 || enqueue_flag == (_Bool)1)) && (dequeue_flag == (_Bool)0 || dequeue_flag == (_Bool)1))) [2024-01-30 14:26:45,273 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 <= 20)) && (queue.tail <= 20)) && (((QType *)arg)->head <= 20)) && (((QType *)arg)->tail <= 20)) && (enqueue_flag == (_Bool)0)) && (arg == (void *)(& queue))) && (queue.tail != 21)) && (((QType *)arg)->tail != 21)) && (dequeue_flag == (_Bool)0 || dequeue_flag == (_Bool)1)) && (((((i == 3 || i == 2) || i == 1) || (0 == i && i == 0)) || (5 <= i && i <= 18)) || i == 4) [2024-01-30 14:26:45,273 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,273 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 <= 20)) && (queue.tail <= 20)) && (((QType *)arg)->head <= 20)) && (((QType *)arg)->tail <= 20)) && (arg == (void *)(& queue))) && (queue.tail != 21)) && (((QType *)arg)->tail != 21)) && (enqueue_flag == (_Bool)0 || enqueue_flag == (_Bool)1)) && (dequeue_flag == (_Bool)0 || dequeue_flag == (_Bool)1) [2024-01-30 14:26:45,273 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 <= 20)) && (queue.tail <= 20)) && (q->amount <= 2147483646)) && (q->head <= 20)) && (q->tail <= 20)) && (dequeue_flag == (_Bool)1)) && (q == & queue)) && (queue.head != 21)) && (q->head != 21)) && (enqueue_flag == (_Bool)0 || enqueue_flag == (_Bool)1) [2024-01-30 14:26:45,274 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 <= 20) && queue.tail <= 20) && q->head <= 20) && q->tail <= 20) && queue.head != 21) && queue.tail != 21) && q->head != 21) && q->tail != 21) && (enqueue_flag == (_Bool)0 || enqueue_flag == (_Bool)1)) && (dequeue_flag == (_Bool)0 || dequeue_flag == (_Bool)1))) [2024-01-30 14:26:45,274 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 <= 20) && queue.tail <= 20) && q->head <= 20) && q->tail <= 20) && queue.head != 21) && queue.tail != 21) && q->head != 21) && q->tail != 21) && (enqueue_flag == (_Bool)0 || enqueue_flag == (_Bool)1)) && (dequeue_flag == (_Bool)0 || dequeue_flag == (_Bool)1))) [2024-01-30 14:26:45,274 INFO L98 nessWitnessExtractor]: Location invariant before [L1020-L1020] (((((0 <= ((QType *)arg)->head) && (0 <= ((QType *)arg)->tail)) && (((QType *)arg)->head <= 20)) && (((QType *)arg)->tail <= 20)) && (arg == (void *)(& queue))) && (((((i == 3 || i == 2) || i == 1) || (0 == i && i == 0)) || (5 <= i && i <= 18)) || i == 4) [2024-01-30 14:26:45,274 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,274 INFO L98 nessWitnessExtractor]: Location invariant before [L1050-L1050] (((((0 <= ((QType *)arg)->head) && (0 <= ((QType *)arg)->tail)) && (((QType *)arg)->head <= 20)) && (((QType *)arg)->tail <= 20)) && (arg == (void *)(& queue))) && (i == 20) [2024-01-30 14:26:45,322 INFO L177 MainTranslator]: Built tables and reachable declarations [2024-01-30 14:26:45,733 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.i[43284,43297] [2024-01-30 14:26:45,739 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.i[43491,43504] [2024-01-30 14:26:45,741 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.i[43772,43785] [2024-01-30 14:26:45,745 INFO L209 PostProcessor]: Analyzing one entry point: main [2024-01-30 14:26:45,765 INFO L202 MainTranslator]: Completed pre-run [2024-01-30 14:26:45,780 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:45,916 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:46,154 ERROR L324 MainTranslator]: Unsupported Syntax: Unable to instrument "((((((((0 <= ((QType *)arg)->head) && (0 <= ((QType *)arg)->tail)) && (((QType *)arg)->head <= 20)) && (((QType *)arg)->tail <= 20)) && ((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:46,155 INFO L204 PluginConnector]: Invalid model from CACSL2BoogieTranslator for observer de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator.CACSL2BoogieTranslatorObserver@20940f7d and model type de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 30.01 02:26:46, skipping insertion in model container [2024-01-30 14:26:46,155 INFO L131 PluginConnector]: ------------------------ END CACSL2BoogieTranslator---------------------------- [2024-01-30 14:26:46,156 INFO L186 ToolchainWalker]: Toolchain execution was canceled (user or tool) before executing de.uni_freiburg.informatik.ultimate.boogie.procedureinliner [2024-01-30 14:26:46,157 INFO L158 Benchmark]: Toolchain (without parser) took 1482.96ms. Allocated memory is still 190.8MB. Free memory was 157.5MB in the beginning and 69.7MB in the end (delta: 87.8MB). Peak memory consumption was 88.1MB. Max. memory is 16.1GB. [2024-01-30 14:26:46,158 INFO L158 Benchmark]: Witness Parser took 0.20ms. Allocated memory is still 113.2MB. Free memory is still 77.4MB. There was no memory consumed. Max. memory is 16.1GB. [2024-01-30 14:26:46,159 INFO L158 Benchmark]: CDTParser took 0.21ms. Allocated memory is still 190.8MB. Free memory was 145.7MB in the beginning and 145.5MB in the end (delta: 251.7kB). There was no memory consumed. Max. memory is 16.1GB. [2024-01-30 14:26:46,159 INFO L158 Benchmark]: CACSL2BoogieTranslator took 1480.98ms. Allocated memory is still 190.8MB. Free memory was 157.5MB in the beginning and 69.7MB in the end (delta: 87.8MB). Peak memory consumption was 88.1MB. Max. memory is 16.1GB. [2024-01-30 14:26:46,162 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.20ms. Allocated memory is still 113.2MB. Free memory is still 77.4MB. There was no memory consumed. Max. memory is 16.1GB. * CDTParser took 0.21ms. Allocated memory is still 190.8MB. Free memory was 145.7MB in the beginning and 145.5MB in the end (delta: 251.7kB). There was no memory consumed. Max. memory is 16.1GB. * CACSL2BoogieTranslator took 1480.98ms. Allocated memory is still 190.8MB. Free memory was 157.5MB in the beginning and 69.7MB in the end (delta: 87.8MB). Peak memory consumption was 88.1MB. 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 <= 20)) && (((QType *)arg)->tail <= 20)) && ((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.i ./goblint.2023-12-19_14-39-08.files/SV-COMP24_unreach-call/queue.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:48,187 INFO L188 SettingsManager]: Resetting all preferences to default values... [2024-01-30 14:26:48,269 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:48,276 WARN L101 SettingsManager]: Preference file contains the following unknown settings: [2024-01-30 14:26:48,277 WARN L103 SettingsManager]: * de.uni_freiburg.informatik.ultimate.core.Log level for class [2024-01-30 14:26:48,301 INFO L130 SettingsManager]: Preferences different from defaults after loading the file: [2024-01-30 14:26:48,302 INFO L151 SettingsManager]: Preferences of UltimateCore differ from their defaults: [2024-01-30 14:26:48,302 INFO L153 SettingsManager]: * Log level for class=de.uni_freiburg.informatik.ultimate.lib.smtlibutils.quantifier.QuantifierPusher=ERROR; [2024-01-30 14:26:48,303 INFO L151 SettingsManager]: Preferences of Boogie Preprocessor differ from their defaults: [2024-01-30 14:26:48,307 INFO L153 SettingsManager]: * Use memory slicer=true [2024-01-30 14:26:48,307 INFO L151 SettingsManager]: Preferences of Boogie Procedure Inliner differ from their defaults: [2024-01-30 14:26:48,307 INFO L153 SettingsManager]: * Ignore calls to procedures called more than once=ONLY_FOR_SEQUENTIAL_PROGRAMS [2024-01-30 14:26:48,308 INFO L151 SettingsManager]: Preferences of BlockEncodingV2 differ from their defaults: [2024-01-30 14:26:48,309 INFO L153 SettingsManager]: * Create parallel compositions if possible=false [2024-01-30 14:26:48,309 INFO L153 SettingsManager]: * Use SBE=true [2024-01-30 14:26:48,310 INFO L151 SettingsManager]: Preferences of CACSL2BoogieTranslator differ from their defaults: [2024-01-30 14:26:48,310 INFO L153 SettingsManager]: * Pointer base address is valid at dereference=IGNORE [2024-01-30 14:26:48,310 INFO L153 SettingsManager]: * sizeof long=4 [2024-01-30 14:26:48,311 INFO L153 SettingsManager]: * sizeof POINTER=4 [2024-01-30 14:26:48,311 INFO L153 SettingsManager]: * Check division by zero=IGNORE [2024-01-30 14:26:48,311 INFO L153 SettingsManager]: * Pointer to allocated memory at dereference=IGNORE [2024-01-30 14:26:48,312 INFO L153 SettingsManager]: * If two pointers are subtracted or compared they have the same base address=IGNORE [2024-01-30 14:26:48,312 INFO L153 SettingsManager]: * Check array bounds for arrays that are off heap=IGNORE [2024-01-30 14:26:48,312 INFO L153 SettingsManager]: * Adapt memory model on pointer casts if necessary=true [2024-01-30 14:26:48,313 INFO L153 SettingsManager]: * Use bitvectors instead of ints=true [2024-01-30 14:26:48,313 INFO L153 SettingsManager]: * Allow undefined functions=false [2024-01-30 14:26:48,313 INFO L153 SettingsManager]: * Memory model=HoenickeLindenmann_4ByteResolution [2024-01-30 14:26:48,313 INFO L153 SettingsManager]: * sizeof long double=12 [2024-01-30 14:26:48,314 INFO L153 SettingsManager]: * Check if freed pointer was valid=false [2024-01-30 14:26:48,314 INFO L153 SettingsManager]: * Use constant arrays=true [2024-01-30 14:26:48,315 INFO L151 SettingsManager]: Preferences of RCFGBuilder differ from their defaults: [2024-01-30 14:26:48,315 INFO L153 SettingsManager]: * Size of a code block=SequenceOfStatements [2024-01-30 14:26:48,316 INFO L153 SettingsManager]: * Only consider context switches at boundaries of atomic blocks=true [2024-01-30 14:26:48,316 INFO L153 SettingsManager]: * SMT solver=External_DefaultMode [2024-01-30 14:26:48,316 INFO L153 SettingsManager]: * Command for external solver=z3 SMTLIB2_COMPLIANT=true -memory:2024 -smt2 -in -t:4000 [2024-01-30 14:26:48,316 INFO L151 SettingsManager]: Preferences of TraceAbstraction differ from their defaults: [2024-01-30 14:26:48,317 INFO L153 SettingsManager]: * Compute Interpolants along a Counterexample=FPandBP [2024-01-30 14:26:48,317 INFO L153 SettingsManager]: * Positions where we compute the Hoare Annotation=LoopHeads [2024-01-30 14:26:48,318 INFO L153 SettingsManager]: * Trace refinement strategy=WOLF [2024-01-30 14:26:48,318 INFO L153 SettingsManager]: * Command for external solver=cvc4 --incremental --print-success --lang smt [2024-01-30 14:26:48,318 INFO L153 SettingsManager]: * Apply one-shot large block encoding in concurrent analysis=false [2024-01-30 14:26:48,318 INFO L153 SettingsManager]: * Automaton type used in concurrency analysis=PETRI_NET [2024-01-30 14:26:48,319 INFO L153 SettingsManager]: * Compute Hoare Annotation of negated interpolant automaton, abstraction and CFG=true [2024-01-30 14:26:48,319 INFO L153 SettingsManager]: * Order on configurations for Petri net unfoldings=DBO [2024-01-30 14:26:48,319 INFO L153 SettingsManager]: * SMT solver=External_ModelsAndUnsatCoreMode [2024-01-30 14:26:48,319 INFO L153 SettingsManager]: * Logic for external solver=AUFBV [2024-01-30 14:26:48,320 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:48,661 INFO L75 nceAwareModelManager]: Repository-Root is: /tmp [2024-01-30 14:26:48,687 INFO L261 ainManager$Toolchain]: [Toolchain 1]: Applicable parser(s) successfully (re)initialized [2024-01-30 14:26:48,692 INFO L217 ainManager$Toolchain]: [Toolchain 1]: Toolchain selected. [2024-01-30 14:26:48,693 INFO L270 PluginConnector]: Initializing CDTParser... [2024-01-30 14:26:48,694 INFO L274 PluginConnector]: CDTParser initialized [2024-01-30 14:26:48,696 INFO L431 ainManager$Toolchain]: [Toolchain 1]: Parsing single file: /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/../../../trunk/examples/svcomp/pthread/queue.i [2024-01-30 14:26:50,074 INFO L533 CDTParser]: Created temporary CDT project at NULL [2024-01-30 14:26:50,364 INFO L384 CDTParser]: Found 1 translation units. [2024-01-30 14:26:50,365 INFO L180 CDTParser]: Scanning /storage/repos/ultimate/trunk/examples/svcomp/pthread/queue.i [2024-01-30 14:26:50,393 INFO L427 CDTParser]: About to delete temporary CDT project at /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/data/e4ca19b9c/822a558e95ba4f60a7ec2e6d8b2ea3c8/FLAG4083ec8d6 [2024-01-30 14:26:50,413 INFO L435 CDTParser]: Successfully deleted /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/data/e4ca19b9c/822a558e95ba4f60a7ec2e6d8b2ea3c8 [2024-01-30 14:26:50,415 INFO L270 PluginConnector]: Initializing Witness Parser... [2024-01-30 14:26:50,416 INFO L274 PluginConnector]: Witness Parser initialized [2024-01-30 14:26:50,418 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.yml/witness.yml [2024-01-30 14:26:50,687 INFO L299 ainManager$Toolchain]: ####################### [Toolchain 1] ####################### [2024-01-30 14:26:50,688 INFO L133 ToolchainWalker]: Walking toolchain with 5 elements. [2024-01-30 14:26:50,690 INFO L112 PluginConnector]: ------------------------CACSL2BoogieTranslator---------------------------- [2024-01-30 14:26:50,690 INFO L270 PluginConnector]: Initializing CACSL2BoogieTranslator... [2024-01-30 14:26:50,694 INFO L274 PluginConnector]: CACSL2BoogieTranslator initialized [2024-01-30 14:26:50,695 INFO L184 PluginConnector]: Executing the observer ACSLObjectContainerObserver from plugin CACSL2BoogieTranslator for "CDTParser AST 30.01 02:26:50" (1/2) ... [2024-01-30 14:26:50,697 INFO L204 PluginConnector]: Invalid model from CACSL2BoogieTranslator for observer de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator.ACSLObjectContainerObserver@7d27dd77 and model type de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 30.01 02:26:50, skipping insertion in model container [2024-01-30 14:26:50,697 INFO L184 PluginConnector]: Executing the observer CACSL2BoogieTranslatorObserver from plugin CACSL2BoogieTranslator for "CDTParser AST 30.01 02:26:50" (1/2) ... [2024-01-30 14:26:50,699 INFO L204 PluginConnector]: Invalid model from CACSL2BoogieTranslator for observer de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator.CACSL2BoogieTranslatorObserver@42a0b97e and model type de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 30.01 02:26:50, skipping insertion in model container [2024-01-30 14:26:50,699 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:50" (2/2) ... [2024-01-30 14:26:50,699 INFO L204 PluginConnector]: Invalid model from CACSL2BoogieTranslator for observer de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator.ACSLObjectContainerObserver@7d27dd77 and model type witness.yml de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator CORRECTNESS_WITNESS 30.01 02:26:50, skipping insertion in model container [2024-01-30 14:26:50,699 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:50" (2/2) ... [2024-01-30 14:26:50,700 INFO L83 nessWitnessExtractor]: Extracting all invariants from correctness witness [2024-01-30 14:26:51,174 INFO L96 nessWitnessExtractor]: Found the following entries in the witness: [2024-01-30 14:26:51,176 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:51,176 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 <= 19)) && (queue.tail <= 20)) && (q->amount <= 2147483646)) && (q->head <= 19)) && (q->tail <= 20)) && (dequeue_flag == (_Bool)1)) && (q == & queue)) && (queue.head != 20)) && (q->head != 20)) && (enqueue_flag == (_Bool)0 || enqueue_flag == (_Bool)1) [2024-01-30 14:26:51,176 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 <= 20)) && (queue.tail <= 20)) && (q->amount <= 2147483646)) && (q->head <= 20)) && (q->tail <= 20)) && (dequeue_flag == (_Bool)1)) && (q == & queue)) && (enqueue_flag == (_Bool)0 || enqueue_flag == (_Bool)1) [2024-01-30 14:26:51,176 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 <= 20)) && (queue.tail <= 20)) && (((QType *)arg)->head <= 20)) && (((QType *)arg)->tail <= 20)) && (enqueue_flag == (_Bool)0)) && (arg == (void *)(& queue))) && (queue.tail != 21)) && (((QType *)arg)->tail != 21)) && (dequeue_flag == (_Bool)0 || dequeue_flag == (_Bool)1)) && (((((i == 3 || i == 2) || i == 1) || (0 == i && i == 0)) || (5 <= i && i <= 18)) || i == 4) [2024-01-30 14:26:51,176 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:51,177 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 <= 20) && queue.tail <= 20) && q->head <= 20) && q->tail <= 20) && queue.head != 21) && queue.tail != 21) && q->head != 21) && q->tail != 21) && (enqueue_flag == (_Bool)0 || enqueue_flag == (_Bool)1)) && (dequeue_flag == (_Bool)0 || dequeue_flag == (_Bool)1))) [2024-01-30 14:26:51,177 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 <= 20)) && (queue.tail <= 20)) && (((QType *)arg)->head <= 20)) && (((QType *)arg)->tail <= 20)) && (enqueue_flag == (_Bool)1)) && (arg == (void *)(& queue))) && (queue.tail != 21)) && (((QType *)arg)->tail != 21)) && (dequeue_flag == (_Bool)0 || dequeue_flag == (_Bool)1)) && (((((i == 3 || i == 2) || i == 1) || (0 == i && i == 0)) || (5 <= i && i <= 18)) || i == 4) [2024-01-30 14:26:51,177 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 <= 20)) && (queue.tail <= 20)) && (q->head <= 20)) && (q->tail <= 20)) && (q == & queue)) && (enqueue_flag == (_Bool)0 || enqueue_flag == (_Bool)1)) && (dequeue_flag == (_Bool)0 || dequeue_flag == (_Bool)1) [2024-01-30 14:26:51,177 INFO L98 nessWitnessExtractor]: Location invariant before [L1039-L1039] (((((0 <= ((QType *)arg)->head) && (0 <= ((QType *)arg)->tail)) && (((QType *)arg)->head <= 20)) && (((QType *)arg)->tail <= 20)) && (arg == (void *)(& queue))) && ((((i == 3 || i == 2) || i == 1) || (0 == i && i == 0)) || (4 <= i && i <= 19)) [2024-01-30 14:26:51,177 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:51,178 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 <= 20)) && (queue.tail <= 20)) && (((QType *)arg)->head <= 20)) && (((QType *)arg)->tail <= 20)) && (arg == (void *)(& queue))) && (queue.tail != 21)) && (((QType *)arg)->tail != 21)) && (enqueue_flag == (_Bool)0 || enqueue_flag == (_Bool)1)) && (dequeue_flag == (_Bool)0 || dequeue_flag == (_Bool)1) [2024-01-30 14:26:51,178 INFO L98 nessWitnessExtractor]: Location invariant before [L1050-L1050] (((((0 <= ((QType *)arg)->head) && (0 <= ((QType *)arg)->tail)) && (((QType *)arg)->head <= 20)) && (((QType *)arg)->tail <= 20)) && (arg == (void *)(& queue))) && (i == 20) [2024-01-30 14:26:51,178 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:51,178 INFO L98 nessWitnessExtractor]: Location invariant before [L1020-L1020] (((((0 <= ((QType *)arg)->head) && (0 <= ((QType *)arg)->tail)) && (((QType *)arg)->head <= 20)) && (((QType *)arg)->tail <= 20)) && (arg == (void *)(& queue))) && (((((i == 3 || i == 2) || i == 1) || (0 == i && i == 0)) || (5 <= i && i <= 18)) || i == 4) [2024-01-30 14:26:51,178 INFO L98 nessWitnessExtractor]: Location invariant before [L996-L996] ((((((((((0 <= queue.head) && (0 <= queue.tail)) && (0 <= q->head)) && (0 <= q->tail)) && (queue.head <= 20)) && (queue.tail <= 20)) && (q->head <= 20)) && (q->tail <= 20)) && (dequeue_flag == (_Bool)1)) && (q == & queue)) && (enqueue_flag == (_Bool)0 || enqueue_flag == (_Bool)1) [2024-01-30 14:26:51,178 INFO L98 nessWitnessExtractor]: Location invariant before [L1063-L1063] ((((enqueue_flag == (_Bool)1) && (dequeue_flag == (_Bool)0)) && (queue.amount == 0)) && (queue.head == 0)) && (queue.tail == 0) [2024-01-30 14:26:51,179 INFO L98 nessWitnessExtractor]: Loop invariant at [L1037-L1049] ((((0 <= ((QType *)arg)->head) && (0 <= ((QType *)arg)->tail)) && (((QType *)arg)->head <= 20)) && (((QType *)arg)->tail <= 20)) && (arg == (void *)(& queue)) [2024-01-30 14:26:51,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 <= 20)) && (queue.tail <= 20)) && (q->head <= 20)) && (q->tail <= 20)) && (q == & queue)) && (queue.tail != 21)) && (q->tail != 21)) && (enqueue_flag == (_Bool)0 || enqueue_flag == (_Bool)1)) && (dequeue_flag == (_Bool)0 || dequeue_flag == (_Bool)1) [2024-01-30 14:26:51,179 INFO L98 nessWitnessExtractor]: Location invariant before [L980-L980] ((((((((((0 <= queue.head) && (0 <= queue.tail)) && (0 <= q->head)) && (0 <= q->tail)) && (queue.head <= 20)) && (queue.tail <= 20)) && (q->head <= 20)) && (q->tail <= 20)) && (q == & queue)) && (enqueue_flag == (_Bool)0 || enqueue_flag == (_Bool)1)) && (dequeue_flag == (_Bool)0 || dequeue_flag == (_Bool)1) [2024-01-30 14:26:51,180 INFO L98 nessWitnessExtractor]: Location invariant before [L1058-L1061] ((((enqueue_flag == (_Bool)1) && (dequeue_flag == (_Bool)0)) && (queue.amount == 0)) && (queue.head == 0)) && (queue.tail == 0) [2024-01-30 14:26:51,180 INFO L98 nessWitnessExtractor]: Location invariant before [L1029-L1029] (((((((((((0 <= queue.head) && (0 <= queue.tail)) && (0 <= ((QType *)arg)->head)) && (0 <= ((QType *)arg)->tail)) && (queue.head <= 20)) && (queue.tail <= 20)) && (((QType *)arg)->head <= 20)) && (((QType *)arg)->tail <= 20)) && (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 <= 18)) || i == 4) [2024-01-30 14:26:51,180 INFO L98 nessWitnessExtractor]: Location invariant before [L22-L22] (((((0 <= queue.head) && (0 <= queue.tail)) && (queue.head <= 20)) && (queue.tail <= 20)) && (enqueue_flag == (_Bool)0 || enqueue_flag == (_Bool)1)) && (dequeue_flag == (_Bool)0 || dequeue_flag == (_Bool)1) [2024-01-30 14:26:51,180 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:51,180 INFO L98 nessWitnessExtractor]: Location invariant before [L1010-L1012] (((((((((0 <= queue.head) && (0 <= ((QType *)arg)->head)) && (queue.head <= 20)) && (queue.tail <= 20)) && (((QType *)arg)->head <= 20)) && (((QType *)arg)->tail <= 20)) && (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 != 21) && ((QType *)arg)->tail != 21) || (0 <= queue.tail && 0 <= ((QType *)arg)->tail)) [2024-01-30 14:26:51,180 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 <= 20)) && (queue.tail <= 20)) && (((QType *)arg)->head <= 20)) && (((QType *)arg)->tail <= 20)) && (arg == (void *)(& queue))) && (queue.tail != 21)) && (((QType *)arg)->tail != 21)) && (enqueue_flag == (_Bool)0 || enqueue_flag == (_Bool)1)) && (dequeue_flag == (_Bool)0 || dequeue_flag == (_Bool)1) [2024-01-30 14:26:51,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 <= 20)) && (queue.tail <= 20)) && (((QType *)arg)->head <= 20)) && (((QType *)arg)->tail <= 20)) && (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 <= 18)) || i == 4) [2024-01-30 14:26:51,181 INFO L98 nessWitnessExtractor]: Location invariant before [L1040-L1047] (((((((((((0 <= queue.head) && (0 <= queue.tail)) && (0 <= ((QType *)arg)->head)) && (0 <= ((QType *)arg)->tail)) && (queue.head <= 20)) && (queue.tail <= 20)) && (((QType *)arg)->head <= 20)) && (((QType *)arg)->tail <= 20)) && (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 <= 19)) [2024-01-30 14:26:51,181 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 <= 20)) && (queue.tail <= 20)) && (((QType *)arg)->amount <= 2147483646)) && (((QType *)arg)->head <= 20)) && (((QType *)arg)->tail <= 20)) && (dequeue_flag == (_Bool)1)) && (arg == (void *)(& queue))) && (queue.head != 21)) && (((QType *)arg)->head != 21)) && (enqueue_flag == (_Bool)0 || enqueue_flag == (_Bool)1)) && ((((i == 2 || i == 1) || (0 == i && i == 0)) || (4 <= i && i <= 19)) || i == 3) [2024-01-30 14:26:51,181 INFO L98 nessWitnessExtractor]: Location invariant before [L1031-L1031] (((((0 <= ((QType *)arg)->head) && (0 <= ((QType *)arg)->tail)) && (((QType *)arg)->head <= 20)) && (((QType *)arg)->tail <= 20)) && (arg == (void *)(& queue))) && (i == 19) [2024-01-30 14:26:51,181 INFO L98 nessWitnessExtractor]: Location invariant before [L995-L995] ((((((((((0 <= queue.head) && (0 <= queue.tail)) && (0 <= q->head)) && (0 <= q->tail)) && (queue.head <= 20)) && (queue.tail <= 20)) && (q->head <= 20)) && (q->tail <= 20)) && (dequeue_flag == (_Bool)1)) && (q == & queue)) && (enqueue_flag == (_Bool)0 || enqueue_flag == (_Bool)1) [2024-01-30 14:26:51,182 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:51,182 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 <= 20)) && (queue.tail <= 20)) && (q->amount <= 2147483646)) && (q->head <= 20)) && (q->tail <= 20)) && (dequeue_flag == (_Bool)1)) && (q == & queue)) && (queue.head != 21)) && (q->head != 21)) && (enqueue_flag == (_Bool)0 || enqueue_flag == (_Bool)1) [2024-01-30 14:26:51,182 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:51,183 INFO L98 nessWitnessExtractor]: Location invariant before [L999-L999] ((((((((((0 <= queue.tail) && (0 <= q->tail)) && (queue.amount <= 2147483646)) && (queue.tail <= 20)) && (q->amount <= 2147483646)) && (q->tail <= 20)) && (dequeue_flag == (_Bool)1)) && (queue.head == 20)) && (q == & queue)) && (q->head == 20)) && (enqueue_flag == (_Bool)0 || enqueue_flag == (_Bool)1) [2024-01-30 14:26:51,184 INFO L98 nessWitnessExtractor]: Location invariant before [L981-L981] ((((((((((0 <= queue.head) && (0 <= queue.tail)) && (0 <= q->head)) && (0 <= q->tail)) && (queue.head <= 20)) && (queue.tail <= 20)) && (q->head <= 20)) && (q->tail <= 20)) && (q == & queue)) && (enqueue_flag == (_Bool)0 || enqueue_flag == (_Bool)1)) && (dequeue_flag == (_Bool)0 || dequeue_flag == (_Bool)1) [2024-01-30 14:26:51,184 INFO L98 nessWitnessExtractor]: Location invariant before [L1048-L1048] (((((((((((0 <= queue.head) && (0 <= queue.tail)) && (0 <= ((QType *)arg)->head)) && (0 <= ((QType *)arg)->tail)) && (queue.head <= 20)) && (queue.tail <= 20)) && (((QType *)arg)->head <= 20)) && (((QType *)arg)->tail <= 20)) && (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 <= 19)) || i == 3) [2024-01-30 14:26:51,185 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 <= 20)) && (queue.tail <= 20)) && (((QType *)arg)->head <= 20)) && (((QType *)arg)->tail <= 20)) && (arg == (void *)(& queue))) && (queue.tail != 21)) && (((QType *)arg)->tail != 21)) && (enqueue_flag == (_Bool)0 || enqueue_flag == (_Bool)1)) && (dequeue_flag == (_Bool)0 || dequeue_flag == (_Bool)1) [2024-01-30 14:26:51,185 INFO L98 nessWitnessExtractor]: Location invariant before [L984-L984] ((((((((((-2147483647 <= queue.amount) && (-2147483647 <= q->amount)) && (0 <= queue.head)) && (0 <= q->head)) && (queue.head <= 20)) && (q->head <= 20)) && (queue.tail == 20)) && (q == & queue)) && (q->tail == 20)) && (enqueue_flag == (_Bool)0 || enqueue_flag == (_Bool)1)) && (dequeue_flag == (_Bool)0 || dequeue_flag == (_Bool)1) [2024-01-30 14:26:51,185 INFO L98 nessWitnessExtractor]: Location invariant before [L1021-L1028] (((((((((((0 <= queue.head) && (0 <= queue.tail)) && (0 <= ((QType *)arg)->head)) && (0 <= ((QType *)arg)->tail)) && (queue.head <= 20)) && (queue.tail <= 20)) && (((QType *)arg)->head <= 20)) && (((QType *)arg)->tail <= 20)) && (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 <= 18)) || i == 4) [2024-01-30 14:26:51,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 <= 20)) && (queue.tail <= 20)) && (((QType *)arg)->head <= 20)) && (((QType *)arg)->tail <= 20)) && (enqueue_flag == (_Bool)1)) && (arg == (void *)(& queue))) && (queue.tail != 21)) && (((QType *)arg)->tail != 21)) && (dequeue_flag == (_Bool)0 || dequeue_flag == (_Bool)1)) && (((((i == 3 || i == 2) || i == 1) || (0 == i && i == 0)) || (5 <= i && i <= 18)) || i == 4) [2024-01-30 14:26:51,185 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:51,185 INFO L98 nessWitnessExtractor]: Loop invariant at [L1018-L1030] ((((0 <= ((QType *)arg)->head) && (0 <= ((QType *)arg)->tail)) && (((QType *)arg)->head <= 20)) && (((QType *)arg)->tail <= 20)) && (arg == (void *)(& queue)) [2024-01-30 14:26:51,186 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 <= 20)) && (queue.tail <= 20)) && (((QType *)arg)->amount <= 2147483646)) && (((QType *)arg)->head <= 20)) && (((QType *)arg)->tail <= 20)) && (dequeue_flag == (_Bool)1)) && (arg == (void *)(& queue))) && (queue.head != 21)) && (((QType *)arg)->head != 21)) && (enqueue_flag == (_Bool)0 || enqueue_flag == (_Bool)1)) && ((((i == 2 || i == 1) || (0 == i && i == 0)) || (4 <= i && i <= 19)) || i == 3) [2024-01-30 14:26:51,186 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 <= 20)) && (queue.tail <= 20)) && (((QType *)arg)->amount <= 2147483646)) && (((QType *)arg)->head <= 20)) && (((QType *)arg)->tail <= 20)) && (dequeue_flag == (_Bool)0)) && (arg == (void *)(& queue))) && (queue.head != 21)) && (((QType *)arg)->head != 21)) && (enqueue_flag == (_Bool)0 || enqueue_flag == (_Bool)1)) && ((((i == 2 || i == 1) || (0 == i && i == 0)) || (4 <= i && i <= 19)) || i == 3) [2024-01-30 14:26:51,186 INFO L98 nessWitnessExtractor]: Location invariant before [L1023-L1023] (((((((((((0 <= queue.head) && (0 <= queue.tail)) && (0 <= ((QType *)arg)->head)) && (0 <= ((QType *)arg)->tail)) && (queue.head <= 20)) && (queue.tail <= 20)) && (((QType *)arg)->head <= 20)) && (((QType *)arg)->tail <= 20)) && (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 <= 18)) || i == 4) [2024-01-30 14:26:51,187 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 <= 20)) && (queue.tail <= 20)) && (q->head <= 20)) && (q->tail <= 20)) && (q == & queue)) && (queue.tail != 21)) && (q->tail != 21)) && (enqueue_flag == (_Bool)0 || enqueue_flag == (_Bool)1)) && (dequeue_flag == (_Bool)0 || dequeue_flag == (_Bool)1) [2024-01-30 14:26:51,187 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 <= 20) && queue.tail <= 20) && q->head <= 20) && q->tail <= 20) && queue.tail != 21) && q->tail != 21) && (enqueue_flag == (_Bool)0 || enqueue_flag == (_Bool)1)) && (dequeue_flag == (_Bool)0 || dequeue_flag == (_Bool)1))) [2024-01-30 14:26:51,187 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 <= 20) && queue.tail <= 20) && q->head <= 20) && q->tail <= 20) && queue.head != 21) && queue.tail != 21) && q->head != 21) && q->tail != 21) && (enqueue_flag == (_Bool)0 || enqueue_flag == (_Bool)1)) && (dequeue_flag == (_Bool)0 || dequeue_flag == (_Bool)1))) [2024-01-30 14:26:51,187 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 <= 20)) && (queue.tail <= 19)) && (q->head <= 20)) && (q->tail <= 19)) && (q == & queue)) && (queue.tail != 20)) && (q->tail != 20)) && (enqueue_flag == (_Bool)0 || enqueue_flag == (_Bool)1)) && (dequeue_flag == (_Bool)0 || dequeue_flag == (_Bool)1) [2024-01-30 14:26:51,188 INFO L98 nessWitnessExtractor]: Location invariant before [L1009-L1009] ((((((((((((((0 <= queue.head) && (0 <= queue.tail)) && (0 <= ((QType *)arg)->head)) && (0 <= ((QType *)arg)->tail)) && (queue.head <= 20)) && (queue.tail <= 20)) && (((QType *)arg)->head <= 20)) && (((QType *)arg)->tail <= 20)) && ((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:51,188 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 <= 20)) && (queue.tail <= 20)) && (((QType *)arg)->head <= 20)) && (((QType *)arg)->tail <= 20)) && (arg == (void *)(& queue))) && (queue.tail != 21)) && (((QType *)arg)->tail != 21)) && (enqueue_flag == (_Bool)0 || enqueue_flag == (_Bool)1)) && (dequeue_flag == (_Bool)0 || dequeue_flag == (_Bool)1) [2024-01-30 14:26:51,188 INFO L98 nessWitnessExtractor]: Location invariant before [L1042-L1044] (((((((((0 <= queue.tail) && (0 <= ((QType *)arg)->tail)) && (queue.head <= 20)) && (queue.tail <= 20)) && (((QType *)arg)->head <= 20)) && (((QType *)arg)->tail <= 20)) && (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 != 21) && ((QType *)arg)->head != 21) || (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 != 21) && ((QType *)arg)->head != 21)) || ((((((1 <= queue.head && 1 <= ((QType *)arg)->head) && queue.amount <= 2147483646) && ((QType *)arg)->amount <= 2147483646) && i == 1) && queue.head != 21) && ((QType *)arg)->head != 21)) || ((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 != 21) && ((QType *)arg)->head != 21)) || (((((((1 <= queue.head && 1 <= ((QType *)arg)->head) && queue.amount <= 2147483646) && ((QType *)arg)->amount <= 2147483646) && 0 == i) && i == 0) && queue.head != 21) && ((QType *)arg)->head != 21)) || (((0 <= queue.head && 0 <= ((QType *)arg)->head) && 0 == i) && i == 0)) || (((((((1 <= queue.head && 1 <= ((QType *)arg)->head) && 4 <= i) && queue.amount <= 2147483646) && i <= 19) && ((QType *)arg)->amount <= 2147483646) && queue.head != 21) && ((QType *)arg)->head != 21)) || (((((((1 <= queue.head && 1 <= ((QType *)arg)->head) && 4 <= i) && queue.amount <= 2147483646) && i <= 19) && ((QType *)arg)->amount <= 2147483646) && queue.head != 21) && ((QType *)arg)->head != 21)) || (((0 <= queue.head && 0 <= ((QType *)arg)->head) && 4 <= i) && i <= 19)) || ((((((1 <= queue.head && 1 <= ((QType *)arg)->head) && queue.amount <= 2147483646) && ((QType *)arg)->amount <= 2147483646) && i == 3) && queue.head != 21) && ((QType *)arg)->head != 21)) || ((((((1 <= queue.head && 1 <= ((QType *)arg)->head) && queue.amount <= 2147483646) && ((QType *)arg)->amount <= 2147483646) && i == 3) && queue.head != 21) && ((QType *)arg)->head != 21)) || ((0 <= queue.head && 0 <= ((QType *)arg)->head) && i == 3)) [2024-01-30 14:26:51,189 INFO L98 nessWitnessExtractor]: Location invariant before [L1008-L1008] ((((((((0 <= ((QType *)arg)->head) && (0 <= ((QType *)arg)->tail)) && (((QType *)arg)->head <= 20)) && (((QType *)arg)->tail <= 20)) && ((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:51,252 INFO L177 MainTranslator]: Built tables and reachable declarations [2024-01-30 14:26:51,680 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.i[43284,43297] [2024-01-30 14:26:51,697 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.i[43491,43504] [2024-01-30 14:26:51,704 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.i[43772,43785] [2024-01-30 14:26:51,713 INFO L209 PostProcessor]: Analyzing one entry point: main [2024-01-30 14:26:51,730 INFO L202 MainTranslator]: Completed pre-run [2024-01-30 14:26:51,745 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:51,902 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:52,208 ERROR L324 MainTranslator]: Unsupported Syntax: Unable to instrument "((((((((0 <= ((QType *)arg)->head) && (0 <= ((QType *)arg)->tail)) && (((QType *)arg)->head <= 20)) && (((QType *)arg)->tail <= 20)) && ((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:52,209 INFO L204 PluginConnector]: Invalid model from CACSL2BoogieTranslator for observer de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator.CACSL2BoogieTranslatorObserver@42a0b97e and model type witness.yml de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator CORRECTNESS_WITNESS 30.01 02:26:52, skipping insertion in model container [2024-01-30 14:26:52,209 INFO L131 PluginConnector]: ------------------------ END CACSL2BoogieTranslator---------------------------- [2024-01-30 14:26:52,210 INFO L186 ToolchainWalker]: Toolchain execution was canceled (user or tool) before executing de.uni_freiburg.informatik.ultimate.boogie.procedureinliner [2024-01-30 14:26:52,211 INFO L158 Benchmark]: Toolchain (without parser) took 1522.07ms. Allocated memory was 71.3MB in the beginning and 102.8MB in the end (delta: 31.5MB). Free memory was 31.9MB in the beginning and 36.7MB in the end (delta: -4.8MB). Peak memory consumption was 41.6MB. Max. memory is 16.1GB. [2024-01-30 14:26:52,212 INFO L158 Benchmark]: CDTParser took 0.19ms. Allocated memory is still 71.3MB. Free memory is still 48.1MB. There was no memory consumed. Max. memory is 16.1GB. [2024-01-30 14:26:52,212 INFO L158 Benchmark]: Witness Parser took 0.15ms. Allocated memory is still 71.3MB. Free memory is still 33.2MB. There was no memory consumed. Max. memory is 16.1GB. [2024-01-30 14:26:52,213 INFO L158 Benchmark]: CACSL2BoogieTranslator took 1519.82ms. Allocated memory was 71.3MB in the beginning and 102.8MB in the end (delta: 31.5MB). Free memory was 31.7MB in the beginning and 37.3MB in the end (delta: -5.7MB). Peak memory consumption was 39.5MB. Max. memory is 16.1GB. [2024-01-30 14:26:52,215 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.19ms. Allocated memory is still 71.3MB. Free memory is still 48.1MB. There was no memory consumed. Max. memory is 16.1GB. * Witness Parser took 0.15ms. Allocated memory is still 71.3MB. Free memory is still 33.2MB. There was no memory consumed. Max. memory is 16.1GB. * CACSL2BoogieTranslator took 1519.82ms. Allocated memory was 71.3MB in the beginning and 102.8MB in the end (delta: 31.5MB). Free memory was 31.7MB in the beginning and 37.3MB in the end (delta: -5.7MB). Peak memory consumption was 39.5MB. 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 <= 20)) && (((QType *)arg)->tail <= 20)) && ((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