./Ultimate.py --spec ../sv-benchmarks/c/properties/no-overflow.prp --file ../sv-benchmarks/c/pthread-driver-races/char_generic_nvram_read_nvram_nvram_unlocked_ioctl.i --full-output --architecture 32bit -------------------------------------------------------------------------------- Checking for overflows Using default analysis Version 48c9605d Calling Ultimate with: /root/.sdkman/candidates/java/21.0.5-tem/bin/java -Dosgi.configuration.area=/storage/repos/ultimate-jdk21/releaseScripts/default/UAutomizer-linux/data/config -Xmx15G -Xms4m -jar /storage/repos/ultimate-jdk21/releaseScripts/default/UAutomizer-linux/plugins/org.eclipse.equinox.launcher_1.6.800.v20240513-1750.jar -data @noDefault -ultimatedata /storage/repos/ultimate-jdk21/releaseScripts/default/UAutomizer-linux/data -tc /storage/repos/ultimate-jdk21/releaseScripts/default/UAutomizer-linux/config/AutomizerReach.xml -i ../sv-benchmarks/c/pthread-driver-races/char_generic_nvram_read_nvram_nvram_unlocked_ioctl.i -s /storage/repos/ultimate-jdk21/releaseScripts/default/UAutomizer-linux/config/svcomp-Overflow-32bit-Automizer_Default.epf --cacsl2boogietranslator.entry.function main --witnessprinter.witness.directory /storage/repos/ultimate-jdk21/releaseScripts/default/UAutomizer-linux --witnessprinter.witness.filename witness --witnessprinter.write.witness.besides.input.file false --witnessprinter.graph.data.specification CHECK( init(main()), LTL(G ! overflow) ) --witnessprinter.graph.data.producer Automizer --witnessprinter.graph.data.architecture 32bit --witnessprinter.graph.data.programhash 3cf9a63e6b69549a73ec0cdf90051f21ab19a39a485979f4709a706d3ba6e298 --- Real Ultimate output --- This is Ultimate 0.3.0-?-48c9605-m [2025-02-08 14:02:51,433 INFO L188 SettingsManager]: Resetting all preferences to default values... [2025-02-08 14:02:51,520 INFO L114 SettingsManager]: Loading settings from /storage/repos/ultimate-jdk21/releaseScripts/default/UAutomizer-linux/config/svcomp-Overflow-32bit-Automizer_Default.epf [2025-02-08 14:02:51,525 WARN L101 SettingsManager]: Preference file contains the following unknown settings: [2025-02-08 14:02:51,527 WARN L103 SettingsManager]: * de.uni_freiburg.informatik.ultimate.core.Log level for class [2025-02-08 14:02:51,558 INFO L130 SettingsManager]: Preferences different from defaults after loading the file: [2025-02-08 14:02:51,558 INFO L151 SettingsManager]: Preferences of UltimateCore differ from their defaults: [2025-02-08 14:02:51,558 INFO L153 SettingsManager]: * Log level for class=de.uni_freiburg.informatik.ultimate.lib.smtlibutils.quantifier.QuantifierPusher=ERROR; [2025-02-08 14:02:51,559 INFO L151 SettingsManager]: Preferences of Boogie Preprocessor differ from their defaults: [2025-02-08 14:02:51,559 INFO L153 SettingsManager]: * Use memory slicer=true [2025-02-08 14:02:51,559 INFO L151 SettingsManager]: Preferences of Boogie Procedure Inliner differ from their defaults: [2025-02-08 14:02:51,559 INFO L153 SettingsManager]: * Ignore calls to procedures called more than once=ONLY_FOR_SEQUENTIAL_PROGRAMS [2025-02-08 14:02:51,559 INFO L151 SettingsManager]: Preferences of BlockEncodingV2 differ from their defaults: [2025-02-08 14:02:51,560 INFO L153 SettingsManager]: * Create parallel compositions if possible=false [2025-02-08 14:02:51,561 INFO L153 SettingsManager]: * Use SBE=true [2025-02-08 14:02:51,562 INFO L151 SettingsManager]: Preferences of CACSL2BoogieTranslator differ from their defaults: [2025-02-08 14:02:51,562 INFO L153 SettingsManager]: * Pointer base address is valid at dereference=IGNORE [2025-02-08 14:02:51,562 INFO L153 SettingsManager]: * sizeof long=4 [2025-02-08 14:02:51,562 INFO L153 SettingsManager]: * Overapproximate operations on floating types=true [2025-02-08 14:02:51,562 INFO L153 SettingsManager]: * sizeof POINTER=4 [2025-02-08 14:02:51,562 INFO L153 SettingsManager]: * Check division by zero=IGNORE [2025-02-08 14:02:51,563 INFO L153 SettingsManager]: * Pointer to allocated memory at dereference=IGNORE [2025-02-08 14:02:51,563 INFO L153 SettingsManager]: * If two pointers are subtracted or compared they have the same base address=IGNORE [2025-02-08 14:02:51,563 INFO L153 SettingsManager]: * Check array bounds for arrays that are off heap=IGNORE [2025-02-08 14:02:51,563 INFO L153 SettingsManager]: * Check absence of signed integer overflows=ASSERTandASSUME [2025-02-08 14:02:51,563 INFO L153 SettingsManager]: * Check unreachability of reach_error function=false [2025-02-08 14:02:51,563 INFO L153 SettingsManager]: * sizeof long double=12 [2025-02-08 14:02:51,563 INFO L153 SettingsManager]: * Check if freed pointer was valid=false [2025-02-08 14:02:51,563 INFO L153 SettingsManager]: * Behaviour of calls to undefined functions=OVERAPPROXIMATE_BEHAVIOUR [2025-02-08 14:02:51,563 INFO L153 SettingsManager]: * Use constant arrays=true [2025-02-08 14:02:51,564 INFO L151 SettingsManager]: Preferences of IcfgBuilder differ from their defaults: [2025-02-08 14:02:51,564 INFO L153 SettingsManager]: * Size of a code block=SequenceOfStatements [2025-02-08 14:02:51,564 INFO L153 SettingsManager]: * Only consider context switches at boundaries of atomic blocks=true [2025-02-08 14:02:51,564 INFO L153 SettingsManager]: * SMT solver=External_DefaultMode [2025-02-08 14:02:51,564 INFO L153 SettingsManager]: * Command for external solver=z3 SMTLIB2_COMPLIANT=true -memory:2024 -smt2 -in -t:4000 [2025-02-08 14:02:51,564 INFO L151 SettingsManager]: Preferences of TraceAbstraction differ from their defaults: [2025-02-08 14:02:51,564 INFO L153 SettingsManager]: * Compute Interpolants along a Counterexample=FPandBP [2025-02-08 14:02:51,565 INFO L153 SettingsManager]: * Compute procedure contracts=false [2025-02-08 14:02:51,565 INFO L153 SettingsManager]: * Positions where we compute the Hoare Annotation=LoopHeads [2025-02-08 14:02:51,565 INFO L153 SettingsManager]: * Trace refinement strategy=CAMEL [2025-02-08 14:02:51,565 INFO L153 SettingsManager]: * Command for external solver=z3 SMTLIB2_COMPLIANT=true -memory:2024 -smt2 -in [2025-02-08 14:02:51,565 INFO L153 SettingsManager]: * Apply one-shot large block encoding in concurrent analysis=false [2025-02-08 14:02:51,565 INFO L153 SettingsManager]: * Automaton type used in concurrency analysis=PETRI_NET [2025-02-08 14:02:51,565 INFO L153 SettingsManager]: * Order on configurations for Petri net unfoldings=DBO [2025-02-08 14:02:51,566 INFO L153 SettingsManager]: * SMT solver=External_ModelsAndUnsatCoreMode [2025-02-08 14:02:51,566 INFO L153 SettingsManager]: * Looper check in Petri net analysis=SEMANTIC Applying setting for plugin de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator: Entry function -> main Applying setting for plugin de.uni_freiburg.informatik.ultimate.witnessprinter: Witness directory -> /storage/repos/ultimate-jdk21/releaseScripts/default/UAutomizer-linux Applying setting for plugin de.uni_freiburg.informatik.ultimate.witnessprinter: Witness filename -> witness Applying setting for plugin de.uni_freiburg.informatik.ultimate.witnessprinter: Write witness besides input file -> false Applying setting for plugin de.uni_freiburg.informatik.ultimate.witnessprinter: Graph data specification -> CHECK( init(main()), LTL(G ! overflow) ) Applying setting for plugin de.uni_freiburg.informatik.ultimate.witnessprinter: Graph data producer -> Automizer Applying setting for plugin de.uni_freiburg.informatik.ultimate.witnessprinter: Graph data architecture -> 32bit Applying setting for plugin de.uni_freiburg.informatik.ultimate.witnessprinter: Graph data programhash -> 3cf9a63e6b69549a73ec0cdf90051f21ab19a39a485979f4709a706d3ba6e298 [2025-02-08 14:02:51,870 INFO L75 nceAwareModelManager]: Repository-Root is: /tmp [2025-02-08 14:02:51,877 INFO L261 ainManager$Toolchain]: [Toolchain 1]: Applicable parser(s) successfully (re)initialized [2025-02-08 14:02:51,880 INFO L217 ainManager$Toolchain]: [Toolchain 1]: Toolchain selected. [2025-02-08 14:02:51,881 INFO L270 PluginConnector]: Initializing CDTParser... [2025-02-08 14:02:51,881 INFO L274 PluginConnector]: CDTParser initialized [2025-02-08 14:02:51,882 INFO L431 ainManager$Toolchain]: [Toolchain 1]: Parsing single file: /storage/repos/ultimate-jdk21/releaseScripts/default/UAutomizer-linux/../sv-benchmarks/c/pthread-driver-races/char_generic_nvram_read_nvram_nvram_unlocked_ioctl.i [2025-02-08 14:02:53,201 INFO L533 CDTParser]: Created temporary CDT project at /storage/repos/ultimate-jdk21/releaseScripts/default/UAutomizer-linux/data/585b4f8d7/1b3b957b8984418b8163723fad94e440/FLAGb04d04547 [2025-02-08 14:02:53,843 INFO L384 CDTParser]: Found 1 translation units. [2025-02-08 14:02:53,844 INFO L180 CDTParser]: Scanning /storage/repos/ultimate-jdk21/releaseScripts/default/sv-benchmarks/c/pthread-driver-races/char_generic_nvram_read_nvram_nvram_unlocked_ioctl.i [2025-02-08 14:02:53,902 INFO L427 CDTParser]: About to delete temporary CDT project at /storage/repos/ultimate-jdk21/releaseScripts/default/UAutomizer-linux/data/585b4f8d7/1b3b957b8984418b8163723fad94e440/FLAGb04d04547 [2025-02-08 14:02:53,919 INFO L435 CDTParser]: Successfully deleted /storage/repos/ultimate-jdk21/releaseScripts/default/UAutomizer-linux/data/585b4f8d7/1b3b957b8984418b8163723fad94e440 [2025-02-08 14:02:53,922 INFO L299 ainManager$Toolchain]: ####################### [Toolchain 1] ####################### [2025-02-08 14:02:53,924 INFO L133 ToolchainWalker]: Walking toolchain with 6 elements. [2025-02-08 14:02:53,926 INFO L112 PluginConnector]: ------------------------CACSL2BoogieTranslator---------------------------- [2025-02-08 14:02:53,926 INFO L270 PluginConnector]: Initializing CACSL2BoogieTranslator... [2025-02-08 14:02:53,930 INFO L274 PluginConnector]: CACSL2BoogieTranslator initialized [2025-02-08 14:02:53,931 INFO L184 PluginConnector]: Executing the observer ACSLObjectContainerObserver from plugin CACSL2BoogieTranslator for "CDTParser AST 08.02 02:02:53" (1/1) ... [2025-02-08 14:02:53,932 INFO L204 PluginConnector]: Invalid model from CACSL2BoogieTranslator for observer de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator.ACSLObjectContainerObserver@6e0ec294 and model type de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 08.02 02:02:53, skipping insertion in model container [2025-02-08 14:02:53,932 INFO L184 PluginConnector]: Executing the observer CACSL2BoogieTranslatorObserver from plugin CACSL2BoogieTranslator for "CDTParser AST 08.02 02:02:53" (1/1) ... [2025-02-08 14:02:54,030 INFO L175 MainTranslator]: Built tables and reachable declarations [2025-02-08 14:03:00,391 INFO L210 PostProcessor]: Analyzing one entry point: main [2025-02-08 14:03:00,408 INFO L200 MainTranslator]: Completed pre-run [2025-02-08 14:03:00,504 WARN L75 lationResultReporter]: Unsoundness Warning: Ignoring inline assembler instruction C: asm volatile ("" "xchg" "b %b0, %1\n" : "+q" (__ret), "+m" (*((&head->first))) : : "memory", "cc"); [3228] [2025-02-08 14:03:00,505 WARN L75 lationResultReporter]: Unsoundness Warning: Ignoring inline assembler instruction C: asm volatile ("" "xchg" "w %w0, %1\n" : "+r" (__ret), "+m" (*((&head->first))) : : "memory", "cc"); [3228] [2025-02-08 14:03:00,506 WARN L75 lationResultReporter]: Unsoundness Warning: Ignoring inline assembler instruction C: asm volatile ("" "xchg" "l %0, %1\n" : "+r" (__ret), "+m" (*((&head->first))) : : "memory", "cc"); [3228] [2025-02-08 14:03:00,506 WARN L75 lationResultReporter]: Unsoundness Warning: Ignoring inline assembler instruction C: asm volatile ("" "xchg" "q %q0, %1\n" : "+r" (__ret), "+m" (*((&head->first))) : : "memory", "cc"); [3228] [2025-02-08 14:03:00,598 WARN L75 lationResultReporter]: Unsoundness Warning: Ignoring inline assembler instruction C: asm volatile("ud2"); [5817] [2025-02-08 14:03:00,643 INFO L210 PostProcessor]: Analyzing one entry point: main [2025-02-08 14:03:01,012 INFO L204 MainTranslator]: Completed translation [2025-02-08 14:03:01,013 INFO L201 PluginConnector]: Adding new model de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 08.02 02:03:01 WrapperNode [2025-02-08 14:03:01,013 INFO L131 PluginConnector]: ------------------------ END CACSL2BoogieTranslator---------------------------- [2025-02-08 14:03:01,015 INFO L112 PluginConnector]: ------------------------Boogie Procedure Inliner---------------------------- [2025-02-08 14:03:01,015 INFO L270 PluginConnector]: Initializing Boogie Procedure Inliner... [2025-02-08 14:03:01,015 INFO L274 PluginConnector]: Boogie Procedure Inliner initialized [2025-02-08 14:03:01,021 INFO L184 PluginConnector]: Executing the observer TypeChecker from plugin Boogie Procedure Inliner for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 08.02 02:03:01" (1/1) ... [2025-02-08 14:03:01,096 INFO L184 PluginConnector]: Executing the observer Inliner from plugin Boogie Procedure Inliner for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 08.02 02:03:01" (1/1) ... [2025-02-08 14:03:01,171 INFO L138 Inliner]: procedures = 1354, calls = 1464, calls flagged for inlining = 353, calls inlined = 20, statements flattened = 343 [2025-02-08 14:03:01,176 INFO L131 PluginConnector]: ------------------------ END Boogie Procedure Inliner---------------------------- [2025-02-08 14:03:01,176 INFO L112 PluginConnector]: ------------------------Boogie Preprocessor---------------------------- [2025-02-08 14:03:01,176 INFO L270 PluginConnector]: Initializing Boogie Preprocessor... [2025-02-08 14:03:01,176 INFO L274 PluginConnector]: Boogie Preprocessor initialized [2025-02-08 14:03:01,189 INFO L184 PluginConnector]: Executing the observer EnsureBoogieModelObserver from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 08.02 02:03:01" (1/1) ... [2025-02-08 14:03:01,190 INFO L184 PluginConnector]: Executing the observer TypeChecker from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 08.02 02:03:01" (1/1) ... [2025-02-08 14:03:01,196 INFO L184 PluginConnector]: Executing the observer MemorySlicer from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 08.02 02:03:01" (1/1) ... [2025-02-08 14:03:01,228 INFO L175 MemorySlicer]: Split 51 memory accesses to 7 slices as follows [2, 1, 4, 5, 3, 5, 31]. 61 percent of accesses are in the largest equivalence class. The 43 initializations are split as follows [2, 1, 4, 0, 3, 2, 31]. The 4 writes are split as follows [0, 0, 0, 2, 0, 2, 0]. [2025-02-08 14:03:01,229 INFO L184 PluginConnector]: Executing the observer ConstExpander from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 08.02 02:03:01" (1/1) ... [2025-02-08 14:03:01,229 INFO L184 PluginConnector]: Executing the observer StructExpander from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 08.02 02:03:01" (1/1) ... [2025-02-08 14:03:01,254 INFO L184 PluginConnector]: Executing the observer ReplaceArrayAssignments from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 08.02 02:03:01" (1/1) ... [2025-02-08 14:03:01,258 INFO L184 PluginConnector]: Executing the observer FunctionInliner from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 08.02 02:03:01" (1/1) ... [2025-02-08 14:03:01,263 INFO L184 PluginConnector]: Executing the observer LTLStepAnnotator from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 08.02 02:03:01" (1/1) ... [2025-02-08 14:03:01,269 INFO L184 PluginConnector]: Executing the observer BoogieSymbolTableConstructor from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 08.02 02:03:01" (1/1) ... [2025-02-08 14:03:01,283 INFO L131 PluginConnector]: ------------------------ END Boogie Preprocessor---------------------------- [2025-02-08 14:03:01,286 INFO L112 PluginConnector]: ------------------------IcfgBuilder---------------------------- [2025-02-08 14:03:01,286 INFO L270 PluginConnector]: Initializing IcfgBuilder... [2025-02-08 14:03:01,287 INFO L274 PluginConnector]: IcfgBuilder initialized [2025-02-08 14:03:01,288 INFO L184 PluginConnector]: Executing the observer IcfgBuilderObserver from plugin IcfgBuilder for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 08.02 02:03:01" (1/1) ... [2025-02-08 14:03:01,293 INFO L173 SolverBuilder]: Constructing external solver with command: z3 SMTLIB2_COMPLIANT=true -memory:2024 -smt2 -in -t:4000 [2025-02-08 14:03:01,306 INFO L189 MonitoredProcess]: No working directory specified, using /storage/repos/ultimate-jdk21/releaseScripts/default/UAutomizer-linux/z3 [2025-02-08 14:03:01,325 INFO L229 MonitoredProcess]: Starting monitored process 1 with /storage/repos/ultimate-jdk21/releaseScripts/default/UAutomizer-linux/z3 SMTLIB2_COMPLIANT=true -memory:2024 -smt2 -in -t:4000 (exit command is (exit), workingDir is null) [2025-02-08 14:03:01,329 INFO L327 MonitoredProcess]: [MP /storage/repos/ultimate-jdk21/releaseScripts/default/UAutomizer-linux/z3 SMTLIB2_COMPLIANT=true -memory:2024 -smt2 -in -t:4000 (1)] Waiting until timeout for monitored process [2025-02-08 14:03:01,355 INFO L130 BoogieDeclarations]: Found specification of procedure read~int#0 [2025-02-08 14:03:01,355 INFO L130 BoogieDeclarations]: Found specification of procedure read~int#1 [2025-02-08 14:03:01,355 INFO L130 BoogieDeclarations]: Found specification of procedure read~int#2 [2025-02-08 14:03:01,355 INFO L130 BoogieDeclarations]: Found specification of procedure read~int#3 [2025-02-08 14:03:01,355 INFO L130 BoogieDeclarations]: Found specification of procedure read~int#4 [2025-02-08 14:03:01,356 INFO L130 BoogieDeclarations]: Found specification of procedure read~int#5 [2025-02-08 14:03:01,356 INFO L130 BoogieDeclarations]: Found specification of procedure read~int#6 [2025-02-08 14:03:01,356 INFO L130 BoogieDeclarations]: Found specification of procedure #Ultimate.allocOnHeap [2025-02-08 14:03:01,356 INFO L130 BoogieDeclarations]: Found specification of procedure whoop_wrapper_nvram_unlocked_ioctl [2025-02-08 14:03:01,356 INFO L138 BoogieDeclarations]: Found implementation of procedure whoop_wrapper_nvram_unlocked_ioctl [2025-02-08 14:03:01,356 INFO L130 BoogieDeclarations]: Found specification of procedure #Ultimate.allocInit [2025-02-08 14:03:01,357 INFO L130 BoogieDeclarations]: Found specification of procedure ULTIMATE.start [2025-02-08 14:03:01,357 INFO L138 BoogieDeclarations]: Found implementation of procedure ULTIMATE.start [2025-02-08 14:03:01,357 INFO L130 BoogieDeclarations]: Found specification of procedure write~int#0 [2025-02-08 14:03:01,357 INFO L130 BoogieDeclarations]: Found specification of procedure write~int#1 [2025-02-08 14:03:01,357 INFO L130 BoogieDeclarations]: Found specification of procedure write~int#2 [2025-02-08 14:03:01,357 INFO L130 BoogieDeclarations]: Found specification of procedure write~int#3 [2025-02-08 14:03:01,357 INFO L130 BoogieDeclarations]: Found specification of procedure write~int#4 [2025-02-08 14:03:01,357 INFO L130 BoogieDeclarations]: Found specification of procedure write~int#5 [2025-02-08 14:03:01,357 INFO L130 BoogieDeclarations]: Found specification of procedure write~int#6 [2025-02-08 14:03:01,358 INFO L130 BoogieDeclarations]: Found specification of procedure whoop_wrapper_read_nvram [2025-02-08 14:03:01,358 INFO L138 BoogieDeclarations]: Found implementation of procedure whoop_wrapper_read_nvram [2025-02-08 14:03:01,358 INFO L130 BoogieDeclarations]: Found specification of procedure __VERIFIER_atomic_begin [2025-02-08 14:03:01,358 INFO L130 BoogieDeclarations]: Found specification of procedure __VERIFIER_atomic_end [2025-02-08 14:03:01,358 INFO L130 BoogieDeclarations]: Found specification of procedure write~init~$Pointer$#0 [2025-02-08 14:03:01,359 INFO L130 BoogieDeclarations]: Found specification of procedure write~init~$Pointer$#1 [2025-02-08 14:03:01,359 INFO L130 BoogieDeclarations]: Found specification of procedure write~init~$Pointer$#2 [2025-02-08 14:03:01,359 INFO L130 BoogieDeclarations]: Found specification of procedure write~init~$Pointer$#3 [2025-02-08 14:03:01,359 INFO L130 BoogieDeclarations]: Found specification of procedure write~init~$Pointer$#4 [2025-02-08 14:03:01,359 INFO L130 BoogieDeclarations]: Found specification of procedure write~init~$Pointer$#5 [2025-02-08 14:03:01,359 INFO L130 BoogieDeclarations]: Found specification of procedure write~init~$Pointer$#6 [2025-02-08 14:03:01,359 INFO L130 BoogieDeclarations]: Found specification of procedure write~init~int#0 [2025-02-08 14:03:01,361 INFO L130 BoogieDeclarations]: Found specification of procedure write~init~int#1 [2025-02-08 14:03:01,362 INFO L130 BoogieDeclarations]: Found specification of procedure write~init~int#2 [2025-02-08 14:03:01,362 INFO L130 BoogieDeclarations]: Found specification of procedure write~init~int#3 [2025-02-08 14:03:01,362 INFO L130 BoogieDeclarations]: Found specification of procedure write~init~int#4 [2025-02-08 14:03:01,362 INFO L130 BoogieDeclarations]: Found specification of procedure write~init~int#5 [2025-02-08 14:03:01,362 INFO L130 BoogieDeclarations]: Found specification of procedure write~init~int#6 [2025-02-08 14:03:01,364 WARN L227 CfgBuilder]: User set CodeBlockSize to SequenceOfStatements but program contains fork statements. Overwriting the user preferences and setting CodeBlockSize to OneNontrivialStatement. [2025-02-08 14:03:01,802 INFO L257 CfgBuilder]: Building ICFG [2025-02-08 14:03:01,804 INFO L287 CfgBuilder]: Building CFG for each procedure with an implementation [2025-02-08 14:03:02,013 INFO L1324 $ProcedureCfgBuilder]: dead code at ProgramPoint L6724-6: havoc __put_user_#in~arg0#1, __put_user_#in~arg1#1.base, __put_user_#in~arg1#1.offset; [2025-02-08 14:03:02,013 INFO L1324 $ProcedureCfgBuilder]: dead code at ProgramPoint L6724-5: assume { :end_inline___put_user } true;assume -2147483648 <= read_nvram_#t~ret1099#1 && read_nvram_#t~ret1099#1 <= 2147483647; [2025-02-08 14:03:02,013 INFO L1324 $ProcedureCfgBuilder]: dead code at ProgramPoint L6724-4: havoc read_nvram_#t~ret1098#1; [2025-02-08 14:03:02,013 INFO L1324 $ProcedureCfgBuilder]: dead code at ProgramPoint L6724-3: havoc read_nvram_#t~ret1098#1; [2025-02-08 14:03:02,013 INFO L1324 $ProcedureCfgBuilder]: dead code at ProgramPoint L6724-10: havoc __put_user_#res#1; [2025-02-08 14:03:02,013 INFO L1324 $ProcedureCfgBuilder]: dead code at ProgramPoint L6724-9: havoc __put_user_#t~nondet1063#1, __put_user_~arg0#1, __put_user_~arg1#1.base, __put_user_~arg1#1.offset; [2025-02-08 14:03:02,014 INFO L1324 $ProcedureCfgBuilder]: dead code at ProgramPoint L6724-8: read_nvram_#t~ret1099#1 := __put_user_#res#1; [2025-02-08 14:03:02,014 INFO L1324 $ProcedureCfgBuilder]: dead code at ProgramPoint L6724-7: havoc __put_user_#t~nondet1063#1, __put_user_~arg0#1, __put_user_~arg1#1.base, __put_user_~arg1#1.offset; [2025-02-08 14:03:02,014 INFO L1324 $ProcedureCfgBuilder]: dead code at ProgramPoint L6724-14: read_nvram_#t~ret1098#1 := nvram_read_byte_#res#1; [2025-02-08 14:03:02,014 INFO L1324 $ProcedureCfgBuilder]: dead code at ProgramPoint L6724-13: havoc nvram_read_byte_#t~nondet1081#1, nvram_read_byte_~arg0#1; [2025-02-08 14:03:02,014 INFO L1324 $ProcedureCfgBuilder]: dead code at ProgramPoint L6551: havoc access_ok_#t~nondet1065#1; [2025-02-08 14:03:02,014 INFO L1324 $ProcedureCfgBuilder]: dead code at ProgramPoint L6724-12: havoc nvram_read_byte_#in~arg0#1; [2025-02-08 14:03:02,014 INFO L1324 $ProcedureCfgBuilder]: dead code at ProgramPoint L6724-11: assume { :end_inline_nvram_read_byte } true;assume { :begin_inline___put_user } true;__put_user_#in~arg0#1, __put_user_#in~arg1#1.base, __put_user_#in~arg1#1.offset := (if read_nvram_#t~ret1098#1 % 256 % 4294967296 <= 2147483647 then read_nvram_#t~ret1098#1 % 256 % 4294967296 else read_nvram_#t~ret1098#1 % 256 % 4294967296 - 4294967296), read_nvram_~p~1#1.base, read_nvram_~p~1#1.offset; [2025-02-08 14:03:02,014 INFO L1324 $ProcedureCfgBuilder]: dead code at ProgramPoint L6543: havoc __put_user_#t~nondet1063#1; [2025-02-08 14:03:02,015 INFO L1324 $ProcedureCfgBuilder]: dead code at ProgramPoint L6543-5: havoc __put_user_#t~nondet1063#1; [2025-02-08 14:03:02,015 INFO L1324 $ProcedureCfgBuilder]: dead code at ProgramPoint L6543-4: assume -2147483648 <= __put_user_#t~nondet1063#1 && __put_user_#t~nondet1063#1 <= 2147483647; [2025-02-08 14:03:02,015 INFO L1324 $ProcedureCfgBuilder]: dead code at ProgramPoint L6543-3: __put_user_#res#1 := __put_user_#t~nondet1063#1; [2025-02-08 14:03:02,015 INFO L1324 $ProcedureCfgBuilder]: dead code at ProgramPoint L6543-2: havoc __put_user_#t~nondet1063#1; [2025-02-08 14:03:02,015 INFO L1324 $ProcedureCfgBuilder]: dead code at ProgramPoint L6725-1: read_nvram_#res#1 := -14; [2025-02-08 14:03:02,015 INFO L1324 $ProcedureCfgBuilder]: dead code at ProgramPoint L6636: havoc nvram_read_byte_#t~nondet1081#1; [2025-02-08 14:03:02,015 INFO L1324 $ProcedureCfgBuilder]: dead code at ProgramPoint L6723-1: havoc read_nvram_#t~pre1102#1; [2025-02-08 14:03:02,015 INFO L1324 $ProcedureCfgBuilder]: dead code at ProgramPoint L6723-5: read_nvram_~p~1#1.base, read_nvram_~p~1#1.offset := read_nvram_~p~1#1.base, 1 + read_nvram_~p~1#1.offset; [2025-02-08 14:03:02,015 INFO L1324 $ProcedureCfgBuilder]: dead code at ProgramPoint L6723-4: havoc read_nvram_#t~pre1101#1.base, read_nvram_#t~pre1101#1.offset; [2025-02-08 14:03:02,016 INFO L1324 $ProcedureCfgBuilder]: dead code at ProgramPoint L6723-3: read_nvram_#t~pre1102#1 := read_nvram_~count#1 - 1; [2025-02-08 14:03:02,016 INFO L1324 $ProcedureCfgBuilder]: dead code at ProgramPoint L6723-2: read_nvram_~count#1 := read_nvram_~count#1 - 1; [2025-02-08 14:03:02,016 INFO L1324 $ProcedureCfgBuilder]: dead code at ProgramPoint L6723-9: read_nvram_#t~pre1100#1 := 1 + read_nvram_~i~1#1; [2025-02-08 14:03:02,016 INFO L1324 $ProcedureCfgBuilder]: dead code at ProgramPoint L6723-8: read_nvram_~i~1#1 := 1 + read_nvram_~i~1#1; [2025-02-08 14:03:02,016 INFO L1324 $ProcedureCfgBuilder]: dead code at ProgramPoint L6723-7: havoc read_nvram_#t~pre1100#1; [2025-02-08 14:03:02,016 INFO L1324 $ProcedureCfgBuilder]: dead code at ProgramPoint L6723-6: read_nvram_#t~pre1101#1.base, read_nvram_#t~pre1101#1.offset := read_nvram_~p~1#1.base, 1 + read_nvram_~p~1#1.offset; [2025-02-08 14:03:02,016 INFO L1324 $ProcedureCfgBuilder]: dead code at ProgramPoint L6542: __put_user_~arg1#1.base, __put_user_~arg1#1.offset := __put_user_#in~arg1#1.base, __put_user_#in~arg1#1.offset; [2025-02-08 14:03:02,016 INFO L1324 $ProcedureCfgBuilder]: dead code at ProgramPoint L6542-1: __put_user_~arg0#1 := __put_user_#in~arg0#1; [2025-02-08 14:03:02,016 INFO L1324 $ProcedureCfgBuilder]: dead code at ProgramPoint L6724-2: assume 0 != read_nvram_#t~ret1099#1; [2025-02-08 14:03:02,017 INFO L1324 $ProcedureCfgBuilder]: dead code at ProgramPoint L6724-2: assume !(0 != read_nvram_#t~ret1099#1); [2025-02-08 14:03:02,017 INFO L1324 $ProcedureCfgBuilder]: dead code at ProgramPoint L6724-1: havoc read_nvram_#t~ret1099#1; [2025-02-08 14:03:02,017 INFO L1324 $ProcedureCfgBuilder]: dead code at ProgramPoint L6724: havoc read_nvram_#t~ret1099#1; [2025-02-08 14:03:02,304 INFO L1324 $ProcedureCfgBuilder]: dead code at ProgramPoint L6632: havoc nvram_get_size_#t~nondet1080#1; [2025-02-08 14:03:02,305 INFO L1324 $ProcedureCfgBuilder]: dead code at ProgramPoint L6650: havoc printk_#t~nondet1083#1; [2025-02-08 14:03:02,305 INFO L1324 $ProcedureCfgBuilder]: dead code at ProgramPoint L6624: havoc misc_register_#t~nondet1078#1; [2025-02-08 14:03:02,376 INFO L1324 $ProcedureCfgBuilder]: dead code at ProgramPoint L6753: assume { :end_inline_nvram_sync } true; [2025-02-08 14:03:02,377 INFO L304 CfgBuilder]: Omitted future-live optimization because the input is a concurrent program. [2025-02-08 14:03:02,377 INFO L308 CfgBuilder]: Performing block encoding [2025-02-08 14:03:02,960 INFO L332 CfgBuilder]: Using the 1 location(s) as analysis (start of procedure ULTIMATE.start) [2025-02-08 14:03:02,960 INFO L337 CfgBuilder]: Removed 0 assume(true) statements. [2025-02-08 14:03:02,961 INFO L201 PluginConnector]: Adding new model de.uni_freiburg.informatik.ultimate.plugins.generator.icfgbuilder CFG 08.02 02:03:02 BoogieIcfgContainer [2025-02-08 14:03:02,961 INFO L131 PluginConnector]: ------------------------ END IcfgBuilder---------------------------- [2025-02-08 14:03:02,963 INFO L112 PluginConnector]: ------------------------TraceAbstraction---------------------------- [2025-02-08 14:03:02,963 INFO L270 PluginConnector]: Initializing TraceAbstraction... [2025-02-08 14:03:02,967 INFO L274 PluginConnector]: TraceAbstraction initialized [2025-02-08 14:03:02,968 INFO L184 PluginConnector]: Executing the observer TraceAbstractionObserver from plugin TraceAbstraction for "CDTParser AST 08.02 02:02:53" (1/3) ... [2025-02-08 14:03:02,968 INFO L204 PluginConnector]: Invalid model from TraceAbstraction for observer de.uni_freiburg.informatik.ultimate.plugins.generator.traceabstraction.TraceAbstractionObserver@34581744 and model type de.uni_freiburg.informatik.ultimate.plugins.generator.traceabstraction AST 08.02 02:03:02, skipping insertion in model container [2025-02-08 14:03:02,968 INFO L184 PluginConnector]: Executing the observer TraceAbstractionObserver from plugin TraceAbstraction for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 08.02 02:03:01" (2/3) ... [2025-02-08 14:03:02,969 INFO L204 PluginConnector]: Invalid model from TraceAbstraction for observer de.uni_freiburg.informatik.ultimate.plugins.generator.traceabstraction.TraceAbstractionObserver@34581744 and model type de.uni_freiburg.informatik.ultimate.plugins.generator.traceabstraction AST 08.02 02:03:02, skipping insertion in model container [2025-02-08 14:03:02,969 INFO L184 PluginConnector]: Executing the observer TraceAbstractionObserver from plugin TraceAbstraction for "de.uni_freiburg.informatik.ultimate.plugins.generator.icfgbuilder CFG 08.02 02:03:02" (3/3) ... [2025-02-08 14:03:02,970 INFO L128 eAbstractionObserver]: Analyzing ICFG char_generic_nvram_read_nvram_nvram_unlocked_ioctl.i [2025-02-08 14:03:02,986 INFO L216 ceAbstractionStarter]: Automizer settings: Hoare:LoopHeads NWA Interpolation:FPandBP Determinization: PREDICATE_ABSTRACTION [2025-02-08 14:03:02,990 INFO L151 ceAbstractionStarter]: Applying trace abstraction to ICFG char_generic_nvram_read_nvram_nvram_unlocked_ioctl.i that has 3 procedures, 28 locations, 1 initial locations, 1 loop locations, and 0 error locations. [2025-02-08 14:03:02,992 INFO L204 PluginConnector]: Invalid model from TraceAbstraction for observer de.uni_freiburg.informatik.ultimate.plugins.generator.traceabstraction.TraceAbstractionObserver@34581744 and model type de.uni_freiburg.informatik.ultimate.plugins.generator.traceabstraction CFG 08.02 02:03:02, skipping insertion in model container [2025-02-08 14:03:02,992 INFO L131 PluginConnector]: ------------------------ END TraceAbstraction---------------------------- [2025-02-08 14:03:02,993 INFO L112 PluginConnector]: ------------------------Witness Printer---------------------------- [2025-02-08 14:03:02,994 INFO L270 PluginConnector]: Initializing Witness Printer... [2025-02-08 14:03:02,994 INFO L274 PluginConnector]: Witness Printer initialized [2025-02-08 14:03:02,994 INFO L184 PluginConnector]: Executing the observer RCFGCatcher from plugin Witness Printer for "de.uni_freiburg.informatik.ultimate.plugins.generator.icfgbuilder CFG 08.02 02:03:02" (3/3) ... [2025-02-08 14:03:02,996 INFO L146 WitnessPrinter]: Generating witness for correct program [2025-02-08 14:03:02,999 INFO L385 IcfgBacktranslator]: Ignoring RootEdge to procedure whoop_wrapper_read_nvram [2025-02-08 14:03:02,999 INFO L385 IcfgBacktranslator]: Ignoring RootEdge to procedure whoop_wrapper_nvram_unlocked_ioctl [2025-02-08 14:03:03,009 INFO L919 BoogieBacktranslator]: Reduced CFG by removing 196 nodes and edges [2025-02-08 14:03:03,010 INFO L919 BoogieBacktranslator]: Reduced CFG by removing 47 nodes and edges [2025-02-08 14:03:03,011 INFO L919 BoogieBacktranslator]: Reduced CFG by removing 14 nodes and edges [2025-02-08 14:03:03,011 INFO L919 BoogieBacktranslator]: Reduced CFG by removing 5 nodes and edges [2025-02-08 14:03:03,012 INFO L919 BoogieBacktranslator]: Reduced CFG by removing 1 nodes and edges [2025-02-08 14:03:03,012 INFO L919 BoogieBacktranslator]: Reduced CFG by removing 1 nodes and edges [2025-02-08 14:03:03,102 INFO L149 WitnessManager]: Wrote witness to /storage/repos/ultimate-jdk21/releaseScripts/default/UAutomizer-linux/witness.graphml [2025-02-08 14:03:03,103 INFO L149 WitnessManager]: Wrote witness to /storage/repos/ultimate-jdk21/releaseScripts/default/UAutomizer-linux/witness.yml [2025-02-08 14:03:03,103 INFO L131 PluginConnector]: ------------------------ END Witness Printer---------------------------- [2025-02-08 14:03:03,106 INFO L158 Benchmark]: Toolchain (without parser) took 9179.93ms. Allocated memory was 142.6MB in the beginning and 260.0MB in the end (delta: 117.4MB). Free memory was 102.7MB in the beginning and 130.0MB in the end (delta: -27.3MB). Peak memory consumption was 87.2MB. Max. memory is 16.1GB. [2025-02-08 14:03:03,106 INFO L158 Benchmark]: CDTParser took 0.37ms. Allocated memory is still 201.3MB. Free memory is still 123.6MB. There was no memory consumed. Max. memory is 16.1GB. [2025-02-08 14:03:03,106 INFO L158 Benchmark]: CACSL2BoogieTranslator took 7088.28ms. Allocated memory was 142.6MB in the beginning and 151.0MB in the end (delta: 8.4MB). Free memory was 102.7MB in the beginning and 46.8MB in the end (delta: 55.9MB). Peak memory consumption was 116.5MB. Max. memory is 16.1GB. [2025-02-08 14:03:03,107 INFO L158 Benchmark]: Boogie Procedure Inliner took 161.14ms. Allocated memory was 151.0MB in the beginning and 260.0MB in the end (delta: 109.1MB). Free memory was 46.8MB in the beginning and 193.9MB in the end (delta: -147.2MB). Peak memory consumption was 11.2MB. Max. memory is 16.1GB. [2025-02-08 14:03:03,107 INFO L158 Benchmark]: Boogie Preprocessor took 109.04ms. Allocated memory is still 260.0MB. Free memory was 193.9MB in the beginning and 188.4MB in the end (delta: 5.6MB). Peak memory consumption was 8.4MB. Max. memory is 16.1GB. [2025-02-08 14:03:03,107 INFO L158 Benchmark]: IcfgBuilder took 1674.97ms. Allocated memory is still 260.0MB. Free memory was 188.4MB in the beginning and 141.0MB in the end (delta: 47.4MB). Peak memory consumption was 143.9MB. Max. memory is 16.1GB. [2025-02-08 14:03:03,107 INFO L158 Benchmark]: TraceAbstraction took 29.29ms. Allocated memory is still 260.0MB. Free memory was 138.4MB in the beginning and 138.4MB in the end (delta: 20.3kB). There was no memory consumed. Max. memory is 16.1GB. [2025-02-08 14:03:03,108 INFO L158 Benchmark]: Witness Printer took 109.96ms. Allocated memory is still 260.0MB. Free memory was 138.4MB in the beginning and 130.0MB in the end (delta: 8.4MB). Peak memory consumption was 8.4MB. Max. memory is 16.1GB. [2025-02-08 14:03:03,112 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.37ms. Allocated memory is still 201.3MB. Free memory is still 123.6MB. There was no memory consumed. Max. memory is 16.1GB. * CACSL2BoogieTranslator took 7088.28ms. Allocated memory was 142.6MB in the beginning and 151.0MB in the end (delta: 8.4MB). Free memory was 102.7MB in the beginning and 46.8MB in the end (delta: 55.9MB). Peak memory consumption was 116.5MB. Max. memory is 16.1GB. * Boogie Procedure Inliner took 161.14ms. Allocated memory was 151.0MB in the beginning and 260.0MB in the end (delta: 109.1MB). Free memory was 46.8MB in the beginning and 193.9MB in the end (delta: -147.2MB). Peak memory consumption was 11.2MB. Max. memory is 16.1GB. * Boogie Preprocessor took 109.04ms. Allocated memory is still 260.0MB. Free memory was 193.9MB in the beginning and 188.4MB in the end (delta: 5.6MB). Peak memory consumption was 8.4MB. Max. memory is 16.1GB. * IcfgBuilder took 1674.97ms. Allocated memory is still 260.0MB. Free memory was 188.4MB in the beginning and 141.0MB in the end (delta: 47.4MB). Peak memory consumption was 143.9MB. Max. memory is 16.1GB. * TraceAbstraction took 29.29ms. Allocated memory is still 260.0MB. Free memory was 138.4MB in the beginning and 138.4MB in the end (delta: 20.3kB). There was no memory consumed. Max. memory is 16.1GB. * Witness Printer took 109.96ms. Allocated memory is still 260.0MB. Free memory was 138.4MB in the beginning and 130.0MB in the end (delta: 8.4MB). Peak memory consumption was 8.4MB. Max. memory is 16.1GB. * Results from de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator: - GenericResultAtLocation [Line: 3228]: Unsoundness Warning Ignoring inline assembler instruction C: asm volatile ("" "xchg" "b %b0, %1\n" : "+q" (__ret), "+m" (*((&head->first))) : : "memory", "cc"); [3228] - GenericResultAtLocation [Line: 3228]: Unsoundness Warning Ignoring inline assembler instruction C: asm volatile ("" "xchg" "w %w0, %1\n" : "+r" (__ret), "+m" (*((&head->first))) : : "memory", "cc"); [3228] - GenericResultAtLocation [Line: 3228]: Unsoundness Warning Ignoring inline assembler instruction C: asm volatile ("" "xchg" "l %0, %1\n" : "+r" (__ret), "+m" (*((&head->first))) : : "memory", "cc"); [3228] - GenericResultAtLocation [Line: 3228]: Unsoundness Warning Ignoring inline assembler instruction C: asm volatile ("" "xchg" "q %q0, %1\n" : "+r" (__ret), "+m" (*((&head->first))) : : "memory", "cc"); [3228] - GenericResultAtLocation [Line: 5817]: Unsoundness Warning Ignoring inline assembler instruction C: asm volatile("ud2"); [5817] * Results from de.uni_freiburg.informatik.ultimate.plugins.generator.traceabstraction: - AllSpecificationsHoldResult: All specifications hold We were not able to verify any specification because the program does not contain any specification. RESULT: Ultimate proved your program to be correct! [2025-02-08 14:03:03,129 INFO L552 MonitoredProcess]: [MP /storage/repos/ultimate-jdk21/releaseScripts/default/UAutomizer-linux/z3 SMTLIB2_COMPLIANT=true -memory:2024 -smt2 -in -t:4000 (1)] Ended with exit code 0 Received shutdown request... --- End real Ultimate output --- Execution finished normally Writing output log to file Ultimate.log Result: TRUE