./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 e7bb482b Calling Ultimate with: /usr/lib/jvm/java-11-openjdk-amd64/bin/java -Dosgi.configuration.area=/tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_9f272236-2dd1-4551-97c3-c4b375538fe9/bin/uautomizer-verify-WvqO1wxjHP/data/config -Xmx15G -Xms4m -jar /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_9f272236-2dd1-4551-97c3-c4b375538fe9/bin/uautomizer-verify-WvqO1wxjHP/plugins/org.eclipse.equinox.launcher_1.5.800.v20200727-1323.jar -data @noDefault -ultimatedata /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_9f272236-2dd1-4551-97c3-c4b375538fe9/bin/uautomizer-verify-WvqO1wxjHP/data -tc /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_9f272236-2dd1-4551-97c3-c4b375538fe9/bin/uautomizer-verify-WvqO1wxjHP/config/AutomizerMemDerefMemtrack.xml -i ../../sv-benchmarks/c/pthread/twostage_3-2.i -s /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_9f272236-2dd1-4551-97c3-c4b375538fe9/bin/uautomizer-verify-WvqO1wxjHP/config/svcomp-DerefFreeMemtrack-32bit-Automizer_Default.epf --cacsl2boogietranslator.entry.function main --witnessprinter.witness.directory /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_9f272236-2dd1-4551-97c3-c4b375538fe9/bin/uautomizer-verify-WvqO1wxjHP --witnessprinter.witness.filename witness.graphml --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 9e65812efd79e833978ab1548160841e061a451f72b6ff490ed9b7c0a593a91c --- Real Ultimate output --- This is Ultimate 0.2.3-dev-e7bb482 [2023-11-06 22:30:07,142 INFO L188 SettingsManager]: Resetting all preferences to default values... [2023-11-06 22:30:07,261 INFO L114 SettingsManager]: Loading settings from /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_9f272236-2dd1-4551-97c3-c4b375538fe9/bin/uautomizer-verify-WvqO1wxjHP/config/svcomp-DerefFreeMemtrack-32bit-Automizer_Default.epf [2023-11-06 22:30:07,265 WARN L101 SettingsManager]: Preference file contains the following unknown settings: [2023-11-06 22:30:07,266 WARN L103 SettingsManager]: * de.uni_freiburg.informatik.ultimate.core.Log level for class [2023-11-06 22:30:07,306 INFO L130 SettingsManager]: Preferences different from defaults after loading the file: [2023-11-06 22:30:07,308 INFO L151 SettingsManager]: Preferences of UltimateCore differ from their defaults: [2023-11-06 22:30:07,308 INFO L153 SettingsManager]: * Log level for class=de.uni_freiburg.informatik.ultimate.lib.smtlibutils.quantifier.QuantifierPusher=ERROR; [2023-11-06 22:30:07,309 INFO L151 SettingsManager]: Preferences of Boogie Procedure Inliner differ from their defaults: [2023-11-06 22:30:07,316 INFO L153 SettingsManager]: * Ignore calls to procedures called more than once=ONLY_FOR_SEQUENTIAL_PROGRAMS [2023-11-06 22:30:07,318 INFO L151 SettingsManager]: Preferences of BlockEncodingV2 differ from their defaults: [2023-11-06 22:30:07,318 INFO L153 SettingsManager]: * Create parallel compositions if possible=false [2023-11-06 22:30:07,319 INFO L153 SettingsManager]: * Use SBE=true [2023-11-06 22:30:07,320 INFO L151 SettingsManager]: Preferences of CACSL2BoogieTranslator differ from their defaults: [2023-11-06 22:30:07,321 INFO L153 SettingsManager]: * sizeof long=4 [2023-11-06 22:30:07,321 INFO L153 SettingsManager]: * Overapproximate operations on floating types=true [2023-11-06 22:30:07,322 INFO L153 SettingsManager]: * sizeof POINTER=4 [2023-11-06 22:30:07,322 INFO L153 SettingsManager]: * Check division by zero=IGNORE [2023-11-06 22:30:07,323 INFO L153 SettingsManager]: * Check for the main procedure if all allocated memory was freed=true [2023-11-06 22:30:07,323 INFO L153 SettingsManager]: * Bitprecise bitfields=true [2023-11-06 22:30:07,324 INFO L153 SettingsManager]: * SV-COMP memtrack compatibility mode=true [2023-11-06 22:30:07,324 INFO L153 SettingsManager]: * If two pointers are subtracted or compared they have the same base address=IGNORE [2023-11-06 22:30:07,325 INFO L153 SettingsManager]: * Adapt memory model on pointer casts if necessary=true [2023-11-06 22:30:07,325 INFO L153 SettingsManager]: * Check unreachability of reach_error function=false [2023-11-06 22:30:07,326 INFO L153 SettingsManager]: * sizeof long double=12 [2023-11-06 22:30:07,326 INFO L153 SettingsManager]: * Use constant arrays=true [2023-11-06 22:30:07,327 INFO L151 SettingsManager]: Preferences of RCFGBuilder differ from their defaults: [2023-11-06 22:30:07,328 INFO L153 SettingsManager]: * Size of a code block=SequenceOfStatements [2023-11-06 22:30:07,328 INFO L153 SettingsManager]: * SMT solver=External_DefaultMode [2023-11-06 22:30:07,329 INFO L153 SettingsManager]: * Command for external solver=z3 SMTLIB2_COMPLIANT=true -memory:2024 -smt2 -in -t:2000 [2023-11-06 22:30:07,330 INFO L151 SettingsManager]: Preferences of TraceAbstraction differ from their defaults: [2023-11-06 22:30:07,331 INFO L153 SettingsManager]: * Compute Interpolants along a Counterexample=FPandBP [2023-11-06 22:30:07,331 INFO L153 SettingsManager]: * Trace refinement strategy=CAMEL [2023-11-06 22:30:07,331 INFO L153 SettingsManager]: * Command for external solver=z3 SMTLIB2_COMPLIANT=true -memory:2024 -smt2 -in [2023-11-06 22:30:07,332 INFO L153 SettingsManager]: * Automaton type used in concurrency analysis=PETRI_NET [2023-11-06 22:30:07,332 INFO L153 SettingsManager]: * Order on configurations for Petri net unfoldings=DBO [2023-11-06 22:30:07,332 INFO L153 SettingsManager]: * SMT solver=External_ModelsAndUnsatCoreMode [2023-11-06 22:30:07,333 INFO L153 SettingsManager]: * Independence relation used for large block encoding in concurrent analysis=SYNTACTIC [2023-11-06 22:30:07,333 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_9f272236-2dd1-4551-97c3-c4b375538fe9/bin/uautomizer-verify-WvqO1wxjHP/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_9f272236-2dd1-4551-97c3-c4b375538fe9/bin/uautomizer-verify-WvqO1wxjHP Applying setting for plugin de.uni_freiburg.informatik.ultimate.witnessprinter: Witness filename -> witness.graphml 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 -> 9e65812efd79e833978ab1548160841e061a451f72b6ff490ed9b7c0a593a91c [2023-11-06 22:30:07,668 INFO L75 nceAwareModelManager]: Repository-Root is: /tmp [2023-11-06 22:30:07,699 INFO L261 ainManager$Toolchain]: [Toolchain 1]: Applicable parser(s) successfully (re)initialized [2023-11-06 22:30:07,703 INFO L217 ainManager$Toolchain]: [Toolchain 1]: Toolchain selected. [2023-11-06 22:30:07,704 INFO L270 PluginConnector]: Initializing CDTParser... [2023-11-06 22:30:07,705 INFO L274 PluginConnector]: CDTParser initialized [2023-11-06 22:30:07,706 INFO L431 ainManager$Toolchain]: [Toolchain 1]: Parsing single file: /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_9f272236-2dd1-4551-97c3-c4b375538fe9/bin/uautomizer-verify-WvqO1wxjHP/../../sv-benchmarks/c/pthread/twostage_3-2.i [2023-11-06 22:30:10,842 INFO L533 CDTParser]: Created temporary CDT project at NULL [2023-11-06 22:30:11,193 INFO L384 CDTParser]: Found 1 translation units. [2023-11-06 22:30:11,193 INFO L180 CDTParser]: Scanning /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_9f272236-2dd1-4551-97c3-c4b375538fe9/sv-benchmarks/c/pthread/twostage_3-2.i [2023-11-06 22:30:11,219 INFO L427 CDTParser]: About to delete temporary CDT project at /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_9f272236-2dd1-4551-97c3-c4b375538fe9/bin/uautomizer-verify-WvqO1wxjHP/data/473b82886/8b05123511e241f1b1da4a7a6b354471/FLAG73e4dd046 [2023-11-06 22:30:11,241 INFO L435 CDTParser]: Successfully deleted /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_9f272236-2dd1-4551-97c3-c4b375538fe9/bin/uautomizer-verify-WvqO1wxjHP/data/473b82886/8b05123511e241f1b1da4a7a6b354471 [2023-11-06 22:30:11,248 INFO L299 ainManager$Toolchain]: ####################### [Toolchain 1] ####################### [2023-11-06 22:30:11,251 INFO L133 ToolchainWalker]: Walking toolchain with 6 elements. [2023-11-06 22:30:11,253 INFO L112 PluginConnector]: ------------------------CACSL2BoogieTranslator---------------------------- [2023-11-06 22:30:11,253 INFO L270 PluginConnector]: Initializing CACSL2BoogieTranslator... [2023-11-06 22:30:11,259 INFO L274 PluginConnector]: CACSL2BoogieTranslator initialized [2023-11-06 22:30:11,260 INFO L184 PluginConnector]: Executing the observer ACSLObjectContainerObserver from plugin CACSL2BoogieTranslator for "CDTParser AST 06.11 10:30:11" (1/1) ... [2023-11-06 22:30:11,261 INFO L204 PluginConnector]: Invalid model from CACSL2BoogieTranslator for observer de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator.ACSLObjectContainerObserver@5ef9c0b8 and model type de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 06.11 10:30:11, skipping insertion in model container [2023-11-06 22:30:11,261 INFO L184 PluginConnector]: Executing the observer CACSL2BoogieTranslatorObserver from plugin CACSL2BoogieTranslator for "CDTParser AST 06.11 10:30:11" (1/1) ... [2023-11-06 22:30:11,336 INFO L177 MainTranslator]: Built tables and reachable declarations [2023-11-06 22:30:12,162 WARN L1577 CHandler]: Possible shadowing of function lock [2023-11-06 22:30:12,167 WARN L1577 CHandler]: Possible shadowing of function lock [2023-11-06 22:30:12,169 INFO L209 PostProcessor]: Analyzing one entry point: main [2023-11-06 22:30:12,184 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-06 22:30:12,185 INFO L204 PluginConnector]: Invalid model from CACSL2BoogieTranslator for observer de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator.CACSL2BoogieTranslatorObserver@48e93338 and model type de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 06.11 10:30:12, skipping insertion in model container [2023-11-06 22:30:12,185 INFO L131 PluginConnector]: ------------------------ END CACSL2BoogieTranslator---------------------------- [2023-11-06 22:30:12,185 INFO L186 ToolchainWalker]: Toolchain execution was canceled (user or tool) before executing de.uni_freiburg.informatik.ultimate.boogie.procedureinliner [2023-11-06 22:30:12,187 INFO L158 Benchmark]: Toolchain (without parser) took 935.47ms. Allocated memory is still 123.7MB. Free memory was 74.5MB in the beginning and 58.0MB in the end (delta: 16.5MB). Peak memory consumption was 16.8MB. Max. memory is 16.1GB. [2023-11-06 22:30:12,188 INFO L158 Benchmark]: CDTParser took 0.30ms. Allocated memory is still 123.7MB. Free memory is still 94.6MB. There was no memory consumed. Max. memory is 16.1GB. [2023-11-06 22:30:12,189 INFO L158 Benchmark]: CACSL2BoogieTranslator took 932.07ms. Allocated memory is still 123.7MB. Free memory was 74.5MB in the beginning and 58.0MB in the end (delta: 16.5MB). Peak memory consumption was 16.8MB. Max. memory is 16.1GB. [2023-11-06 22:30:12,190 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.30ms. Allocated memory is still 123.7MB. Free memory is still 94.6MB. There was no memory consumed. Max. memory is 16.1GB. * CACSL2BoogieTranslator took 932.07ms. Allocated memory is still 123.7MB. Free memory was 74.5MB in the beginning and 58.0MB in the end (delta: 16.5MB). Peak memory consumption was 16.8MB. Max. memory is 16.1GB. * Results from de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator: - UnsupportedSyntaxResult [Line: 1284]: 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-11-openjdk-amd64/bin/java -Dosgi.configuration.area=/tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_9f272236-2dd1-4551-97c3-c4b375538fe9/bin/uautomizer-verify-WvqO1wxjHP/data/config -Xmx15G -Xms4m -jar /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_9f272236-2dd1-4551-97c3-c4b375538fe9/bin/uautomizer-verify-WvqO1wxjHP/plugins/org.eclipse.equinox.launcher_1.5.800.v20200727-1323.jar -data @noDefault -ultimatedata /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_9f272236-2dd1-4551-97c3-c4b375538fe9/bin/uautomizer-verify-WvqO1wxjHP/data -tc /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_9f272236-2dd1-4551-97c3-c4b375538fe9/bin/uautomizer-verify-WvqO1wxjHP/config/AutomizerMemDerefMemtrack.xml -i ../../sv-benchmarks/c/pthread/twostage_3-2.i -s /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_9f272236-2dd1-4551-97c3-c4b375538fe9/bin/uautomizer-verify-WvqO1wxjHP/config/svcomp-DerefFreeMemtrack-32bit-Automizer_Bitvector.epf --cacsl2boogietranslator.entry.function main --witnessprinter.witness.directory /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_9f272236-2dd1-4551-97c3-c4b375538fe9/bin/uautomizer-verify-WvqO1wxjHP --witnessprinter.witness.filename witness.graphml --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 9e65812efd79e833978ab1548160841e061a451f72b6ff490ed9b7c0a593a91c --- Real Ultimate output --- This is Ultimate 0.2.3-dev-e7bb482 [2023-11-06 22:30:14,642 INFO L188 SettingsManager]: Resetting all preferences to default values... [2023-11-06 22:30:14,734 INFO L114 SettingsManager]: Loading settings from /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_9f272236-2dd1-4551-97c3-c4b375538fe9/bin/uautomizer-verify-WvqO1wxjHP/config/svcomp-DerefFreeMemtrack-32bit-Automizer_Bitvector.epf [2023-11-06 22:30:14,740 WARN L101 SettingsManager]: Preference file contains the following unknown settings: [2023-11-06 22:30:14,741 WARN L103 SettingsManager]: * de.uni_freiburg.informatik.ultimate.core.Log level for class [2023-11-06 22:30:14,770 INFO L130 SettingsManager]: Preferences different from defaults after loading the file: [2023-11-06 22:30:14,771 INFO L151 SettingsManager]: Preferences of UltimateCore differ from their defaults: [2023-11-06 22:30:14,772 INFO L153 SettingsManager]: * Log level for class=de.uni_freiburg.informatik.ultimate.lib.smtlibutils.quantifier.QuantifierPusher=ERROR; [2023-11-06 22:30:14,773 INFO L151 SettingsManager]: Preferences of Boogie Procedure Inliner differ from their defaults: [2023-11-06 22:30:14,773 INFO L153 SettingsManager]: * Ignore calls to procedures called more than once=ONLY_FOR_SEQUENTIAL_PROGRAMS [2023-11-06 22:30:14,774 INFO L151 SettingsManager]: Preferences of BlockEncodingV2 differ from their defaults: [2023-11-06 22:30:14,775 INFO L153 SettingsManager]: * Create parallel compositions if possible=false [2023-11-06 22:30:14,776 INFO L153 SettingsManager]: * Use SBE=true [2023-11-06 22:30:14,776 INFO L151 SettingsManager]: Preferences of CACSL2BoogieTranslator differ from their defaults: [2023-11-06 22:30:14,777 INFO L153 SettingsManager]: * sizeof long=4 [2023-11-06 22:30:14,778 INFO L153 SettingsManager]: * Overapproximate operations on floating types=true [2023-11-06 22:30:14,778 INFO L153 SettingsManager]: * sizeof POINTER=4 [2023-11-06 22:30:14,779 INFO L153 SettingsManager]: * Check division by zero=IGNORE [2023-11-06 22:30:14,779 INFO L153 SettingsManager]: * Check for the main procedure if all allocated memory was freed=true [2023-11-06 22:30:14,780 INFO L153 SettingsManager]: * Bitprecise bitfields=true [2023-11-06 22:30:14,780 INFO L153 SettingsManager]: * SV-COMP memtrack compatibility mode=true [2023-11-06 22:30:14,786 INFO L153 SettingsManager]: * If two pointers are subtracted or compared they have the same base address=IGNORE [2023-11-06 22:30:14,786 INFO L153 SettingsManager]: * Adapt memory model on pointer casts if necessary=true [2023-11-06 22:30:14,786 INFO L153 SettingsManager]: * Use bitvectors instead of ints=true [2023-11-06 22:30:14,787 INFO L153 SettingsManager]: * Memory model=HoenickeLindenmann_4ByteResolution [2023-11-06 22:30:14,787 INFO L153 SettingsManager]: * Check unreachability of reach_error function=false [2023-11-06 22:30:14,788 INFO L153 SettingsManager]: * sizeof long double=12 [2023-11-06 22:30:14,788 INFO L153 SettingsManager]: * Use constant arrays=true [2023-11-06 22:30:14,789 INFO L151 SettingsManager]: Preferences of RCFGBuilder differ from their defaults: [2023-11-06 22:30:14,790 INFO L153 SettingsManager]: * Size of a code block=SequenceOfStatements [2023-11-06 22:30:14,791 INFO L153 SettingsManager]: * SMT solver=External_DefaultMode [2023-11-06 22:30:14,792 INFO L153 SettingsManager]: * Command for external solver=z3 SMTLIB2_COMPLIANT=true -memory:2024 -smt2 -in -t:2000 [2023-11-06 22:30:14,792 INFO L151 SettingsManager]: Preferences of TraceAbstraction differ from their defaults: [2023-11-06 22:30:14,792 INFO L153 SettingsManager]: * Compute Interpolants along a Counterexample=FPandBP [2023-11-06 22:30:14,793 INFO L153 SettingsManager]: * Trace refinement strategy=WOLF [2023-11-06 22:30:14,793 INFO L153 SettingsManager]: * Command for external solver=cvc4 --incremental --print-success --lang smt [2023-11-06 22:30:14,793 INFO L153 SettingsManager]: * Automaton type used in concurrency analysis=PETRI_NET [2023-11-06 22:30:14,794 INFO L153 SettingsManager]: * Order on configurations for Petri net unfoldings=DBO [2023-11-06 22:30:14,794 INFO L153 SettingsManager]: * SMT solver=External_ModelsAndUnsatCoreMode [2023-11-06 22:30:14,795 INFO L153 SettingsManager]: * Logic for external solver=AUFBV [2023-11-06 22:30:14,795 INFO L153 SettingsManager]: * Independence relation used for large block encoding in concurrent analysis=SYNTACTIC [2023-11-06 22:30:14,796 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_9f272236-2dd1-4551-97c3-c4b375538fe9/bin/uautomizer-verify-WvqO1wxjHP/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_9f272236-2dd1-4551-97c3-c4b375538fe9/bin/uautomizer-verify-WvqO1wxjHP Applying setting for plugin de.uni_freiburg.informatik.ultimate.witnessprinter: Witness filename -> witness.graphml 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 -> 9e65812efd79e833978ab1548160841e061a451f72b6ff490ed9b7c0a593a91c [2023-11-06 22:30:15,223 INFO L75 nceAwareModelManager]: Repository-Root is: /tmp [2023-11-06 22:30:15,250 INFO L261 ainManager$Toolchain]: [Toolchain 1]: Applicable parser(s) successfully (re)initialized [2023-11-06 22:30:15,255 INFO L217 ainManager$Toolchain]: [Toolchain 1]: Toolchain selected. [2023-11-06 22:30:15,256 INFO L270 PluginConnector]: Initializing CDTParser... [2023-11-06 22:30:15,257 INFO L274 PluginConnector]: CDTParser initialized [2023-11-06 22:30:15,258 INFO L431 ainManager$Toolchain]: [Toolchain 1]: Parsing single file: /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_9f272236-2dd1-4551-97c3-c4b375538fe9/bin/uautomizer-verify-WvqO1wxjHP/../../sv-benchmarks/c/pthread/twostage_3-2.i [2023-11-06 22:30:18,548 INFO L533 CDTParser]: Created temporary CDT project at NULL [2023-11-06 22:30:18,980 INFO L384 CDTParser]: Found 1 translation units. [2023-11-06 22:30:18,980 INFO L180 CDTParser]: Scanning /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_9f272236-2dd1-4551-97c3-c4b375538fe9/sv-benchmarks/c/pthread/twostage_3-2.i [2023-11-06 22:30:19,015 INFO L427 CDTParser]: About to delete temporary CDT project at /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_9f272236-2dd1-4551-97c3-c4b375538fe9/bin/uautomizer-verify-WvqO1wxjHP/data/2d891a8f0/7529e50bfd334839bd57fbcc1402e6dc/FLAG5f9670dee [2023-11-06 22:30:19,039 INFO L435 CDTParser]: Successfully deleted /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_9f272236-2dd1-4551-97c3-c4b375538fe9/bin/uautomizer-verify-WvqO1wxjHP/data/2d891a8f0/7529e50bfd334839bd57fbcc1402e6dc [2023-11-06 22:30:19,042 INFO L299 ainManager$Toolchain]: ####################### [Toolchain 1] ####################### [2023-11-06 22:30:19,047 INFO L133 ToolchainWalker]: Walking toolchain with 6 elements. [2023-11-06 22:30:19,050 INFO L112 PluginConnector]: ------------------------CACSL2BoogieTranslator---------------------------- [2023-11-06 22:30:19,051 INFO L270 PluginConnector]: Initializing CACSL2BoogieTranslator... [2023-11-06 22:30:19,056 INFO L274 PluginConnector]: CACSL2BoogieTranslator initialized [2023-11-06 22:30:19,057 INFO L184 PluginConnector]: Executing the observer ACSLObjectContainerObserver from plugin CACSL2BoogieTranslator for "CDTParser AST 06.11 10:30:19" (1/1) ... [2023-11-06 22:30:19,058 INFO L204 PluginConnector]: Invalid model from CACSL2BoogieTranslator for observer de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator.ACSLObjectContainerObserver@7b8ea1c3 and model type de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 06.11 10:30:19, skipping insertion in model container [2023-11-06 22:30:19,058 INFO L184 PluginConnector]: Executing the observer CACSL2BoogieTranslatorObserver from plugin CACSL2BoogieTranslator for "CDTParser AST 06.11 10:30:19" (1/1) ... [2023-11-06 22:30:19,148 INFO L177 MainTranslator]: Built tables and reachable declarations [2023-11-06 22:30:20,110 WARN L1577 CHandler]: Possible shadowing of function lock [2023-11-06 22:30:20,114 WARN L1577 CHandler]: Possible shadowing of function lock [2023-11-06 22:30:20,118 INFO L209 PostProcessor]: Analyzing one entry point: main [2023-11-06 22:30:20,140 INFO L199 MainTranslator]: Restarting translation with changed settings: SettingsChange [mNewPreferredMemoryModel=HoenickeLindenmann_1ByteResolution] [2023-11-06 22:30:20,157 INFO L177 MainTranslator]: Built tables and reachable declarations [2023-11-06 22:30:20,239 WARN L1577 CHandler]: Possible shadowing of function lock [2023-11-06 22:30:20,240 WARN L1577 CHandler]: Possible shadowing of function lock [2023-11-06 22:30:20,244 INFO L209 PostProcessor]: Analyzing one entry point: main [2023-11-06 22:30:20,252 INFO L202 MainTranslator]: Completed pre-run [2023-11-06 22:30:20,338 WARN L1577 CHandler]: Possible shadowing of function lock [2023-11-06 22:30:20,341 WARN L1577 CHandler]: Possible shadowing of function lock [2023-11-06 22:30:20,344 INFO L209 PostProcessor]: Analyzing one entry point: main [2023-11-06 22:30:20,479 WARN L672 CHandler]: The function fprintf is called, but not defined or handled by StandardFunctionHandler. [2023-11-06 22:30:20,487 INFO L206 MainTranslator]: Completed translation [2023-11-06 22:30:20,488 INFO L201 PluginConnector]: Adding new model de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 06.11 10:30:20 WrapperNode [2023-11-06 22:30:20,489 INFO L131 PluginConnector]: ------------------------ END CACSL2BoogieTranslator---------------------------- [2023-11-06 22:30:20,490 INFO L112 PluginConnector]: ------------------------Boogie Procedure Inliner---------------------------- [2023-11-06 22:30:20,490 INFO L270 PluginConnector]: Initializing Boogie Procedure Inliner... [2023-11-06 22:30:20,490 INFO L274 PluginConnector]: Boogie Procedure Inliner initialized [2023-11-06 22:30:20,498 INFO L184 PluginConnector]: Executing the observer TypeChecker from plugin Boogie Procedure Inliner for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 06.11 10:30:20" (1/1) ... [2023-11-06 22:30:20,548 INFO L184 PluginConnector]: Executing the observer Inliner from plugin Boogie Procedure Inliner for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 06.11 10:30:20" (1/1) ... [2023-11-06 22:30:20,603 INFO L138 Inliner]: procedures = 378, calls = 60, calls flagged for inlining = 3, calls inlined = 3, statements flattened = 196 [2023-11-06 22:30:20,604 INFO L131 PluginConnector]: ------------------------ END Boogie Procedure Inliner---------------------------- [2023-11-06 22:30:20,606 INFO L112 PluginConnector]: ------------------------Boogie Preprocessor---------------------------- [2023-11-06 22:30:20,606 INFO L270 PluginConnector]: Initializing Boogie Preprocessor... [2023-11-06 22:30:20,607 INFO L274 PluginConnector]: Boogie Preprocessor initialized [2023-11-06 22:30:20,616 INFO L184 PluginConnector]: Executing the observer EnsureBoogieModelObserver from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 06.11 10:30:20" (1/1) ... [2023-11-06 22:30:20,617 INFO L184 PluginConnector]: Executing the observer TypeChecker from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 06.11 10:30:20" (1/1) ... [2023-11-06 22:30:20,630 INFO L184 PluginConnector]: Executing the observer ConstExpander from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 06.11 10:30:20" (1/1) ... [2023-11-06 22:30:20,631 INFO L184 PluginConnector]: Executing the observer StructExpander from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 06.11 10:30:20" (1/1) ... [2023-11-06 22:30:20,654 INFO L184 PluginConnector]: Executing the observer UnstructureCode from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 06.11 10:30:20" (1/1) ... [2023-11-06 22:30:20,664 INFO L184 PluginConnector]: Executing the observer FunctionInliner from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 06.11 10:30:20" (1/1) ... [2023-11-06 22:30:20,670 INFO L184 PluginConnector]: Executing the observer LTLStepAnnotator from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 06.11 10:30:20" (1/1) ... [2023-11-06 22:30:20,673 INFO L184 PluginConnector]: Executing the observer BoogieSymbolTableConstructor from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 06.11 10:30:20" (1/1) ... [2023-11-06 22:30:20,678 INFO L131 PluginConnector]: ------------------------ END Boogie Preprocessor---------------------------- [2023-11-06 22:30:20,679 INFO L112 PluginConnector]: ------------------------RCFGBuilder---------------------------- [2023-11-06 22:30:20,679 INFO L270 PluginConnector]: Initializing RCFGBuilder... [2023-11-06 22:30:20,679 INFO L274 PluginConnector]: RCFGBuilder initialized [2023-11-06 22:30:20,680 INFO L184 PluginConnector]: Executing the observer RCFGBuilderObserver from plugin RCFGBuilder for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 06.11 10:30:20" (1/1) ... [2023-11-06 22:30:20,699 INFO L173 SolverBuilder]: Constructing external solver with command: z3 SMTLIB2_COMPLIANT=true -memory:2024 -smt2 -in -t:2000 [2023-11-06 22:30:20,712 INFO L189 MonitoredProcess]: No working directory specified, using /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_9f272236-2dd1-4551-97c3-c4b375538fe9/bin/uautomizer-verify-WvqO1wxjHP/z3 [2023-11-06 22:30:20,724 INFO L229 MonitoredProcess]: Starting monitored process 1 with /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_9f272236-2dd1-4551-97c3-c4b375538fe9/bin/uautomizer-verify-WvqO1wxjHP/z3 SMTLIB2_COMPLIANT=true -memory:2024 -smt2 -in -t:2000 (exit command is (exit), workingDir is null) [2023-11-06 22:30:20,754 INFO L327 MonitoredProcess]: [MP /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_9f272236-2dd1-4551-97c3-c4b375538fe9/bin/uautomizer-verify-WvqO1wxjHP/z3 SMTLIB2_COMPLIANT=true -memory:2024 -smt2 -in -t:2000 (1)] Waiting until timeout for monitored process [2023-11-06 22:30:20,786 INFO L130 BoogieDeclarations]: Found specification of procedure read~intINTTYPE4 [2023-11-06 22:30:20,787 INFO L130 BoogieDeclarations]: Found specification of procedure funcA [2023-11-06 22:30:20,787 INFO L138 BoogieDeclarations]: Found implementation of procedure funcA [2023-11-06 22:30:20,787 INFO L130 BoogieDeclarations]: Found specification of procedure funcB [2023-11-06 22:30:20,787 INFO L138 BoogieDeclarations]: Found implementation of procedure funcB [2023-11-06 22:30:20,788 INFO L130 BoogieDeclarations]: Found specification of procedure fprintf [2023-11-06 22:30:20,788 INFO L130 BoogieDeclarations]: Found specification of procedure #Ultimate.allocOnStack [2023-11-06 22:30:20,788 INFO L130 BoogieDeclarations]: Found specification of procedure read~$Pointer$ [2023-11-06 22:30:20,788 INFO L130 BoogieDeclarations]: Found specification of procedure ULTIMATE.dealloc [2023-11-06 22:30:20,788 INFO L130 BoogieDeclarations]: Found specification of procedure write~intINTTYPE4 [2023-11-06 22:30:20,788 INFO L130 BoogieDeclarations]: Found specification of procedure write~init~intINTTYPE1 [2023-11-06 22:30:20,788 INFO L130 BoogieDeclarations]: Found specification of procedure write~init~intINTTYPE4 [2023-11-06 22:30:20,789 INFO L130 BoogieDeclarations]: Found specification of procedure #PthreadsMutexLock [2023-11-06 22:30:20,789 INFO L130 BoogieDeclarations]: Found specification of procedure #Ultimate.allocOnHeap [2023-11-06 22:30:20,789 INFO L130 BoogieDeclarations]: Found specification of procedure #Ultimate.allocInit [2023-11-06 22:30:20,789 INFO L130 BoogieDeclarations]: Found specification of procedure ULTIMATE.start [2023-11-06 22:30:20,789 INFO L138 BoogieDeclarations]: Found implementation of procedure ULTIMATE.start [2023-11-06 22:30:20,791 WARN L210 CfgBuilder]: User set CodeBlockSize to SequenceOfStatements but program contains fork statements. Overwriting the user preferences and setting CodeBlockSize to OneNontrivialStatement [2023-11-06 22:30:20,970 INFO L236 CfgBuilder]: Building ICFG [2023-11-06 22:30:20,972 INFO L262 CfgBuilder]: Building CFG for each procedure with an implementation [2023-11-06 22:30:21,631 INFO L277 CfgBuilder]: Performing block encoding [2023-11-06 22:30:21,640 INFO L297 CfgBuilder]: Using the 1 location(s) as analysis (start of procedure ULTIMATE.start) [2023-11-06 22:30:21,641 INFO L302 CfgBuilder]: Removed 4 assume(true) statements. [2023-11-06 22:30:21,643 INFO L201 PluginConnector]: Adding new model de.uni_freiburg.informatik.ultimate.plugins.generator.rcfgbuilder CFG 06.11 10:30:21 BoogieIcfgContainer [2023-11-06 22:30:21,643 INFO L131 PluginConnector]: ------------------------ END RCFGBuilder---------------------------- [2023-11-06 22:30:21,646 INFO L112 PluginConnector]: ------------------------TraceAbstraction---------------------------- [2023-11-06 22:30:21,646 INFO L270 PluginConnector]: Initializing TraceAbstraction... [2023-11-06 22:30:21,649 INFO L274 PluginConnector]: TraceAbstraction initialized [2023-11-06 22:30:21,650 INFO L184 PluginConnector]: Executing the observer TraceAbstractionObserver from plugin TraceAbstraction for "CDTParser AST 06.11 10:30:19" (1/3) ... [2023-11-06 22:30:21,650 INFO L204 PluginConnector]: Invalid model from TraceAbstraction for observer de.uni_freiburg.informatik.ultimate.plugins.generator.traceabstraction.TraceAbstractionObserver@42141b38 and model type de.uni_freiburg.informatik.ultimate.plugins.generator.traceabstraction AST 06.11 10:30:21, skipping insertion in model container [2023-11-06 22:30:21,651 INFO L184 PluginConnector]: Executing the observer TraceAbstractionObserver from plugin TraceAbstraction for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 06.11 10:30:20" (2/3) ... [2023-11-06 22:30:21,651 INFO L204 PluginConnector]: Invalid model from TraceAbstraction for observer de.uni_freiburg.informatik.ultimate.plugins.generator.traceabstraction.TraceAbstractionObserver@42141b38 and model type de.uni_freiburg.informatik.ultimate.plugins.generator.traceabstraction AST 06.11 10:30:21, skipping insertion in model container [2023-11-06 22:30:21,651 INFO L184 PluginConnector]: Executing the observer TraceAbstractionObserver from plugin TraceAbstraction for "de.uni_freiburg.informatik.ultimate.plugins.generator.rcfgbuilder CFG 06.11 10:30:21" (3/3) ... [2023-11-06 22:30:21,653 INFO L112 eAbstractionObserver]: Analyzing ICFG twostage_3-2.i [2023-11-06 22:30:21,673 INFO L203 ceAbstractionStarter]: Automizer settings: Hoare:false NWA Interpolation:FPandBP Determinization: PREDICATE_ABSTRACTION [2023-11-06 22:30:21,673 INFO L162 ceAbstractionStarter]: Applying trace abstraction to program that has 30 error locations. [2023-11-06 22:30:21,673 INFO L519 ceAbstractionStarter]: Constructing petrified ICFG for 1 thread instances. [2023-11-06 22:30:21,790 INFO L144 ThreadInstanceAdder]: Constructed 4 joinOtherThreadTransitions. [2023-11-06 22:30:21,847 INFO L73 FinitePrefix]: Start finitePrefix. Operand has 236 places, 250 transitions, 520 flow [2023-11-06 22:30:22,058 INFO L124 PetriNetUnfolderBase]: 41/503 cut-off events. [2023-11-06 22:30:22,058 INFO L125 PetriNetUnfolderBase]: For 8/8 co-relation queries the response was YES. [2023-11-06 22:30:22,070 INFO L83 FinitePrefix]: Finished finitePrefix Result has 520 conditions, 503 events. 41/503 cut-off events. For 8/8 co-relation queries the response was YES. Maximal size of possible extension queue 20. Compared 2205 event pairs, 0 based on Foata normal form. 0/382 useless extension candidates. Maximal degree in co-relation 275. Up to 8 conditions per place. [2023-11-06 22:30:22,070 INFO L82 GeneralOperation]: Start removeDead. Operand has 236 places, 250 transitions, 520 flow [2023-11-06 22:30:22,087 INFO L88 GeneralOperation]: Finished RemoveDead, result has has 236 places, 250 transitions, 520 flow [2023-11-06 22:30:22,091 INFO L124 etLargeBlockEncoding]: Petri net LBE is using variable-based independence relation. [2023-11-06 22:30:22,106 INFO L131 etLargeBlockEncoding]: Starting large block encoding on Petri net that has 236 places, 250 transitions, 520 flow [2023-11-06 22:30:22,110 INFO L113 LiptonReduction]: Starting Lipton reduction on Petri net that has 236 places, 250 transitions, 520 flow [2023-11-06 22:30:22,111 INFO L73 FinitePrefix]: Start finitePrefix. Operand has 236 places, 250 transitions, 520 flow [2023-11-06 22:30:22,246 INFO L124 PetriNetUnfolderBase]: 41/503 cut-off events. [2023-11-06 22:30:22,247 INFO L125 PetriNetUnfolderBase]: For 8/8 co-relation queries the response was YES. [2023-11-06 22:30:22,250 INFO L83 FinitePrefix]: Finished finitePrefix Result has 520 conditions, 503 events. 41/503 cut-off events. For 8/8 co-relation queries the response was YES. Maximal size of possible extension queue 20. Compared 2205 event pairs, 0 based on Foata normal form. 0/382 useless extension candidates. Maximal degree in co-relation 275. Up to 8 conditions per place. [2023-11-06 22:30:22,260 INFO L119 LiptonReduction]: Number of co-enabled transitions 8236 [2023-11-06 22:31:55,550 WARN L293 SmtUtils]: Spent 37.21s on a formula simplification. DAG size of input: 178 DAG size of output: 177 (called from [L 279] de.uni_freiburg.informatik.ultimate.lib.modelcheckerutils.cfg.transitions.TransFormulaUtils.sequentialComposition) [2023-11-06 22:32:11,239 WARN L293 SmtUtils]: Spent 15.69s on a formula simplification that was a NOOP. DAG size: 175 (called from [L 302] de.uni_freiburg.informatik.ultimate.lib.modelcheckerutils.cfg.transitions.TransFormulaUtils.sequentialComposition) [2023-11-06 22:32:42,347 WARN L293 SmtUtils]: Spent 31.11s on a formula simplification. DAG size of input: 181 DAG size of output: 180 (called from [L 279] de.uni_freiburg.informatik.ultimate.lib.modelcheckerutils.cfg.transitions.TransFormulaUtils.sequentialComposition) [2023-11-06 22:33:00,523 WARN L293 SmtUtils]: Spent 18.17s on a formula simplification that was a NOOP. DAG size: 178 (called from [L 302] de.uni_freiburg.informatik.ultimate.lib.modelcheckerutils.cfg.transitions.TransFormulaUtils.sequentialComposition)