./Ultimate.py --spec ../../../trunk/examples/svcomp/properties/unreach-call.prp --file ../../../trunk/examples/svcomp/pthread-complex/safestack_relacy.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/safestack_relacy.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-complex/safestack_relacy.i ./goblint.2023-12-19_14-39-08.files/SV-COMP24_unreach-call/safestack_relacy.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:39:55,899 INFO L188 SettingsManager]: Resetting all preferences to default values... [2024-01-30 14:39:55,957 INFO L114 SettingsManager]: Loading settings from /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/config/svcomp-Reach-32bit-Automizer_Default.epf [2024-01-30 14:39:55,959 WARN L101 SettingsManager]: Preference file contains the following unknown settings: [2024-01-30 14:39:55,960 WARN L103 SettingsManager]: * de.uni_freiburg.informatik.ultimate.core.Log level for class [2024-01-30 14:39:55,973 INFO L130 SettingsManager]: Preferences different from defaults after loading the file: [2024-01-30 14:39:55,974 INFO L151 SettingsManager]: Preferences of UltimateCore differ from their defaults: [2024-01-30 14:39:55,974 INFO L153 SettingsManager]: * Log level for class=de.uni_freiburg.informatik.ultimate.lib.smtlibutils.quantifier.QuantifierPusher=ERROR; [2024-01-30 14:39:55,974 INFO L151 SettingsManager]: Preferences of Boogie Preprocessor differ from their defaults: [2024-01-30 14:39:55,974 INFO L153 SettingsManager]: * Use memory slicer=true [2024-01-30 14:39:55,975 INFO L151 SettingsManager]: Preferences of Boogie Procedure Inliner differ from their defaults: [2024-01-30 14:39:55,975 INFO L153 SettingsManager]: * Ignore calls to procedures called more than once=ONLY_FOR_SEQUENTIAL_PROGRAMS [2024-01-30 14:39:55,975 INFO L151 SettingsManager]: Preferences of BlockEncodingV2 differ from their defaults: [2024-01-30 14:39:55,975 INFO L153 SettingsManager]: * Create parallel compositions if possible=false [2024-01-30 14:39:55,976 INFO L153 SettingsManager]: * Use SBE=true [2024-01-30 14:39:55,976 INFO L151 SettingsManager]: Preferences of CACSL2BoogieTranslator differ from their defaults: [2024-01-30 14:39:55,976 INFO L153 SettingsManager]: * Pointer base address is valid at dereference=IGNORE [2024-01-30 14:39:55,976 INFO L153 SettingsManager]: * sizeof long=4 [2024-01-30 14:39:55,976 INFO L153 SettingsManager]: * Overapproximate operations on floating types=true [2024-01-30 14:39:55,977 INFO L153 SettingsManager]: * sizeof POINTER=4 [2024-01-30 14:39:55,977 INFO L153 SettingsManager]: * Check division by zero=IGNORE [2024-01-30 14:39:55,977 INFO L153 SettingsManager]: * Pointer to allocated memory at dereference=IGNORE [2024-01-30 14:39:55,977 INFO L153 SettingsManager]: * If two pointers are subtracted or compared they have the same base address=IGNORE [2024-01-30 14:39:55,978 INFO L153 SettingsManager]: * Check array bounds for arrays that are off heap=IGNORE [2024-01-30 14:39:55,978 INFO L153 SettingsManager]: * Allow undefined functions=false [2024-01-30 14:39:55,978 INFO L153 SettingsManager]: * sizeof long double=12 [2024-01-30 14:39:55,978 INFO L153 SettingsManager]: * Check if freed pointer was valid=false [2024-01-30 14:39:55,979 INFO L153 SettingsManager]: * Use constant arrays=true [2024-01-30 14:39:55,979 INFO L151 SettingsManager]: Preferences of RCFGBuilder differ from their defaults: [2024-01-30 14:39:55,979 INFO L153 SettingsManager]: * Size of a code block=SequenceOfStatements [2024-01-30 14:39:55,979 INFO L153 SettingsManager]: * Only consider context switches at boundaries of atomic blocks=true [2024-01-30 14:39:55,979 INFO L153 SettingsManager]: * SMT solver=External_DefaultMode [2024-01-30 14:39:55,980 INFO L153 SettingsManager]: * Command for external solver=z3 SMTLIB2_COMPLIANT=true -memory:2024 -smt2 -in -t:4000 [2024-01-30 14:39:55,980 INFO L151 SettingsManager]: Preferences of TraceAbstraction differ from their defaults: [2024-01-30 14:39:55,980 INFO L153 SettingsManager]: * Compute Interpolants along a Counterexample=FPandBP [2024-01-30 14:39:55,980 INFO L153 SettingsManager]: * Positions where we compute the Hoare Annotation=LoopHeads [2024-01-30 14:39:55,980 INFO L153 SettingsManager]: * Trace refinement strategy=CAMEL [2024-01-30 14:39:55,981 INFO L153 SettingsManager]: * Command for external solver=z3 SMTLIB2_COMPLIANT=true -memory:2024 -smt2 -in [2024-01-30 14:39:55,981 INFO L153 SettingsManager]: * Apply one-shot large block encoding in concurrent analysis=false [2024-01-30 14:39:55,981 INFO L153 SettingsManager]: * Automaton type used in concurrency analysis=PETRI_NET [2024-01-30 14:39:55,981 INFO L153 SettingsManager]: * Compute Hoare Annotation of negated interpolant automaton, abstraction and CFG=true [2024-01-30 14:39:55,985 INFO L153 SettingsManager]: * Order on configurations for Petri net unfoldings=DBO [2024-01-30 14:39:55,985 INFO L153 SettingsManager]: * SMT solver=External_ModelsAndUnsatCoreMode [2024-01-30 14:39:55,985 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:39:56,201 INFO L75 nceAwareModelManager]: Repository-Root is: /tmp [2024-01-30 14:39:56,223 INFO L261 ainManager$Toolchain]: [Toolchain 1]: Applicable parser(s) successfully (re)initialized [2024-01-30 14:39:56,225 INFO L217 ainManager$Toolchain]: [Toolchain 1]: Toolchain selected. [2024-01-30 14:39:56,226 INFO L270 PluginConnector]: Initializing CDTParser... [2024-01-30 14:39:56,226 INFO L274 PluginConnector]: CDTParser initialized [2024-01-30 14:39:56,227 INFO L431 ainManager$Toolchain]: [Toolchain 1]: Parsing single file: /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/../../../trunk/examples/svcomp/pthread-complex/safestack_relacy.i [2024-01-30 14:39:57,197 INFO L533 CDTParser]: Created temporary CDT project at NULL [2024-01-30 14:39:57,471 INFO L384 CDTParser]: Found 1 translation units. [2024-01-30 14:39:57,472 INFO L180 CDTParser]: Scanning /storage/repos/ultimate/trunk/examples/svcomp/pthread-complex/safestack_relacy.i [2024-01-30 14:39:57,488 INFO L427 CDTParser]: About to delete temporary CDT project at /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/data/79534bf87/0346603b386541c099ff399c20c5c585/FLAG2b1e4035a [2024-01-30 14:39:57,500 INFO L435 CDTParser]: Successfully deleted /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/data/79534bf87/0346603b386541c099ff399c20c5c585 [2024-01-30 14:39:57,502 INFO L270 PluginConnector]: Initializing Witness Parser... [2024-01-30 14:39:57,502 INFO L274 PluginConnector]: Witness Parser initialized [2024-01-30 14:39:57,503 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/safestack_relacy.yml/witness.yml [2024-01-30 14:39:57,688 INFO L299 ainManager$Toolchain]: ####################### [Toolchain 1] ####################### [2024-01-30 14:39:57,689 INFO L133 ToolchainWalker]: Walking toolchain with 5 elements. [2024-01-30 14:39:57,690 INFO L112 PluginConnector]: ------------------------CACSL2BoogieTranslator---------------------------- [2024-01-30 14:39:57,690 INFO L270 PluginConnector]: Initializing CACSL2BoogieTranslator... [2024-01-30 14:39:57,694 INFO L274 PluginConnector]: CACSL2BoogieTranslator initialized [2024-01-30 14:39:57,696 INFO L184 PluginConnector]: Executing the observer ACSLObjectContainerObserver from plugin CACSL2BoogieTranslator for "CDTParser AST 30.01 02:39:57" (1/2) ... [2024-01-30 14:39:57,697 INFO L204 PluginConnector]: Invalid model from CACSL2BoogieTranslator for observer de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator.ACSLObjectContainerObserver@578c1fc9 and model type de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 30.01 02:39:57, skipping insertion in model container [2024-01-30 14:39:57,697 INFO L184 PluginConnector]: Executing the observer CACSL2BoogieTranslatorObserver from plugin CACSL2BoogieTranslator for "CDTParser AST 30.01 02:39:57" (1/2) ... [2024-01-30 14:39:57,698 INFO L204 PluginConnector]: Invalid model from CACSL2BoogieTranslator for observer de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator.CACSL2BoogieTranslatorObserver@6175c012 and model type de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 30.01 02:39:57, skipping insertion in model container [2024-01-30 14:39:57,698 INFO L184 PluginConnector]: Executing the observer ACSLObjectContainerObserver from plugin CACSL2BoogieTranslator for "witness.yml de.uni_freiburg.informatik.ultimate.witnessparser CORRECTNESS_WITNESS 30.01 02:39:57" (2/2) ... [2024-01-30 14:39:57,699 INFO L204 PluginConnector]: Invalid model from CACSL2BoogieTranslator for observer de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator.ACSLObjectContainerObserver@578c1fc9 and model type witness.yml de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator CORRECTNESS_WITNESS 30.01 02:39:57, skipping insertion in model container [2024-01-30 14:39:57,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:39:57" (2/2) ... [2024-01-30 14:39:57,699 INFO L83 nessWitnessExtractor]: Extracting all invariants from correctness witness [2024-01-30 14:39:58,298 INFO L96 nessWitnessExtractor]: Found the following entries in the witness: [2024-01-30 14:39:58,299 INFO L98 nessWitnessExtractor]: Loop invariant at [L1898-L1898] ((((((((0 <= idx) && (i <= 1U)) && (idx <= 2)) && (idx <= 127)) && ((unsigned long )arg <= 2UL)) && ((unsigned long )arg <= 127UL)) && (arg == idx)) && ((idx == 0 || idx == 1) || idx == 2)) && (((unsigned long )arg == 0UL || (unsigned long )arg == 1UL) || (unsigned long )arg == 2UL) [2024-01-30 14:39:58,299 INFO L98 nessWitnessExtractor]: Location invariant before [L1898-L1898] ((((((((0 <= idx) && (i <= 1U)) && (idx <= 2)) && (idx <= 127)) && ((unsigned long )arg <= 2UL)) && ((unsigned long )arg <= 127UL)) && (arg == idx)) && ((idx == 0 || idx == 1) || idx == 2)) && (((unsigned long )arg == 0UL || (unsigned long )arg == 1UL) || (unsigned long )arg == 2UL) [2024-01-30 14:39:58,299 INFO L98 nessWitnessExtractor]: Loop invariant at [L1912-L1914] ((((((i == 3 || i == 2) || i == 2) || i == 1) || i == 1) || (0 == i && i == 0)) || (((0 == i && stack.count == 3) && stack.head == 0) && i == 0)) || (stack.count == 3 && stack.head == 0) [2024-01-30 14:39:58,299 INFO L98 nessWitnessExtractor]: Location invariant before [L1798-L1798] ((-128 <= v) && (v <= 127)) && (((((((((-1 <= v && 0 <= stack.count) && stack.count <= 3) && stack.count <= 127) && v <= 3) && stack.head == 0) && stack.count % 3 == 0) && (stack.count == 0 || stack.count == 3)) && ((((v == -1 || v == 0) || v == 1) || v == 2) || v == 3)) || ((0 <= v && v <= 2) && (((v == -1 || v == 0) || v == 1) || v == 2))) [2024-01-30 14:39:58,299 INFO L98 nessWitnessExtractor]: Location invariant before [L1816-L1816] ((((((((((((-128 <= desired) && (-128 <= *obj)) && (0 <= desired)) && (0 <= *obj)) && (desired <= 2)) && (desired <= 127)) && (*obj <= 2)) && (*obj <= 127)) && (obj == & stack.head)) && (ret == (_Bool)0 || ret == (_Bool)1)) && ((((-128 <= *expected && *expected <= 127) && (0 <= *expected && *expected <= 2)) && (((*expected == -1 || *expected == 0) || *expected == 1) || *expected == 2)) || (((-128 <= *expected && *expected <= 127) && (0 <= *expected && *expected <= 2)) && (((*expected == -1 || *expected == 0) || *expected == 1) || *expected == 2)))) && (((desired == -1 || desired == 0) || desired == 1) || desired == 2)) && (((*obj == -1 || *obj == 0) || *obj == 1) || *obj == 2) [2024-01-30 14:39:58,299 INFO L98 nessWitnessExtractor]: Location invariant before [L1800-L1800] ((-128 <= v) && (v <= 127)) && (((((-1 <= v && v <= 3) && stack.count == 3) && stack.head == 0) && ((((v == -1 || v == 0) || v == 1) || v == 2) || v == 3)) || ((0 <= v && v <= 2) && (((v == -1 || v == 0) || v == 1) || v == 2))) [2024-01-30 14:39:58,300 INFO L98 nessWitnessExtractor]: Location invariant before [L1903-L1903] (((((((((((((((((((((((((((-128 <= elem) && (0 <= idx)) && (0 <= elem)) && (i <= 1U)) && (idx <= 2)) && (idx <= 127)) && (elem <= 2)) && (elem <= 127)) && ((unsigned long )arg <= 2UL)) && ((unsigned long )arg <= 127UL)) && (arg == idx)) && ((idx == 0 || idx == 1) || idx == 2)) && (((unsigned long )arg == 0UL || (unsigned long )arg == 1UL) || (unsigned long )arg == 2UL)) && (((elem == -1 || elem == 0) || elem == 1) || elem == 2)) && (-128 <= elem)) && (0 <= idx)) && (0 <= elem)) && (i <= 1U)) && (idx <= 2)) && (idx <= 127)) && (elem <= 2)) && (elem <= 127)) && ((unsigned long )arg <= 2UL)) && ((unsigned long )arg <= 127UL)) && (arg == idx)) && ((idx == 0 || idx == 1) || idx == 2)) && (((unsigned long )arg == 0UL || (unsigned long )arg == 1UL) || (unsigned long )arg == 2UL)) && (((elem == -1 || elem == 0) || elem == 1) || elem == 2) [2024-01-30 14:39:58,300 INFO L98 nessWitnessExtractor]: Loop invariant at [L1852-L1855] (((3 == pushCount) && (stack.count == 3)) && (stack.head == 0)) && (pushCount == 3) [2024-01-30 14:39:58,300 INFO L98 nessWitnessExtractor]: Location invariant before [L1916-L1916] (i == 2 || i == 1) || (0 == i && i == 0) [2024-01-30 14:39:58,300 INFO L98 nessWitnessExtractor]: Location invariant before [L1904-L1904] (((((((((((((-128 <= elem) && (0 <= idx)) && (0 <= elem)) && (i <= 1U)) && (idx <= 2)) && (idx <= 127)) && (elem <= 2)) && (elem <= 127)) && ((unsigned long )arg <= 2UL)) && ((unsigned long )arg <= 127UL)) && (arg == idx)) && ((idx == 0 || idx == 1) || idx == 2)) && (((unsigned long )arg == 0UL || (unsigned long )arg == 1UL) || (unsigned long )arg == 2UL)) && (((elem == -1 || elem == 0) || elem == 1) || elem == 2) [2024-01-30 14:39:58,300 INFO L98 nessWitnessExtractor]: Location invariant before [L1837-L1837] ((1 == v) && (obj == & stack.count)) && (v == 1) [2024-01-30 14:39:58,300 INFO L98 nessWitnessExtractor]: Location invariant before [L1866-L1866] (((((((((-128 <= head1) && (-128 <= next1)) && (0 <= head1)) && (0 <= next1)) && (head1 <= 2)) && (head1 <= 127)) && (next1 <= 2)) && (next1 <= 127)) && (((head1 == -1 || head1 == 0) || head1 == 1) || head1 == 2)) && (((next1 == -1 || next1 == 0) || next1 == 1) || next1 == 2) [2024-01-30 14:39:58,300 INFO L98 nessWitnessExtractor]: Location invariant before [L1867-L1875] ((((((((((((((-128 <= head1) && (-128 <= next1)) && (-128 <= head2)) && (0 <= head1)) && (0 <= next1)) && (0 <= head2)) && (head1 <= 2)) && (head1 <= 127)) && (next1 <= 2)) && (next1 <= 127)) && (head2 <= 2)) && (head2 <= 127)) && (((head1 == -1 || head1 == 0) || head1 == 1) || head1 == 2)) && (((next1 == -1 || next1 == 0) || next1 == 1) || next1 == 2)) && (((head2 == -1 || head2 == 0) || head2 == 1) || head2 == 2) [2024-01-30 14:39:58,301 INFO L98 nessWitnessExtractor]: Location invariant before [L1918-L1918] i == 3 [2024-01-30 14:39:58,301 INFO L98 nessWitnessExtractor]: Location invariant before [L1906-L1906] ((((((((0 <= idx) && (idx <= 2)) && (idx <= 127)) && ((unsigned long )arg <= 2UL)) && ((unsigned long )arg <= 127UL)) && (arg == idx)) && (i == 2U)) && ((idx == 0 || idx == 1) || idx == 2)) && (((unsigned long )arg == 0UL || (unsigned long )arg == 1UL) || (unsigned long )arg == 2UL) [2024-01-30 14:39:58,301 INFO L98 nessWitnessExtractor]: Location invariant before [L1841-L1841] ((1 == v) && (obj == & stack.count)) && (v == 1) [2024-01-30 14:39:58,301 INFO L98 nessWitnessExtractor]: Location invariant before [L1799-L1799] ((-128 <= v) && (v <= 127)) && (((((((((-1 <= v && 0 <= stack.count) && stack.count <= 3) && stack.count <= 127) && v <= 3) && stack.head == 0) && stack.count % 3 == 0) && (stack.count == 0 || stack.count == 3)) && ((((v == -1 || v == 0) || v == 1) || v == 2) || v == 3)) || ((0 <= v && v <= 2) && (((v == -1 || v == 0) || v == 1) || v == 2))) [2024-01-30 14:39:58,301 INFO L98 nessWitnessExtractor]: Location invariant before [L1882-L1882] ((((-128 <= index) && (0 <= index)) && (index <= 2)) && (index <= 127)) && (((index == -1 || index == 0) || index == 1) || index == 2) [2024-01-30 14:39:58,301 INFO L98 nessWitnessExtractor]: Location invariant before [L1864-L1876] (((((((((-128 <= head1) && (-128 <= next1)) && (-1 <= next1)) && (0 <= head1)) && (head1 <= 2)) && (head1 <= 127)) && (next1 <= 2)) && (next1 <= 127)) && (((head1 == -1 || head1 == 0) || head1 == 1) || head1 == 2)) && (((next1 == -1 || next1 == 0) || next1 == 1) || next1 == 2) [2024-01-30 14:39:58,301 INFO L98 nessWitnessExtractor]: Location invariant before [L1817-L1817] (((((((((((((-128 <= desired) && (-128 <= *obj)) && (0 <= desired)) && (0 <= *obj)) && (desired <= 2)) && (desired <= 127)) && (*obj <= 2)) && (*obj <= 127)) && ((_Bool)0 == ret)) && (obj == & stack.head)) && (ret == (_Bool)0)) && ((((-128 <= *expected && *expected <= 127) && (0 <= *expected && *expected <= 2)) && (((*expected == -1 || *expected == 0) || *expected == 1) || *expected == 2)) || (((-128 <= *expected && *expected <= 127) && (0 <= *expected && *expected <= 2)) && (((*expected == -1 || *expected == 0) || *expected == 1) || *expected == 2)))) && (((desired == -1 || desired == 0) || desired == 1) || desired == 2)) && (((*obj == -1 || *obj == 0) || *obj == 1) || *obj == 2) [2024-01-30 14:39:58,302 INFO L98 nessWitnessExtractor]: Location invariant before [L1834-L1834] ((1 == v) && (obj == & stack.count)) && (v == 1) [2024-01-30 14:39:58,302 INFO L98 nessWitnessExtractor]: Location invariant before [L1913-L1913] (i == 2 || i == 1) || (((0 == i && stack.count == 3) && stack.head == 0) && i == 0) [2024-01-30 14:39:58,302 INFO L98 nessWitnessExtractor]: Location invariant before [L1809-L1809] ((((-128 <= v) && (-1 <= v)) && (v <= 2)) && (v <= 127)) && (((v == -1 || v == 0) || v == 1) || v == 2) [2024-01-30 14:39:58,302 INFO L98 nessWitnessExtractor]: Location invariant before [L1869-L1869] ((((((((((((((-128 <= head1) && (-128 <= next1)) && (-128 <= head2)) && (0 <= head1)) && (0 <= next1)) && (0 <= head2)) && (head1 <= 2)) && (head1 <= 127)) && (next1 <= 2)) && (next1 <= 127)) && (head2 <= 2)) && (head2 <= 127)) && (((head1 == -1 || head1 == 0) || head1 == 1) || head1 == 2)) && (((next1 == -1 || next1 == 0) || next1 == 1) || next1 == 2)) && (((head2 == -1 || head2 == 0) || head2 == 1) || head2 == 2) [2024-01-30 14:39:58,302 INFO L98 nessWitnessExtractor]: Location invariant before [L1810-L1810] (((((((((-128 <= v) && (-128 <= t)) && (-1 <= v)) && (-1 <= t)) && (v <= 2)) && (v <= 127)) && (t <= 2)) && (t <= 127)) && (((v == -1 || v == 0) || v == 1) || v == 2)) && (((t == -1 || t == 0) || t == 1) || t == 2) [2024-01-30 14:39:58,303 INFO L98 nessWitnessExtractor]: Location invariant before [L1833-L1833] ((1 == v) && (obj == & stack.count)) && (v == 1) [2024-01-30 14:39:58,303 INFO L98 nessWitnessExtractor]: Location invariant before [L1808-L1808] ((((-128 <= v) && (-1 <= v)) && (v <= 2)) && (v <= 127)) && (((v == -1 || v == 0) || v == 1) || v == 2) [2024-01-30 14:39:58,303 INFO L98 nessWitnessExtractor]: Location invariant before [L1804-L1804] (((((-128 <= *obj && 0 <= *obj) && *obj <= 2) && *obj <= 127) && obj == & stack.head) && (((*obj == -1 || *obj == 0) || *obj == 1) || *obj == 2)) || obj == & stack.count [2024-01-30 14:39:58,303 INFO L98 nessWitnessExtractor]: Location invariant before [L1870-L1870] ((((((((((((((-128 <= head1) && (-128 <= next1)) && (-128 <= head2)) && (0 <= head1)) && (0 <= next1)) && (0 <= head2)) && (head1 <= 2)) && (head1 <= 127)) && (next1 <= 2)) && (next1 <= 127)) && (head2 <= 2)) && (head2 <= 127)) && (((head1 == -1 || head1 == 0) || head1 == 1) || head1 == 2)) && (((next1 == -1 || next1 == 0) || next1 == 1) || next1 == 2)) && (((head2 == -1 || head2 == 0) || head2 == 1) || head2 == 2) [2024-01-30 14:39:58,303 INFO L98 nessWitnessExtractor]: Location invariant before [L1851-L1851] (((3 == pushCount) && (stack.count == 3)) && (stack.head == 0)) && (pushCount == 3) [2024-01-30 14:39:58,304 INFO L98 nessWitnessExtractor]: Location invariant before [L1842-L1842] ((1 == v) && (obj == & stack.count)) && (v == 1) [2024-01-30 14:39:58,304 INFO L98 nessWitnessExtractor]: Location invariant before [L1844-L1844] ((1 == v) && (obj == & stack.count)) && (v == 1) [2024-01-30 14:39:58,304 INFO L98 nessWitnessExtractor]: Location invariant before [L1836-L1836] ((1 == v) && (obj == & stack.count)) && (v == 1) [2024-01-30 14:39:58,304 INFO L98 nessWitnessExtractor]: Location invariant before [L1863-L1863] ((((-128 <= head1) && (0 <= head1)) && (head1 <= 2)) && (head1 <= 127)) && (((head1 == -1 || head1 == 0) || head1 == 1) || head1 == 2) [2024-01-30 14:39:58,304 INFO L98 nessWitnessExtractor]: Location invariant before [L1892-L1892] (((unsigned long )arg <= 2UL) && ((unsigned long )arg <= 127UL)) && (((unsigned long )arg == 0UL || (unsigned long )arg == 1UL) || (unsigned long )arg == 2UL) [2024-01-30 14:39:58,305 INFO L98 nessWitnessExtractor]: Location invariant before [L1911-L1911] (stack.count == 0) && (stack.head == 0) [2024-01-30 14:39:58,305 INFO L98 nessWitnessExtractor]: Loop invariant at [L1893-L1905] (((((((0 <= idx) && (idx <= 2)) && (idx <= 127)) && ((unsigned long )arg <= 2UL)) && ((unsigned long )arg <= 127UL)) && (arg == idx)) && ((idx == 0 || idx == 1) || idx == 2)) && (((unsigned long )arg == 0UL || (unsigned long )arg == 1UL) || (unsigned long )arg == 2UL) [2024-01-30 14:39:58,305 INFO L98 nessWitnessExtractor]: Location invariant before [L1856-L1856] ((((3 == pushCount) && (stack.count == 3)) && (stack.head == 0)) && (pushCount == 3)) && (i == 2) [2024-01-30 14:39:58,306 INFO L98 nessWitnessExtractor]: Location invariant before [L1854-L1854] ((((3 == pushCount) && (stack.count == 3)) && (stack.head == 0)) && (pushCount == 3)) && (i == 1 || (0 == i && i == 0)) [2024-01-30 14:39:58,306 INFO L98 nessWitnessExtractor]: Location invariant before [L1902-L1902] (((((((((((((-128 <= elem) && (0 <= idx)) && (0 <= elem)) && (i <= 1U)) && (idx <= 2)) && (idx <= 127)) && (elem <= 2)) && (elem <= 127)) && ((unsigned long )arg <= 2UL)) && ((unsigned long )arg <= 127UL)) && (arg == idx)) && ((idx == 0 || idx == 1) || idx == 2)) && (((unsigned long )arg == 0UL || (unsigned long )arg == 1UL) || (unsigned long )arg == 2UL)) && (((elem == -1 || elem == 0) || elem == 1) || elem == 2) [2024-01-30 14:39:58,306 INFO L98 nessWitnessExtractor]: Location invariant before [L1818-L1827] (((((((((((((-128 <= desired) && (-128 <= *obj)) && (0 <= desired)) && (0 <= *obj)) && (desired <= 2)) && (desired <= 127)) && (*obj <= 2)) && (*obj <= 127)) && ((_Bool)0 == ret)) && (obj == & stack.head)) && (ret == (_Bool)0)) && ((((-128 <= *expected && *expected <= 127) && (0 <= *expected && *expected <= 2)) && (((*expected == -1 || *expected == 0) || *expected == 1) || *expected == 2)) || (((-128 <= *expected && *expected <= 127) && (0 <= *expected && *expected <= 2)) && (((*expected == -1 || *expected == 0) || *expected == 1) || *expected == 2)))) && (((desired == -1 || desired == 0) || desired == 1) || desired == 2)) && (((*obj == -1 || *obj == 0) || *obj == 1) || *obj == 2) [2024-01-30 14:39:58,307 INFO L98 nessWitnessExtractor]: Location invariant after [L1796-L1801] ((-128 <= v) && (v <= 127)) && (((((-1 <= v && v <= 3) && stack.count == 3) && stack.head == 0) && ((((v == -1 || v == 0) || v == 1) || v == 2) || v == 3)) || ((0 <= v && v <= 2) && (((v == -1 || v == 0) || v == 1) || v == 2))) [2024-01-30 14:39:58,307 INFO L98 nessWitnessExtractor]: Loop invariant at [L1885-L1885] (((((((((-128 <= index) && (-128 <= head1)) && (0 <= index)) && (0 <= head1)) && (index <= 2)) && (index <= 127)) && (head1 <= 2)) && (head1 <= 127)) && (((index == -1 || index == 0) || index == 1) || index == 2)) && (((head1 == -1 || head1 == 0) || head1 == 1) || head1 == 2) [2024-01-30 14:39:58,307 INFO L98 nessWitnessExtractor]: Location invariant before [L1885-L1885] (((((((((-128 <= index) && (-128 <= head1)) && (0 <= index)) && (0 <= head1)) && (index <= 2)) && (index <= 127)) && (head1 <= 2)) && (head1 <= 127)) && (((index == -1 || index == 0) || index == 1) || index == 2)) && (((head1 == -1 || head1 == 0) || head1 == 1) || head1 == 2) [2024-01-30 14:39:58,326 INFO L98 nessWitnessExtractor]: Location invariant before [L1820-L1820] (((((((((((((-128 <= desired) && (-128 <= *obj)) && (0 <= desired)) && (0 <= *obj)) && (desired <= 2)) && (desired <= 127)) && (*obj <= 2)) && (*obj <= 127)) && ((_Bool)0 == ret)) && (obj == & stack.head)) && (ret == (_Bool)0)) && ((((-128 <= *expected && *expected <= 127) && (0 <= *expected && *expected <= 2)) && (((*expected == -1 || *expected == 0) || *expected == 1) || *expected == 2)) || (((-128 <= *expected && *expected <= 127) && (0 <= *expected && *expected <= 2)) && (((*expected == -1 || *expected == 0) || *expected == 1) || *expected == 2)))) && (((desired == -1 || desired == 0) || desired == 1) || desired == 2)) && (((*obj == -1 || *obj == 0) || *obj == 1) || *obj == 2) [2024-01-30 14:39:58,326 INFO L98 nessWitnessExtractor]: Location invariant before [L1887-L1887] (((((((((-128 <= index) && (-128 <= head1)) && (0 <= index)) && (0 <= head1)) && (index <= 2)) && (index <= 127)) && (head1 <= 2)) && (head1 <= 127)) && (((index == -1 || index == 0) || index == 1) || index == 2)) && (((head1 == -1 || head1 == 0) || head1 == 1) || head1 == 2) [2024-01-30 14:39:58,327 INFO L98 nessWitnessExtractor]: Location invariant before [L1826-L1826] (((((((((((((-128 <= desired) && (-128 <= *obj)) && (0 <= desired)) && (0 <= *obj)) && (desired <= 2)) && (desired <= 127)) && (*obj <= 2)) && (*obj <= 127)) && ((_Bool)0 == ret)) && (obj == & stack.head)) && (ret == (_Bool)0)) && ((((-128 <= *expected && *expected <= 127) && (0 <= *expected && *expected <= 2)) && (((*expected == -1 || *expected == 0) || *expected == 1) || *expected == 2)) || (((-128 <= *expected && *expected <= 127) && (0 <= *expected && *expected <= 2)) && (((*expected == -1 || *expected == 0) || *expected == 1) || *expected == 2)))) && (((desired == -1 || desired == 0) || desired == 1) || desired == 2)) && (((*obj == -1 || *obj == 0) || *obj == 1) || *obj == 2) [2024-01-30 14:39:58,327 INFO L98 nessWitnessExtractor]: Location invariant before [L1812-L1812] (((((((((-128 <= v) && (-128 <= t)) && (-1 <= v)) && (-1 <= t)) && (v <= 2)) && (v <= 127)) && (t <= 2)) && (t <= 127)) && (((v == -1 || v == 0) || v == 1) || v == 2)) && (((t == -1 || t == 0) || t == 1) || t == 2) [2024-01-30 14:39:58,327 INFO L98 nessWitnessExtractor]: Location invariant before [L1821-L1821] (((((((((((((-128 <= desired) && (-128 <= *obj)) && (0 <= desired)) && (0 <= *obj)) && (desired <= 2)) && (desired <= 127)) && (*obj <= 2)) && (*obj <= 127)) && ((_Bool)0 == ret)) && (obj == & stack.head)) && (ret == (_Bool)0)) && ((((-128 <= *expected && *expected <= 127) && (0 <= *expected && *expected <= 2)) && (((*expected == -1 || *expected == 0) || *expected == 1) || *expected == 2)) || (((-128 <= *expected && *expected <= 127) && (0 <= *expected && *expected <= 2)) && (((*expected == -1 || *expected == 0) || *expected == 1) || *expected == 2)))) && (((desired == -1 || desired == 0) || desired == 1) || desired == 2)) && (((*obj == -1 || *obj == 0) || *obj == 1) || *obj == 2) [2024-01-30 14:39:58,327 INFO L98 nessWitnessExtractor]: Location invariant before [L1835-L1835] ((1 == v) && (obj == & stack.count)) && (v == 1) [2024-01-30 14:39:58,327 INFO L98 nessWitnessExtractor]: Location invariant before [L1874-L1874] ((((((((((((((-128 <= head1) && (-128 <= next1)) && (-128 <= head2)) && (0 <= head1)) && (0 <= next1)) && (0 <= head2)) && (head1 <= 2)) && (head1 <= 127)) && (next1 <= 2)) && (next1 <= 127)) && (head2 <= 2)) && (head2 <= 127)) && (((head1 == -1 || head1 == 0) || head1 == 1) || head1 == 2)) && (((next1 == -1 || next1 == 0) || next1 == 1) || next1 == 2)) && (((head2 == -1 || head2 == 0) || head2 == 1) || head2 == 2) [2024-01-30 14:39:58,328 INFO L98 nessWitnessExtractor]: Loop invariant at [L1915-L1917] ((((((i == 3 || i == 2) || i == 2) || i == 1) || i == 1) || (0 == i && i == 0)) || (0 == i && i == 0)) || i == 3 [2024-01-30 14:39:58,328 INFO L98 nessWitnessExtractor]: Location invariant before [L1845-L1845] ((1 == v) && (obj == & stack.count)) && (v == 1) [2024-01-30 14:39:58,328 INFO L98 nessWitnessExtractor]: Location invariant after [L1880-L1888] (((((((((-128 <= index) && (-128 <= head1)) && (0 <= index)) && (0 <= head1)) && (index <= 2)) && (index <= 127)) && (head1 <= 2)) && (head1 <= 127)) && (((index == -1 || index == 0) || index == 1) || index == 2)) && (((head1 == -1 || head1 == 0) || head1 == 1) || head1 == 2) [2024-01-30 14:39:58,328 INFO L98 nessWitnessExtractor]: Location invariant before [L1811-L1811] (((((((((-128 <= v) && (-128 <= t)) && (-1 <= v)) && (-1 <= t)) && (v <= 2)) && (v <= 127)) && (t <= 2)) && (t <= 127)) && (((v == -1 || v == 0) || v == 1) || v == 2)) && (((t == -1 || t == 0) || t == 1) || t == 2) [2024-01-30 14:39:58,329 INFO L98 nessWitnessExtractor]: Location invariant before [L1825-L1825] (((((((((((((-128 <= desired) && (-128 <= *obj)) && (0 <= desired)) && (0 <= *obj)) && (desired <= 2)) && (desired <= 127)) && (*obj <= 2)) && (*obj <= 127)) && ((_Bool)0 == ret)) && (obj == & stack.head)) && (ret == (_Bool)0)) && ((((-128 <= *expected && *expected <= 127) && (0 <= *expected && *expected <= 2)) && (((*expected == -1 || *expected == 0) || *expected == 1) || *expected == 2)) || (((-128 <= *expected && *expected <= 127) && (0 <= *expected && *expected <= 2)) && (((*expected == -1 || *expected == 0) || *expected == 1) || *expected == 2)))) && (((desired == -1 || desired == 0) || desired == 1) || desired == 2)) && (((*obj == -1 || *obj == 0) || *obj == 1) || *obj == 2) [2024-01-30 14:39:58,329 INFO L98 nessWitnessExtractor]: Location invariant after [L1847-L1857] ((((3 == pushCount) && (stack.count == 3)) && (stack.head == 0)) && (pushCount == 3)) && (i == 2) [2024-01-30 14:39:58,330 INFO L98 nessWitnessExtractor]: Location invariant before [L1829-L1829] ((((((((((((-128 <= desired) && (-128 <= *obj)) && (0 <= desired)) && (0 <= *obj)) && (desired <= 2)) && (desired <= 127)) && (*obj <= 2)) && (*obj <= 127)) && (obj == & stack.head)) && (ret == (_Bool)0 || ret == (_Bool)1)) && ((((-128 <= *expected && *expected <= 127) && (0 <= *expected && *expected <= 2)) && (((*expected == -1 || *expected == 0) || *expected == 1) || *expected == 2)) || (((-128 <= *expected && *expected <= 127) && (0 <= *expected && *expected <= 2)) && (((*expected == -1 || *expected == 0) || *expected == 1) || *expected == 2)))) && (((desired == -1 || desired == 0) || desired == 1) || desired == 2)) && (((*obj == -1 || *obj == 0) || *obj == 1) || *obj == 2) [2024-01-30 14:39:58,330 INFO L98 nessWitnessExtractor]: Location invariant before [L1850-L1850] (((3 == pushCount) && (stack.count == 0)) && (stack.head == 0)) && (pushCount == 3) [2024-01-30 14:39:58,331 INFO L98 nessWitnessExtractor]: Location invariant before [L1899-L1900] (((((((((((((-128 <= elem) && (-1 <= elem)) && (0 <= idx)) && (i <= 1U)) && (idx <= 2)) && (idx <= 127)) && (elem <= 2)) && (elem <= 127)) && ((unsigned long )arg <= 2UL)) && ((unsigned long )arg <= 127UL)) && (arg == idx)) && ((idx == 0 || idx == 1) || idx == 2)) && (((unsigned long )arg == 0UL || (unsigned long )arg == 1UL) || (unsigned long )arg == 2UL)) && (((elem == -1 || elem == 0) || elem == 1) || elem == 2) [2024-01-30 14:39:58,331 INFO L98 nessWitnessExtractor]: Location invariant before [L1843-L1843] ((1 == v) && (obj == & stack.count)) && (v == 1) [2024-01-30 14:39:58,342 INFO L98 nessWitnessExtractor]: Location invariant before [L1828-L1828] ((((((((((((-128 <= desired) && (-128 <= *obj)) && (0 <= desired)) && (0 <= *obj)) && (desired <= 2)) && (desired <= 127)) && (*obj <= 2)) && (*obj <= 127)) && (obj == & stack.head)) && (ret == (_Bool)0 || ret == (_Bool)1)) && ((((-128 <= *expected && *expected <= 127) && (0 <= *expected && *expected <= 2)) && (((*expected == -1 || *expected == 0) || *expected == 1) || *expected == 2)) || (((-128 <= *expected && *expected <= 127) && (0 <= *expected && *expected <= 2)) && (((*expected == -1 || *expected == 0) || *expected == 1) || *expected == 2)))) && (((desired == -1 || desired == 0) || desired == 1) || desired == 2)) && (((*obj == -1 || *obj == 0) || *obj == 1) || *obj == 2) [2024-01-30 14:39:58,407 INFO L177 MainTranslator]: Built tables and reachable declarations [2024-01-30 14:39:58,841 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-complex/safestack_relacy.i[78860,78873] [2024-01-30 14:39:58,850 INFO L209 PostProcessor]: Analyzing one entry point: main [2024-01-30 14:39:58,859 INFO L202 MainTranslator]: Completed pre-run Start Parsing Local Start Parsing Local Start Parsing Local [2024-01-30 14:39:58,939 WARN L424 MainDispatcher]: Unable to annotate void atomic_store(int *obj, int v) { __VERIFIER_atomic_begin(); *obj = v; __VERIFIER_atomic_end(); } with a witness entry Start Parsing Local [2024-01-30 14:39:58,942 ERROR L324 MainTranslator]: Unsupported Syntax: ACSL addressof for variable off-heap [2024-01-30 14:39:58,943 INFO L204 PluginConnector]: Invalid model from CACSL2BoogieTranslator for observer de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator.CACSL2BoogieTranslatorObserver@6175c012 and model type witness.yml de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator CORRECTNESS_WITNESS 30.01 02:39:58, skipping insertion in model container [2024-01-30 14:39:58,943 INFO L131 PluginConnector]: ------------------------ END CACSL2BoogieTranslator---------------------------- [2024-01-30 14:39:58,943 INFO L186 ToolchainWalker]: Toolchain execution was canceled (user or tool) before executing de.uni_freiburg.informatik.ultimate.boogie.procedureinliner [2024-01-30 14:39:58,944 INFO L158 Benchmark]: Toolchain (without parser) took 1254.57ms. Allocated memory is still 155.2MB. Free memory was 62.3MB in the beginning and 98.5MB in the end (delta: -36.2MB). Peak memory consumption was 9.9MB. Max. memory is 16.1GB. [2024-01-30 14:39:58,945 INFO L158 Benchmark]: CDTParser took 0.15ms. Allocated memory is still 111.1MB. Free memory is still 71.0MB. There was no memory consumed. Max. memory is 16.1GB. [2024-01-30 14:39:58,945 INFO L158 Benchmark]: Witness Parser took 0.15ms. Allocated memory is still 155.2MB. Free memory is still 82.2MB. There was no memory consumed. Max. memory is 16.1GB. [2024-01-30 14:39:58,945 INFO L158 Benchmark]: CACSL2BoogieTranslator took 1252.83ms. Allocated memory is still 155.2MB. Free memory was 62.0MB in the beginning and 98.5MB in the end (delta: -36.5MB). Peak memory consumption was 7.8MB. Max. memory is 16.1GB. [2024-01-30 14:39:58,946 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.15ms. Allocated memory is still 111.1MB. Free memory is still 71.0MB. There was no memory consumed. Max. memory is 16.1GB. * Witness Parser took 0.15ms. Allocated memory is still 155.2MB. Free memory is still 82.2MB. There was no memory consumed. Max. memory is 16.1GB. * CACSL2BoogieTranslator took 1252.83ms. Allocated memory is still 155.2MB. Free memory was 62.0MB in the beginning and 98.5MB in the end (delta: -36.5MB). Peak memory consumption was 7.8MB. Max. memory is 16.1GB. * Results from de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator: - UnsupportedSyntaxResult [Line: 1804]: Unsupported Syntax ACSL addressof for variable off-heap 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-complex/safestack_relacy.i ./goblint.2023-12-19_14-39-08.files/SV-COMP24_unreach-call/safestack_relacy.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:40:00,625 INFO L188 SettingsManager]: Resetting all preferences to default values... [2024-01-30 14:40:00,689 INFO L114 SettingsManager]: Loading settings from /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/config/svcomp-Reach-32bit-Automizer_Bitvector.epf [2024-01-30 14:40:00,693 WARN L101 SettingsManager]: Preference file contains the following unknown settings: [2024-01-30 14:40:00,693 WARN L103 SettingsManager]: * de.uni_freiburg.informatik.ultimate.core.Log level for class [2024-01-30 14:40:00,710 INFO L130 SettingsManager]: Preferences different from defaults after loading the file: [2024-01-30 14:40:00,713 INFO L151 SettingsManager]: Preferences of UltimateCore differ from their defaults: [2024-01-30 14:40:00,713 INFO L153 SettingsManager]: * Log level for class=de.uni_freiburg.informatik.ultimate.lib.smtlibutils.quantifier.QuantifierPusher=ERROR; [2024-01-30 14:40:00,714 INFO L151 SettingsManager]: Preferences of Boogie Preprocessor differ from their defaults: [2024-01-30 14:40:00,714 INFO L153 SettingsManager]: * Use memory slicer=true [2024-01-30 14:40:00,715 INFO L151 SettingsManager]: Preferences of Boogie Procedure Inliner differ from their defaults: [2024-01-30 14:40:00,715 INFO L153 SettingsManager]: * Ignore calls to procedures called more than once=ONLY_FOR_SEQUENTIAL_PROGRAMS [2024-01-30 14:40:00,715 INFO L151 SettingsManager]: Preferences of BlockEncodingV2 differ from their defaults: [2024-01-30 14:40:00,716 INFO L153 SettingsManager]: * Create parallel compositions if possible=false [2024-01-30 14:40:00,716 INFO L153 SettingsManager]: * Use SBE=true [2024-01-30 14:40:00,716 INFO L151 SettingsManager]: Preferences of CACSL2BoogieTranslator differ from their defaults: [2024-01-30 14:40:00,717 INFO L153 SettingsManager]: * Pointer base address is valid at dereference=IGNORE [2024-01-30 14:40:00,717 INFO L153 SettingsManager]: * sizeof long=4 [2024-01-30 14:40:00,717 INFO L153 SettingsManager]: * sizeof POINTER=4 [2024-01-30 14:40:00,717 INFO L153 SettingsManager]: * Check division by zero=IGNORE [2024-01-30 14:40:00,718 INFO L153 SettingsManager]: * Pointer to allocated memory at dereference=IGNORE [2024-01-30 14:40:00,722 INFO L153 SettingsManager]: * If two pointers are subtracted or compared they have the same base address=IGNORE [2024-01-30 14:40:00,722 INFO L153 SettingsManager]: * Check array bounds for arrays that are off heap=IGNORE [2024-01-30 14:40:00,722 INFO L153 SettingsManager]: * Adapt memory model on pointer casts if necessary=true [2024-01-30 14:40:00,722 INFO L153 SettingsManager]: * Use bitvectors instead of ints=true [2024-01-30 14:40:00,723 INFO L153 SettingsManager]: * Allow undefined functions=false [2024-01-30 14:40:00,723 INFO L153 SettingsManager]: * Memory model=HoenickeLindenmann_4ByteResolution [2024-01-30 14:40:00,723 INFO L153 SettingsManager]: * sizeof long double=12 [2024-01-30 14:40:00,723 INFO L153 SettingsManager]: * Check if freed pointer was valid=false [2024-01-30 14:40:00,723 INFO L153 SettingsManager]: * Use constant arrays=true [2024-01-30 14:40:00,724 INFO L151 SettingsManager]: Preferences of RCFGBuilder differ from their defaults: [2024-01-30 14:40:00,724 INFO L153 SettingsManager]: * Size of a code block=SequenceOfStatements [2024-01-30 14:40:00,725 INFO L153 SettingsManager]: * Only consider context switches at boundaries of atomic blocks=true [2024-01-30 14:40:00,725 INFO L153 SettingsManager]: * SMT solver=External_DefaultMode [2024-01-30 14:40:00,725 INFO L153 SettingsManager]: * Command for external solver=z3 SMTLIB2_COMPLIANT=true -memory:2024 -smt2 -in -t:4000 [2024-01-30 14:40:00,725 INFO L151 SettingsManager]: Preferences of TraceAbstraction differ from their defaults: [2024-01-30 14:40:00,726 INFO L153 SettingsManager]: * Compute Interpolants along a Counterexample=FPandBP [2024-01-30 14:40:00,726 INFO L153 SettingsManager]: * Positions where we compute the Hoare Annotation=LoopHeads [2024-01-30 14:40:00,726 INFO L153 SettingsManager]: * Trace refinement strategy=WOLF [2024-01-30 14:40:00,726 INFO L153 SettingsManager]: * Command for external solver=cvc4 --incremental --print-success --lang smt [2024-01-30 14:40:00,726 INFO L153 SettingsManager]: * Apply one-shot large block encoding in concurrent analysis=false [2024-01-30 14:40:00,726 INFO L153 SettingsManager]: * Automaton type used in concurrency analysis=PETRI_NET [2024-01-30 14:40:00,727 INFO L153 SettingsManager]: * Compute Hoare Annotation of negated interpolant automaton, abstraction and CFG=true [2024-01-30 14:40:00,727 INFO L153 SettingsManager]: * Order on configurations for Petri net unfoldings=DBO [2024-01-30 14:40:00,727 INFO L153 SettingsManager]: * SMT solver=External_ModelsAndUnsatCoreMode [2024-01-30 14:40:00,727 INFO L153 SettingsManager]: * Logic for external solver=AUFBV [2024-01-30 14:40:00,727 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:40:01,002 INFO L75 nceAwareModelManager]: Repository-Root is: /tmp [2024-01-30 14:40:01,022 INFO L261 ainManager$Toolchain]: [Toolchain 1]: Applicable parser(s) successfully (re)initialized [2024-01-30 14:40:01,024 INFO L217 ainManager$Toolchain]: [Toolchain 1]: Toolchain selected. [2024-01-30 14:40:01,024 INFO L270 PluginConnector]: Initializing CDTParser... [2024-01-30 14:40:01,025 INFO L274 PluginConnector]: CDTParser initialized [2024-01-30 14:40:01,026 INFO L431 ainManager$Toolchain]: [Toolchain 1]: Parsing single file: /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/../../../trunk/examples/svcomp/pthread-complex/safestack_relacy.i [2024-01-30 14:40:02,095 INFO L533 CDTParser]: Created temporary CDT project at NULL [2024-01-30 14:40:02,374 INFO L384 CDTParser]: Found 1 translation units. [2024-01-30 14:40:02,388 INFO L180 CDTParser]: Scanning /storage/repos/ultimate/trunk/examples/svcomp/pthread-complex/safestack_relacy.i [2024-01-30 14:40:02,409 INFO L427 CDTParser]: About to delete temporary CDT project at /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/data/2e7b855b4/5f53a81f2eca48d4b292f6d8dc9ade89/FLAG933e232ff [2024-01-30 14:40:02,422 INFO L435 CDTParser]: Successfully deleted /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/data/2e7b855b4/5f53a81f2eca48d4b292f6d8dc9ade89 [2024-01-30 14:40:02,425 INFO L270 PluginConnector]: Initializing Witness Parser... [2024-01-30 14:40:02,425 INFO L274 PluginConnector]: Witness Parser initialized [2024-01-30 14:40:02,427 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/safestack_relacy.yml/witness.yml [2024-01-30 14:40:02,633 INFO L299 ainManager$Toolchain]: ####################### [Toolchain 1] ####################### [2024-01-30 14:40:02,634 INFO L133 ToolchainWalker]: Walking toolchain with 5 elements. [2024-01-30 14:40:02,636 INFO L112 PluginConnector]: ------------------------CACSL2BoogieTranslator---------------------------- [2024-01-30 14:40:02,636 INFO L270 PluginConnector]: Initializing CACSL2BoogieTranslator... [2024-01-30 14:40:02,639 INFO L274 PluginConnector]: CACSL2BoogieTranslator initialized [2024-01-30 14:40:02,640 INFO L184 PluginConnector]: Executing the observer ACSLObjectContainerObserver from plugin CACSL2BoogieTranslator for "CDTParser AST 30.01 02:40:02" (1/2) ... [2024-01-30 14:40:02,641 INFO L204 PluginConnector]: Invalid model from CACSL2BoogieTranslator for observer de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator.ACSLObjectContainerObserver@60aee053 and model type de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 30.01 02:40:02, skipping insertion in model container [2024-01-30 14:40:02,641 INFO L184 PluginConnector]: Executing the observer CACSL2BoogieTranslatorObserver from plugin CACSL2BoogieTranslator for "CDTParser AST 30.01 02:40:02" (1/2) ... [2024-01-30 14:40:02,642 INFO L204 PluginConnector]: Invalid model from CACSL2BoogieTranslator for observer de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator.CACSL2BoogieTranslatorObserver@7dd4f960 and model type de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 30.01 02:40:02, skipping insertion in model container [2024-01-30 14:40:02,642 INFO L184 PluginConnector]: Executing the observer ACSLObjectContainerObserver from plugin CACSL2BoogieTranslator for "witness.yml de.uni_freiburg.informatik.ultimate.witnessparser CORRECTNESS_WITNESS 30.01 02:40:02" (2/2) ... [2024-01-30 14:40:02,643 INFO L204 PluginConnector]: Invalid model from CACSL2BoogieTranslator for observer de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator.ACSLObjectContainerObserver@60aee053 and model type witness.yml de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator CORRECTNESS_WITNESS 30.01 02:40:02, skipping insertion in model container [2024-01-30 14:40:02,643 INFO L184 PluginConnector]: Executing the observer CACSL2BoogieTranslatorObserver from plugin CACSL2BoogieTranslator for "witness.yml de.uni_freiburg.informatik.ultimate.witnessparser CORRECTNESS_WITNESS 30.01 02:40:02" (2/2) ... [2024-01-30 14:40:02,643 INFO L83 nessWitnessExtractor]: Extracting all invariants from correctness witness [2024-01-30 14:40:03,106 INFO L96 nessWitnessExtractor]: Found the following entries in the witness: [2024-01-30 14:40:03,107 INFO L98 nessWitnessExtractor]: Location invariant before [L1817-L1817] (((((((((((((-128 <= desired) && (-128 <= *obj)) && (0 <= desired)) && (0 <= *obj)) && (desired <= 2)) && (desired <= 127)) && (*obj <= 2)) && (*obj <= 127)) && ((_Bool)0 == ret)) && (obj == & stack.head)) && (ret == (_Bool)0)) && ((((-128 <= *expected && *expected <= 127) && (0 <= *expected && *expected <= 2)) && (((*expected == -1 || *expected == 0) || *expected == 1) || *expected == 2)) || (((-128 <= *expected && *expected <= 127) && (0 <= *expected && *expected <= 2)) && (((*expected == -1 || *expected == 0) || *expected == 1) || *expected == 2)))) && (((desired == -1 || desired == 0) || desired == 1) || desired == 2)) && (((*obj == -1 || *obj == 0) || *obj == 1) || *obj == 2) [2024-01-30 14:40:03,107 INFO L98 nessWitnessExtractor]: Location invariant before [L1916-L1916] (i == 2 || i == 1) || (0 == i && i == 0) [2024-01-30 14:40:03,107 INFO L98 nessWitnessExtractor]: Location invariant before [L1866-L1866] (((((((((-128 <= head1) && (-128 <= next1)) && (0 <= head1)) && (0 <= next1)) && (head1 <= 2)) && (head1 <= 127)) && (next1 <= 2)) && (next1 <= 127)) && (((head1 == -1 || head1 == 0) || head1 == 1) || head1 == 2)) && (((next1 == -1 || next1 == 0) || next1 == 1) || next1 == 2) [2024-01-30 14:40:03,107 INFO L98 nessWitnessExtractor]: Location invariant before [L1864-L1876] (((((((((-128 <= head1) && (-128 <= next1)) && (-1 <= next1)) && (0 <= head1)) && (head1 <= 2)) && (head1 <= 127)) && (next1 <= 2)) && (next1 <= 127)) && (((head1 == -1 || head1 == 0) || head1 == 1) || head1 == 2)) && (((next1 == -1 || next1 == 0) || next1 == 1) || next1 == 2) [2024-01-30 14:40:03,107 INFO L98 nessWitnessExtractor]: Location invariant before [L1892-L1892] (((unsigned long )arg <= 2UL) && ((unsigned long )arg <= 127UL)) && (((unsigned long )arg == 0UL || (unsigned long )arg == 1UL) || (unsigned long )arg == 2UL) [2024-01-30 14:40:03,107 INFO L98 nessWitnessExtractor]: Loop invariant at [L1852-L1855] (((3 == pushCount) && (stack.count == 3)) && (stack.head == 0)) && (pushCount == 3) [2024-01-30 14:40:03,108 INFO L98 nessWitnessExtractor]: Location invariant before [L1837-L1837] ((1 == v) && (obj == & stack.count)) && (v == 1) [2024-01-30 14:40:03,108 INFO L98 nessWitnessExtractor]: Location invariant before [L1867-L1875] ((((((((((((((-128 <= head1) && (-128 <= next1)) && (-128 <= head2)) && (0 <= head1)) && (0 <= next1)) && (0 <= head2)) && (head1 <= 2)) && (head1 <= 127)) && (next1 <= 2)) && (next1 <= 127)) && (head2 <= 2)) && (head2 <= 127)) && (((head1 == -1 || head1 == 0) || head1 == 1) || head1 == 2)) && (((next1 == -1 || next1 == 0) || next1 == 1) || next1 == 2)) && (((head2 == -1 || head2 == 0) || head2 == 1) || head2 == 2) [2024-01-30 14:40:03,108 INFO L98 nessWitnessExtractor]: Location invariant before [L1808-L1808] ((((-128 <= v) && (-1 <= v)) && (v <= 2)) && (v <= 127)) && (((v == -1 || v == 0) || v == 1) || v == 2) [2024-01-30 14:40:03,108 INFO L98 nessWitnessExtractor]: Location invariant before [L1851-L1851] (((3 == pushCount) && (stack.count == 3)) && (stack.head == 0)) && (pushCount == 3) [2024-01-30 14:40:03,108 INFO L98 nessWitnessExtractor]: Location invariant before [L1798-L1798] ((-128 <= v) && (v <= 127)) && (((((((((-1 <= v && 0 <= stack.count) && stack.count <= 3) && stack.count <= 127) && v <= 3) && stack.head == 0) && stack.count % 3 == 0) && (stack.count == 0 || stack.count == 3)) && ((((v == -1 || v == 0) || v == 1) || v == 2) || v == 3)) || ((0 <= v && v <= 2) && (((v == -1 || v == 0) || v == 1) || v == 2))) [2024-01-30 14:40:03,108 INFO L98 nessWitnessExtractor]: Location invariant before [L1902-L1902] (((((((((((((-128 <= elem) && (0 <= idx)) && (0 <= elem)) && (i <= 1U)) && (idx <= 2)) && (idx <= 127)) && (elem <= 2)) && (elem <= 127)) && ((unsigned long )arg <= 2UL)) && ((unsigned long )arg <= 127UL)) && (arg == idx)) && ((idx == 0 || idx == 1) || idx == 2)) && (((unsigned long )arg == 0UL || (unsigned long )arg == 1UL) || (unsigned long )arg == 2UL)) && (((elem == -1 || elem == 0) || elem == 1) || elem == 2) [2024-01-30 14:40:03,108 INFO L98 nessWitnessExtractor]: Location invariant before [L1828-L1828] ((((((((((((-128 <= desired) && (-128 <= *obj)) && (0 <= desired)) && (0 <= *obj)) && (desired <= 2)) && (desired <= 127)) && (*obj <= 2)) && (*obj <= 127)) && (obj == & stack.head)) && (ret == (_Bool)0 || ret == (_Bool)1)) && ((((-128 <= *expected && *expected <= 127) && (0 <= *expected && *expected <= 2)) && (((*expected == -1 || *expected == 0) || *expected == 1) || *expected == 2)) || (((-128 <= *expected && *expected <= 127) && (0 <= *expected && *expected <= 2)) && (((*expected == -1 || *expected == 0) || *expected == 1) || *expected == 2)))) && (((desired == -1 || desired == 0) || desired == 1) || desired == 2)) && (((*obj == -1 || *obj == 0) || *obj == 1) || *obj == 2) [2024-01-30 14:40:03,109 INFO L98 nessWitnessExtractor]: Location invariant before [L1816-L1816] ((((((((((((-128 <= desired) && (-128 <= *obj)) && (0 <= desired)) && (0 <= *obj)) && (desired <= 2)) && (desired <= 127)) && (*obj <= 2)) && (*obj <= 127)) && (obj == & stack.head)) && (ret == (_Bool)0 || ret == (_Bool)1)) && ((((-128 <= *expected && *expected <= 127) && (0 <= *expected && *expected <= 2)) && (((*expected == -1 || *expected == 0) || *expected == 1) || *expected == 2)) || (((-128 <= *expected && *expected <= 127) && (0 <= *expected && *expected <= 2)) && (((*expected == -1 || *expected == 0) || *expected == 1) || *expected == 2)))) && (((desired == -1 || desired == 0) || desired == 1) || desired == 2)) && (((*obj == -1 || *obj == 0) || *obj == 1) || *obj == 2) [2024-01-30 14:40:03,109 INFO L98 nessWitnessExtractor]: Location invariant before [L1899-L1900] (((((((((((((-128 <= elem) && (-1 <= elem)) && (0 <= idx)) && (i <= 1U)) && (idx <= 2)) && (idx <= 127)) && (elem <= 2)) && (elem <= 127)) && ((unsigned long )arg <= 2UL)) && ((unsigned long )arg <= 127UL)) && (arg == idx)) && ((idx == 0 || idx == 1) || idx == 2)) && (((unsigned long )arg == 0UL || (unsigned long )arg == 1UL) || (unsigned long )arg == 2UL)) && (((elem == -1 || elem == 0) || elem == 1) || elem == 2) [2024-01-30 14:40:03,109 INFO L98 nessWitnessExtractor]: Location invariant before [L1906-L1906] ((((((((0 <= idx) && (idx <= 2)) && (idx <= 127)) && ((unsigned long )arg <= 2UL)) && ((unsigned long )arg <= 127UL)) && (arg == idx)) && (i == 2U)) && ((idx == 0 || idx == 1) || idx == 2)) && (((unsigned long )arg == 0UL || (unsigned long )arg == 1UL) || (unsigned long )arg == 2UL) [2024-01-30 14:40:03,109 INFO L98 nessWitnessExtractor]: Location invariant before [L1870-L1870] ((((((((((((((-128 <= head1) && (-128 <= next1)) && (-128 <= head2)) && (0 <= head1)) && (0 <= next1)) && (0 <= head2)) && (head1 <= 2)) && (head1 <= 127)) && (next1 <= 2)) && (next1 <= 127)) && (head2 <= 2)) && (head2 <= 127)) && (((head1 == -1 || head1 == 0) || head1 == 1) || head1 == 2)) && (((next1 == -1 || next1 == 0) || next1 == 1) || next1 == 2)) && (((head2 == -1 || head2 == 0) || head2 == 1) || head2 == 2) [2024-01-30 14:40:03,109 INFO L98 nessWitnessExtractor]: Location invariant before [L1809-L1809] ((((-128 <= v) && (-1 <= v)) && (v <= 2)) && (v <= 127)) && (((v == -1 || v == 0) || v == 1) || v == 2) [2024-01-30 14:40:03,109 INFO L98 nessWitnessExtractor]: Location invariant before [L1903-L1903] (((((((((((((((((((((((((((-128 <= elem) && (0 <= idx)) && (0 <= elem)) && (i <= 1U)) && (idx <= 2)) && (idx <= 127)) && (elem <= 2)) && (elem <= 127)) && ((unsigned long )arg <= 2UL)) && ((unsigned long )arg <= 127UL)) && (arg == idx)) && ((idx == 0 || idx == 1) || idx == 2)) && (((unsigned long )arg == 0UL || (unsigned long )arg == 1UL) || (unsigned long )arg == 2UL)) && (((elem == -1 || elem == 0) || elem == 1) || elem == 2)) && (-128 <= elem)) && (0 <= idx)) && (0 <= elem)) && (i <= 1U)) && (idx <= 2)) && (idx <= 127)) && (elem <= 2)) && (elem <= 127)) && ((unsigned long )arg <= 2UL)) && ((unsigned long )arg <= 127UL)) && (arg == idx)) && ((idx == 0 || idx == 1) || idx == 2)) && (((unsigned long )arg == 0UL || (unsigned long )arg == 1UL) || (unsigned long )arg == 2UL)) && (((elem == -1 || elem == 0) || elem == 1) || elem == 2) [2024-01-30 14:40:03,109 INFO L98 nessWitnessExtractor]: Location invariant before [L1818-L1827] (((((((((((((-128 <= desired) && (-128 <= *obj)) && (0 <= desired)) && (0 <= *obj)) && (desired <= 2)) && (desired <= 127)) && (*obj <= 2)) && (*obj <= 127)) && ((_Bool)0 == ret)) && (obj == & stack.head)) && (ret == (_Bool)0)) && ((((-128 <= *expected && *expected <= 127) && (0 <= *expected && *expected <= 2)) && (((*expected == -1 || *expected == 0) || *expected == 1) || *expected == 2)) || (((-128 <= *expected && *expected <= 127) && (0 <= *expected && *expected <= 2)) && (((*expected == -1 || *expected == 0) || *expected == 1) || *expected == 2)))) && (((desired == -1 || desired == 0) || desired == 1) || desired == 2)) && (((*obj == -1 || *obj == 0) || *obj == 1) || *obj == 2) [2024-01-30 14:40:03,110 INFO L98 nessWitnessExtractor]: Location invariant after [L1847-L1857] ((((3 == pushCount) && (stack.count == 3)) && (stack.head == 0)) && (pushCount == 3)) && (i == 2) [2024-01-30 14:40:03,110 INFO L98 nessWitnessExtractor]: Location invariant before [L1799-L1799] ((-128 <= v) && (v <= 127)) && (((((((((-1 <= v && 0 <= stack.count) && stack.count <= 3) && stack.count <= 127) && v <= 3) && stack.head == 0) && stack.count % 3 == 0) && (stack.count == 0 || stack.count == 3)) && ((((v == -1 || v == 0) || v == 1) || v == 2) || v == 3)) || ((0 <= v && v <= 2) && (((v == -1 || v == 0) || v == 1) || v == 2))) [2024-01-30 14:40:03,110 INFO L98 nessWitnessExtractor]: Location invariant before [L1911-L1911] (stack.count == 0) && (stack.head == 0) [2024-01-30 14:40:03,110 INFO L98 nessWitnessExtractor]: Location invariant before [L1882-L1882] ((((-128 <= index) && (0 <= index)) && (index <= 2)) && (index <= 127)) && (((index == -1 || index == 0) || index == 1) || index == 2) [2024-01-30 14:40:03,110 INFO L98 nessWitnessExtractor]: Location invariant before [L1845-L1845] ((1 == v) && (obj == & stack.count)) && (v == 1) [2024-01-30 14:40:03,110 INFO L98 nessWitnessExtractor]: Location invariant before [L1829-L1829] ((((((((((((-128 <= desired) && (-128 <= *obj)) && (0 <= desired)) && (0 <= *obj)) && (desired <= 2)) && (desired <= 127)) && (*obj <= 2)) && (*obj <= 127)) && (obj == & stack.head)) && (ret == (_Bool)0 || ret == (_Bool)1)) && ((((-128 <= *expected && *expected <= 127) && (0 <= *expected && *expected <= 2)) && (((*expected == -1 || *expected == 0) || *expected == 1) || *expected == 2)) || (((-128 <= *expected && *expected <= 127) && (0 <= *expected && *expected <= 2)) && (((*expected == -1 || *expected == 0) || *expected == 1) || *expected == 2)))) && (((desired == -1 || desired == 0) || desired == 1) || desired == 2)) && (((*obj == -1 || *obj == 0) || *obj == 1) || *obj == 2) [2024-01-30 14:40:03,110 INFO L98 nessWitnessExtractor]: Location invariant before [L1825-L1825] (((((((((((((-128 <= desired) && (-128 <= *obj)) && (0 <= desired)) && (0 <= *obj)) && (desired <= 2)) && (desired <= 127)) && (*obj <= 2)) && (*obj <= 127)) && ((_Bool)0 == ret)) && (obj == & stack.head)) && (ret == (_Bool)0)) && ((((-128 <= *expected && *expected <= 127) && (0 <= *expected && *expected <= 2)) && (((*expected == -1 || *expected == 0) || *expected == 1) || *expected == 2)) || (((-128 <= *expected && *expected <= 127) && (0 <= *expected && *expected <= 2)) && (((*expected == -1 || *expected == 0) || *expected == 1) || *expected == 2)))) && (((desired == -1 || desired == 0) || desired == 1) || desired == 2)) && (((*obj == -1 || *obj == 0) || *obj == 1) || *obj == 2) [2024-01-30 14:40:03,111 INFO L98 nessWitnessExtractor]: Location invariant before [L1918-L1918] i == 3 [2024-01-30 14:40:03,111 INFO L98 nessWitnessExtractor]: Location invariant after [L1880-L1888] (((((((((-128 <= index) && (-128 <= head1)) && (0 <= index)) && (0 <= head1)) && (index <= 2)) && (index <= 127)) && (head1 <= 2)) && (head1 <= 127)) && (((index == -1 || index == 0) || index == 1) || index == 2)) && (((head1 == -1 || head1 == 0) || head1 == 1) || head1 == 2) [2024-01-30 14:40:03,111 INFO L98 nessWitnessExtractor]: Location invariant before [L1826-L1826] (((((((((((((-128 <= desired) && (-128 <= *obj)) && (0 <= desired)) && (0 <= *obj)) && (desired <= 2)) && (desired <= 127)) && (*obj <= 2)) && (*obj <= 127)) && ((_Bool)0 == ret)) && (obj == & stack.head)) && (ret == (_Bool)0)) && ((((-128 <= *expected && *expected <= 127) && (0 <= *expected && *expected <= 2)) && (((*expected == -1 || *expected == 0) || *expected == 1) || *expected == 2)) || (((-128 <= *expected && *expected <= 127) && (0 <= *expected && *expected <= 2)) && (((*expected == -1 || *expected == 0) || *expected == 1) || *expected == 2)))) && (((desired == -1 || desired == 0) || desired == 1) || desired == 2)) && (((*obj == -1 || *obj == 0) || *obj == 1) || *obj == 2) [2024-01-30 14:40:03,111 INFO L98 nessWitnessExtractor]: Location invariant before [L1836-L1836] ((1 == v) && (obj == & stack.count)) && (v == 1) [2024-01-30 14:40:03,111 INFO L98 nessWitnessExtractor]: Location invariant before [L1834-L1834] ((1 == v) && (obj == & stack.count)) && (v == 1) [2024-01-30 14:40:03,111 INFO L98 nessWitnessExtractor]: Location invariant before [L1821-L1821] (((((((((((((-128 <= desired) && (-128 <= *obj)) && (0 <= desired)) && (0 <= *obj)) && (desired <= 2)) && (desired <= 127)) && (*obj <= 2)) && (*obj <= 127)) && ((_Bool)0 == ret)) && (obj == & stack.head)) && (ret == (_Bool)0)) && ((((-128 <= *expected && *expected <= 127) && (0 <= *expected && *expected <= 2)) && (((*expected == -1 || *expected == 0) || *expected == 1) || *expected == 2)) || (((-128 <= *expected && *expected <= 127) && (0 <= *expected && *expected <= 2)) && (((*expected == -1 || *expected == 0) || *expected == 1) || *expected == 2)))) && (((desired == -1 || desired == 0) || desired == 1) || desired == 2)) && (((*obj == -1 || *obj == 0) || *obj == 1) || *obj == 2) [2024-01-30 14:40:03,111 INFO L98 nessWitnessExtractor]: Location invariant before [L1856-L1856] ((((3 == pushCount) && (stack.count == 3)) && (stack.head == 0)) && (pushCount == 3)) && (i == 2) [2024-01-30 14:40:03,113 INFO L98 nessWitnessExtractor]: Loop invariant at [L1885-L1885] (((((((((-128 <= index) && (-128 <= head1)) && (0 <= index)) && (0 <= head1)) && (index <= 2)) && (index <= 127)) && (head1 <= 2)) && (head1 <= 127)) && (((index == -1 || index == 0) || index == 1) || index == 2)) && (((head1 == -1 || head1 == 0) || head1 == 1) || head1 == 2) [2024-01-30 14:40:03,113 INFO L98 nessWitnessExtractor]: Location invariant before [L1885-L1885] (((((((((-128 <= index) && (-128 <= head1)) && (0 <= index)) && (0 <= head1)) && (index <= 2)) && (index <= 127)) && (head1 <= 2)) && (head1 <= 127)) && (((index == -1 || index == 0) || index == 1) || index == 2)) && (((head1 == -1 || head1 == 0) || head1 == 1) || head1 == 2) [2024-01-30 14:40:03,114 INFO L98 nessWitnessExtractor]: Location invariant before [L1842-L1842] ((1 == v) && (obj == & stack.count)) && (v == 1) [2024-01-30 14:40:03,114 INFO L98 nessWitnessExtractor]: Location invariant before [L1810-L1810] (((((((((-128 <= v) && (-128 <= t)) && (-1 <= v)) && (-1 <= t)) && (v <= 2)) && (v <= 127)) && (t <= 2)) && (t <= 127)) && (((v == -1 || v == 0) || v == 1) || v == 2)) && (((t == -1 || t == 0) || t == 1) || t == 2) [2024-01-30 14:40:03,114 INFO L98 nessWitnessExtractor]: Location invariant before [L1898-L1898] ((((((((0 <= idx) && (i <= 1U)) && (idx <= 2)) && (idx <= 127)) && ((unsigned long )arg <= 2UL)) && ((unsigned long )arg <= 127UL)) && (arg == idx)) && ((idx == 0 || idx == 1) || idx == 2)) && (((unsigned long )arg == 0UL || (unsigned long )arg == 1UL) || (unsigned long )arg == 2UL) [2024-01-30 14:40:03,114 INFO L98 nessWitnessExtractor]: Loop invariant at [L1898-L1898] ((((((((0 <= idx) && (i <= 1U)) && (idx <= 2)) && (idx <= 127)) && ((unsigned long )arg <= 2UL)) && ((unsigned long )arg <= 127UL)) && (arg == idx)) && ((idx == 0 || idx == 1) || idx == 2)) && (((unsigned long )arg == 0UL || (unsigned long )arg == 1UL) || (unsigned long )arg == 2UL) [2024-01-30 14:40:03,114 INFO L98 nessWitnessExtractor]: Location invariant before [L1863-L1863] ((((-128 <= head1) && (0 <= head1)) && (head1 <= 2)) && (head1 <= 127)) && (((head1 == -1 || head1 == 0) || head1 == 1) || head1 == 2) [2024-01-30 14:40:03,114 INFO L98 nessWitnessExtractor]: Location invariant before [L1874-L1874] ((((((((((((((-128 <= head1) && (-128 <= next1)) && (-128 <= head2)) && (0 <= head1)) && (0 <= next1)) && (0 <= head2)) && (head1 <= 2)) && (head1 <= 127)) && (next1 <= 2)) && (next1 <= 127)) && (head2 <= 2)) && (head2 <= 127)) && (((head1 == -1 || head1 == 0) || head1 == 1) || head1 == 2)) && (((next1 == -1 || next1 == 0) || next1 == 1) || next1 == 2)) && (((head2 == -1 || head2 == 0) || head2 == 1) || head2 == 2) [2024-01-30 14:40:03,114 INFO L98 nessWitnessExtractor]: Location invariant before [L1800-L1800] ((-128 <= v) && (v <= 127)) && (((((-1 <= v && v <= 3) && stack.count == 3) && stack.head == 0) && ((((v == -1 || v == 0) || v == 1) || v == 2) || v == 3)) || ((0 <= v && v <= 2) && (((v == -1 || v == 0) || v == 1) || v == 2))) [2024-01-30 14:40:03,115 INFO L98 nessWitnessExtractor]: Location invariant before [L1843-L1843] ((1 == v) && (obj == & stack.count)) && (v == 1) [2024-01-30 14:40:03,115 INFO L98 nessWitnessExtractor]: Loop invariant at [L1912-L1914] ((((((i == 3 || i == 2) || i == 2) || i == 1) || i == 1) || (0 == i && i == 0)) || (((0 == i && stack.count == 3) && stack.head == 0) && i == 0)) || (stack.count == 3 && stack.head == 0) [2024-01-30 14:40:03,115 INFO L98 nessWitnessExtractor]: Location invariant after [L1796-L1801] ((-128 <= v) && (v <= 127)) && (((((-1 <= v && v <= 3) && stack.count == 3) && stack.head == 0) && ((((v == -1 || v == 0) || v == 1) || v == 2) || v == 3)) || ((0 <= v && v <= 2) && (((v == -1 || v == 0) || v == 1) || v == 2))) [2024-01-30 14:40:03,115 INFO L98 nessWitnessExtractor]: Loop invariant at [L1915-L1917] ((((((i == 3 || i == 2) || i == 2) || i == 1) || i == 1) || (0 == i && i == 0)) || (0 == i && i == 0)) || i == 3 [2024-01-30 14:40:03,115 INFO L98 nessWitnessExtractor]: Location invariant before [L1904-L1904] (((((((((((((-128 <= elem) && (0 <= idx)) && (0 <= elem)) && (i <= 1U)) && (idx <= 2)) && (idx <= 127)) && (elem <= 2)) && (elem <= 127)) && ((unsigned long )arg <= 2UL)) && ((unsigned long )arg <= 127UL)) && (arg == idx)) && ((idx == 0 || idx == 1) || idx == 2)) && (((unsigned long )arg == 0UL || (unsigned long )arg == 1UL) || (unsigned long )arg == 2UL)) && (((elem == -1 || elem == 0) || elem == 1) || elem == 2) [2024-01-30 14:40:03,115 INFO L98 nessWitnessExtractor]: Location invariant before [L1833-L1833] ((1 == v) && (obj == & stack.count)) && (v == 1) [2024-01-30 14:40:03,116 INFO L98 nessWitnessExtractor]: Location invariant before [L1835-L1835] ((1 == v) && (obj == & stack.count)) && (v == 1) [2024-01-30 14:40:03,116 INFO L98 nessWitnessExtractor]: Location invariant before [L1804-L1804] (((((-128 <= *obj && 0 <= *obj) && *obj <= 2) && *obj <= 127) && obj == & stack.head) && (((*obj == -1 || *obj == 0) || *obj == 1) || *obj == 2)) || obj == & stack.count [2024-01-30 14:40:03,116 INFO L98 nessWitnessExtractor]: Loop invariant at [L1893-L1905] (((((((0 <= idx) && (idx <= 2)) && (idx <= 127)) && ((unsigned long )arg <= 2UL)) && ((unsigned long )arg <= 127UL)) && (arg == idx)) && ((idx == 0 || idx == 1) || idx == 2)) && (((unsigned long )arg == 0UL || (unsigned long )arg == 1UL) || (unsigned long )arg == 2UL) [2024-01-30 14:40:03,117 INFO L98 nessWitnessExtractor]: Location invariant before [L1913-L1913] (i == 2 || i == 1) || (((0 == i && stack.count == 3) && stack.head == 0) && i == 0) [2024-01-30 14:40:03,117 INFO L98 nessWitnessExtractor]: Location invariant before [L1850-L1850] (((3 == pushCount) && (stack.count == 0)) && (stack.head == 0)) && (pushCount == 3) [2024-01-30 14:40:03,118 INFO L98 nessWitnessExtractor]: Location invariant before [L1812-L1812] (((((((((-128 <= v) && (-128 <= t)) && (-1 <= v)) && (-1 <= t)) && (v <= 2)) && (v <= 127)) && (t <= 2)) && (t <= 127)) && (((v == -1 || v == 0) || v == 1) || v == 2)) && (((t == -1 || t == 0) || t == 1) || t == 2) [2024-01-30 14:40:03,119 INFO L98 nessWitnessExtractor]: Location invariant before [L1887-L1887] (((((((((-128 <= index) && (-128 <= head1)) && (0 <= index)) && (0 <= head1)) && (index <= 2)) && (index <= 127)) && (head1 <= 2)) && (head1 <= 127)) && (((index == -1 || index == 0) || index == 1) || index == 2)) && (((head1 == -1 || head1 == 0) || head1 == 1) || head1 == 2) [2024-01-30 14:40:03,119 INFO L98 nessWitnessExtractor]: Location invariant before [L1844-L1844] ((1 == v) && (obj == & stack.count)) && (v == 1) [2024-01-30 14:40:03,119 INFO L98 nessWitnessExtractor]: Location invariant before [L1841-L1841] ((1 == v) && (obj == & stack.count)) && (v == 1) [2024-01-30 14:40:03,119 INFO L98 nessWitnessExtractor]: Location invariant before [L1869-L1869] ((((((((((((((-128 <= head1) && (-128 <= next1)) && (-128 <= head2)) && (0 <= head1)) && (0 <= next1)) && (0 <= head2)) && (head1 <= 2)) && (head1 <= 127)) && (next1 <= 2)) && (next1 <= 127)) && (head2 <= 2)) && (head2 <= 127)) && (((head1 == -1 || head1 == 0) || head1 == 1) || head1 == 2)) && (((next1 == -1 || next1 == 0) || next1 == 1) || next1 == 2)) && (((head2 == -1 || head2 == 0) || head2 == 1) || head2 == 2) [2024-01-30 14:40:03,120 INFO L98 nessWitnessExtractor]: Location invariant before [L1811-L1811] (((((((((-128 <= v) && (-128 <= t)) && (-1 <= v)) && (-1 <= t)) && (v <= 2)) && (v <= 127)) && (t <= 2)) && (t <= 127)) && (((v == -1 || v == 0) || v == 1) || v == 2)) && (((t == -1 || t == 0) || t == 1) || t == 2) [2024-01-30 14:40:03,120 INFO L98 nessWitnessExtractor]: Location invariant before [L1820-L1820] (((((((((((((-128 <= desired) && (-128 <= *obj)) && (0 <= desired)) && (0 <= *obj)) && (desired <= 2)) && (desired <= 127)) && (*obj <= 2)) && (*obj <= 127)) && ((_Bool)0 == ret)) && (obj == & stack.head)) && (ret == (_Bool)0)) && ((((-128 <= *expected && *expected <= 127) && (0 <= *expected && *expected <= 2)) && (((*expected == -1 || *expected == 0) || *expected == 1) || *expected == 2)) || (((-128 <= *expected && *expected <= 127) && (0 <= *expected && *expected <= 2)) && (((*expected == -1 || *expected == 0) || *expected == 1) || *expected == 2)))) && (((desired == -1 || desired == 0) || desired == 1) || desired == 2)) && (((*obj == -1 || *obj == 0) || *obj == 1) || *obj == 2) [2024-01-30 14:40:03,120 INFO L98 nessWitnessExtractor]: Location invariant before [L1854-L1854] ((((3 == pushCount) && (stack.count == 3)) && (stack.head == 0)) && (pushCount == 3)) && (i == 1 || (0 == i && i == 0)) [2024-01-30 14:40:03,154 INFO L177 MainTranslator]: Built tables and reachable declarations [2024-01-30 14:40:03,609 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-complex/safestack_relacy.i[78860,78873] [2024-01-30 14:40:03,618 INFO L209 PostProcessor]: Analyzing one entry point: main [2024-01-30 14:40:03,635 INFO L202 MainTranslator]: Completed pre-run Start Parsing Local Start Parsing Local Start Parsing Local [2024-01-30 14:40:03,733 WARN L424 MainDispatcher]: Unable to annotate void atomic_store(int *obj, int v) { __VERIFIER_atomic_begin(); *obj = v; __VERIFIER_atomic_end(); } with a witness entry Start Parsing Local [2024-01-30 14:40:03,742 ERROR L324 MainTranslator]: Unsupported Syntax: ACSL addressof for variable off-heap [2024-01-30 14:40:03,744 INFO L204 PluginConnector]: Invalid model from CACSL2BoogieTranslator for observer de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator.CACSL2BoogieTranslatorObserver@7dd4f960 and model type witness.yml de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator CORRECTNESS_WITNESS 30.01 02:40:03, skipping insertion in model container [2024-01-30 14:40:03,744 INFO L131 PluginConnector]: ------------------------ END CACSL2BoogieTranslator---------------------------- [2024-01-30 14:40:03,744 INFO L186 ToolchainWalker]: Toolchain execution was canceled (user or tool) before executing de.uni_freiburg.informatik.ultimate.boogie.procedureinliner [2024-01-30 14:40:03,746 INFO L158 Benchmark]: Toolchain (without parser) took 1111.43ms. Allocated memory is still 92.3MB. Free memory was 65.8MB in the beginning and 55.8MB in the end (delta: 10.0MB). Peak memory consumption was 26.8MB. Max. memory is 16.1GB. [2024-01-30 14:40:03,746 INFO L158 Benchmark]: CDTParser took 0.15ms. Allocated memory is still 67.1MB. Free memory was 44.0MB in the beginning and 43.9MB in the end (delta: 83.9kB). There was no memory consumed. Max. memory is 16.1GB. [2024-01-30 14:40:03,747 INFO L158 Benchmark]: Witness Parser took 0.15ms. Allocated memory is still 67.1MB. Free memory is still 43.9MB. There was no memory consumed. Max. memory is 16.1GB. [2024-01-30 14:40:03,747 INFO L158 Benchmark]: CACSL2BoogieTranslator took 1108.45ms. Allocated memory is still 92.3MB. Free memory was 65.8MB in the beginning and 55.8MB in the end (delta: 10.0MB). Peak memory consumption was 26.8MB. Max. memory is 16.1GB. [2024-01-30 14:40:03,749 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.15ms. Allocated memory is still 67.1MB. Free memory was 44.0MB in the beginning and 43.9MB in the end (delta: 83.9kB). There was no memory consumed. Max. memory is 16.1GB. * Witness Parser took 0.15ms. Allocated memory is still 67.1MB. Free memory is still 43.9MB. There was no memory consumed. Max. memory is 16.1GB. * CACSL2BoogieTranslator took 1108.45ms. Allocated memory is still 92.3MB. Free memory was 65.8MB in the beginning and 55.8MB in the end (delta: 10.0MB). Peak memory consumption was 26.8MB. Max. memory is 16.1GB. * Results from de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator: - UnsupportedSyntaxResult [Line: 1804]: Unsupported Syntax ACSL addressof for variable off-heap 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