./Ultimate.py --spec ../../../trunk/examples/svcomp/properties/unreach-call.prp --file ../../../trunk/examples/svcomp/pthread-driver-races/char_generic_nvram_read_nvram_nvram_unlocked_ioctl.i --full-output --witness-type correctness_witness --witnessparser.only.consider.loop.invariants false --validate ./goblint.2024-08-08_07-59-58.files/protection-ghost/char_generic_nvram_read_nvram_nvram_unlocked_ioctl.yml/witness.yml --architecture 32bit -------------------------------------------------------------------------------- Checking for ERROR reachability Using default analysis Version 7bc0c755 Calling Ultimate with: /root/.sdkman/candidates/java/current/bin/java -Dosgi.configuration.area=/storage/repos/ultimate/releaseScripts/default/UGemCutter-linux/data/config -Xmx15G -Xms4m -jar /storage/repos/ultimate/releaseScripts/default/UGemCutter-linux/plugins/org.eclipse.equinox.launcher_1.5.800.v20200727-1323.jar -data @noDefault -ultimatedata /storage/repos/ultimate/releaseScripts/default/UGemCutter-linux/data -tc /storage/repos/ultimate/releaseScripts/default/UGemCutter-linux/config/GemCutterReachWitnessValidation.xml -i ../../../trunk/examples/svcomp/pthread-driver-races/char_generic_nvram_read_nvram_nvram_unlocked_ioctl.i ./goblint.2024-08-08_07-59-58.files/protection-ghost/char_generic_nvram_read_nvram_nvram_unlocked_ioctl.yml/witness.yml -s /storage/repos/ultimate/releaseScripts/default/UGemCutter-linux/config/svcomp-Reach-32bit-GemCutter_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-tmp.dk.goblint-validation-atomicfix-7bc0c75-m [2024-08-23 13:00:05,715 INFO L188 SettingsManager]: Resetting all preferences to default values... [2024-08-23 13:00:05,766 INFO L114 SettingsManager]: Loading settings from /storage/repos/ultimate/releaseScripts/default/UGemCutter-linux/config/svcomp-Reach-32bit-GemCutter_Default.epf [2024-08-23 13:00:05,770 WARN L101 SettingsManager]: Preference file contains the following unknown settings: [2024-08-23 13:00:05,770 WARN L103 SettingsManager]: * de.uni_freiburg.informatik.ultimate.core.Log level for class [2024-08-23 13:00:05,794 INFO L130 SettingsManager]: Preferences different from defaults after loading the file: [2024-08-23 13:00:05,795 INFO L151 SettingsManager]: Preferences of UltimateCore differ from their defaults: [2024-08-23 13:00:05,795 INFO L153 SettingsManager]: * Log level for class=de.uni_freiburg.informatik.ultimate.lib.smtlibutils.quantifier.QuantifierPusher=ERROR; [2024-08-23 13:00:05,796 INFO L151 SettingsManager]: Preferences of Boogie Procedure Inliner differ from their defaults: [2024-08-23 13:00:05,798 INFO L153 SettingsManager]: * Ignore calls to procedures called more than once=ONLY_FOR_SEQUENTIAL_PROGRAMS [2024-08-23 13:00:05,798 INFO L151 SettingsManager]: Preferences of BlockEncodingV2 differ from their defaults: [2024-08-23 13:00:05,799 INFO L153 SettingsManager]: * Create parallel compositions if possible=false [2024-08-23 13:00:05,800 INFO L153 SettingsManager]: * Use SBE=true [2024-08-23 13:00:05,800 INFO L151 SettingsManager]: Preferences of CACSL2BoogieTranslator differ from their defaults: [2024-08-23 13:00:05,800 INFO L153 SettingsManager]: * Pointer base address is valid at dereference=IGNORE [2024-08-23 13:00:05,801 INFO L153 SettingsManager]: * sizeof long=4 [2024-08-23 13:00:05,801 INFO L153 SettingsManager]: * Overapproximate operations on floating types=true [2024-08-23 13:00:05,801 INFO L153 SettingsManager]: * sizeof POINTER=4 [2024-08-23 13:00:05,802 INFO L153 SettingsManager]: * Check division by zero=IGNORE [2024-08-23 13:00:05,802 INFO L153 SettingsManager]: * Pointer to allocated memory at dereference=IGNORE [2024-08-23 13:00:05,802 INFO L153 SettingsManager]: * If two pointers are subtracted or compared they have the same base address=IGNORE [2024-08-23 13:00:05,806 INFO L153 SettingsManager]: * Check array bounds for arrays that are off heap=IGNORE [2024-08-23 13:00:05,806 INFO L153 SettingsManager]: * Allow undefined functions=false [2024-08-23 13:00:05,806 INFO L153 SettingsManager]: * sizeof long double=12 [2024-08-23 13:00:05,807 INFO L153 SettingsManager]: * Check if freed pointer was valid=false [2024-08-23 13:00:05,807 INFO L153 SettingsManager]: * Use constant arrays=true [2024-08-23 13:00:05,807 INFO L151 SettingsManager]: Preferences of RCFGBuilder differ from their defaults: [2024-08-23 13:00:05,808 INFO L153 SettingsManager]: * Size of a code block=SequenceOfStatements [2024-08-23 13:00:05,808 INFO L153 SettingsManager]: * Only consider context switches at boundaries of atomic blocks=true [2024-08-23 13:00:05,808 INFO L153 SettingsManager]: * SMT solver=External_DefaultMode [2024-08-23 13:00:05,808 INFO L153 SettingsManager]: * Command for external solver=z3 SMTLIB2_COMPLIANT=true -memory:2024 -smt2 -in -t:2000 [2024-08-23 13:00:05,808 INFO L151 SettingsManager]: Preferences of TraceAbstraction differ from their defaults: [2024-08-23 13:00:05,809 INFO L153 SettingsManager]: * Compute Interpolants along a Counterexample=FPandBP [2024-08-23 13:00:05,809 INFO L153 SettingsManager]: * Positions where we compute the Hoare Annotation=LoopHeads [2024-08-23 13:00:05,821 INFO L153 SettingsManager]: * Trace refinement strategy=CAMEL [2024-08-23 13:00:05,821 INFO L153 SettingsManager]: * DFS Order used in POR=LOOP_LOCKSTEP [2024-08-23 13:00:05,821 INFO L153 SettingsManager]: * Command for external solver=z3 SMTLIB2_COMPLIANT=true -memory:2024 -smt2 -in [2024-08-23 13:00:05,821 INFO L153 SettingsManager]: * Apply one-shot large block encoding in concurrent analysis=false [2024-08-23 13:00:05,822 INFO L153 SettingsManager]: * Automaton type used in concurrency analysis=PARTIAL_ORDER_FA [2024-08-23 13:00:05,822 INFO L153 SettingsManager]: * Compute Hoare Annotation of negated interpolant automaton, abstraction and CFG=true [2024-08-23 13:00:05,822 INFO L153 SettingsManager]: * CEGAR restart behaviour=ONE_CEGAR_PER_THREAD_INSTANCE [2024-08-23 13:00:05,823 INFO L153 SettingsManager]: * Partial Order Reduction in concurrent analysis=PERSISTENT_SLEEP_NEW_STATES_FIXEDORDER [2024-08-23 13:00:05,823 INFO L153 SettingsManager]: * SMT solver=External_ModelsAndUnsatCoreMode 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/UGemCutter-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-08-23 13:00:06,081 INFO L75 nceAwareModelManager]: Repository-Root is: /tmp [2024-08-23 13:00:06,108 INFO L261 ainManager$Toolchain]: [Toolchain 1]: Applicable parser(s) successfully (re)initialized [2024-08-23 13:00:06,111 INFO L217 ainManager$Toolchain]: [Toolchain 1]: Toolchain selected. [2024-08-23 13:00:06,112 INFO L270 PluginConnector]: Initializing CDTParser... [2024-08-23 13:00:06,113 INFO L274 PluginConnector]: CDTParser initialized [2024-08-23 13:00:06,114 INFO L431 ainManager$Toolchain]: [Toolchain 1]: Parsing single file: /storage/repos/ultimate/releaseScripts/default/UGemCutter-linux/../../../trunk/examples/svcomp/pthread-driver-races/char_generic_nvram_read_nvram_nvram_unlocked_ioctl.i [2024-08-23 13:00:07,493 INFO L533 CDTParser]: Created temporary CDT project at NULL [2024-08-23 13:00:07,957 INFO L384 CDTParser]: Found 1 translation units. [2024-08-23 13:00:07,958 INFO L180 CDTParser]: Scanning /storage/repos/ultimate/trunk/examples/svcomp/pthread-driver-races/char_generic_nvram_read_nvram_nvram_unlocked_ioctl.i [2024-08-23 13:00:07,998 INFO L427 CDTParser]: About to delete temporary CDT project at /storage/repos/ultimate/releaseScripts/default/UGemCutter-linux/data/190b11852/0d4b480a657f432c837963820d1a2a25/FLAGed6156a5e [2024-08-23 13:00:08,015 INFO L435 CDTParser]: Successfully deleted /storage/repos/ultimate/releaseScripts/default/UGemCutter-linux/data/190b11852/0d4b480a657f432c837963820d1a2a25 [2024-08-23 13:00:08,018 INFO L270 PluginConnector]: Initializing Witness Parser... [2024-08-23 13:00:08,020 INFO L274 PluginConnector]: Witness Parser initialized [2024-08-23 13:00:08,020 INFO L431 ainManager$Toolchain]: [Toolchain 1]: Parsing single file: /storage/repos/ultimate/releaseScripts/default/UGemCutter-linux/./goblint.2024-08-08_07-59-58.files/protection-ghost/char_generic_nvram_read_nvram_nvram_unlocked_ioctl.yml/witness.yml [2024-08-23 13:00:08,137 INFO L299 ainManager$Toolchain]: ####################### [Toolchain 1] ####################### [2024-08-23 13:00:08,138 INFO L133 ToolchainWalker]: Walking toolchain with 5 elements. [2024-08-23 13:00:08,139 INFO L112 PluginConnector]: ------------------------CACSL2BoogieTranslator---------------------------- [2024-08-23 13:00:08,140 INFO L270 PluginConnector]: Initializing CACSL2BoogieTranslator... [2024-08-23 13:00:08,143 INFO L274 PluginConnector]: CACSL2BoogieTranslator initialized [2024-08-23 13:00:08,143 INFO L184 PluginConnector]: Executing the observer ACSLObjectContainerObserver from plugin CACSL2BoogieTranslator for "CDTParser AST 23.08 01:00:08" (1/2) ... [2024-08-23 13:00:08,144 INFO L204 PluginConnector]: Invalid model from CACSL2BoogieTranslator for observer de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator.ACSLObjectContainerObserver@4b02d1c9 and model type de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 23.08 01:00:08, skipping insertion in model container [2024-08-23 13:00:08,144 INFO L184 PluginConnector]: Executing the observer CACSL2BoogieTranslatorObserver from plugin CACSL2BoogieTranslator for "CDTParser AST 23.08 01:00:08" (1/2) ... [2024-08-23 13:00:08,145 INFO L204 PluginConnector]: Invalid model from CACSL2BoogieTranslator for observer de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator.CACSL2BoogieTranslatorObserver@32884d26 and model type de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 23.08 01:00:08, skipping insertion in model container [2024-08-23 13:00:08,145 INFO L184 PluginConnector]: Executing the observer ACSLObjectContainerObserver from plugin CACSL2BoogieTranslator for "witness.yml de.uni_freiburg.informatik.ultimate.witnessparser CORRECTNESS_WITNESS 23.08 01:00:08" (2/2) ... [2024-08-23 13:00:08,146 INFO L204 PluginConnector]: Invalid model from CACSL2BoogieTranslator for observer de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator.ACSLObjectContainerObserver@4b02d1c9 and model type witness.yml de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator CORRECTNESS_WITNESS 23.08 01:00:08, skipping insertion in model container [2024-08-23 13:00:08,146 INFO L184 PluginConnector]: Executing the observer CACSL2BoogieTranslatorObserver from plugin CACSL2BoogieTranslator for "witness.yml de.uni_freiburg.informatik.ultimate.witnessparser CORRECTNESS_WITNESS 23.08 01:00:08" (2/2) ... [2024-08-23 13:00:08,146 INFO L83 nessWitnessExtractor]: Extracting all invariants from correctness witness [2024-08-23 13:00:08,309 INFO L95 edCorrectnessWitness]: Found the following entries in the witness: [2024-08-23 13:00:08,310 INFO L97 edCorrectnessWitness]: Location invariant before [L6863-L6863] (((((! multithreaded || jiffies == 0UL) && (! multithreaded || _whoop_exit == & nvram_cleanup)) && (! multithreaded || 0 <= whoop_int)) && (! multithreaded || (unsigned int )default_alloc_size == 4U)) && (! multithreaded || _whoop_init == & nvram_init)) && (! multithreaded || ((((((((((((((((((((((((nvram_fops.check_flags == 0 && nvram_fops.compat_ioctl == 0) && nvram_fops.dir_notify == 0) && nvram_fops.fasync == 0) && nvram_fops.flock == 0) && nvram_fops.flush == 0) && nvram_fops.fsync == 0) && nvram_fops.get_unmapped_area == 0) && nvram_fops.ioctl == 0) && nvram_fops.llseek == & nvram_llseek) && nvram_fops.lock == 0) && nvram_fops.mmap == 0) && nvram_fops.open == 0) && nvram_fops.open_exec == 0) && nvram_fops.owner == 0) && nvram_fops.poll == 0) && nvram_fops.read == & read_nvram) && nvram_fops.readdir == 0) && nvram_fops.readv == 0) && nvram_fops.release == 0) && nvram_fops.sendfile == 0) && nvram_fops.sendpage == 0) && nvram_fops.unlocked_ioctl == & nvram_unlocked_ioctl) && nvram_fops.write == & write_nvram) && nvram_fops.writev == 0)) [2024-08-23 13:00:08,310 INFO L97 edCorrectnessWitness]: Location invariant before [L6862-L6862] (((((! multithreaded || jiffies == 0UL) && (! multithreaded || _whoop_exit == & nvram_cleanup)) && (! multithreaded || 0 <= whoop_int)) && (! multithreaded || (unsigned int )default_alloc_size == 4U)) && (! multithreaded || _whoop_init == & nvram_init)) && (! multithreaded || ((((((((((((((((((((((((nvram_fops.check_flags == 0 && nvram_fops.compat_ioctl == 0) && nvram_fops.dir_notify == 0) && nvram_fops.fasync == 0) && nvram_fops.flock == 0) && nvram_fops.flush == 0) && nvram_fops.fsync == 0) && nvram_fops.get_unmapped_area == 0) && nvram_fops.ioctl == 0) && nvram_fops.llseek == & nvram_llseek) && nvram_fops.lock == 0) && nvram_fops.mmap == 0) && nvram_fops.open == 0) && nvram_fops.open_exec == 0) && nvram_fops.owner == 0) && nvram_fops.poll == 0) && nvram_fops.read == & read_nvram) && nvram_fops.readdir == 0) && nvram_fops.readv == 0) && nvram_fops.release == 0) && nvram_fops.sendfile == 0) && nvram_fops.sendpage == 0) && nvram_fops.unlocked_ioctl == & nvram_unlocked_ioctl) && nvram_fops.write == & write_nvram) && nvram_fops.writev == 0)) [2024-08-23 13:00:08,310 INFO L103 edCorrectnessWitness]: ghost_variable multithreaded = 0 [2024-08-23 13:00:08,310 INFO L106 edCorrectnessWitness]: ghost_update [L6861-L6861] multithreaded = 1; [2024-08-23 13:00:08,400 INFO L177 MainTranslator]: Built tables and reachable declarations [2024-08-23 13:00:08,732 WARN L247 ndardFunctionHandler]: Function reach_error is already implemented but we override the implementation for the call at /storage/repos/ultimate/trunk/examples/svcomp/pthread-driver-races/char_generic_nvram_read_nvram_nvram_unlocked_ioctl.i[5469,5482] [2024-08-23 13:00:11,896 INFO L207 PostProcessor]: Analyzing one entry point: main [2024-08-23 13:00:11,912 INFO L202 MainTranslator]: Completed pre-run Start Parsing Local [2024-08-23 13:00:11,954 WARN L247 ndardFunctionHandler]: Function reach_error is already implemented but we override the implementation for the call at /storage/repos/ultimate/trunk/examples/svcomp/pthread-driver-races/char_generic_nvram_read_nvram_nvram_unlocked_ioctl.i[5469,5482] [2024-08-23 13:00:12,166 WARN L75 lationResultReporter]: Unsoundness Warning: Ignoring inline assembler instruction C: asm volatile ("" "xchg" "b %b0, %1\n" : "+q" (__ret), "+m" (*((&head->first))) : : "memory", "cc"); [3227] [2024-08-23 13:00:12,169 WARN L75 lationResultReporter]: Unsoundness Warning: Ignoring inline assembler instruction C: asm volatile ("" "xchg" "w %w0, %1\n" : "+r" (__ret), "+m" (*((&head->first))) : : "memory", "cc"); [3227] [2024-08-23 13:00:12,169 WARN L75 lationResultReporter]: Unsoundness Warning: Ignoring inline assembler instruction C: asm volatile ("" "xchg" "l %0, %1\n" : "+r" (__ret), "+m" (*((&head->first))) : : "memory", "cc"); [3227] [2024-08-23 13:00:12,170 WARN L75 lationResultReporter]: Unsoundness Warning: Ignoring inline assembler instruction C: asm volatile ("" "xchg" "q %q0, %1\n" : "+r" (__ret), "+m" (*((&head->first))) : : "memory", "cc"); [3227] [2024-08-23 13:00:12,299 WARN L75 lationResultReporter]: Unsoundness Warning: Ignoring inline assembler instruction C: asm volatile("ud2"); [5814] Start Parsing Local Start Parsing Local [2024-08-23 13:00:12,362 ERROR L334 MainTranslator]: Incorrect Syntax: Undeclared variable in ACSL expression: nvram_cleanup [2024-08-23 13:00:12,363 INFO L204 PluginConnector]: Invalid model from CACSL2BoogieTranslator for observer de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator.CACSL2BoogieTranslatorObserver@32884d26 and model type witness.yml de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator CORRECTNESS_WITNESS 23.08 01:00:12, skipping insertion in model container [2024-08-23 13:00:12,363 INFO L131 PluginConnector]: ------------------------ END CACSL2BoogieTranslator---------------------------- [2024-08-23 13:00:12,363 INFO L186 ToolchainWalker]: Toolchain execution was canceled (user or tool) before executing de.uni_freiburg.informatik.ultimate.boogie.procedureinliner [2024-08-23 13:00:12,365 INFO L158 Benchmark]: Toolchain (without parser) took 4225.79ms. Allocated memory was 176.2MB in the beginning and 218.1MB in the end (delta: 41.9MB). Free memory was 134.2MB in the beginning and 127.1MB in the end (delta: 7.1MB). Peak memory consumption was 98.4MB. Max. memory is 16.1GB. [2024-08-23 13:00:12,365 INFO L158 Benchmark]: CDTParser took 0.19ms. Allocated memory is still 176.2MB. Free memory is still 140.7MB. There was no memory consumed. Max. memory is 16.1GB. [2024-08-23 13:00:12,366 INFO L158 Benchmark]: Witness Parser took 0.11ms. Allocated memory is still 176.2MB. Free memory is still 137.5MB. There was no memory consumed. Max. memory is 16.1GB. [2024-08-23 13:00:12,367 INFO L158 Benchmark]: CACSL2BoogieTranslator took 4223.75ms. Allocated memory was 176.2MB in the beginning and 218.1MB in the end (delta: 41.9MB). Free memory was 133.3MB in the beginning and 127.1MB in the end (delta: 6.2MB). Peak memory consumption was 96.3MB. Max. memory is 16.1GB. [2024-08-23 13:00:12,368 INFO L338 ainManager$Toolchain]: ####################### End [Toolchain 1] ####################### --- Results --- * Results from de.uni_freiburg.informatik.ultimate.core: - StatisticsResult: Toolchain Benchmarks Benchmark results are: * CDTParser took 0.19ms. Allocated memory is still 176.2MB. Free memory is still 140.7MB. There was no memory consumed. Max. memory is 16.1GB. * Witness Parser took 0.11ms. Allocated memory is still 176.2MB. Free memory is still 137.5MB. There was no memory consumed. Max. memory is 16.1GB. * CACSL2BoogieTranslator took 4223.75ms. Allocated memory was 176.2MB in the beginning and 218.1MB in the end (delta: 41.9MB). Free memory was 133.3MB in the beginning and 127.1MB in the end (delta: 6.2MB). Peak memory consumption was 96.3MB. Max. memory is 16.1GB. * Results from de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator: - GenericResultAtLocation [Line: 3227]: Unsoundness Warning Ignoring inline assembler instruction C: asm volatile ("" "xchg" "b %b0, %1\n" : "+q" (__ret), "+m" (*((&head->first))) : : "memory", "cc"); [3227] - GenericResultAtLocation [Line: 3227]: Unsoundness Warning Ignoring inline assembler instruction C: asm volatile ("" "xchg" "w %w0, %1\n" : "+r" (__ret), "+m" (*((&head->first))) : : "memory", "cc"); [3227] - GenericResultAtLocation [Line: 3227]: Unsoundness Warning Ignoring inline assembler instruction C: asm volatile ("" "xchg" "l %0, %1\n" : "+r" (__ret), "+m" (*((&head->first))) : : "memory", "cc"); [3227] - GenericResultAtLocation [Line: 3227]: Unsoundness Warning Ignoring inline assembler instruction C: asm volatile ("" "xchg" "q %q0, %1\n" : "+r" (__ret), "+m" (*((&head->first))) : : "memory", "cc"); [3227] - GenericResultAtLocation [Line: 5814]: Unsoundness Warning Ignoring inline assembler instruction C: asm volatile("ud2"); [5814] - SyntaxErrorResult [Line: 6862]: Incorrect Syntax Undeclared variable in ACSL expression: nvram_cleanup 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/UGemCutter-linux/data/config -Xmx15G -Xms4m -jar /storage/repos/ultimate/releaseScripts/default/UGemCutter-linux/plugins/org.eclipse.equinox.launcher_1.5.800.v20200727-1323.jar -data @noDefault -ultimatedata /storage/repos/ultimate/releaseScripts/default/UGemCutter-linux/data -tc /storage/repos/ultimate/releaseScripts/default/UGemCutter-linux/config/GemCutterReachWitnessValidation.xml -i ../../../trunk/examples/svcomp/pthread-driver-races/char_generic_nvram_read_nvram_nvram_unlocked_ioctl.i ./goblint.2024-08-08_07-59-58.files/protection-ghost/char_generic_nvram_read_nvram_nvram_unlocked_ioctl.yml/witness.yml -s /storage/repos/ultimate/releaseScripts/default/UGemCutter-linux/config/svcomp-Reach-32bit-GemCutter_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-tmp.dk.goblint-validation-atomicfix-7bc0c75-m [2024-08-23 13:00:14,445 INFO L188 SettingsManager]: Resetting all preferences to default values... [2024-08-23 13:00:14,498 INFO L114 SettingsManager]: Loading settings from /storage/repos/ultimate/releaseScripts/default/UGemCutter-linux/config/svcomp-Reach-32bit-GemCutter_Bitvector.epf [2024-08-23 13:00:14,503 WARN L101 SettingsManager]: Preference file contains the following unknown settings: [2024-08-23 13:00:14,504 WARN L103 SettingsManager]: * de.uni_freiburg.informatik.ultimate.core.Log level for class [2024-08-23 13:00:14,542 INFO L130 SettingsManager]: Preferences different from defaults after loading the file: [2024-08-23 13:00:14,543 INFO L151 SettingsManager]: Preferences of UltimateCore differ from their defaults: [2024-08-23 13:00:14,543 INFO L153 SettingsManager]: * Log level for class=de.uni_freiburg.informatik.ultimate.lib.smtlibutils.quantifier.QuantifierPusher=ERROR; [2024-08-23 13:00:14,544 INFO L151 SettingsManager]: Preferences of Boogie Procedure Inliner differ from their defaults: [2024-08-23 13:00:14,544 INFO L153 SettingsManager]: * Ignore calls to procedures called more than once=ONLY_FOR_SEQUENTIAL_PROGRAMS [2024-08-23 13:00:14,545 INFO L151 SettingsManager]: Preferences of BlockEncodingV2 differ from their defaults: [2024-08-23 13:00:14,545 INFO L153 SettingsManager]: * Create parallel compositions if possible=false [2024-08-23 13:00:14,545 INFO L153 SettingsManager]: * Use SBE=true [2024-08-23 13:00:14,546 INFO L151 SettingsManager]: Preferences of CACSL2BoogieTranslator differ from their defaults: [2024-08-23 13:00:14,546 INFO L153 SettingsManager]: * Pointer base address is valid at dereference=IGNORE [2024-08-23 13:00:14,546 INFO L153 SettingsManager]: * sizeof long=4 [2024-08-23 13:00:14,547 INFO L153 SettingsManager]: * sizeof POINTER=4 [2024-08-23 13:00:14,547 INFO L153 SettingsManager]: * Check division by zero=IGNORE [2024-08-23 13:00:14,547 INFO L153 SettingsManager]: * Pointer to allocated memory at dereference=IGNORE [2024-08-23 13:00:14,548 INFO L153 SettingsManager]: * If two pointers are subtracted or compared they have the same base address=IGNORE [2024-08-23 13:00:14,548 INFO L153 SettingsManager]: * Check array bounds for arrays that are off heap=IGNORE [2024-08-23 13:00:14,549 INFO L153 SettingsManager]: * Use bitvectors instead of ints=true [2024-08-23 13:00:14,549 INFO L153 SettingsManager]: * Allow undefined functions=false [2024-08-23 13:00:14,549 INFO L153 SettingsManager]: * Memory model=HoenickeLindenmann_4ByteResolution [2024-08-23 13:00:14,550 INFO L153 SettingsManager]: * sizeof long double=12 [2024-08-23 13:00:14,550 INFO L153 SettingsManager]: * Check if freed pointer was valid=false [2024-08-23 13:00:14,550 INFO L153 SettingsManager]: * Use constant arrays=true [2024-08-23 13:00:14,551 INFO L151 SettingsManager]: Preferences of RCFGBuilder differ from their defaults: [2024-08-23 13:00:14,551 INFO L153 SettingsManager]: * Size of a code block=SequenceOfStatements [2024-08-23 13:00:14,551 INFO L153 SettingsManager]: * Only consider context switches at boundaries of atomic blocks=true [2024-08-23 13:00:14,552 INFO L153 SettingsManager]: * SMT solver=External_DefaultMode [2024-08-23 13:00:14,552 INFO L153 SettingsManager]: * Command for external solver=z3 SMTLIB2_COMPLIANT=true -memory:2024 -smt2 -in -t:2000 [2024-08-23 13:00:14,552 INFO L151 SettingsManager]: Preferences of TraceAbstraction differ from their defaults: [2024-08-23 13:00:14,553 INFO L153 SettingsManager]: * Compute Interpolants along a Counterexample=FPandBP [2024-08-23 13:00:14,553 INFO L153 SettingsManager]: * Positions where we compute the Hoare Annotation=LoopHeads [2024-08-23 13:00:14,553 INFO L153 SettingsManager]: * Trace refinement strategy=WOLF [2024-08-23 13:00:14,554 INFO L153 SettingsManager]: * DFS Order used in POR=LOOP_LOCKSTEP [2024-08-23 13:00:14,554 INFO L153 SettingsManager]: * Command for external solver=cvc4 --incremental --print-success --lang smt [2024-08-23 13:00:14,554 INFO L153 SettingsManager]: * Apply one-shot large block encoding in concurrent analysis=false [2024-08-23 13:00:14,555 INFO L153 SettingsManager]: * Automaton type used in concurrency analysis=PARTIAL_ORDER_FA [2024-08-23 13:00:14,555 INFO L153 SettingsManager]: * Compute Hoare Annotation of negated interpolant automaton, abstraction and CFG=true [2024-08-23 13:00:14,559 INFO L153 SettingsManager]: * CEGAR restart behaviour=ONE_CEGAR_PER_THREAD_INSTANCE [2024-08-23 13:00:14,559 INFO L153 SettingsManager]: * Partial Order Reduction in concurrent analysis=PERSISTENT_SLEEP_NEW_STATES_FIXEDORDER [2024-08-23 13:00:14,559 INFO L153 SettingsManager]: * SMT solver=External_ModelsAndUnsatCoreMode [2024-08-23 13:00:14,559 INFO L153 SettingsManager]: * Logic for external solver=AUFBV 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/UGemCutter-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-08-23 13:00:14,857 INFO L75 nceAwareModelManager]: Repository-Root is: /tmp [2024-08-23 13:00:14,878 INFO L261 ainManager$Toolchain]: [Toolchain 1]: Applicable parser(s) successfully (re)initialized [2024-08-23 13:00:14,881 INFO L217 ainManager$Toolchain]: [Toolchain 1]: Toolchain selected. [2024-08-23 13:00:14,882 INFO L270 PluginConnector]: Initializing CDTParser... [2024-08-23 13:00:14,882 INFO L274 PluginConnector]: CDTParser initialized [2024-08-23 13:00:14,884 INFO L431 ainManager$Toolchain]: [Toolchain 1]: Parsing single file: /storage/repos/ultimate/releaseScripts/default/UGemCutter-linux/../../../trunk/examples/svcomp/pthread-driver-races/char_generic_nvram_read_nvram_nvram_unlocked_ioctl.i [2024-08-23 13:00:16,496 INFO L533 CDTParser]: Created temporary CDT project at NULL [2024-08-23 13:00:17,012 INFO L384 CDTParser]: Found 1 translation units. [2024-08-23 13:00:17,013 INFO L180 CDTParser]: Scanning /storage/repos/ultimate/trunk/examples/svcomp/pthread-driver-races/char_generic_nvram_read_nvram_nvram_unlocked_ioctl.i [2024-08-23 13:00:17,066 INFO L427 CDTParser]: About to delete temporary CDT project at /storage/repos/ultimate/releaseScripts/default/UGemCutter-linux/data/a94b0f601/ce74aad530b34c04823f55ccaa204d29/FLAG6f13466a9 [2024-08-23 13:00:17,084 INFO L435 CDTParser]: Successfully deleted /storage/repos/ultimate/releaseScripts/default/UGemCutter-linux/data/a94b0f601/ce74aad530b34c04823f55ccaa204d29 [2024-08-23 13:00:17,090 INFO L270 PluginConnector]: Initializing Witness Parser... [2024-08-23 13:00:17,091 INFO L274 PluginConnector]: Witness Parser initialized [2024-08-23 13:00:17,091 INFO L431 ainManager$Toolchain]: [Toolchain 1]: Parsing single file: /storage/repos/ultimate/releaseScripts/default/UGemCutter-linux/./goblint.2024-08-08_07-59-58.files/protection-ghost/char_generic_nvram_read_nvram_nvram_unlocked_ioctl.yml/witness.yml [2024-08-23 13:00:17,208 INFO L299 ainManager$Toolchain]: ####################### [Toolchain 1] ####################### [2024-08-23 13:00:17,209 INFO L133 ToolchainWalker]: Walking toolchain with 5 elements. [2024-08-23 13:00:17,210 INFO L112 PluginConnector]: ------------------------CACSL2BoogieTranslator---------------------------- [2024-08-23 13:00:17,211 INFO L270 PluginConnector]: Initializing CACSL2BoogieTranslator... [2024-08-23 13:00:17,216 INFO L274 PluginConnector]: CACSL2BoogieTranslator initialized [2024-08-23 13:00:17,216 INFO L184 PluginConnector]: Executing the observer ACSLObjectContainerObserver from plugin CACSL2BoogieTranslator for "CDTParser AST 23.08 01:00:17" (1/2) ... [2024-08-23 13:00:17,217 INFO L204 PluginConnector]: Invalid model from CACSL2BoogieTranslator for observer de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator.ACSLObjectContainerObserver@3deb9bc5 and model type de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 23.08 01:00:17, skipping insertion in model container [2024-08-23 13:00:17,217 INFO L184 PluginConnector]: Executing the observer CACSL2BoogieTranslatorObserver from plugin CACSL2BoogieTranslator for "CDTParser AST 23.08 01:00:17" (1/2) ... [2024-08-23 13:00:17,219 INFO L204 PluginConnector]: Invalid model from CACSL2BoogieTranslator for observer de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator.CACSL2BoogieTranslatorObserver@3be8a0da and model type de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 23.08 01:00:17, skipping insertion in model container [2024-08-23 13:00:17,219 INFO L184 PluginConnector]: Executing the observer ACSLObjectContainerObserver from plugin CACSL2BoogieTranslator for "witness.yml de.uni_freiburg.informatik.ultimate.witnessparser CORRECTNESS_WITNESS 23.08 01:00:17" (2/2) ... [2024-08-23 13:00:17,219 INFO L204 PluginConnector]: Invalid model from CACSL2BoogieTranslator for observer de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator.ACSLObjectContainerObserver@3deb9bc5 and model type witness.yml de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator CORRECTNESS_WITNESS 23.08 01:00:17, skipping insertion in model container [2024-08-23 13:00:17,219 INFO L184 PluginConnector]: Executing the observer CACSL2BoogieTranslatorObserver from plugin CACSL2BoogieTranslator for "witness.yml de.uni_freiburg.informatik.ultimate.witnessparser CORRECTNESS_WITNESS 23.08 01:00:17" (2/2) ... [2024-08-23 13:00:17,221 INFO L83 nessWitnessExtractor]: Extracting all invariants from correctness witness [2024-08-23 13:00:17,418 INFO L95 edCorrectnessWitness]: Found the following entries in the witness: [2024-08-23 13:00:17,419 INFO L97 edCorrectnessWitness]: Location invariant before [L6862-L6862] (((((! multithreaded || jiffies == 0UL) && (! multithreaded || _whoop_exit == & nvram_cleanup)) && (! multithreaded || 0 <= whoop_int)) && (! multithreaded || (unsigned int )default_alloc_size == 4U)) && (! multithreaded || _whoop_init == & nvram_init)) && (! multithreaded || ((((((((((((((((((((((((nvram_fops.check_flags == 0 && nvram_fops.compat_ioctl == 0) && nvram_fops.dir_notify == 0) && nvram_fops.fasync == 0) && nvram_fops.flock == 0) && nvram_fops.flush == 0) && nvram_fops.fsync == 0) && nvram_fops.get_unmapped_area == 0) && nvram_fops.ioctl == 0) && nvram_fops.llseek == & nvram_llseek) && nvram_fops.lock == 0) && nvram_fops.mmap == 0) && nvram_fops.open == 0) && nvram_fops.open_exec == 0) && nvram_fops.owner == 0) && nvram_fops.poll == 0) && nvram_fops.read == & read_nvram) && nvram_fops.readdir == 0) && nvram_fops.readv == 0) && nvram_fops.release == 0) && nvram_fops.sendfile == 0) && nvram_fops.sendpage == 0) && nvram_fops.unlocked_ioctl == & nvram_unlocked_ioctl) && nvram_fops.write == & write_nvram) && nvram_fops.writev == 0)) [2024-08-23 13:00:17,419 INFO L97 edCorrectnessWitness]: Location invariant before [L6863-L6863] (((((! multithreaded || jiffies == 0UL) && (! multithreaded || _whoop_exit == & nvram_cleanup)) && (! multithreaded || 0 <= whoop_int)) && (! multithreaded || (unsigned int )default_alloc_size == 4U)) && (! multithreaded || _whoop_init == & nvram_init)) && (! multithreaded || ((((((((((((((((((((((((nvram_fops.check_flags == 0 && nvram_fops.compat_ioctl == 0) && nvram_fops.dir_notify == 0) && nvram_fops.fasync == 0) && nvram_fops.flock == 0) && nvram_fops.flush == 0) && nvram_fops.fsync == 0) && nvram_fops.get_unmapped_area == 0) && nvram_fops.ioctl == 0) && nvram_fops.llseek == & nvram_llseek) && nvram_fops.lock == 0) && nvram_fops.mmap == 0) && nvram_fops.open == 0) && nvram_fops.open_exec == 0) && nvram_fops.owner == 0) && nvram_fops.poll == 0) && nvram_fops.read == & read_nvram) && nvram_fops.readdir == 0) && nvram_fops.readv == 0) && nvram_fops.release == 0) && nvram_fops.sendfile == 0) && nvram_fops.sendpage == 0) && nvram_fops.unlocked_ioctl == & nvram_unlocked_ioctl) && nvram_fops.write == & write_nvram) && nvram_fops.writev == 0)) [2024-08-23 13:00:17,419 INFO L103 edCorrectnessWitness]: ghost_variable multithreaded = 0 [2024-08-23 13:00:17,419 INFO L106 edCorrectnessWitness]: ghost_update [L6861-L6861] multithreaded = 1; [2024-08-23 13:00:17,527 INFO L177 MainTranslator]: Built tables and reachable declarations [2024-08-23 13:00:17,881 WARN L247 ndardFunctionHandler]: Function reach_error is already implemented but we override the implementation for the call at /storage/repos/ultimate/trunk/examples/svcomp/pthread-driver-races/char_generic_nvram_read_nvram_nvram_unlocked_ioctl.i[5469,5482] [2024-08-23 13:00:21,029 INFO L207 PostProcessor]: Analyzing one entry point: main [2024-08-23 13:00:21,058 INFO L202 MainTranslator]: Completed pre-run Start Parsing Local [2024-08-23 13:00:21,108 WARN L247 ndardFunctionHandler]: Function reach_error is already implemented but we override the implementation for the call at /storage/repos/ultimate/trunk/examples/svcomp/pthread-driver-races/char_generic_nvram_read_nvram_nvram_unlocked_ioctl.i[5469,5482] [2024-08-23 13:00:21,256 WARN L75 lationResultReporter]: Unsoundness Warning: Ignoring inline assembler instruction C: asm volatile ("" "xchg" "b %b0, %1\n" : "+q" (__ret), "+m" (*((&head->first))) : : "memory", "cc"); [3227] [2024-08-23 13:00:21,259 WARN L75 lationResultReporter]: Unsoundness Warning: Ignoring inline assembler instruction C: asm volatile ("" "xchg" "w %w0, %1\n" : "+r" (__ret), "+m" (*((&head->first))) : : "memory", "cc"); [3227] [2024-08-23 13:00:21,259 WARN L75 lationResultReporter]: Unsoundness Warning: Ignoring inline assembler instruction C: asm volatile ("" "xchg" "l %0, %1\n" : "+r" (__ret), "+m" (*((&head->first))) : : "memory", "cc"); [3227] [2024-08-23 13:00:21,259 WARN L75 lationResultReporter]: Unsoundness Warning: Ignoring inline assembler instruction C: asm volatile ("" "xchg" "q %q0, %1\n" : "+r" (__ret), "+m" (*((&head->first))) : : "memory", "cc"); [3227] [2024-08-23 13:00:21,394 WARN L75 lationResultReporter]: Unsoundness Warning: Ignoring inline assembler instruction C: asm volatile("ud2"); [5814] Start Parsing Local Start Parsing Local [2024-08-23 13:00:21,445 ERROR L334 MainTranslator]: Incorrect Syntax: Undeclared variable in ACSL expression: nvram_cleanup [2024-08-23 13:00:21,446 INFO L204 PluginConnector]: Invalid model from CACSL2BoogieTranslator for observer de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator.CACSL2BoogieTranslatorObserver@3be8a0da and model type witness.yml de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator CORRECTNESS_WITNESS 23.08 01:00:21, skipping insertion in model container [2024-08-23 13:00:21,446 INFO L131 PluginConnector]: ------------------------ END CACSL2BoogieTranslator---------------------------- [2024-08-23 13:00:21,446 INFO L186 ToolchainWalker]: Toolchain execution was canceled (user or tool) before executing de.uni_freiburg.informatik.ultimate.boogie.procedureinliner [2024-08-23 13:00:21,449 INFO L158 Benchmark]: Toolchain (without parser) took 4238.29ms. Allocated memory was 67.1MB in the beginning and 102.8MB in the end (delta: 35.7MB). Free memory was 31.0MB in the beginning and 35.8MB in the end (delta: -4.9MB). Peak memory consumption was 51.2MB. Max. memory is 16.1GB. [2024-08-23 13:00:21,449 INFO L158 Benchmark]: CDTParser took 0.19ms. Allocated memory is still 46.1MB. Free memory is still 29.5MB. There was no memory consumed. Max. memory is 16.1GB. [2024-08-23 13:00:21,449 INFO L158 Benchmark]: Witness Parser took 0.09ms. Allocated memory is still 67.1MB. Free memory is still 34.8MB. There was no memory consumed. Max. memory is 16.1GB. [2024-08-23 13:00:21,450 INFO L158 Benchmark]: CACSL2BoogieTranslator took 4236.25ms. Allocated memory was 67.1MB in the beginning and 102.8MB in the end (delta: 35.7MB). Free memory was 30.7MB in the beginning and 35.8MB in the end (delta: -5.1MB). Peak memory consumption was 51.2MB. Max. memory is 16.1GB. [2024-08-23 13:00:21,452 INFO L338 ainManager$Toolchain]: ####################### End [Toolchain 1] ####################### --- Results --- * Results from de.uni_freiburg.informatik.ultimate.core: - StatisticsResult: Toolchain Benchmarks Benchmark results are: * CDTParser took 0.19ms. Allocated memory is still 46.1MB. Free memory is still 29.5MB. There was no memory consumed. Max. memory is 16.1GB. * Witness Parser took 0.09ms. Allocated memory is still 67.1MB. Free memory is still 34.8MB. There was no memory consumed. Max. memory is 16.1GB. * CACSL2BoogieTranslator took 4236.25ms. Allocated memory was 67.1MB in the beginning and 102.8MB in the end (delta: 35.7MB). Free memory was 30.7MB in the beginning and 35.8MB in the end (delta: -5.1MB). Peak memory consumption was 51.2MB. Max. memory is 16.1GB. * Results from de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator: - GenericResultAtLocation [Line: 3227]: Unsoundness Warning Ignoring inline assembler instruction C: asm volatile ("" "xchg" "b %b0, %1\n" : "+q" (__ret), "+m" (*((&head->first))) : : "memory", "cc"); [3227] - GenericResultAtLocation [Line: 3227]: Unsoundness Warning Ignoring inline assembler instruction C: asm volatile ("" "xchg" "w %w0, %1\n" : "+r" (__ret), "+m" (*((&head->first))) : : "memory", "cc"); [3227] - GenericResultAtLocation [Line: 3227]: Unsoundness Warning Ignoring inline assembler instruction C: asm volatile ("" "xchg" "l %0, %1\n" : "+r" (__ret), "+m" (*((&head->first))) : : "memory", "cc"); [3227] - GenericResultAtLocation [Line: 3227]: Unsoundness Warning Ignoring inline assembler instruction C: asm volatile ("" "xchg" "q %q0, %1\n" : "+r" (__ret), "+m" (*((&head->first))) : : "memory", "cc"); [3227] - GenericResultAtLocation [Line: 5814]: Unsoundness Warning Ignoring inline assembler instruction C: asm volatile("ud2"); [5814] - SyntaxErrorResult [Line: 6862]: Incorrect Syntax Undeclared variable in ACSL expression: nvram_cleanup 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