./Ultimate.py --spec ../../../trunk/examples/svcomp/properties/unreach-call.prp --file ../../../trunk/examples/svcomp/ldv-races/race-2_3-container_of.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/race-2_3-container_of.yml/witness.yml --architecture 32bit -------------------------------------------------------------------------------- Checking for ERROR reachability Using default analysis Version 59af5db6 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/ldv-races/race-2_3-container_of.i ./goblint.2023-12-19_14-39-08.files/SV-COMP24_unreach-call/race-2_3-container_of.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-59af5db-m [2024-02-02 09:35:36,229 INFO L188 SettingsManager]: Resetting all preferences to default values... [2024-02-02 09:35:36,347 INFO L114 SettingsManager]: Loading settings from /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/config/svcomp-Reach-32bit-Automizer_Default.epf [2024-02-02 09:35:36,364 WARN L101 SettingsManager]: Preference file contains the following unknown settings: [2024-02-02 09:35:36,365 WARN L103 SettingsManager]: * de.uni_freiburg.informatik.ultimate.core.Log level for class [2024-02-02 09:35:36,408 INFO L130 SettingsManager]: Preferences different from defaults after loading the file: [2024-02-02 09:35:36,409 INFO L151 SettingsManager]: Preferences of UltimateCore differ from their defaults: [2024-02-02 09:35:36,409 INFO L153 SettingsManager]: * Log level for class=de.uni_freiburg.informatik.ultimate.lib.smtlibutils.quantifier.QuantifierPusher=ERROR; [2024-02-02 09:35:36,410 INFO L151 SettingsManager]: Preferences of Boogie Preprocessor differ from their defaults: [2024-02-02 09:35:36,416 INFO L153 SettingsManager]: * Use memory slicer=true [2024-02-02 09:35:36,416 INFO L151 SettingsManager]: Preferences of Boogie Procedure Inliner differ from their defaults: [2024-02-02 09:35:36,416 INFO L153 SettingsManager]: * Ignore calls to procedures called more than once=ONLY_FOR_SEQUENTIAL_PROGRAMS [2024-02-02 09:35:36,418 INFO L151 SettingsManager]: Preferences of BlockEncodingV2 differ from their defaults: [2024-02-02 09:35:36,419 INFO L153 SettingsManager]: * Create parallel compositions if possible=false [2024-02-02 09:35:36,419 INFO L153 SettingsManager]: * Use SBE=true [2024-02-02 09:35:36,420 INFO L151 SettingsManager]: Preferences of CACSL2BoogieTranslator differ from their defaults: [2024-02-02 09:35:36,420 INFO L153 SettingsManager]: * Pointer base address is valid at dereference=IGNORE [2024-02-02 09:35:36,420 INFO L153 SettingsManager]: * sizeof long=4 [2024-02-02 09:35:36,420 INFO L153 SettingsManager]: * Overapproximate operations on floating types=true [2024-02-02 09:35:36,421 INFO L153 SettingsManager]: * sizeof POINTER=4 [2024-02-02 09:35:36,421 INFO L153 SettingsManager]: * Check division by zero=IGNORE [2024-02-02 09:35:36,421 INFO L153 SettingsManager]: * Pointer to allocated memory at dereference=IGNORE [2024-02-02 09:35:36,421 INFO L153 SettingsManager]: * If two pointers are subtracted or compared they have the same base address=IGNORE [2024-02-02 09:35:36,422 INFO L153 SettingsManager]: * Check array bounds for arrays that are off heap=IGNORE [2024-02-02 09:35:36,422 INFO L153 SettingsManager]: * Allow undefined functions=false [2024-02-02 09:35:36,422 INFO L153 SettingsManager]: * sizeof long double=12 [2024-02-02 09:35:36,422 INFO L153 SettingsManager]: * Check if freed pointer was valid=false [2024-02-02 09:35:36,422 INFO L153 SettingsManager]: * Use constant arrays=true [2024-02-02 09:35:36,423 INFO L151 SettingsManager]: Preferences of RCFGBuilder differ from their defaults: [2024-02-02 09:35:36,423 INFO L153 SettingsManager]: * Size of a code block=SequenceOfStatements [2024-02-02 09:35:36,424 INFO L153 SettingsManager]: * Only consider context switches at boundaries of atomic blocks=true [2024-02-02 09:35:36,424 INFO L153 SettingsManager]: * SMT solver=External_DefaultMode [2024-02-02 09:35:36,424 INFO L153 SettingsManager]: * Command for external solver=z3 SMTLIB2_COMPLIANT=true -memory:2024 -smt2 -in -t:4000 [2024-02-02 09:35:36,425 INFO L151 SettingsManager]: Preferences of TraceAbstraction differ from their defaults: [2024-02-02 09:35:36,425 INFO L153 SettingsManager]: * Compute Interpolants along a Counterexample=FPandBP [2024-02-02 09:35:36,425 INFO L153 SettingsManager]: * Positions where we compute the Hoare Annotation=LoopHeads [2024-02-02 09:35:36,425 INFO L153 SettingsManager]: * Trace refinement strategy=CAMEL [2024-02-02 09:35:36,425 INFO L153 SettingsManager]: * Command for external solver=z3 SMTLIB2_COMPLIANT=true -memory:2024 -smt2 -in [2024-02-02 09:35:36,426 INFO L153 SettingsManager]: * Apply one-shot large block encoding in concurrent analysis=false [2024-02-02 09:35:36,426 INFO L153 SettingsManager]: * Automaton type used in concurrency analysis=PETRI_NET [2024-02-02 09:35:36,426 INFO L153 SettingsManager]: * Compute Hoare Annotation of negated interpolant automaton, abstraction and CFG=true [2024-02-02 09:35:36,426 INFO L153 SettingsManager]: * Order on configurations for Petri net unfoldings=DBO [2024-02-02 09:35:36,426 INFO L153 SettingsManager]: * SMT solver=External_ModelsAndUnsatCoreMode [2024-02-02 09:35:36,427 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-02-02 09:35:36,672 INFO L75 nceAwareModelManager]: Repository-Root is: /tmp [2024-02-02 09:35:36,697 INFO L261 ainManager$Toolchain]: [Toolchain 1]: Applicable parser(s) successfully (re)initialized [2024-02-02 09:35:36,700 INFO L217 ainManager$Toolchain]: [Toolchain 1]: Toolchain selected. [2024-02-02 09:35:36,701 INFO L270 PluginConnector]: Initializing CDTParser... [2024-02-02 09:35:36,701 INFO L274 PluginConnector]: CDTParser initialized [2024-02-02 09:35:36,702 INFO L431 ainManager$Toolchain]: [Toolchain 1]: Parsing single file: /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/../../../trunk/examples/svcomp/ldv-races/race-2_3-container_of.i [2024-02-02 09:35:37,948 INFO L533 CDTParser]: Created temporary CDT project at NULL [2024-02-02 09:35:38,265 INFO L384 CDTParser]: Found 1 translation units. [2024-02-02 09:35:38,266 INFO L180 CDTParser]: Scanning /storage/repos/ultimate/trunk/examples/svcomp/ldv-races/race-2_3-container_of.i [2024-02-02 09:35:38,299 INFO L427 CDTParser]: About to delete temporary CDT project at /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/data/2a3b3a9e8/f0fa5eae06fe4277ad48232294d22435/FLAG686f95946 [2024-02-02 09:35:38,317 INFO L435 CDTParser]: Successfully deleted /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/data/2a3b3a9e8/f0fa5eae06fe4277ad48232294d22435 [2024-02-02 09:35:38,319 INFO L270 PluginConnector]: Initializing Witness Parser... [2024-02-02 09:35:38,320 INFO L274 PluginConnector]: Witness Parser initialized [2024-02-02 09:35:38,320 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/race-2_3-container_of.yml/witness.yml [2024-02-02 09:35:38,437 INFO L299 ainManager$Toolchain]: ####################### [Toolchain 1] ####################### [2024-02-02 09:35:38,438 INFO L133 ToolchainWalker]: Walking toolchain with 5 elements. [2024-02-02 09:35:38,439 INFO L112 PluginConnector]: ------------------------CACSL2BoogieTranslator---------------------------- [2024-02-02 09:35:38,439 INFO L270 PluginConnector]: Initializing CACSL2BoogieTranslator... [2024-02-02 09:35:38,443 INFO L274 PluginConnector]: CACSL2BoogieTranslator initialized [2024-02-02 09:35:38,444 INFO L184 PluginConnector]: Executing the observer ACSLObjectContainerObserver from plugin CACSL2BoogieTranslator for "CDTParser AST 02.02 09:35:38" (1/2) ... [2024-02-02 09:35:38,445 INFO L204 PluginConnector]: Invalid model from CACSL2BoogieTranslator for observer de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator.ACSLObjectContainerObserver@6dd69abb and model type de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 02.02 09:35:38, skipping insertion in model container [2024-02-02 09:35:38,445 INFO L184 PluginConnector]: Executing the observer CACSL2BoogieTranslatorObserver from plugin CACSL2BoogieTranslator for "CDTParser AST 02.02 09:35:38" (1/2) ... [2024-02-02 09:35:38,447 INFO L204 PluginConnector]: Invalid model from CACSL2BoogieTranslator for observer de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator.CACSL2BoogieTranslatorObserver@6a6b448a and model type de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 02.02 09:35:38, skipping insertion in model container [2024-02-02 09:35:38,447 INFO L184 PluginConnector]: Executing the observer ACSLObjectContainerObserver from plugin CACSL2BoogieTranslator for "witness.yml de.uni_freiburg.informatik.ultimate.witnessparser CORRECTNESS_WITNESS 02.02 09:35:38" (2/2) ... [2024-02-02 09:35:38,448 INFO L204 PluginConnector]: Invalid model from CACSL2BoogieTranslator for observer de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator.ACSLObjectContainerObserver@6dd69abb and model type witness.yml de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator CORRECTNESS_WITNESS 02.02 09:35:38, skipping insertion in model container [2024-02-02 09:35:38,448 INFO L184 PluginConnector]: Executing the observer CACSL2BoogieTranslatorObserver from plugin CACSL2BoogieTranslator for "witness.yml de.uni_freiburg.informatik.ultimate.witnessparser CORRECTNESS_WITNESS 02.02 09:35:38" (2/2) ... [2024-02-02 09:35:38,448 INFO L86 nessWitnessExtractor]: Extracting all invariants from correctness witness [2024-02-02 09:35:38,573 INFO L99 nessWitnessExtractor]: Found the following entries in the witness: [2024-02-02 09:35:38,575 INFO L101 nessWitnessExtractor]: Location invariant before [L3968-L3968] ((((((0LL - (long long )probe_ret) + (long long )ret >= 0LL) && ((long long )probe_ret + (long long )ret >= 0LL)) && ((0LL - (long long )probe_ret) - (long long )ret >= 0LL)) && ((long long )probe_ret - (long long )ret >= 0LL)) && (ret == 0)) && (probe_ret == 0) [2024-02-02 09:35:38,575 INFO L101 nessWitnessExtractor]: Location invariant after [L3949-L3954] (unsigned long )status == 0UL [2024-02-02 09:35:38,575 INFO L101 nessWitnessExtractor]: Location invariant before [L3938-L3938] (d == & data->dev) && (res == 0) [2024-02-02 09:35:38,575 INFO L101 nessWitnessExtractor]: Location invariant before [L3913-L3913] ((arg == dev) && (arg == __mptr)) && (dev == __mptr) [2024-02-02 09:35:38,575 INFO L101 nessWitnessExtractor]: Location invariant before [L3941-L3941] (d == & data->dev) && (res == 0) [2024-02-02 09:35:38,576 INFO L101 nessWitnessExtractor]: Location invariant before [L3973-L3973] (ret == 0) && ((((((((1LL + (long long )probe_ret) + (long long )ret >= 0LL && (-1LL - (long long )probe_ret) + (long long )ret >= 0LL) && (1LL + (long long )probe_ret) - (long long )ret >= 0LL) && (-1LL - (long long )probe_ret) - (long long )ret >= 0LL) && probe_ret == -1) && data.shared.a == 0) && data.shared.b == 0) || (((((0LL - (long long )probe_ret) + (long long )ret >= 0LL && (long long )probe_ret + (long long )ret >= 0LL) && (0LL - (long long )probe_ret) - (long long )ret >= 0LL) && (long long )probe_ret - (long long )ret >= 0LL) && probe_ret == 0)) [2024-02-02 09:35:38,576 INFO L101 nessWitnessExtractor]: Location invariant before [L3887-L3887] ((expression == 0) && ((expression == 1 || ((0 <= expression && expression <= 1) && (expression == 0 || expression == 1))) || ((0 <= expression && expression <= 1) && (expression == 0 || expression == 1)))) && (expression == 1) [2024-02-02 09:35:38,576 INFO L101 nessWitnessExtractor]: Location invariant before [L3962-L3962] ((((4294967296LL + (long long )probe_ret) + (long long )ret >= 0LL) && ((4294967295LL - (long long )probe_ret) + (long long )ret >= 0LL)) && ((4294967295LL + (long long )probe_ret) - (long long )ret >= 0LL)) && ((4294967294LL - (long long )probe_ret) - (long long )ret >= 0LL) [2024-02-02 09:35:38,577 INFO L101 nessWitnessExtractor]: Location invariant before [L3916-L3916] ((arg == dev) && (arg == __mptr)) && (dev == __mptr) [2024-02-02 09:35:38,577 INFO L101 nessWitnessExtractor]: Location invariant before [L3924-L3924] ((0 == data->shared.a) && (d == & data->dev)) && (data->shared.a == 0) [2024-02-02 09:35:38,577 INFO L101 nessWitnessExtractor]: Location invariant before [L3963-L3977] (((((2147483648LL + (long long )probe_ret) + (long long )ret >= 0LL) && ((2147483647LL - (long long )probe_ret) + (long long )ret >= 0LL)) && ((2147483648LL + (long long )probe_ret) - (long long )ret >= 0LL)) && ((2147483647LL - (long long )probe_ret) - (long long )ret >= 0LL)) && (ret == 0) [2024-02-02 09:35:38,577 INFO L101 nessWitnessExtractor]: Location invariant before [L3930-L3930] (d == & data->dev) && (res == 0) [2024-02-02 09:35:38,577 INFO L101 nessWitnessExtractor]: Location invariant before [L3974-L3974] (ret == 0) && (((((((((1LL + (long long )probe_ret) + (long long )ret >= 0LL && (-1LL - (long long )probe_ret) + (long long )ret >= 0LL) && (1LL + (long long )probe_ret) - (long long )ret >= 0LL) && (-1LL - (long long )probe_ret) - (long long )ret >= 0LL) && -1 == data.shared.a) && probe_ret == -1) && data.shared.a == -1) && data.shared.b == 0) || (((((0LL - (long long )probe_ret) + (long long )ret >= 0LL && (long long )probe_ret + (long long )ret >= 0LL) && (0LL - (long long )probe_ret) - (long long )ret >= 0LL) && (long long )probe_ret - (long long )ret >= 0LL) && probe_ret == 0)) [2024-02-02 09:35:38,577 INFO L101 nessWitnessExtractor]: Location invariant before [L3923-L3923] d == & data->dev [2024-02-02 09:35:38,577 INFO L101 nessWitnessExtractor]: Location invariant before [L3922-L3922] d == & data->dev [2024-02-02 09:35:38,578 INFO L101 nessWitnessExtractor]: Location invariant before [L3966-L3966] (((((2147483648LL + (long long )probe_ret) + (long long )ret >= 0LL) && ((2147483647LL - (long long )probe_ret) + (long long )ret >= 0LL)) && ((2147483648LL + (long long )probe_ret) - (long long )ret >= 0LL)) && ((2147483647LL - (long long )probe_ret) - (long long )ret >= 0LL)) && (ret == 0) [2024-02-02 09:35:38,578 INFO L101 nessWitnessExtractor]: Location invariant before [L3937-L3937] (d == & data->dev) && (res == 0) [2024-02-02 09:35:38,578 INFO L101 nessWitnessExtractor]: Location invariant after [L3945-L3946] (((d == & data->dev) && (data->shared.a == 0)) && (data->shared.b == 0)) && (res != 0) [2024-02-02 09:35:38,578 INFO L101 nessWitnessExtractor]: Location invariant before [L3908-L3908] ((arg == dev) && (arg == __mptr)) && (dev == __mptr) [2024-02-02 09:35:38,578 INFO L101 nessWitnessExtractor]: Location invariant before [L3967-L3971] (ret == 0) && ((((((((1LL + (long long )probe_ret) + (long long )ret >= 0LL && (-1LL - (long long )probe_ret) + (long long )ret >= 0LL) && (1LL + (long long )probe_ret) - (long long )ret >= 0LL) && (-1LL - (long long )probe_ret) - (long long )ret >= 0LL) && probe_ret == -1) && data.shared.a == 0) && data.shared.b == 0) || (((((0LL - (long long )probe_ret) + (long long )ret >= 0LL && (long long )probe_ret + (long long )ret >= 0LL) && (0LL - (long long )probe_ret) - (long long )ret >= 0LL) && (long long )probe_ret - (long long )ret >= 0LL) && probe_ret == 0)) [2024-02-02 09:35:38,578 INFO L101 nessWitnessExtractor]: Location invariant before [L3906-L3906] ((arg == dev) && (arg == __mptr)) && (dev == __mptr) [2024-02-02 09:35:38,579 INFO L101 nessWitnessExtractor]: Location invariant before [L3915-L3915] ((arg == dev) && (arg == __mptr)) && (dev == __mptr) [2024-02-02 09:35:38,579 INFO L101 nessWitnessExtractor]: Location invariant before [L3939-L3939] (d == & data->dev) && (res == 0) [2024-02-02 09:35:38,579 INFO L101 nessWitnessExtractor]: Location invariant before [L3926-L3927] ((d == & data->dev) && (data->shared.a == 0)) && (data->shared.b == 0) [2024-02-02 09:35:38,579 INFO L101 nessWitnessExtractor]: Location invariant before [L3932-L3932] (d == & data->dev) && (res == 0) [2024-02-02 09:35:38,580 INFO L101 nessWitnessExtractor]: Location invariant before [L3925-L3925] (((((0 == data->shared.a) && (0 == data->shared.b)) && (d == & data->dev)) && (data->shared.a == 0)) && (data->shared.a == data->shared.b)) && (data->shared.b == 0) [2024-02-02 09:35:38,580 INFO L101 nessWitnessExtractor]: Location invariant before [L3904-L3904] arg == dev [2024-02-02 09:35:38,580 INFO L101 nessWitnessExtractor]: Location invariant before [L3914-L3914] ((arg == dev) && (arg == __mptr)) && (dev == __mptr) [2024-02-02 09:35:38,580 INFO L101 nessWitnessExtractor]: Location invariant before [L3969-L3969] ((((((0LL - (long long )probe_ret) + (long long )ret >= 0LL) && ((long long )probe_ret + (long long )ret >= 0LL)) && ((0LL - (long long )probe_ret) - (long long )ret >= 0LL)) && ((long long )probe_ret - (long long )ret >= 0LL)) && (ret == 0)) && (probe_ret == 0) [2024-02-02 09:35:38,580 INFO L101 nessWitnessExtractor]: Location invariant before [L3911-L3911] ((arg == dev) && (arg == __mptr)) && (dev == __mptr) [2024-02-02 09:35:38,580 INFO L101 nessWitnessExtractor]: Location invariant before [L3907-L3907] ((arg == dev) && (arg == __mptr)) && (dev == __mptr) [2024-02-02 09:35:38,581 INFO L101 nessWitnessExtractor]: Location invariant before [L3935-L3935] (d == & data->dev) && (res == 0) [2024-02-02 09:35:38,581 INFO L101 nessWitnessExtractor]: Location invariant before [L3944-L3944] (d == & data->dev) && (res == 0) [2024-02-02 09:35:38,581 INFO L101 nessWitnessExtractor]: Location invariant before [L3953-L3953] (unsigned long )status == 0UL [2024-02-02 09:35:38,581 INFO L101 nessWitnessExtractor]: Location invariant before [L3952-L3952] (unsigned long )status == 0UL [2024-02-02 09:35:38,581 INFO L101 nessWitnessExtractor]: Location invariant before [L3942-L3942] (d == & data->dev) && (res == 0) [2024-02-02 09:35:38,582 INFO L101 nessWitnessExtractor]: Location invariant before [L3910-L3910] ((arg == dev) && (arg == __mptr)) && (dev == __mptr) [2024-02-02 09:35:38,582 INFO L101 nessWitnessExtractor]: Location invariant before [L3975-L3975] (ret == 0) && (((((((((((1LL + (long long )probe_ret) + (long long )ret >= 0LL && (-1LL - (long long )probe_ret) + (long long )ret >= 0LL) && (1LL + (long long )probe_ret) - (long long )ret >= 0LL) && (-1LL - (long long )probe_ret) - (long long )ret >= 0LL) && -1 == data.shared.a) && -1 == data.shared.b) && probe_ret == -1) && data.shared.a == -1) && data.shared.a == data.shared.b) && data.shared.b == -1) || (((((0LL - (long long )probe_ret) + (long long )ret >= 0LL && (long long )probe_ret + (long long )ret >= 0LL) && (0LL - (long long )probe_ret) - (long long )ret >= 0LL) && (long long )probe_ret - (long long )ret >= 0LL) && probe_ret == 0)) [2024-02-02 09:35:38,583 INFO L101 nessWitnessExtractor]: Location invariant before [L3929-L3929] (((d == & data->dev) && (res == 0)) && (data->shared.a == 0)) && (data->shared.b == 0) [2024-02-02 09:35:38,583 INFO L101 nessWitnessExtractor]: Location invariant before [L3972-L3972] (ret == 0) && ((((((((1LL + (long long )probe_ret) + (long long )ret >= 0LL && (-1LL - (long long )probe_ret) + (long long )ret >= 0LL) && (1LL + (long long )probe_ret) - (long long )ret >= 0LL) && (-1LL - (long long )probe_ret) - (long long )ret >= 0LL) && probe_ret == -1) && data.shared.a == 0) && data.shared.b == 0) || (((((0LL - (long long )probe_ret) + (long long )ret >= 0LL && (long long )probe_ret + (long long )ret >= 0LL) && (0LL - (long long )probe_ret) - (long long )ret >= 0LL) && (long long )probe_ret - (long long )ret >= 0LL) && probe_ret == 0)) [2024-02-02 09:35:38,583 INFO L101 nessWitnessExtractor]: Location invariant before [L3934-L3934] (d == & data->dev) && (res == 0) [2024-02-02 09:35:38,584 INFO L101 nessWitnessExtractor]: Location invariant before [L3947-L3947] (((d == & data->dev) && (data->shared.a == 0)) && (data->shared.b == 0)) && (res != 0) [2024-02-02 09:35:38,584 INFO L101 nessWitnessExtractor]: Location invariant before [L3909-L3909] ((arg == dev) && (arg == __mptr)) && (dev == __mptr) [2024-02-02 09:35:38,584 INFO L101 nessWitnessExtractor]: Location invariant before [L3970-L3970] ((((((0LL - (long long )probe_ret) + (long long )ret >= 0LL) && ((long long )probe_ret + (long long )ret >= 0LL)) && ((0LL - (long long )probe_ret) - (long long )ret >= 0LL)) && ((long long )probe_ret - (long long )ret >= 0LL)) && (ret == 0)) && (probe_ret == 0) [2024-02-02 09:35:38,584 INFO L101 nessWitnessExtractor]: Location invariant before [L3940-L3940] (d == & data->dev) && (res == 0) [2024-02-02 09:35:38,584 INFO L101 nessWitnessExtractor]: Location invariant before [L3936-L3936] (d == & data->dev) && (res == 0) [2024-02-02 09:35:38,584 INFO L101 nessWitnessExtractor]: Location invariant before [L3912-L3912] ((arg == dev) && (arg == __mptr)) && (dev == __mptr) [2024-02-02 09:35:38,585 INFO L101 nessWitnessExtractor]: Location invariant before [L3905-L3905] ((arg == dev) && (arg == __mptr)) && (dev == __mptr) [2024-02-02 09:35:38,585 INFO L101 nessWitnessExtractor]: Location invariant before [L3978-L3978] (ret == 0) && (((((((((((1LL + (long long )probe_ret) + (long long )ret >= 0LL && (-1LL - (long long )probe_ret) + (long long )ret >= 0LL) && (1LL + (long long )probe_ret) - (long long )ret >= 0LL) && (-1LL - (long long )probe_ret) - (long long )ret >= 0LL) && -1 == data.shared.a) && -1 == data.shared.b) && probe_ret == -1) && data.shared.a == -1) && data.shared.a == data.shared.b) && data.shared.b == -1) || (((((0LL - (long long )probe_ret) + (long long )ret >= 0LL && (long long )probe_ret + (long long )ret >= 0LL) && (0LL - (long long )probe_ret) - (long long )ret >= 0LL) && (long long )probe_ret - (long long )ret >= 0LL) && probe_ret == 0)) [2024-02-02 09:35:38,585 INFO L101 nessWitnessExtractor]: Location invariant before [L3933-L3933] (d == & data->dev) && (res == 0) [2024-02-02 09:35:38,585 INFO L101 nessWitnessExtractor]: Location invariant before [L3943-L3943] (d == & data->dev) && (res == 0) [2024-02-02 09:35:38,585 INFO L101 nessWitnessExtractor]: Location invariant before [L3976-L3976] (ret == 0) && (((((((((((1LL + (long long )probe_ret) + (long long )ret >= 0LL && (-1LL - (long long )probe_ret) + (long long )ret >= 0LL) && (1LL + (long long )probe_ret) - (long long )ret >= 0LL) && (-1LL - (long long )probe_ret) - (long long )ret >= 0LL) && -1 == data.shared.a) && -1 == data.shared.b) && probe_ret == -1) && data.shared.a == -1) && data.shared.a == data.shared.b) && data.shared.b == -1) || (((((0LL - (long long )probe_ret) + (long long )ret >= 0LL && (long long )probe_ret + (long long )ret >= 0LL) && (0LL - (long long )probe_ret) - (long long )ret >= 0LL) && (long long )probe_ret - (long long )ret >= 0LL) && probe_ret == 0)) [2024-02-02 09:35:38,640 INFO L177 MainTranslator]: Built tables and reachable declarations [2024-02-02 09:35:39,034 WARN L239 ndardFunctionHandler]: Function reach_error is already implemented but we override the implementation for the call at /storage/repos/ultimate/trunk/examples/svcomp/ldv-races/race-2_3-container_of.i[186287,186300] [2024-02-02 09:35:39,058 INFO L209 PostProcessor]: Analyzing one entry point: main [2024-02-02 09:35:39,066 INFO L202 MainTranslator]: Completed pre-run [2024-02-02 09:35:39,101 WARN L239 ndardFunctionHandler]: Function reach_error is already implemented but we override the implementation for the call at /storage/repos/ultimate/trunk/examples/svcomp/ldv-races/race-2_3-container_of.i[186287,186300] [2024-02-02 09:35:39,102 WARN L424 MainDispatcher]: Unable to annotate void ldv_assert(int expression) { if (!expression) { ERROR: {reach_error();abort();}}; return; } with a witness entry Start Parsing Local Start Parsing Local [2024-02-02 09:35:39,149 ERROR L324 MainTranslator]: Incorrect Syntax: Undeclared variable in ACSL expression: __mptr [2024-02-02 09:35:39,150 INFO L204 PluginConnector]: Invalid model from CACSL2BoogieTranslator for observer de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator.CACSL2BoogieTranslatorObserver@6a6b448a and model type witness.yml de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator CORRECTNESS_WITNESS 02.02 09:35:39, skipping insertion in model container [2024-02-02 09:35:39,150 INFO L131 PluginConnector]: ------------------------ END CACSL2BoogieTranslator---------------------------- [2024-02-02 09:35:39,150 INFO L186 ToolchainWalker]: Toolchain execution was canceled (user or tool) before executing de.uni_freiburg.informatik.ultimate.boogie.procedureinliner [2024-02-02 09:35:39,152 INFO L158 Benchmark]: Toolchain (without parser) took 712.94ms. Allocated memory was 146.8MB in the beginning and 199.2MB in the end (delta: 52.4MB). Free memory was 64.6MB in the beginning and 159.3MB in the end (delta: -94.7MB). Peak memory consumption was 33.6MB. Max. memory is 16.1GB. [2024-02-02 09:35:39,152 INFO L158 Benchmark]: CDTParser took 0.14ms. Allocated memory is still 146.8MB. Free memory is still 110.2MB. There was no memory consumed. Max. memory is 16.1GB. [2024-02-02 09:35:39,153 INFO L158 Benchmark]: Witness Parser took 0.23ms. Allocated memory is still 146.8MB. Free memory is still 72.2MB. There was no memory consumed. Max. memory is 16.1GB. [2024-02-02 09:35:39,154 INFO L158 Benchmark]: CACSL2BoogieTranslator took 710.96ms. Allocated memory was 146.8MB in the beginning and 199.2MB in the end (delta: 52.4MB). Free memory was 64.6MB in the beginning and 159.3MB in the end (delta: -94.7MB). Peak memory consumption was 33.6MB. Max. memory is 16.1GB. [2024-02-02 09:35:39,155 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.14ms. Allocated memory is still 146.8MB. Free memory is still 110.2MB. There was no memory consumed. Max. memory is 16.1GB. * Witness Parser took 0.23ms. Allocated memory is still 146.8MB. Free memory is still 72.2MB. There was no memory consumed. Max. memory is 16.1GB. * CACSL2BoogieTranslator took 710.96ms. Allocated memory was 146.8MB in the beginning and 199.2MB in the end (delta: 52.4MB). Free memory was 64.6MB in the beginning and 159.3MB in the end (delta: -94.7MB). Peak memory consumption was 33.6MB. Max. memory is 16.1GB. * Results from de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator: - SyntaxErrorResult [Line: 3905]: Incorrect Syntax Undeclared variable in ACSL expression: __mptr RESULT: Ultimate could not prove your program: Incorrect Syntax 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/ldv-races/race-2_3-container_of.i ./goblint.2023-12-19_14-39-08.files/SV-COMP24_unreach-call/race-2_3-container_of.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-59af5db-m [2024-02-02 09:35:41,423 INFO L188 SettingsManager]: Resetting all preferences to default values... [2024-02-02 09:35:41,509 INFO L114 SettingsManager]: Loading settings from /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/config/svcomp-Reach-32bit-Automizer_Bitvector.epf [2024-02-02 09:35:41,513 WARN L101 SettingsManager]: Preference file contains the following unknown settings: [2024-02-02 09:35:41,513 WARN L103 SettingsManager]: * de.uni_freiburg.informatik.ultimate.core.Log level for class [2024-02-02 09:35:41,533 INFO L130 SettingsManager]: Preferences different from defaults after loading the file: [2024-02-02 09:35:41,534 INFO L151 SettingsManager]: Preferences of UltimateCore differ from their defaults: [2024-02-02 09:35:41,534 INFO L153 SettingsManager]: * Log level for class=de.uni_freiburg.informatik.ultimate.lib.smtlibutils.quantifier.QuantifierPusher=ERROR; [2024-02-02 09:35:41,535 INFO L151 SettingsManager]: Preferences of Boogie Preprocessor differ from their defaults: [2024-02-02 09:35:41,538 INFO L153 SettingsManager]: * Use memory slicer=true [2024-02-02 09:35:41,538 INFO L151 SettingsManager]: Preferences of Boogie Procedure Inliner differ from their defaults: [2024-02-02 09:35:41,538 INFO L153 SettingsManager]: * Ignore calls to procedures called more than once=ONLY_FOR_SEQUENTIAL_PROGRAMS [2024-02-02 09:35:41,539 INFO L151 SettingsManager]: Preferences of BlockEncodingV2 differ from their defaults: [2024-02-02 09:35:41,540 INFO L153 SettingsManager]: * Create parallel compositions if possible=false [2024-02-02 09:35:41,540 INFO L153 SettingsManager]: * Use SBE=true [2024-02-02 09:35:41,541 INFO L151 SettingsManager]: Preferences of CACSL2BoogieTranslator differ from their defaults: [2024-02-02 09:35:41,541 INFO L153 SettingsManager]: * Pointer base address is valid at dereference=IGNORE [2024-02-02 09:35:41,541 INFO L153 SettingsManager]: * sizeof long=4 [2024-02-02 09:35:41,541 INFO L153 SettingsManager]: * sizeof POINTER=4 [2024-02-02 09:35:41,541 INFO L153 SettingsManager]: * Check division by zero=IGNORE [2024-02-02 09:35:41,542 INFO L153 SettingsManager]: * Pointer to allocated memory at dereference=IGNORE [2024-02-02 09:35:41,542 INFO L153 SettingsManager]: * If two pointers are subtracted or compared they have the same base address=IGNORE [2024-02-02 09:35:41,543 INFO L153 SettingsManager]: * Check array bounds for arrays that are off heap=IGNORE [2024-02-02 09:35:41,543 INFO L153 SettingsManager]: * Adapt memory model on pointer casts if necessary=true [2024-02-02 09:35:41,543 INFO L153 SettingsManager]: * Use bitvectors instead of ints=true [2024-02-02 09:35:41,543 INFO L153 SettingsManager]: * Allow undefined functions=false [2024-02-02 09:35:41,543 INFO L153 SettingsManager]: * Memory model=HoenickeLindenmann_4ByteResolution [2024-02-02 09:35:41,543 INFO L153 SettingsManager]: * sizeof long double=12 [2024-02-02 09:35:41,544 INFO L153 SettingsManager]: * Check if freed pointer was valid=false [2024-02-02 09:35:41,544 INFO L153 SettingsManager]: * Use constant arrays=true [2024-02-02 09:35:41,545 INFO L151 SettingsManager]: Preferences of RCFGBuilder differ from their defaults: [2024-02-02 09:35:41,545 INFO L153 SettingsManager]: * Size of a code block=SequenceOfStatements [2024-02-02 09:35:41,545 INFO L153 SettingsManager]: * Only consider context switches at boundaries of atomic blocks=true [2024-02-02 09:35:41,545 INFO L153 SettingsManager]: * SMT solver=External_DefaultMode [2024-02-02 09:35:41,545 INFO L153 SettingsManager]: * Command for external solver=z3 SMTLIB2_COMPLIANT=true -memory:2024 -smt2 -in -t:4000 [2024-02-02 09:35:41,546 INFO L151 SettingsManager]: Preferences of TraceAbstraction differ from their defaults: [2024-02-02 09:35:41,546 INFO L153 SettingsManager]: * Compute Interpolants along a Counterexample=FPandBP [2024-02-02 09:35:41,546 INFO L153 SettingsManager]: * Positions where we compute the Hoare Annotation=LoopHeads [2024-02-02 09:35:41,546 INFO L153 SettingsManager]: * Trace refinement strategy=WOLF [2024-02-02 09:35:41,547 INFO L153 SettingsManager]: * Command for external solver=cvc4 --incremental --print-success --lang smt [2024-02-02 09:35:41,547 INFO L153 SettingsManager]: * Apply one-shot large block encoding in concurrent analysis=false [2024-02-02 09:35:41,547 INFO L153 SettingsManager]: * Automaton type used in concurrency analysis=PETRI_NET [2024-02-02 09:35:41,547 INFO L153 SettingsManager]: * Compute Hoare Annotation of negated interpolant automaton, abstraction and CFG=true [2024-02-02 09:35:41,547 INFO L153 SettingsManager]: * Order on configurations for Petri net unfoldings=DBO [2024-02-02 09:35:41,548 INFO L153 SettingsManager]: * SMT solver=External_ModelsAndUnsatCoreMode [2024-02-02 09:35:41,548 INFO L153 SettingsManager]: * Logic for external solver=AUFBV [2024-02-02 09:35:41,548 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-02-02 09:35:41,875 INFO L75 nceAwareModelManager]: Repository-Root is: /tmp [2024-02-02 09:35:41,896 INFO L261 ainManager$Toolchain]: [Toolchain 1]: Applicable parser(s) successfully (re)initialized [2024-02-02 09:35:41,898 INFO L217 ainManager$Toolchain]: [Toolchain 1]: Toolchain selected. [2024-02-02 09:35:41,899 INFO L270 PluginConnector]: Initializing CDTParser... [2024-02-02 09:35:41,899 INFO L274 PluginConnector]: CDTParser initialized [2024-02-02 09:35:41,901 INFO L431 ainManager$Toolchain]: [Toolchain 1]: Parsing single file: /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/../../../trunk/examples/svcomp/ldv-races/race-2_3-container_of.i [2024-02-02 09:35:43,073 INFO L533 CDTParser]: Created temporary CDT project at NULL [2024-02-02 09:35:43,342 INFO L384 CDTParser]: Found 1 translation units. [2024-02-02 09:35:43,343 INFO L180 CDTParser]: Scanning /storage/repos/ultimate/trunk/examples/svcomp/ldv-races/race-2_3-container_of.i [2024-02-02 09:35:43,378 INFO L427 CDTParser]: About to delete temporary CDT project at /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/data/097cd01fb/cca6763ed52c4b4e8ff9075cd589538f/FLAGcb7227da3 [2024-02-02 09:35:43,392 INFO L435 CDTParser]: Successfully deleted /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/data/097cd01fb/cca6763ed52c4b4e8ff9075cd589538f [2024-02-02 09:35:43,394 INFO L270 PluginConnector]: Initializing Witness Parser... [2024-02-02 09:35:43,394 INFO L274 PluginConnector]: Witness Parser initialized [2024-02-02 09:35:43,396 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/race-2_3-container_of.yml/witness.yml [2024-02-02 09:35:43,561 INFO L299 ainManager$Toolchain]: ####################### [Toolchain 1] ####################### [2024-02-02 09:35:43,562 INFO L133 ToolchainWalker]: Walking toolchain with 5 elements. [2024-02-02 09:35:43,564 INFO L112 PluginConnector]: ------------------------CACSL2BoogieTranslator---------------------------- [2024-02-02 09:35:43,564 INFO L270 PluginConnector]: Initializing CACSL2BoogieTranslator... [2024-02-02 09:35:43,568 INFO L274 PluginConnector]: CACSL2BoogieTranslator initialized [2024-02-02 09:35:43,568 INFO L184 PluginConnector]: Executing the observer ACSLObjectContainerObserver from plugin CACSL2BoogieTranslator for "CDTParser AST 02.02 09:35:43" (1/2) ... [2024-02-02 09:35:43,569 INFO L204 PluginConnector]: Invalid model from CACSL2BoogieTranslator for observer de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator.ACSLObjectContainerObserver@6165924 and model type de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 02.02 09:35:43, skipping insertion in model container [2024-02-02 09:35:43,569 INFO L184 PluginConnector]: Executing the observer CACSL2BoogieTranslatorObserver from plugin CACSL2BoogieTranslator for "CDTParser AST 02.02 09:35:43" (1/2) ... [2024-02-02 09:35:43,570 INFO L204 PluginConnector]: Invalid model from CACSL2BoogieTranslator for observer de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator.CACSL2BoogieTranslatorObserver@5aafb92 and model type de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 02.02 09:35:43, skipping insertion in model container [2024-02-02 09:35:43,571 INFO L184 PluginConnector]: Executing the observer ACSLObjectContainerObserver from plugin CACSL2BoogieTranslator for "witness.yml de.uni_freiburg.informatik.ultimate.witnessparser CORRECTNESS_WITNESS 02.02 09:35:43" (2/2) ... [2024-02-02 09:35:43,571 INFO L204 PluginConnector]: Invalid model from CACSL2BoogieTranslator for observer de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator.ACSLObjectContainerObserver@6165924 and model type witness.yml de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator CORRECTNESS_WITNESS 02.02 09:35:43, skipping insertion in model container [2024-02-02 09:35:43,571 INFO L184 PluginConnector]: Executing the observer CACSL2BoogieTranslatorObserver from plugin CACSL2BoogieTranslator for "witness.yml de.uni_freiburg.informatik.ultimate.witnessparser CORRECTNESS_WITNESS 02.02 09:35:43" (2/2) ... [2024-02-02 09:35:43,571 INFO L86 nessWitnessExtractor]: Extracting all invariants from correctness witness [2024-02-02 09:35:43,698 INFO L99 nessWitnessExtractor]: Found the following entries in the witness: [2024-02-02 09:35:43,700 INFO L101 nessWitnessExtractor]: Location invariant before [L3906-L3906] ((arg == dev) && (arg == __mptr)) && (dev == __mptr) [2024-02-02 09:35:43,700 INFO L101 nessWitnessExtractor]: Location invariant before [L3912-L3912] ((arg == dev) && (arg == __mptr)) && (dev == __mptr) [2024-02-02 09:35:43,701 INFO L101 nessWitnessExtractor]: Location invariant after [L3945-L3946] (((d == & data->dev) && (data->shared.a == 0)) && (data->shared.b == 0)) && (res != 0) [2024-02-02 09:35:43,701 INFO L101 nessWitnessExtractor]: Location invariant before [L3923-L3923] d == & data->dev [2024-02-02 09:35:43,701 INFO L101 nessWitnessExtractor]: Location invariant before [L3908-L3908] ((arg == dev) && (arg == __mptr)) && (dev == __mptr) [2024-02-02 09:35:43,701 INFO L101 nessWitnessExtractor]: Location invariant before [L3947-L3947] (((d == & data->dev) && (data->shared.a == 0)) && (data->shared.b == 0)) && (res != 0) [2024-02-02 09:35:43,701 INFO L101 nessWitnessExtractor]: Location invariant after [L3949-L3954] (unsigned long )status == 0UL [2024-02-02 09:35:43,701 INFO L101 nessWitnessExtractor]: Location invariant before [L3936-L3936] (d == & data->dev) && (res == 0) [2024-02-02 09:35:43,702 INFO L101 nessWitnessExtractor]: Location invariant before [L3905-L3905] ((arg == dev) && (arg == __mptr)) && (dev == __mptr) [2024-02-02 09:35:43,702 INFO L101 nessWitnessExtractor]: Location invariant before [L3915-L3915] ((arg == dev) && (arg == __mptr)) && (dev == __mptr) [2024-02-02 09:35:43,702 INFO L101 nessWitnessExtractor]: Location invariant before [L3969-L3969] ((((((0LL - (long long )probe_ret) + (long long )ret >= 0LL) && ((long long )probe_ret + (long long )ret >= 0LL)) && ((0LL - (long long )probe_ret) - (long long )ret >= 0LL)) && ((long long )probe_ret - (long long )ret >= 0LL)) && (ret == 0)) && (probe_ret == 0) [2024-02-02 09:35:43,702 INFO L101 nessWitnessExtractor]: Location invariant before [L3907-L3907] ((arg == dev) && (arg == __mptr)) && (dev == __mptr) [2024-02-02 09:35:43,702 INFO L101 nessWitnessExtractor]: Location invariant before [L3976-L3976] (ret == 0) && (((((((((((1LL + (long long )probe_ret) + (long long )ret >= 0LL && (-1LL - (long long )probe_ret) + (long long )ret >= 0LL) && (1LL + (long long )probe_ret) - (long long )ret >= 0LL) && (-1LL - (long long )probe_ret) - (long long )ret >= 0LL) && -1 == data.shared.a) && -1 == data.shared.b) && probe_ret == -1) && data.shared.a == -1) && data.shared.a == data.shared.b) && data.shared.b == -1) || (((((0LL - (long long )probe_ret) + (long long )ret >= 0LL && (long long )probe_ret + (long long )ret >= 0LL) && (0LL - (long long )probe_ret) - (long long )ret >= 0LL) && (long long )probe_ret - (long long )ret >= 0LL) && probe_ret == 0)) [2024-02-02 09:35:43,702 INFO L101 nessWitnessExtractor]: Location invariant before [L3909-L3909] ((arg == dev) && (arg == __mptr)) && (dev == __mptr) [2024-02-02 09:35:43,702 INFO L101 nessWitnessExtractor]: Location invariant before [L3932-L3932] (d == & data->dev) && (res == 0) [2024-02-02 09:35:43,703 INFO L101 nessWitnessExtractor]: Location invariant before [L3937-L3937] (d == & data->dev) && (res == 0) [2024-02-02 09:35:43,703 INFO L101 nessWitnessExtractor]: Location invariant before [L3924-L3924] ((0 == data->shared.a) && (d == & data->dev)) && (data->shared.a == 0) [2024-02-02 09:35:43,703 INFO L101 nessWitnessExtractor]: Location invariant before [L3926-L3927] ((d == & data->dev) && (data->shared.a == 0)) && (data->shared.b == 0) [2024-02-02 09:35:43,703 INFO L101 nessWitnessExtractor]: Location invariant before [L3968-L3968] ((((((0LL - (long long )probe_ret) + (long long )ret >= 0LL) && ((long long )probe_ret + (long long )ret >= 0LL)) && ((0LL - (long long )probe_ret) - (long long )ret >= 0LL)) && ((long long )probe_ret - (long long )ret >= 0LL)) && (ret == 0)) && (probe_ret == 0) [2024-02-02 09:35:43,704 INFO L101 nessWitnessExtractor]: Location invariant before [L3938-L3938] (d == & data->dev) && (res == 0) [2024-02-02 09:35:43,704 INFO L101 nessWitnessExtractor]: Location invariant before [L3944-L3944] (d == & data->dev) && (res == 0) [2024-02-02 09:35:43,704 INFO L101 nessWitnessExtractor]: Location invariant before [L3967-L3971] (ret == 0) && ((((((((1LL + (long long )probe_ret) + (long long )ret >= 0LL && (-1LL - (long long )probe_ret) + (long long )ret >= 0LL) && (1LL + (long long )probe_ret) - (long long )ret >= 0LL) && (-1LL - (long long )probe_ret) - (long long )ret >= 0LL) && probe_ret == -1) && data.shared.a == 0) && data.shared.b == 0) || (((((0LL - (long long )probe_ret) + (long long )ret >= 0LL && (long long )probe_ret + (long long )ret >= 0LL) && (0LL - (long long )probe_ret) - (long long )ret >= 0LL) && (long long )probe_ret - (long long )ret >= 0LL) && probe_ret == 0)) [2024-02-02 09:35:43,704 INFO L101 nessWitnessExtractor]: Location invariant before [L3939-L3939] (d == & data->dev) && (res == 0) [2024-02-02 09:35:43,704 INFO L101 nessWitnessExtractor]: Location invariant before [L3941-L3941] (d == & data->dev) && (res == 0) [2024-02-02 09:35:43,704 INFO L101 nessWitnessExtractor]: Location invariant before [L3952-L3952] (unsigned long )status == 0UL [2024-02-02 09:35:43,704 INFO L101 nessWitnessExtractor]: Location invariant before [L3929-L3929] (((d == & data->dev) && (res == 0)) && (data->shared.a == 0)) && (data->shared.b == 0) [2024-02-02 09:35:43,704 INFO L101 nessWitnessExtractor]: Location invariant before [L3962-L3962] ((((4294967296LL + (long long )probe_ret) + (long long )ret >= 0LL) && ((4294967295LL - (long long )probe_ret) + (long long )ret >= 0LL)) && ((4294967295LL + (long long )probe_ret) - (long long )ret >= 0LL)) && ((4294967294LL - (long long )probe_ret) - (long long )ret >= 0LL) [2024-02-02 09:35:43,705 INFO L101 nessWitnessExtractor]: Location invariant before [L3925-L3925] (((((0 == data->shared.a) && (0 == data->shared.b)) && (d == & data->dev)) && (data->shared.a == 0)) && (data->shared.a == data->shared.b)) && (data->shared.b == 0) [2024-02-02 09:35:43,705 INFO L101 nessWitnessExtractor]: Location invariant before [L3916-L3916] ((arg == dev) && (arg == __mptr)) && (dev == __mptr) [2024-02-02 09:35:43,705 INFO L101 nessWitnessExtractor]: Location invariant before [L3963-L3977] (((((2147483648LL + (long long )probe_ret) + (long long )ret >= 0LL) && ((2147483647LL - (long long )probe_ret) + (long long )ret >= 0LL)) && ((2147483648LL + (long long )probe_ret) - (long long )ret >= 0LL)) && ((2147483647LL - (long long )probe_ret) - (long long )ret >= 0LL)) && (ret == 0) [2024-02-02 09:35:43,705 INFO L101 nessWitnessExtractor]: Location invariant before [L3934-L3934] (d == & data->dev) && (res == 0) [2024-02-02 09:35:43,706 INFO L101 nessWitnessExtractor]: Location invariant before [L3930-L3930] (d == & data->dev) && (res == 0) [2024-02-02 09:35:43,706 INFO L101 nessWitnessExtractor]: Location invariant before [L3978-L3978] (ret == 0) && (((((((((((1LL + (long long )probe_ret) + (long long )ret >= 0LL && (-1LL - (long long )probe_ret) + (long long )ret >= 0LL) && (1LL + (long long )probe_ret) - (long long )ret >= 0LL) && (-1LL - (long long )probe_ret) - (long long )ret >= 0LL) && -1 == data.shared.a) && -1 == data.shared.b) && probe_ret == -1) && data.shared.a == -1) && data.shared.a == data.shared.b) && data.shared.b == -1) || (((((0LL - (long long )probe_ret) + (long long )ret >= 0LL && (long long )probe_ret + (long long )ret >= 0LL) && (0LL - (long long )probe_ret) - (long long )ret >= 0LL) && (long long )probe_ret - (long long )ret >= 0LL) && probe_ret == 0)) [2024-02-02 09:35:43,706 INFO L101 nessWitnessExtractor]: Location invariant before [L3940-L3940] (d == & data->dev) && (res == 0) [2024-02-02 09:35:43,708 INFO L101 nessWitnessExtractor]: Location invariant before [L3887-L3887] ((expression == 0) && ((expression == 1 || ((0 <= expression && expression <= 1) && (expression == 0 || expression == 1))) || ((0 <= expression && expression <= 1) && (expression == 0 || expression == 1)))) && (expression == 1) [2024-02-02 09:35:43,708 INFO L101 nessWitnessExtractor]: Location invariant before [L3910-L3910] ((arg == dev) && (arg == __mptr)) && (dev == __mptr) [2024-02-02 09:35:43,708 INFO L101 nessWitnessExtractor]: Location invariant before [L3914-L3914] ((arg == dev) && (arg == __mptr)) && (dev == __mptr) [2024-02-02 09:35:43,708 INFO L101 nessWitnessExtractor]: Location invariant before [L3974-L3974] (ret == 0) && (((((((((1LL + (long long )probe_ret) + (long long )ret >= 0LL && (-1LL - (long long )probe_ret) + (long long )ret >= 0LL) && (1LL + (long long )probe_ret) - (long long )ret >= 0LL) && (-1LL - (long long )probe_ret) - (long long )ret >= 0LL) && -1 == data.shared.a) && probe_ret == -1) && data.shared.a == -1) && data.shared.b == 0) || (((((0LL - (long long )probe_ret) + (long long )ret >= 0LL && (long long )probe_ret + (long long )ret >= 0LL) && (0LL - (long long )probe_ret) - (long long )ret >= 0LL) && (long long )probe_ret - (long long )ret >= 0LL) && probe_ret == 0)) [2024-02-02 09:35:43,708 INFO L101 nessWitnessExtractor]: Location invariant before [L3913-L3913] ((arg == dev) && (arg == __mptr)) && (dev == __mptr) [2024-02-02 09:35:43,708 INFO L101 nessWitnessExtractor]: Location invariant before [L3943-L3943] (d == & data->dev) && (res == 0) [2024-02-02 09:35:43,708 INFO L101 nessWitnessExtractor]: Location invariant before [L3966-L3966] (((((2147483648LL + (long long )probe_ret) + (long long )ret >= 0LL) && ((2147483647LL - (long long )probe_ret) + (long long )ret >= 0LL)) && ((2147483648LL + (long long )probe_ret) - (long long )ret >= 0LL)) && ((2147483647LL - (long long )probe_ret) - (long long )ret >= 0LL)) && (ret == 0) [2024-02-02 09:35:43,709 INFO L101 nessWitnessExtractor]: Location invariant before [L3973-L3973] (ret == 0) && ((((((((1LL + (long long )probe_ret) + (long long )ret >= 0LL && (-1LL - (long long )probe_ret) + (long long )ret >= 0LL) && (1LL + (long long )probe_ret) - (long long )ret >= 0LL) && (-1LL - (long long )probe_ret) - (long long )ret >= 0LL) && probe_ret == -1) && data.shared.a == 0) && data.shared.b == 0) || (((((0LL - (long long )probe_ret) + (long long )ret >= 0LL && (long long )probe_ret + (long long )ret >= 0LL) && (0LL - (long long )probe_ret) - (long long )ret >= 0LL) && (long long )probe_ret - (long long )ret >= 0LL) && probe_ret == 0)) [2024-02-02 09:35:43,709 INFO L101 nessWitnessExtractor]: Location invariant before [L3975-L3975] (ret == 0) && (((((((((((1LL + (long long )probe_ret) + (long long )ret >= 0LL && (-1LL - (long long )probe_ret) + (long long )ret >= 0LL) && (1LL + (long long )probe_ret) - (long long )ret >= 0LL) && (-1LL - (long long )probe_ret) - (long long )ret >= 0LL) && -1 == data.shared.a) && -1 == data.shared.b) && probe_ret == -1) && data.shared.a == -1) && data.shared.a == data.shared.b) && data.shared.b == -1) || (((((0LL - (long long )probe_ret) + (long long )ret >= 0LL && (long long )probe_ret + (long long )ret >= 0LL) && (0LL - (long long )probe_ret) - (long long )ret >= 0LL) && (long long )probe_ret - (long long )ret >= 0LL) && probe_ret == 0)) [2024-02-02 09:35:43,709 INFO L101 nessWitnessExtractor]: Location invariant before [L3922-L3922] d == & data->dev [2024-02-02 09:35:43,709 INFO L101 nessWitnessExtractor]: Location invariant before [L3935-L3935] (d == & data->dev) && (res == 0) [2024-02-02 09:35:43,709 INFO L101 nessWitnessExtractor]: Location invariant before [L3972-L3972] (ret == 0) && ((((((((1LL + (long long )probe_ret) + (long long )ret >= 0LL && (-1LL - (long long )probe_ret) + (long long )ret >= 0LL) && (1LL + (long long )probe_ret) - (long long )ret >= 0LL) && (-1LL - (long long )probe_ret) - (long long )ret >= 0LL) && probe_ret == -1) && data.shared.a == 0) && data.shared.b == 0) || (((((0LL - (long long )probe_ret) + (long long )ret >= 0LL && (long long )probe_ret + (long long )ret >= 0LL) && (0LL - (long long )probe_ret) - (long long )ret >= 0LL) && (long long )probe_ret - (long long )ret >= 0LL) && probe_ret == 0)) [2024-02-02 09:35:43,709 INFO L101 nessWitnessExtractor]: Location invariant before [L3904-L3904] arg == dev [2024-02-02 09:35:43,709 INFO L101 nessWitnessExtractor]: Location invariant before [L3911-L3911] ((arg == dev) && (arg == __mptr)) && (dev == __mptr) [2024-02-02 09:35:43,710 INFO L101 nessWitnessExtractor]: Location invariant before [L3953-L3953] (unsigned long )status == 0UL [2024-02-02 09:35:43,710 INFO L101 nessWitnessExtractor]: Location invariant before [L3942-L3942] (d == & data->dev) && (res == 0) [2024-02-02 09:35:43,710 INFO L101 nessWitnessExtractor]: Location invariant before [L3970-L3970] ((((((0LL - (long long )probe_ret) + (long long )ret >= 0LL) && ((long long )probe_ret + (long long )ret >= 0LL)) && ((0LL - (long long )probe_ret) - (long long )ret >= 0LL)) && ((long long )probe_ret - (long long )ret >= 0LL)) && (ret == 0)) && (probe_ret == 0) [2024-02-02 09:35:43,710 INFO L101 nessWitnessExtractor]: Location invariant before [L3933-L3933] (d == & data->dev) && (res == 0) [2024-02-02 09:35:43,761 INFO L177 MainTranslator]: Built tables and reachable declarations [2024-02-02 09:35:44,117 WARN L239 ndardFunctionHandler]: Function reach_error is already implemented but we override the implementation for the call at /storage/repos/ultimate/trunk/examples/svcomp/ldv-races/race-2_3-container_of.i[186287,186300] [2024-02-02 09:35:44,193 INFO L209 PostProcessor]: Analyzing one entry point: main [2024-02-02 09:35:44,207 INFO L199 MainTranslator]: Restarting translation with changed settings: SettingsChange [mNewPreferredMemoryModel=HoenickeLindenmann_1ByteResolution] [2024-02-02 09:35:44,225 INFO L177 MainTranslator]: Built tables and reachable declarations [2024-02-02 09:35:44,251 WARN L239 ndardFunctionHandler]: Function reach_error is already implemented but we override the implementation for the call at /storage/repos/ultimate/trunk/examples/svcomp/ldv-races/race-2_3-container_of.i[186287,186300] [2024-02-02 09:35:44,276 INFO L209 PostProcessor]: Analyzing one entry point: main [2024-02-02 09:35:44,281 INFO L202 MainTranslator]: Completed pre-run [2024-02-02 09:35:44,316 WARN L239 ndardFunctionHandler]: Function reach_error is already implemented but we override the implementation for the call at /storage/repos/ultimate/trunk/examples/svcomp/ldv-races/race-2_3-container_of.i[186287,186300] [2024-02-02 09:35:44,317 WARN L424 MainDispatcher]: Unable to annotate void ldv_assert(int expression) { if (!expression) { ERROR: {reach_error();abort();}}; return; } with a witness entry Start Parsing Local Start Parsing Local [2024-02-02 09:35:44,339 ERROR L324 MainTranslator]: Incorrect Syntax: Undeclared variable in ACSL expression: __mptr [2024-02-02 09:35:44,340 INFO L204 PluginConnector]: Invalid model from CACSL2BoogieTranslator for observer de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator.CACSL2BoogieTranslatorObserver@5aafb92 and model type witness.yml de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator CORRECTNESS_WITNESS 02.02 09:35:44, skipping insertion in model container [2024-02-02 09:35:44,340 INFO L131 PluginConnector]: ------------------------ END CACSL2BoogieTranslator---------------------------- [2024-02-02 09:35:44,341 INFO L186 ToolchainWalker]: Toolchain execution was canceled (user or tool) before executing de.uni_freiburg.informatik.ultimate.boogie.procedureinliner [2024-02-02 09:35:44,343 INFO L158 Benchmark]: Toolchain (without parser) took 780.27ms. Allocated memory is still 69.2MB. Free memory was 43.3MB in the beginning and 36.2MB in the end (delta: 7.1MB). Peak memory consumption was 15.8MB. Max. memory is 16.1GB. [2024-02-02 09:35:44,344 INFO L158 Benchmark]: CDTParser took 0.16ms. Allocated memory is still 54.5MB. Free memory was 37.2MB in the beginning and 37.1MB in the end (delta: 83.9kB). There was no memory consumed. Max. memory is 16.1GB. [2024-02-02 09:35:44,344 INFO L158 Benchmark]: Witness Parser took 0.14ms. Allocated memory is still 69.2MB. Free memory is still 33.9MB. There was no memory consumed. Max. memory is 16.1GB. [2024-02-02 09:35:44,345 INFO L158 Benchmark]: CACSL2BoogieTranslator took 776.65ms. Allocated memory is still 69.2MB. Free memory was 43.3MB in the beginning and 36.2MB in the end (delta: 7.1MB). Peak memory consumption was 15.8MB. Max. memory is 16.1GB. [2024-02-02 09:35:44,347 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.16ms. Allocated memory is still 54.5MB. Free memory was 37.2MB in the beginning and 37.1MB in the end (delta: 83.9kB). There was no memory consumed. Max. memory is 16.1GB. * Witness Parser took 0.14ms. Allocated memory is still 69.2MB. Free memory is still 33.9MB. There was no memory consumed. Max. memory is 16.1GB. * CACSL2BoogieTranslator took 776.65ms. Allocated memory is still 69.2MB. Free memory was 43.3MB in the beginning and 36.2MB in the end (delta: 7.1MB). Peak memory consumption was 15.8MB. Max. memory is 16.1GB. * Results from de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator: - SyntaxErrorResult [Line: 3905]: Incorrect Syntax Undeclared variable in ACSL expression: __mptr RESULT: Ultimate could not prove your program: Incorrect Syntax Received shutdown request... --- End real Ultimate output --- Execution finished normally Writing output log to file Ultimate.log Result: UNKNOWN