./Ultimate.py --spec ../../sv-benchmarks/c/properties/valid-memsafety.prp --file ../../sv-benchmarks/c/pthread/twostage_3-2.i --full-output --architecture 32bit -------------------------------------------------------------------------------- Checking for memory safety (deref-memtrack) Using default analysis Version 9bd2c7ff Calling Ultimate with: /usr/lib/jvm/java-1.11.0-openjdk-amd64/bin/java -Dosgi.configuration.area=/tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_0e5052bc-d9df-4446-bc7c-6e62cb2c76ab/bin/uautomizer-verify-uCwYo4JHxu/data/config -Xmx15G -Xms4m -jar /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_0e5052bc-d9df-4446-bc7c-6e62cb2c76ab/bin/uautomizer-verify-uCwYo4JHxu/plugins/org.eclipse.equinox.launcher_1.5.800.v20200727-1323.jar -data @noDefault -ultimatedata /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_0e5052bc-d9df-4446-bc7c-6e62cb2c76ab/bin/uautomizer-verify-uCwYo4JHxu/data -tc /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_0e5052bc-d9df-4446-bc7c-6e62cb2c76ab/bin/uautomizer-verify-uCwYo4JHxu/config/AutomizerMemDerefMemtrack.xml -i ../../sv-benchmarks/c/pthread/twostage_3-2.i -s /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_0e5052bc-d9df-4446-bc7c-6e62cb2c76ab/bin/uautomizer-verify-uCwYo4JHxu/config/svcomp-DerefFreeMemtrack-32bit-Automizer_Default.epf --cacsl2boogietranslator.entry.function main --witnessprinter.witness.directory /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_0e5052bc-d9df-4446-bc7c-6e62cb2c76ab/bin/uautomizer-verify-uCwYo4JHxu --witnessprinter.witness.filename witness --witnessprinter.write.witness.besides.input.file false --witnessprinter.graph.data.specification CHECK( init(main()), LTL(G valid-free) ) CHECK( init(main()), LTL(G valid-deref) ) CHECK( init(main()), LTL(G valid-memtrack) ) --witnessprinter.graph.data.producer Automizer --witnessprinter.graph.data.architecture 32bit --witnessprinter.graph.data.programhash 0db6974abead9f0b145be669e8625acba9e17feac06fbf7c6b45d50c107fdab8 --- Real Ultimate output --- This is Ultimate 0.2.3-dev-9bd2c7f [2023-11-19 07:56:48,258 INFO L188 SettingsManager]: Resetting all preferences to default values... [2023-11-19 07:56:48,360 INFO L114 SettingsManager]: Loading settings from /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_0e5052bc-d9df-4446-bc7c-6e62cb2c76ab/bin/uautomizer-verify-uCwYo4JHxu/config/svcomp-DerefFreeMemtrack-32bit-Automizer_Default.epf [2023-11-19 07:56:48,366 WARN L101 SettingsManager]: Preference file contains the following unknown settings: [2023-11-19 07:56:48,367 WARN L103 SettingsManager]: * de.uni_freiburg.informatik.ultimate.core.Log level for class [2023-11-19 07:56:48,393 INFO L130 SettingsManager]: Preferences different from defaults after loading the file: [2023-11-19 07:56:48,394 INFO L151 SettingsManager]: Preferences of UltimateCore differ from their defaults: [2023-11-19 07:56:48,394 INFO L153 SettingsManager]: * Log level for class=de.uni_freiburg.informatik.ultimate.lib.smtlibutils.quantifier.QuantifierPusher=ERROR; [2023-11-19 07:56:48,395 INFO L151 SettingsManager]: Preferences of Boogie Procedure Inliner differ from their defaults: [2023-11-19 07:56:48,396 INFO L153 SettingsManager]: * Ignore calls to procedures called more than once=ONLY_FOR_SEQUENTIAL_PROGRAMS [2023-11-19 07:56:48,397 INFO L151 SettingsManager]: Preferences of BlockEncodingV2 differ from their defaults: [2023-11-19 07:56:48,398 INFO L153 SettingsManager]: * Create parallel compositions if possible=false [2023-11-19 07:56:48,398 INFO L153 SettingsManager]: * Use SBE=true [2023-11-19 07:56:48,399 INFO L151 SettingsManager]: Preferences of CACSL2BoogieTranslator differ from their defaults: [2023-11-19 07:56:48,400 INFO L153 SettingsManager]: * sizeof long=4 [2023-11-19 07:56:48,401 INFO L153 SettingsManager]: * Overapproximate operations on floating types=true [2023-11-19 07:56:48,401 INFO L153 SettingsManager]: * sizeof POINTER=4 [2023-11-19 07:56:48,402 INFO L153 SettingsManager]: * Check division by zero=IGNORE [2023-11-19 07:56:48,402 INFO L153 SettingsManager]: * Check for the main procedure if all allocated memory was freed=true [2023-11-19 07:56:48,403 INFO L153 SettingsManager]: * Bitprecise bitfields=true [2023-11-19 07:56:48,403 INFO L153 SettingsManager]: * SV-COMP memtrack compatibility mode=true [2023-11-19 07:56:48,404 INFO L153 SettingsManager]: * If two pointers are subtracted or compared they have the same base address=IGNORE [2023-11-19 07:56:48,405 INFO L153 SettingsManager]: * Adapt memory model on pointer casts if necessary=true [2023-11-19 07:56:48,405 INFO L153 SettingsManager]: * Check unreachability of reach_error function=false [2023-11-19 07:56:48,406 INFO L153 SettingsManager]: * sizeof long double=12 [2023-11-19 07:56:48,406 INFO L153 SettingsManager]: * Use constant arrays=true [2023-11-19 07:56:48,407 INFO L151 SettingsManager]: Preferences of RCFGBuilder differ from their defaults: [2023-11-19 07:56:48,407 INFO L153 SettingsManager]: * Size of a code block=SequenceOfStatements [2023-11-19 07:56:48,408 INFO L153 SettingsManager]: * SMT solver=External_DefaultMode [2023-11-19 07:56:48,408 INFO L153 SettingsManager]: * Command for external solver=z3 SMTLIB2_COMPLIANT=true -memory:2024 -smt2 -in -t:2000 [2023-11-19 07:56:48,409 INFO L151 SettingsManager]: Preferences of TraceAbstraction differ from their defaults: [2023-11-19 07:56:48,409 INFO L153 SettingsManager]: * Compute Interpolants along a Counterexample=FPandBP [2023-11-19 07:56:48,410 INFO L153 SettingsManager]: * Trace refinement strategy=CAMEL [2023-11-19 07:56:48,410 INFO L153 SettingsManager]: * Command for external solver=z3 SMTLIB2_COMPLIANT=true -memory:2024 -smt2 -in [2023-11-19 07:56:48,411 INFO L153 SettingsManager]: * Automaton type used in concurrency analysis=PETRI_NET [2023-11-19 07:56:48,411 INFO L153 SettingsManager]: * Order on configurations for Petri net unfoldings=DBO [2023-11-19 07:56:48,412 INFO L153 SettingsManager]: * SMT solver=External_ModelsAndUnsatCoreMode [2023-11-19 07:56:48,412 INFO L153 SettingsManager]: * Independence relation used for large block encoding in concurrent analysis=SYNTACTIC [2023-11-19 07:56:48,413 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:/tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_0e5052bc-d9df-4446-bc7c-6e62cb2c76ab/bin/uautomizer-verify-uCwYo4JHxu/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.witnessprinter: Witness directory -> /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_0e5052bc-d9df-4446-bc7c-6e62cb2c76ab/bin/uautomizer-verify-uCwYo4JHxu 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 valid-free) ) CHECK( init(main()), LTL(G valid-deref) ) CHECK( init(main()), LTL(G valid-memtrack) ) 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 -> 0db6974abead9f0b145be669e8625acba9e17feac06fbf7c6b45d50c107fdab8 [2023-11-19 07:56:48,655 INFO L75 nceAwareModelManager]: Repository-Root is: /tmp [2023-11-19 07:56:48,681 INFO L261 ainManager$Toolchain]: [Toolchain 1]: Applicable parser(s) successfully (re)initialized [2023-11-19 07:56:48,685 INFO L217 ainManager$Toolchain]: [Toolchain 1]: Toolchain selected. [2023-11-19 07:56:48,687 INFO L270 PluginConnector]: Initializing CDTParser... [2023-11-19 07:56:48,688 INFO L274 PluginConnector]: CDTParser initialized [2023-11-19 07:56:48,689 INFO L431 ainManager$Toolchain]: [Toolchain 1]: Parsing single file: /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_0e5052bc-d9df-4446-bc7c-6e62cb2c76ab/bin/uautomizer-verify-uCwYo4JHxu/../../sv-benchmarks/c/pthread/twostage_3-2.i [2023-11-19 07:56:51,776 INFO L533 CDTParser]: Created temporary CDT project at NULL [2023-11-19 07:56:52,212 INFO L384 CDTParser]: Found 1 translation units. [2023-11-19 07:56:52,213 INFO L180 CDTParser]: Scanning /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_0e5052bc-d9df-4446-bc7c-6e62cb2c76ab/sv-benchmarks/c/pthread/twostage_3-2.i [2023-11-19 07:56:52,248 INFO L427 CDTParser]: About to delete temporary CDT project at /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_0e5052bc-d9df-4446-bc7c-6e62cb2c76ab/bin/uautomizer-verify-uCwYo4JHxu/data/e8900164a/499e979d316641b19f4584f275f067a0/FLAG3893569ec [2023-11-19 07:56:52,266 INFO L435 CDTParser]: Successfully deleted /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_0e5052bc-d9df-4446-bc7c-6e62cb2c76ab/bin/uautomizer-verify-uCwYo4JHxu/data/e8900164a/499e979d316641b19f4584f275f067a0 [2023-11-19 07:56:52,272 INFO L299 ainManager$Toolchain]: ####################### [Toolchain 1] ####################### [2023-11-19 07:56:52,274 INFO L133 ToolchainWalker]: Walking toolchain with 6 elements. [2023-11-19 07:56:52,275 INFO L112 PluginConnector]: ------------------------CACSL2BoogieTranslator---------------------------- [2023-11-19 07:56:52,275 INFO L270 PluginConnector]: Initializing CACSL2BoogieTranslator... [2023-11-19 07:56:52,291 INFO L274 PluginConnector]: CACSL2BoogieTranslator initialized [2023-11-19 07:56:52,296 INFO L184 PluginConnector]: Executing the observer ACSLObjectContainerObserver from plugin CACSL2BoogieTranslator for "CDTParser AST 19.11 07:56:52" (1/1) ... [2023-11-19 07:56:52,297 INFO L204 PluginConnector]: Invalid model from CACSL2BoogieTranslator for observer de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator.ACSLObjectContainerObserver@4b5249e3 and model type de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 19.11 07:56:52, skipping insertion in model container [2023-11-19 07:56:52,298 INFO L184 PluginConnector]: Executing the observer CACSL2BoogieTranslatorObserver from plugin CACSL2BoogieTranslator for "CDTParser AST 19.11 07:56:52" (1/1) ... [2023-11-19 07:56:52,362 INFO L177 MainTranslator]: Built tables and reachable declarations [2023-11-19 07:56:53,228 WARN L1588 CHandler]: Possible shadowing of function lock [2023-11-19 07:56:53,230 WARN L1588 CHandler]: Possible shadowing of function lock [2023-11-19 07:56:53,231 INFO L209 PostProcessor]: Analyzing one entry point: main [2023-11-19 07:56:53,247 ERROR L324 MainTranslator]: Unsupported Syntax: Found a cast between two array/pointer types of different sizes while using memory model HoenickeLindenmann_Original (while Not using bitvector translation) [2023-11-19 07:56:53,248 INFO L204 PluginConnector]: Invalid model from CACSL2BoogieTranslator for observer de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator.CACSL2BoogieTranslatorObserver@576a657 and model type de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 19.11 07:56:53, skipping insertion in model container [2023-11-19 07:56:53,249 INFO L131 PluginConnector]: ------------------------ END CACSL2BoogieTranslator---------------------------- [2023-11-19 07:56:53,249 INFO L186 ToolchainWalker]: Toolchain execution was canceled (user or tool) before executing de.uni_freiburg.informatik.ultimate.boogie.procedureinliner [2023-11-19 07:56:53,252 INFO L158 Benchmark]: Toolchain (without parser) took 976.71ms. Allocated memory is still 192.9MB. Free memory was 160.3MB in the beginning and 143.3MB in the end (delta: 17.0MB). Peak memory consumption was 16.8MB. Max. memory is 16.1GB. [2023-11-19 07:56:53,253 INFO L158 Benchmark]: CDTParser took 0.29ms. Allocated memory is still 123.7MB. Free memory was 82.2MB in the beginning and 82.0MB in the end (delta: 159.4kB). There was no memory consumed. Max. memory is 16.1GB. [2023-11-19 07:56:53,254 INFO L158 Benchmark]: CACSL2BoogieTranslator took 974.04ms. Allocated memory is still 192.9MB. Free memory was 160.3MB in the beginning and 143.3MB in the end (delta: 17.0MB). Peak memory consumption was 16.8MB. Max. memory is 16.1GB. [2023-11-19 07:56:53,256 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.29ms. Allocated memory is still 123.7MB. Free memory was 82.2MB in the beginning and 82.0MB in the end (delta: 159.4kB). There was no memory consumed. Max. memory is 16.1GB. * CACSL2BoogieTranslator took 974.04ms. Allocated memory is still 192.9MB. Free memory was 160.3MB in the beginning and 143.3MB in the end (delta: 17.0MB). Peak memory consumption was 16.8MB. Max. memory is 16.1GB. * Results from de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator: - UnsupportedSyntaxResult [Line: 1288]: Unsupported Syntax Found a cast between two array/pointer types of different sizes while using memory model HoenickeLindenmann_Original (while Not using bitvector translation) RESULT: Ultimate could not prove your program: Toolchain returned no result. Received shutdown request... --- End real Ultimate output --- Execution finished normally Using bit-precise analysis Retrying with bit-precise analysis ### Bit-precise run ### Calling Ultimate with: /usr/lib/jvm/java-1.11.0-openjdk-amd64/bin/java -Dosgi.configuration.area=/tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_0e5052bc-d9df-4446-bc7c-6e62cb2c76ab/bin/uautomizer-verify-uCwYo4JHxu/data/config -Xmx15G -Xms4m -jar /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_0e5052bc-d9df-4446-bc7c-6e62cb2c76ab/bin/uautomizer-verify-uCwYo4JHxu/plugins/org.eclipse.equinox.launcher_1.5.800.v20200727-1323.jar -data @noDefault -ultimatedata /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_0e5052bc-d9df-4446-bc7c-6e62cb2c76ab/bin/uautomizer-verify-uCwYo4JHxu/data -tc /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_0e5052bc-d9df-4446-bc7c-6e62cb2c76ab/bin/uautomizer-verify-uCwYo4JHxu/config/AutomizerMemDerefMemtrack.xml -i ../../sv-benchmarks/c/pthread/twostage_3-2.i -s /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_0e5052bc-d9df-4446-bc7c-6e62cb2c76ab/bin/uautomizer-verify-uCwYo4JHxu/config/svcomp-DerefFreeMemtrack-32bit-Automizer_Bitvector.epf --cacsl2boogietranslator.entry.function main --witnessprinter.witness.directory /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_0e5052bc-d9df-4446-bc7c-6e62cb2c76ab/bin/uautomizer-verify-uCwYo4JHxu --witnessprinter.witness.filename witness --witnessprinter.write.witness.besides.input.file false --witnessprinter.graph.data.specification CHECK( init(main()), LTL(G valid-free) ) CHECK( init(main()), LTL(G valid-deref) ) CHECK( init(main()), LTL(G valid-memtrack) ) --witnessprinter.graph.data.producer Automizer --witnessprinter.graph.data.architecture 32bit --witnessprinter.graph.data.programhash 0db6974abead9f0b145be669e8625acba9e17feac06fbf7c6b45d50c107fdab8 --- Real Ultimate output --- This is Ultimate 0.2.3-dev-9bd2c7f [2023-11-19 07:56:55,869 INFO L188 SettingsManager]: Resetting all preferences to default values... [2023-11-19 07:56:55,999 INFO L114 SettingsManager]: Loading settings from /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_0e5052bc-d9df-4446-bc7c-6e62cb2c76ab/bin/uautomizer-verify-uCwYo4JHxu/config/svcomp-DerefFreeMemtrack-32bit-Automizer_Bitvector.epf [2023-11-19 07:56:56,007 WARN L101 SettingsManager]: Preference file contains the following unknown settings: [2023-11-19 07:56:56,008 WARN L103 SettingsManager]: * de.uni_freiburg.informatik.ultimate.core.Log level for class [2023-11-19 07:56:56,063 INFO L130 SettingsManager]: Preferences different from defaults after loading the file: [2023-11-19 07:56:56,063 INFO L151 SettingsManager]: Preferences of UltimateCore differ from their defaults: [2023-11-19 07:56:56,064 INFO L153 SettingsManager]: * Log level for class=de.uni_freiburg.informatik.ultimate.lib.smtlibutils.quantifier.QuantifierPusher=ERROR; [2023-11-19 07:56:56,065 INFO L151 SettingsManager]: Preferences of Boogie Procedure Inliner differ from their defaults: [2023-11-19 07:56:56,070 INFO L153 SettingsManager]: * Ignore calls to procedures called more than once=ONLY_FOR_SEQUENTIAL_PROGRAMS [2023-11-19 07:56:56,071 INFO L151 SettingsManager]: Preferences of BlockEncodingV2 differ from their defaults: [2023-11-19 07:56:56,072 INFO L153 SettingsManager]: * Create parallel compositions if possible=false [2023-11-19 07:56:56,072 INFO L153 SettingsManager]: * Use SBE=true [2023-11-19 07:56:56,074 INFO L151 SettingsManager]: Preferences of CACSL2BoogieTranslator differ from their defaults: [2023-11-19 07:56:56,075 INFO L153 SettingsManager]: * sizeof long=4 [2023-11-19 07:56:56,075 INFO L153 SettingsManager]: * Overapproximate operations on floating types=true [2023-11-19 07:56:56,076 INFO L153 SettingsManager]: * sizeof POINTER=4 [2023-11-19 07:56:56,076 INFO L153 SettingsManager]: * Check division by zero=IGNORE [2023-11-19 07:56:56,077 INFO L153 SettingsManager]: * Check for the main procedure if all allocated memory was freed=true [2023-11-19 07:56:56,077 INFO L153 SettingsManager]: * Bitprecise bitfields=true [2023-11-19 07:56:56,078 INFO L153 SettingsManager]: * SV-COMP memtrack compatibility mode=true [2023-11-19 07:56:56,078 INFO L153 SettingsManager]: * If two pointers are subtracted or compared they have the same base address=IGNORE [2023-11-19 07:56:56,079 INFO L153 SettingsManager]: * Adapt memory model on pointer casts if necessary=true [2023-11-19 07:56:56,079 INFO L153 SettingsManager]: * Use bitvectors instead of ints=true [2023-11-19 07:56:56,080 INFO L153 SettingsManager]: * Memory model=HoenickeLindenmann_4ByteResolution [2023-11-19 07:56:56,080 INFO L153 SettingsManager]: * Check unreachability of reach_error function=false [2023-11-19 07:56:56,081 INFO L153 SettingsManager]: * sizeof long double=12 [2023-11-19 07:56:56,081 INFO L153 SettingsManager]: * Use constant arrays=true [2023-11-19 07:56:56,082 INFO L151 SettingsManager]: Preferences of RCFGBuilder differ from their defaults: [2023-11-19 07:56:56,083 INFO L153 SettingsManager]: * Size of a code block=SequenceOfStatements [2023-11-19 07:56:56,084 INFO L153 SettingsManager]: * SMT solver=External_DefaultMode [2023-11-19 07:56:56,085 INFO L153 SettingsManager]: * Command for external solver=z3 SMTLIB2_COMPLIANT=true -memory:2024 -smt2 -in -t:2000 [2023-11-19 07:56:56,085 INFO L151 SettingsManager]: Preferences of TraceAbstraction differ from their defaults: [2023-11-19 07:56:56,086 INFO L153 SettingsManager]: * Compute Interpolants along a Counterexample=FPandBP [2023-11-19 07:56:56,086 INFO L153 SettingsManager]: * Trace refinement strategy=WOLF [2023-11-19 07:56:56,086 INFO L153 SettingsManager]: * Command for external solver=cvc4 --incremental --print-success --lang smt [2023-11-19 07:56:56,087 INFO L153 SettingsManager]: * Automaton type used in concurrency analysis=PETRI_NET [2023-11-19 07:56:56,087 INFO L153 SettingsManager]: * Order on configurations for Petri net unfoldings=DBO [2023-11-19 07:56:56,087 INFO L153 SettingsManager]: * SMT solver=External_ModelsAndUnsatCoreMode [2023-11-19 07:56:56,088 INFO L153 SettingsManager]: * Logic for external solver=AUFBV [2023-11-19 07:56:56,089 INFO L153 SettingsManager]: * Independence relation used for large block encoding in concurrent analysis=SYNTACTIC [2023-11-19 07:56:56,089 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:/tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_0e5052bc-d9df-4446-bc7c-6e62cb2c76ab/bin/uautomizer-verify-uCwYo4JHxu/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.witnessprinter: Witness directory -> /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_0e5052bc-d9df-4446-bc7c-6e62cb2c76ab/bin/uautomizer-verify-uCwYo4JHxu 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 valid-free) ) CHECK( init(main()), LTL(G valid-deref) ) CHECK( init(main()), LTL(G valid-memtrack) ) 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 -> 0db6974abead9f0b145be669e8625acba9e17feac06fbf7c6b45d50c107fdab8 [2023-11-19 07:56:56,549 INFO L75 nceAwareModelManager]: Repository-Root is: /tmp [2023-11-19 07:56:56,572 INFO L261 ainManager$Toolchain]: [Toolchain 1]: Applicable parser(s) successfully (re)initialized [2023-11-19 07:56:56,575 INFO L217 ainManager$Toolchain]: [Toolchain 1]: Toolchain selected. [2023-11-19 07:56:56,576 INFO L270 PluginConnector]: Initializing CDTParser... [2023-11-19 07:56:56,577 INFO L274 PluginConnector]: CDTParser initialized [2023-11-19 07:56:56,578 INFO L431 ainManager$Toolchain]: [Toolchain 1]: Parsing single file: /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_0e5052bc-d9df-4446-bc7c-6e62cb2c76ab/bin/uautomizer-verify-uCwYo4JHxu/../../sv-benchmarks/c/pthread/twostage_3-2.i [2023-11-19 07:56:59,632 INFO L533 CDTParser]: Created temporary CDT project at NULL [2023-11-19 07:57:00,049 INFO L384 CDTParser]: Found 1 translation units. [2023-11-19 07:57:00,050 INFO L180 CDTParser]: Scanning /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_0e5052bc-d9df-4446-bc7c-6e62cb2c76ab/sv-benchmarks/c/pthread/twostage_3-2.i [2023-11-19 07:57:00,090 INFO L427 CDTParser]: About to delete temporary CDT project at /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_0e5052bc-d9df-4446-bc7c-6e62cb2c76ab/bin/uautomizer-verify-uCwYo4JHxu/data/c7abaf45e/5e88bb9c2b944cfd90674af4badaeecd/FLAG4a6267657 [2023-11-19 07:57:00,111 INFO L435 CDTParser]: Successfully deleted /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_0e5052bc-d9df-4446-bc7c-6e62cb2c76ab/bin/uautomizer-verify-uCwYo4JHxu/data/c7abaf45e/5e88bb9c2b944cfd90674af4badaeecd [2023-11-19 07:57:00,118 INFO L299 ainManager$Toolchain]: ####################### [Toolchain 1] ####################### [2023-11-19 07:57:00,120 INFO L133 ToolchainWalker]: Walking toolchain with 6 elements. [2023-11-19 07:57:00,124 INFO L112 PluginConnector]: ------------------------CACSL2BoogieTranslator---------------------------- [2023-11-19 07:57:00,125 INFO L270 PluginConnector]: Initializing CACSL2BoogieTranslator... [2023-11-19 07:57:00,130 INFO L274 PluginConnector]: CACSL2BoogieTranslator initialized [2023-11-19 07:57:00,131 INFO L184 PluginConnector]: Executing the observer ACSLObjectContainerObserver from plugin CACSL2BoogieTranslator for "CDTParser AST 19.11 07:57:00" (1/1) ... [2023-11-19 07:57:00,132 INFO L204 PluginConnector]: Invalid model from CACSL2BoogieTranslator for observer de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator.ACSLObjectContainerObserver@7ecc63c0 and model type de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 19.11 07:57:00, skipping insertion in model container [2023-11-19 07:57:00,132 INFO L184 PluginConnector]: Executing the observer CACSL2BoogieTranslatorObserver from plugin CACSL2BoogieTranslator for "CDTParser AST 19.11 07:57:00" (1/1) ... [2023-11-19 07:57:00,229 INFO L177 MainTranslator]: Built tables and reachable declarations [2023-11-19 07:57:01,144 WARN L1588 CHandler]: Possible shadowing of function lock [2023-11-19 07:57:01,148 WARN L1588 CHandler]: Possible shadowing of function lock [2023-11-19 07:57:01,151 INFO L209 PostProcessor]: Analyzing one entry point: main [2023-11-19 07:57:01,174 INFO L199 MainTranslator]: Restarting translation with changed settings: SettingsChange [mNewPreferredMemoryModel=HoenickeLindenmann_1ByteResolution] [2023-11-19 07:57:01,185 INFO L177 MainTranslator]: Built tables and reachable declarations [2023-11-19 07:57:01,256 WARN L1588 CHandler]: Possible shadowing of function lock [2023-11-19 07:57:01,257 WARN L1588 CHandler]: Possible shadowing of function lock [2023-11-19 07:57:01,258 INFO L209 PostProcessor]: Analyzing one entry point: main [2023-11-19 07:57:01,264 INFO L202 MainTranslator]: Completed pre-run [2023-11-19 07:57:01,324 WARN L1588 CHandler]: Possible shadowing of function lock [2023-11-19 07:57:01,328 WARN L1588 CHandler]: Possible shadowing of function lock [2023-11-19 07:57:01,329 INFO L209 PostProcessor]: Analyzing one entry point: main [2023-11-19 07:57:01,470 WARN L675 CHandler]: The function fprintf is called, but not defined or handled by StandardFunctionHandler. [2023-11-19 07:57:01,478 INFO L206 MainTranslator]: Completed translation [2023-11-19 07:57:01,480 INFO L201 PluginConnector]: Adding new model de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 19.11 07:57:01 WrapperNode [2023-11-19 07:57:01,480 INFO L131 PluginConnector]: ------------------------ END CACSL2BoogieTranslator---------------------------- [2023-11-19 07:57:01,481 INFO L112 PluginConnector]: ------------------------Boogie Procedure Inliner---------------------------- [2023-11-19 07:57:01,481 INFO L270 PluginConnector]: Initializing Boogie Procedure Inliner... [2023-11-19 07:57:01,482 INFO L274 PluginConnector]: Boogie Procedure Inliner initialized [2023-11-19 07:57:01,489 INFO L184 PluginConnector]: Executing the observer TypeChecker from plugin Boogie Procedure Inliner for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 19.11 07:57:01" (1/1) ... [2023-11-19 07:57:01,517 INFO L184 PluginConnector]: Executing the observer Inliner from plugin Boogie Procedure Inliner for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 19.11 07:57:01" (1/1) ... [2023-11-19 07:57:01,547 INFO L138 Inliner]: procedures = 378, calls = 61, calls flagged for inlining = 3, calls inlined = 3, statements flattened = 196 [2023-11-19 07:57:01,548 INFO L131 PluginConnector]: ------------------------ END Boogie Procedure Inliner---------------------------- [2023-11-19 07:57:01,548 INFO L112 PluginConnector]: ------------------------Boogie Preprocessor---------------------------- [2023-11-19 07:57:01,549 INFO L270 PluginConnector]: Initializing Boogie Preprocessor... [2023-11-19 07:57:01,549 INFO L274 PluginConnector]: Boogie Preprocessor initialized [2023-11-19 07:57:01,559 INFO L184 PluginConnector]: Executing the observer EnsureBoogieModelObserver from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 19.11 07:57:01" (1/1) ... [2023-11-19 07:57:01,560 INFO L184 PluginConnector]: Executing the observer TypeChecker from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 19.11 07:57:01" (1/1) ... [2023-11-19 07:57:01,583 INFO L184 PluginConnector]: Executing the observer ConstExpander from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 19.11 07:57:01" (1/1) ... [2023-11-19 07:57:01,583 INFO L184 PluginConnector]: Executing the observer StructExpander from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 19.11 07:57:01" (1/1) ... [2023-11-19 07:57:01,598 INFO L184 PluginConnector]: Executing the observer UnstructureCode from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 19.11 07:57:01" (1/1) ... [2023-11-19 07:57:01,604 INFO L184 PluginConnector]: Executing the observer FunctionInliner from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 19.11 07:57:01" (1/1) ... [2023-11-19 07:57:01,608 INFO L184 PluginConnector]: Executing the observer LTLStepAnnotator from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 19.11 07:57:01" (1/1) ... [2023-11-19 07:57:01,611 INFO L184 PluginConnector]: Executing the observer BoogieSymbolTableConstructor from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 19.11 07:57:01" (1/1) ... [2023-11-19 07:57:01,617 INFO L131 PluginConnector]: ------------------------ END Boogie Preprocessor---------------------------- [2023-11-19 07:57:01,618 INFO L112 PluginConnector]: ------------------------RCFGBuilder---------------------------- [2023-11-19 07:57:01,618 INFO L270 PluginConnector]: Initializing RCFGBuilder... [2023-11-19 07:57:01,618 INFO L274 PluginConnector]: RCFGBuilder initialized [2023-11-19 07:57:01,619 INFO L184 PluginConnector]: Executing the observer RCFGBuilderObserver from plugin RCFGBuilder for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 19.11 07:57:01" (1/1) ... [2023-11-19 07:57:01,633 INFO L173 SolverBuilder]: Constructing external solver with command: z3 SMTLIB2_COMPLIANT=true -memory:2024 -smt2 -in -t:2000 [2023-11-19 07:57:01,657 INFO L189 MonitoredProcess]: No working directory specified, using /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_0e5052bc-d9df-4446-bc7c-6e62cb2c76ab/bin/uautomizer-verify-uCwYo4JHxu/z3 [2023-11-19 07:57:01,667 INFO L229 MonitoredProcess]: Starting monitored process 1 with /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_0e5052bc-d9df-4446-bc7c-6e62cb2c76ab/bin/uautomizer-verify-uCwYo4JHxu/z3 SMTLIB2_COMPLIANT=true -memory:2024 -smt2 -in -t:2000 (exit command is (exit), workingDir is null) [2023-11-19 07:57:01,675 INFO L327 MonitoredProcess]: [MP /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_0e5052bc-d9df-4446-bc7c-6e62cb2c76ab/bin/uautomizer-verify-uCwYo4JHxu/z3 SMTLIB2_COMPLIANT=true -memory:2024 -smt2 -in -t:2000 (1)] Waiting until timeout for monitored process [2023-11-19 07:57:01,711 INFO L130 BoogieDeclarations]: Found specification of procedure read~intINTTYPE4 [2023-11-19 07:57:01,711 INFO L130 BoogieDeclarations]: Found specification of procedure funcA [2023-11-19 07:57:01,712 INFO L138 BoogieDeclarations]: Found implementation of procedure funcA [2023-11-19 07:57:01,712 INFO L130 BoogieDeclarations]: Found specification of procedure funcB [2023-11-19 07:57:01,712 INFO L138 BoogieDeclarations]: Found implementation of procedure funcB [2023-11-19 07:57:01,712 INFO L130 BoogieDeclarations]: Found specification of procedure fprintf [2023-11-19 07:57:01,712 INFO L130 BoogieDeclarations]: Found specification of procedure #Ultimate.allocOnStack [2023-11-19 07:57:01,713 INFO L130 BoogieDeclarations]: Found specification of procedure read~$Pointer$ [2023-11-19 07:57:01,713 INFO L130 BoogieDeclarations]: Found specification of procedure ULTIMATE.dealloc [2023-11-19 07:57:01,713 INFO L130 BoogieDeclarations]: Found specification of procedure write~intINTTYPE4 [2023-11-19 07:57:01,713 INFO L130 BoogieDeclarations]: Found specification of procedure write~init~intINTTYPE1 [2023-11-19 07:57:01,713 INFO L130 BoogieDeclarations]: Found specification of procedure write~init~intINTTYPE4 [2023-11-19 07:57:01,714 INFO L130 BoogieDeclarations]: Found specification of procedure #PthreadsMutexLock [2023-11-19 07:57:01,714 INFO L130 BoogieDeclarations]: Found specification of procedure #Ultimate.allocOnHeap [2023-11-19 07:57:01,715 INFO L130 BoogieDeclarations]: Found specification of procedure #Ultimate.allocInit [2023-11-19 07:57:01,715 INFO L130 BoogieDeclarations]: Found specification of procedure ULTIMATE.start [2023-11-19 07:57:01,715 INFO L138 BoogieDeclarations]: Found implementation of procedure ULTIMATE.start [2023-11-19 07:57:01,717 WARN L210 CfgBuilder]: User set CodeBlockSize to SequenceOfStatements but program contains fork statements. Overwriting the user preferences and setting CodeBlockSize to OneNontrivialStatement [2023-11-19 07:57:01,989 INFO L236 CfgBuilder]: Building ICFG [2023-11-19 07:57:01,991 INFO L262 CfgBuilder]: Building CFG for each procedure with an implementation [2023-11-19 07:57:02,738 INFO L277 CfgBuilder]: Performing block encoding [2023-11-19 07:57:02,753 INFO L297 CfgBuilder]: Using the 1 location(s) as analysis (start of procedure ULTIMATE.start) [2023-11-19 07:57:02,753 INFO L302 CfgBuilder]: Removed 4 assume(true) statements. [2023-11-19 07:57:02,762 INFO L201 PluginConnector]: Adding new model de.uni_freiburg.informatik.ultimate.plugins.generator.rcfgbuilder CFG 19.11 07:57:02 BoogieIcfgContainer [2023-11-19 07:57:02,764 INFO L131 PluginConnector]: ------------------------ END RCFGBuilder---------------------------- [2023-11-19 07:57:02,767 INFO L112 PluginConnector]: ------------------------TraceAbstraction---------------------------- [2023-11-19 07:57:02,767 INFO L270 PluginConnector]: Initializing TraceAbstraction... [2023-11-19 07:57:02,771 INFO L274 PluginConnector]: TraceAbstraction initialized [2023-11-19 07:57:02,771 INFO L184 PluginConnector]: Executing the observer TraceAbstractionObserver from plugin TraceAbstraction for "CDTParser AST 19.11 07:57:00" (1/3) ... [2023-11-19 07:57:02,772 INFO L204 PluginConnector]: Invalid model from TraceAbstraction for observer de.uni_freiburg.informatik.ultimate.plugins.generator.traceabstraction.TraceAbstractionObserver@62db3d1c and model type de.uni_freiburg.informatik.ultimate.plugins.generator.traceabstraction AST 19.11 07:57:02, skipping insertion in model container [2023-11-19 07:57:02,772 INFO L184 PluginConnector]: Executing the observer TraceAbstractionObserver from plugin TraceAbstraction for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 19.11 07:57:01" (2/3) ... [2023-11-19 07:57:02,774 INFO L204 PluginConnector]: Invalid model from TraceAbstraction for observer de.uni_freiburg.informatik.ultimate.plugins.generator.traceabstraction.TraceAbstractionObserver@62db3d1c and model type de.uni_freiburg.informatik.ultimate.plugins.generator.traceabstraction AST 19.11 07:57:02, skipping insertion in model container [2023-11-19 07:57:02,774 INFO L184 PluginConnector]: Executing the observer TraceAbstractionObserver from plugin TraceAbstraction for "de.uni_freiburg.informatik.ultimate.plugins.generator.rcfgbuilder CFG 19.11 07:57:02" (3/3) ... [2023-11-19 07:57:02,775 INFO L112 eAbstractionObserver]: Analyzing ICFG twostage_3-2.i [2023-11-19 07:57:02,796 INFO L203 ceAbstractionStarter]: Automizer settings: Hoare:false NWA Interpolation:FPandBP Determinization: PREDICATE_ABSTRACTION [2023-11-19 07:57:02,796 INFO L162 ceAbstractionStarter]: Applying trace abstraction to program that has 30 error locations. [2023-11-19 07:57:02,796 INFO L514 ceAbstractionStarter]: Constructing petrified ICFG for 1 thread instances. [2023-11-19 07:57:02,900 INFO L144 ThreadInstanceAdder]: Constructed 4 joinOtherThreadTransitions. [2023-11-19 07:57:02,946 INFO L73 FinitePrefix]: Start finitePrefix. Operand has 241 places, 255 transitions, 530 flow [2023-11-19 07:57:03,176 INFO L124 PetriNetUnfolderBase]: 41/508 cut-off events. [2023-11-19 07:57:03,176 INFO L125 PetriNetUnfolderBase]: For 8/8 co-relation queries the response was YES. [2023-11-19 07:57:03,186 INFO L83 FinitePrefix]: Finished finitePrefix Result has 525 conditions, 508 events. 41/508 cut-off events. For 8/8 co-relation queries the response was YES. Maximal size of possible extension queue 21. Compared 2223 event pairs, 0 based on Foata normal form. 0/387 useless extension candidates. Maximal degree in co-relation 275. Up to 8 conditions per place. [2023-11-19 07:57:03,187 INFO L82 GeneralOperation]: Start removeDead. Operand has 241 places, 255 transitions, 530 flow [2023-11-19 07:57:03,207 INFO L88 GeneralOperation]: Finished RemoveDead, result has has 241 places, 255 transitions, 530 flow [2023-11-19 07:57:03,211 INFO L124 etLargeBlockEncoding]: Petri net LBE is using variable-based independence relation. [2023-11-19 07:57:03,225 INFO L131 etLargeBlockEncoding]: Starting large block encoding on Petri net that has 241 places, 255 transitions, 530 flow [2023-11-19 07:57:03,228 INFO L113 LiptonReduction]: Starting Lipton reduction on Petri net that has 241 places, 255 transitions, 530 flow [2023-11-19 07:57:03,229 INFO L73 FinitePrefix]: Start finitePrefix. Operand has 241 places, 255 transitions, 530 flow [2023-11-19 07:57:03,326 INFO L124 PetriNetUnfolderBase]: 41/508 cut-off events. [2023-11-19 07:57:03,326 INFO L125 PetriNetUnfolderBase]: For 8/8 co-relation queries the response was YES. [2023-11-19 07:57:03,332 INFO L83 FinitePrefix]: Finished finitePrefix Result has 525 conditions, 508 events. 41/508 cut-off events. For 8/8 co-relation queries the response was YES. Maximal size of possible extension queue 21. Compared 2223 event pairs, 0 based on Foata normal form. 0/387 useless extension candidates. Maximal degree in co-relation 275. Up to 8 conditions per place. [2023-11-19 07:57:03,344 INFO L119 LiptonReduction]: Number of co-enabled transitions 9686