./Ultimate.py --spec ../../sv-benchmarks/c/properties/no-data-race.prp --file ../../sv-benchmarks/c/pthread-race-challenges/per-thread-array-join-counter-race-3.i --full-output --architecture 32bit -------------------------------------------------------------------------------- Checking for data races 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_c6f47040-bb66-4af7-8560-bf4191e6a47d/bin/uautomizer-verify-uCwYo4JHxu/data/config -Xmx15G -Xms4m -jar /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_c6f47040-bb66-4af7-8560-bf4191e6a47d/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_c6f47040-bb66-4af7-8560-bf4191e6a47d/bin/uautomizer-verify-uCwYo4JHxu/data -tc /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_c6f47040-bb66-4af7-8560-bf4191e6a47d/bin/uautomizer-verify-uCwYo4JHxu/config/AutomizerReach.xml -i ../../sv-benchmarks/c/pthread-race-challenges/per-thread-array-join-counter-race-3.i -s /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_c6f47040-bb66-4af7-8560-bf4191e6a47d/bin/uautomizer-verify-uCwYo4JHxu/config/svcomp-DataRace-32bit-Automizer_Default.epf --cacsl2boogietranslator.entry.function main --witnessprinter.witness.directory /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_c6f47040-bb66-4af7-8560-bf4191e6a47d/bin/uautomizer-verify-uCwYo4JHxu --witnessprinter.witness.filename witness --witnessprinter.write.witness.besides.input.file false --witnessprinter.graph.data.specification CHECK( init(main()), LTL(G ! data-race) ) --witnessprinter.graph.data.producer Automizer --witnessprinter.graph.data.architecture 32bit --witnessprinter.graph.data.programhash 21bb8f266262880d0d6873fb2e4e8bc5cd60f79baa0774ffc8a8aedd31b66692 --- Real Ultimate output --- This is Ultimate 0.2.3-dev-9bd2c7f [2023-11-19 07:41:16,292 INFO L188 SettingsManager]: Resetting all preferences to default values... [2023-11-19 07:41:16,364 INFO L114 SettingsManager]: Loading settings from /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_c6f47040-bb66-4af7-8560-bf4191e6a47d/bin/uautomizer-verify-uCwYo4JHxu/config/svcomp-DataRace-32bit-Automizer_Default.epf [2023-11-19 07:41:16,368 WARN L101 SettingsManager]: Preference file contains the following unknown settings: [2023-11-19 07:41:16,369 WARN L103 SettingsManager]: * de.uni_freiburg.informatik.ultimate.core.Log level for class [2023-11-19 07:41:16,394 INFO L130 SettingsManager]: Preferences different from defaults after loading the file: [2023-11-19 07:41:16,395 INFO L151 SettingsManager]: Preferences of UltimateCore differ from their defaults: [2023-11-19 07:41:16,395 INFO L153 SettingsManager]: * Log level for class=de.uni_freiburg.informatik.ultimate.lib.smtlibutils.quantifier.QuantifierPusher=ERROR; [2023-11-19 07:41:16,396 INFO L151 SettingsManager]: Preferences of Boogie Procedure Inliner differ from their defaults: [2023-11-19 07:41:16,397 INFO L153 SettingsManager]: * Ignore calls to procedures called more than once=ONLY_FOR_SEQUENTIAL_PROGRAMS [2023-11-19 07:41:16,398 INFO L151 SettingsManager]: Preferences of BlockEncodingV2 differ from their defaults: [2023-11-19 07:41:16,398 INFO L153 SettingsManager]: * Create parallel compositions if possible=false [2023-11-19 07:41:16,399 INFO L153 SettingsManager]: * Use SBE=true [2023-11-19 07:41:16,400 INFO L151 SettingsManager]: Preferences of CACSL2BoogieTranslator differ from their defaults: [2023-11-19 07:41:16,400 INFO L153 SettingsManager]: * Pointer base address is valid at dereference=IGNORE [2023-11-19 07:41:16,401 INFO L153 SettingsManager]: * sizeof long=4 [2023-11-19 07:41:16,401 INFO L153 SettingsManager]: * Overapproximate operations on floating types=true [2023-11-19 07:41:16,402 INFO L153 SettingsManager]: * sizeof POINTER=4 [2023-11-19 07:41:16,403 INFO L153 SettingsManager]: * Check division by zero=IGNORE [2023-11-19 07:41:16,403 INFO L153 SettingsManager]: * Pointer to allocated memory at dereference=IGNORE [2023-11-19 07:41:16,404 INFO L153 SettingsManager]: * If two pointers are subtracted or compared they have the same base address=IGNORE [2023-11-19 07:41:16,405 INFO L153 SettingsManager]: * Check array bounds for arrays that are off heap=IGNORE [2023-11-19 07:41:16,405 INFO L153 SettingsManager]: * Check absence of data races in concurrent programs=true [2023-11-19 07:41:16,406 INFO L153 SettingsManager]: * Check unreachability of reach_error function=false [2023-11-19 07:41:16,406 INFO L153 SettingsManager]: * sizeof long double=12 [2023-11-19 07:41:16,407 INFO L153 SettingsManager]: * Check if freed pointer was valid=false [2023-11-19 07:41:16,408 INFO L153 SettingsManager]: * Use constant arrays=true [2023-11-19 07:41:16,408 INFO L151 SettingsManager]: Preferences of RCFGBuilder differ from their defaults: [2023-11-19 07:41:16,412 INFO L153 SettingsManager]: * Size of a code block=SequenceOfStatements [2023-11-19 07:41:16,413 INFO L153 SettingsManager]: * SMT solver=External_DefaultMode [2023-11-19 07:41:16,414 INFO L153 SettingsManager]: * Command for external solver=z3 SMTLIB2_COMPLIANT=true -memory:2024 -smt2 -in -t:2000 [2023-11-19 07:41:16,415 INFO L151 SettingsManager]: Preferences of TraceAbstraction differ from their defaults: [2023-11-19 07:41:16,415 INFO L153 SettingsManager]: * Compute Interpolants along a Counterexample=FPandBP [2023-11-19 07:41:16,416 INFO L153 SettingsManager]: * Positions where we compute the Hoare Annotation=LoopHeads [2023-11-19 07:41:16,416 INFO L153 SettingsManager]: * Trace refinement strategy=CAMEL [2023-11-19 07:41:16,416 INFO L153 SettingsManager]: * Command for external solver=z3 SMTLIB2_COMPLIANT=true -memory:2024 -smt2 -in [2023-11-19 07:41:16,416 INFO L153 SettingsManager]: * Automaton type used in concurrency analysis=PETRI_NET [2023-11-19 07:41:16,417 INFO L153 SettingsManager]: * Compute Hoare Annotation of negated interpolant automaton, abstraction and CFG=true [2023-11-19 07:41:16,417 INFO L153 SettingsManager]: * Order on configurations for Petri net unfoldings=DBO [2023-11-19 07:41:16,417 INFO L153 SettingsManager]: * SMT solver=External_ModelsAndUnsatCoreMode [2023-11-19 07:41:16,417 INFO L153 SettingsManager]: * Independence relation used for large block encoding in concurrent analysis=SYNTACTIC [2023-11-19 07:41:16,418 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_c6f47040-bb66-4af7-8560-bf4191e6a47d/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_c6f47040-bb66-4af7-8560-bf4191e6a47d/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 ! data-race) ) 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 -> 21bb8f266262880d0d6873fb2e4e8bc5cd60f79baa0774ffc8a8aedd31b66692 [2023-11-19 07:41:16,758 INFO L75 nceAwareModelManager]: Repository-Root is: /tmp [2023-11-19 07:41:16,806 INFO L261 ainManager$Toolchain]: [Toolchain 1]: Applicable parser(s) successfully (re)initialized [2023-11-19 07:41:16,809 INFO L217 ainManager$Toolchain]: [Toolchain 1]: Toolchain selected. [2023-11-19 07:41:16,810 INFO L270 PluginConnector]: Initializing CDTParser... [2023-11-19 07:41:16,811 INFO L274 PluginConnector]: CDTParser initialized [2023-11-19 07:41:16,813 INFO L431 ainManager$Toolchain]: [Toolchain 1]: Parsing single file: /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_c6f47040-bb66-4af7-8560-bf4191e6a47d/bin/uautomizer-verify-uCwYo4JHxu/../../sv-benchmarks/c/pthread-race-challenges/per-thread-array-join-counter-race-3.i [2023-11-19 07:41:20,026 INFO L533 CDTParser]: Created temporary CDT project at NULL [2023-11-19 07:41:20,355 INFO L384 CDTParser]: Found 1 translation units. [2023-11-19 07:41:20,356 INFO L180 CDTParser]: Scanning /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_c6f47040-bb66-4af7-8560-bf4191e6a47d/sv-benchmarks/c/pthread-race-challenges/per-thread-array-join-counter-race-3.i [2023-11-19 07:41:20,375 INFO L427 CDTParser]: About to delete temporary CDT project at /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_c6f47040-bb66-4af7-8560-bf4191e6a47d/bin/uautomizer-verify-uCwYo4JHxu/data/89de82593/26a56f87cb424655a95cbafac45a49a0/FLAGd8e6c89bb [2023-11-19 07:41:20,392 INFO L435 CDTParser]: Successfully deleted /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_c6f47040-bb66-4af7-8560-bf4191e6a47d/bin/uautomizer-verify-uCwYo4JHxu/data/89de82593/26a56f87cb424655a95cbafac45a49a0 [2023-11-19 07:41:20,400 INFO L299 ainManager$Toolchain]: ####################### [Toolchain 1] ####################### [2023-11-19 07:41:20,402 INFO L133 ToolchainWalker]: Walking toolchain with 6 elements. [2023-11-19 07:41:20,407 INFO L112 PluginConnector]: ------------------------CACSL2BoogieTranslator---------------------------- [2023-11-19 07:41:20,408 INFO L270 PluginConnector]: Initializing CACSL2BoogieTranslator... [2023-11-19 07:41:20,414 INFO L274 PluginConnector]: CACSL2BoogieTranslator initialized [2023-11-19 07:41:20,416 INFO L184 PluginConnector]: Executing the observer ACSLObjectContainerObserver from plugin CACSL2BoogieTranslator for "CDTParser AST 19.11 07:41:20" (1/1) ... [2023-11-19 07:41:20,420 INFO L204 PluginConnector]: Invalid model from CACSL2BoogieTranslator for observer de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator.ACSLObjectContainerObserver@471206f0 and model type de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 19.11 07:41:20, skipping insertion in model container [2023-11-19 07:41:20,420 INFO L184 PluginConnector]: Executing the observer CACSL2BoogieTranslatorObserver from plugin CACSL2BoogieTranslator for "CDTParser AST 19.11 07:41:20" (1/1) ... [2023-11-19 07:41:20,499 INFO L177 MainTranslator]: Built tables and reachable declarations [2023-11-19 07:41:20,684 WARN L635 FunctionHandler]: implicit declaration of function __builtin_bswap16 [2023-11-19 07:41:21,092 INFO L209 PostProcessor]: Analyzing one entry point: main [2023-11-19 07:41:21,119 INFO L202 MainTranslator]: Completed pre-run [2023-11-19 07:41:21,146 WARN L635 FunctionHandler]: implicit declaration of function __builtin_bswap16 [2023-11-19 07:41:21,202 INFO L209 PostProcessor]: Analyzing one entry point: main [2023-11-19 07:41:21,282 WARN L675 CHandler]: The function __builtin_bswap16 is called, but not defined or handled by StandardFunctionHandler. [2023-11-19 07:41:21,290 INFO L206 MainTranslator]: Completed translation [2023-11-19 07:41:21,291 INFO L201 PluginConnector]: Adding new model de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 19.11 07:41:21 WrapperNode [2023-11-19 07:41:21,291 INFO L131 PluginConnector]: ------------------------ END CACSL2BoogieTranslator---------------------------- [2023-11-19 07:41:21,292 INFO L112 PluginConnector]: ------------------------Boogie Procedure Inliner---------------------------- [2023-11-19 07:41:21,292 INFO L270 PluginConnector]: Initializing Boogie Procedure Inliner... [2023-11-19 07:41:21,293 INFO L274 PluginConnector]: Boogie Procedure Inliner initialized [2023-11-19 07:41:21,300 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:41:21" (1/1) ... [2023-11-19 07:41:21,334 ERROR L1136 TypeChecker]: C: flags_mutex [1033]: Undeclared identifier #t~mem6 in IdentifierExpression[#t~mem6,] [2023-11-19 07:41:21,349 ERROR L1136 TypeChecker]: C: pthread_mutex_lock(&flags_mutex[i]) [1033]: Wrong parameter type at index 0: CallStatement[null,false,[VariableLHS[#t~nondet7,]],#PthreadsMutexLock,[StructConstructor[[base,offset],[StructAccessExpression[IdentifierExpression[#t~mem6,],base],BinaryExpression[ARITHPLUS,StructAccessExpression[IdentifierExpression[#t~mem6,],offset],BinaryExpression[ARITHMUL,IntegerLiteral[24],IdentifierExpression[~i~0,]]]]]]] [2023-11-19 07:41:21,350 ERROR L1136 TypeChecker]: C: flags_mutex [1041]: Undeclared identifier #t~mem11 in IdentifierExpression[#t~mem11,] [2023-11-19 07:41:21,351 ERROR L1136 TypeChecker]: C: pthread_mutex_lock(&flags_mutex[i]) [1041]: Wrong parameter type at index 0: CallStatement[null,false,[VariableLHS[#t~nondet12,]],#PthreadsMutexLock,[StructConstructor[[base,offset],[StructAccessExpression[IdentifierExpression[#t~mem11,],base],BinaryExpression[ARITHPLUS,StructAccessExpression[IdentifierExpression[#t~mem11,],offset],BinaryExpression[ARITHMUL,IntegerLiteral[24],IdentifierExpression[~i~1,]]]]]]] [2023-11-19 07:41:21,355 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:41:21" (1/1) ... [2023-11-19 07:41:21,368 INFO L131 PluginConnector]: ------------------------ END Boogie Procedure Inliner---------------------------- [2023-11-19 07:41:21,369 INFO L186 ToolchainWalker]: Toolchain execution was canceled (user or tool) before executing de.uni_freiburg.informatik.ultimate.boogie.preprocessor [2023-11-19 07:41:21,371 INFO L158 Benchmark]: Toolchain (without parser) took 968.18ms. Allocated memory is still 159.4MB. Free memory was 116.7MB in the beginning and 84.8MB in the end (delta: 31.9MB). Peak memory consumption was 31.5MB. Max. memory is 16.1GB. [2023-11-19 07:41:21,371 INFO L158 Benchmark]: CDTParser took 0.36ms. Allocated memory is still 159.4MB. Free memory is still 131.8MB. There was no memory consumed. Max. memory is 16.1GB. [2023-11-19 07:41:21,372 INFO L158 Benchmark]: CACSL2BoogieTranslator took 884.01ms. Allocated memory is still 159.4MB. Free memory was 116.7MB in the beginning and 86.5MB in the end (delta: 30.2MB). Peak memory consumption was 29.4MB. Max. memory is 16.1GB. [2023-11-19 07:41:21,373 INFO L158 Benchmark]: Boogie Procedure Inliner took 76.41ms. Allocated memory is still 159.4MB. Free memory was 86.4MB in the beginning and 84.8MB in the end (delta: 1.6MB). Peak memory consumption was 2.1MB. Max. memory is 16.1GB. [2023-11-19 07:41:21,375 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.36ms. Allocated memory is still 159.4MB. Free memory is still 131.8MB. There was no memory consumed. Max. memory is 16.1GB. * CACSL2BoogieTranslator took 884.01ms. Allocated memory is still 159.4MB. Free memory was 116.7MB in the beginning and 86.5MB in the end (delta: 30.2MB). Peak memory consumption was 29.4MB. Max. memory is 16.1GB. * Boogie Procedure Inliner took 76.41ms. Allocated memory is still 159.4MB. Free memory was 86.4MB in the beginning and 84.8MB in the end (delta: 1.6MB). Peak memory consumption was 2.1MB. Max. memory is 16.1GB. * Results from de.uni_freiburg.informatik.ultimate.boogie.preprocessor: - TypeErrorResult [Line: 1033]: Type Error Undeclared identifier #t~mem6 in IdentifierExpression[#t~mem6,] - TypeErrorResult [Line: 1033]: Type Error Wrong parameter type at index 0: CallStatement[null,false,[VariableLHS[#t~nondet7,]],#PthreadsMutexLock,[StructConstructor[[base,offset],[StructAccessExpression[IdentifierExpression[#t~mem6,],base],BinaryExpression[ARITHPLUS,StructAccessExpression[IdentifierExpression[#t~mem6,],offset],BinaryExpression[ARITHMUL,IntegerLiteral[24],IdentifierExpression[~i~0,]]]]]]] - TypeErrorResult [Line: 1041]: Type Error Undeclared identifier #t~mem11 in IdentifierExpression[#t~mem11,] - TypeErrorResult [Line: 1041]: Type Error Wrong parameter type at index 0: CallStatement[null,false,[VariableLHS[#t~nondet12,]],#PthreadsMutexLock,[StructConstructor[[base,offset],[StructAccessExpression[IdentifierExpression[#t~mem11,],base],BinaryExpression[ARITHPLUS,StructAccessExpression[IdentifierExpression[#t~mem11,],offset],BinaryExpression[ARITHMUL,IntegerLiteral[24],IdentifierExpression[~i~1,]]]]]]] 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_c6f47040-bb66-4af7-8560-bf4191e6a47d/bin/uautomizer-verify-uCwYo4JHxu/data/config -Xmx15G -Xms4m -jar /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_c6f47040-bb66-4af7-8560-bf4191e6a47d/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_c6f47040-bb66-4af7-8560-bf4191e6a47d/bin/uautomizer-verify-uCwYo4JHxu/data -tc /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_c6f47040-bb66-4af7-8560-bf4191e6a47d/bin/uautomizer-verify-uCwYo4JHxu/config/AutomizerReach.xml -i ../../sv-benchmarks/c/pthread-race-challenges/per-thread-array-join-counter-race-3.i -s /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_c6f47040-bb66-4af7-8560-bf4191e6a47d/bin/uautomizer-verify-uCwYo4JHxu/config/svcomp-DataRace-32bit-Automizer_Bitvector.epf --cacsl2boogietranslator.entry.function main --witnessprinter.witness.directory /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_c6f47040-bb66-4af7-8560-bf4191e6a47d/bin/uautomizer-verify-uCwYo4JHxu --witnessprinter.witness.filename witness --witnessprinter.write.witness.besides.input.file false --witnessprinter.graph.data.specification CHECK( init(main()), LTL(G ! data-race) ) --witnessprinter.graph.data.producer Automizer --witnessprinter.graph.data.architecture 32bit --witnessprinter.graph.data.programhash 21bb8f266262880d0d6873fb2e4e8bc5cd60f79baa0774ffc8a8aedd31b66692 --- Real Ultimate output --- This is Ultimate 0.2.3-dev-9bd2c7f [2023-11-19 07:41:23,935 INFO L188 SettingsManager]: Resetting all preferences to default values... [2023-11-19 07:41:24,071 INFO L114 SettingsManager]: Loading settings from /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_c6f47040-bb66-4af7-8560-bf4191e6a47d/bin/uautomizer-verify-uCwYo4JHxu/config/svcomp-DataRace-32bit-Automizer_Bitvector.epf [2023-11-19 07:41:24,081 WARN L101 SettingsManager]: Preference file contains the following unknown settings: [2023-11-19 07:41:24,085 WARN L103 SettingsManager]: * de.uni_freiburg.informatik.ultimate.core.Log level for class [2023-11-19 07:41:24,126 INFO L130 SettingsManager]: Preferences different from defaults after loading the file: [2023-11-19 07:41:24,127 INFO L151 SettingsManager]: Preferences of UltimateCore differ from their defaults: [2023-11-19 07:41:24,128 INFO L153 SettingsManager]: * Log level for class=de.uni_freiburg.informatik.ultimate.lib.smtlibutils.quantifier.QuantifierPusher=ERROR; [2023-11-19 07:41:24,129 INFO L151 SettingsManager]: Preferences of Boogie Procedure Inliner differ from their defaults: [2023-11-19 07:41:24,134 INFO L153 SettingsManager]: * Ignore calls to procedures called more than once=ONLY_FOR_SEQUENTIAL_PROGRAMS [2023-11-19 07:41:24,135 INFO L151 SettingsManager]: Preferences of BlockEncodingV2 differ from their defaults: [2023-11-19 07:41:24,135 INFO L153 SettingsManager]: * Create parallel compositions if possible=false [2023-11-19 07:41:24,136 INFO L153 SettingsManager]: * Use SBE=true [2023-11-19 07:41:24,138 INFO L151 SettingsManager]: Preferences of CACSL2BoogieTranslator differ from their defaults: [2023-11-19 07:41:24,139 INFO L153 SettingsManager]: * Pointer base address is valid at dereference=IGNORE [2023-11-19 07:41:24,139 INFO L153 SettingsManager]: * sizeof long=4 [2023-11-19 07:41:24,139 INFO L153 SettingsManager]: * sizeof POINTER=4 [2023-11-19 07:41:24,140 INFO L153 SettingsManager]: * Check division by zero=IGNORE [2023-11-19 07:41:24,140 INFO L153 SettingsManager]: * Pointer to allocated memory at dereference=IGNORE [2023-11-19 07:41:24,141 INFO L153 SettingsManager]: * If two pointers are subtracted or compared they have the same base address=IGNORE [2023-11-19 07:41:24,142 INFO L153 SettingsManager]: * Check array bounds for arrays that are off heap=IGNORE [2023-11-19 07:41:24,142 INFO L153 SettingsManager]: * Check absence of data races in concurrent programs=true [2023-11-19 07:41:24,143 INFO L153 SettingsManager]: * Use bitvectors instead of ints=true [2023-11-19 07:41:24,143 INFO L153 SettingsManager]: * Memory model=HoenickeLindenmann_4ByteResolution [2023-11-19 07:41:24,144 INFO L153 SettingsManager]: * Check unreachability of reach_error function=false [2023-11-19 07:41:24,144 INFO L153 SettingsManager]: * sizeof long double=12 [2023-11-19 07:41:24,144 INFO L153 SettingsManager]: * Check if freed pointer was valid=false [2023-11-19 07:41:24,145 INFO L153 SettingsManager]: * Use constant arrays=true [2023-11-19 07:41:24,145 INFO L151 SettingsManager]: Preferences of RCFGBuilder differ from their defaults: [2023-11-19 07:41:24,146 INFO L153 SettingsManager]: * Size of a code block=SequenceOfStatements [2023-11-19 07:41:24,147 INFO L153 SettingsManager]: * SMT solver=External_DefaultMode [2023-11-19 07:41:24,147 INFO L153 SettingsManager]: * Command for external solver=z3 SMTLIB2_COMPLIANT=true -memory:2024 -smt2 -in -t:2000 [2023-11-19 07:41:24,148 INFO L151 SettingsManager]: Preferences of TraceAbstraction differ from their defaults: [2023-11-19 07:41:24,148 INFO L153 SettingsManager]: * Compute Interpolants along a Counterexample=FPandBP [2023-11-19 07:41:24,148 INFO L153 SettingsManager]: * Positions where we compute the Hoare Annotation=LoopHeads [2023-11-19 07:41:24,149 INFO L153 SettingsManager]: * Trace refinement strategy=WOLF [2023-11-19 07:41:24,149 INFO L153 SettingsManager]: * Command for external solver=cvc4 --incremental --print-success --lang smt [2023-11-19 07:41:24,149 INFO L153 SettingsManager]: * Automaton type used in concurrency analysis=PETRI_NET [2023-11-19 07:41:24,149 INFO L153 SettingsManager]: * Compute Hoare Annotation of negated interpolant automaton, abstraction and CFG=true [2023-11-19 07:41:24,150 INFO L153 SettingsManager]: * Order on configurations for Petri net unfoldings=DBO [2023-11-19 07:41:24,151 INFO L153 SettingsManager]: * SMT solver=External_ModelsAndUnsatCoreMode [2023-11-19 07:41:24,151 INFO L153 SettingsManager]: * Logic for external solver=AUFBV [2023-11-19 07:41:24,151 INFO L153 SettingsManager]: * Independence relation used for large block encoding in concurrent analysis=SYNTACTIC [2023-11-19 07:41:24,151 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_c6f47040-bb66-4af7-8560-bf4191e6a47d/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_c6f47040-bb66-4af7-8560-bf4191e6a47d/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 ! data-race) ) 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 -> 21bb8f266262880d0d6873fb2e4e8bc5cd60f79baa0774ffc8a8aedd31b66692 [2023-11-19 07:41:24,594 INFO L75 nceAwareModelManager]: Repository-Root is: /tmp [2023-11-19 07:41:24,616 INFO L261 ainManager$Toolchain]: [Toolchain 1]: Applicable parser(s) successfully (re)initialized [2023-11-19 07:41:24,618 INFO L217 ainManager$Toolchain]: [Toolchain 1]: Toolchain selected. [2023-11-19 07:41:24,620 INFO L270 PluginConnector]: Initializing CDTParser... [2023-11-19 07:41:24,620 INFO L274 PluginConnector]: CDTParser initialized [2023-11-19 07:41:24,622 INFO L431 ainManager$Toolchain]: [Toolchain 1]: Parsing single file: /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_c6f47040-bb66-4af7-8560-bf4191e6a47d/bin/uautomizer-verify-uCwYo4JHxu/../../sv-benchmarks/c/pthread-race-challenges/per-thread-array-join-counter-race-3.i [2023-11-19 07:41:27,814 INFO L533 CDTParser]: Created temporary CDT project at NULL [2023-11-19 07:41:28,239 INFO L384 CDTParser]: Found 1 translation units. [2023-11-19 07:41:28,240 INFO L180 CDTParser]: Scanning /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_c6f47040-bb66-4af7-8560-bf4191e6a47d/sv-benchmarks/c/pthread-race-challenges/per-thread-array-join-counter-race-3.i [2023-11-19 07:41:28,273 INFO L427 CDTParser]: About to delete temporary CDT project at /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_c6f47040-bb66-4af7-8560-bf4191e6a47d/bin/uautomizer-verify-uCwYo4JHxu/data/75e0cbccc/c3f3ac356a35493f999f9993796e398e/FLAG450e96769 [2023-11-19 07:41:28,296 INFO L435 CDTParser]: Successfully deleted /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_c6f47040-bb66-4af7-8560-bf4191e6a47d/bin/uautomizer-verify-uCwYo4JHxu/data/75e0cbccc/c3f3ac356a35493f999f9993796e398e [2023-11-19 07:41:28,302 INFO L299 ainManager$Toolchain]: ####################### [Toolchain 1] ####################### [2023-11-19 07:41:28,303 INFO L133 ToolchainWalker]: Walking toolchain with 6 elements. [2023-11-19 07:41:28,308 INFO L112 PluginConnector]: ------------------------CACSL2BoogieTranslator---------------------------- [2023-11-19 07:41:28,308 INFO L270 PluginConnector]: Initializing CACSL2BoogieTranslator... [2023-11-19 07:41:28,314 INFO L274 PluginConnector]: CACSL2BoogieTranslator initialized [2023-11-19 07:41:28,314 INFO L184 PluginConnector]: Executing the observer ACSLObjectContainerObserver from plugin CACSL2BoogieTranslator for "CDTParser AST 19.11 07:41:28" (1/1) ... [2023-11-19 07:41:28,316 INFO L204 PluginConnector]: Invalid model from CACSL2BoogieTranslator for observer de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator.ACSLObjectContainerObserver@3b32dceb and model type de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 19.11 07:41:28, skipping insertion in model container [2023-11-19 07:41:28,316 INFO L184 PluginConnector]: Executing the observer CACSL2BoogieTranslatorObserver from plugin CACSL2BoogieTranslator for "CDTParser AST 19.11 07:41:28" (1/1) ... [2023-11-19 07:41:28,391 INFO L177 MainTranslator]: Built tables and reachable declarations [2023-11-19 07:41:28,636 WARN L635 FunctionHandler]: implicit declaration of function __builtin_bswap16 [2023-11-19 07:41:29,065 INFO L209 PostProcessor]: Analyzing one entry point: main [2023-11-19 07:41:29,093 INFO L202 MainTranslator]: Completed pre-run [2023-11-19 07:41:29,112 WARN L635 FunctionHandler]: implicit declaration of function __builtin_bswap16 [2023-11-19 07:41:29,175 INFO L209 PostProcessor]: Analyzing one entry point: main [2023-11-19 07:41:29,262 WARN L675 CHandler]: The function __builtin_bswap16 is called, but not defined or handled by StandardFunctionHandler. [2023-11-19 07:41:29,268 INFO L206 MainTranslator]: Completed translation [2023-11-19 07:41:29,269 INFO L201 PluginConnector]: Adding new model de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 19.11 07:41:29 WrapperNode [2023-11-19 07:41:29,269 INFO L131 PluginConnector]: ------------------------ END CACSL2BoogieTranslator---------------------------- [2023-11-19 07:41:29,270 INFO L112 PluginConnector]: ------------------------Boogie Procedure Inliner---------------------------- [2023-11-19 07:41:29,270 INFO L270 PluginConnector]: Initializing Boogie Procedure Inliner... [2023-11-19 07:41:29,271 INFO L274 PluginConnector]: Boogie Procedure Inliner initialized [2023-11-19 07:41:29,279 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:41:29" (1/1) ... [2023-11-19 07:41:29,319 ERROR L1136 TypeChecker]: C: flags_mutex [1033]: Undeclared identifier #t~mem6 in IdentifierExpression[#t~mem6,] [2023-11-19 07:41:29,320 ERROR L1136 TypeChecker]: C: pthread_mutex_lock(&flags_mutex[i]) [1033]: Wrong parameter type at index 0: CallStatement[null,false,[VariableLHS[#t~nondet7,]],#PthreadsMutexLock,[StructConstructor[[base,offset],[StructAccessExpression[IdentifierExpression[#t~mem6,],base],FunctionApplication[~bvadd~32,[StructAccessExpression[IdentifierExpression[#t~mem6,],offset],FunctionApplication[~bvmul~32,[BitvecLiteral[24,32],IdentifierExpression[~i~0,]]]]]]]]] [2023-11-19 07:41:29,321 ERROR L1136 TypeChecker]: C: flags_mutex [1041]: Undeclared identifier #t~mem11 in IdentifierExpression[#t~mem11,] [2023-11-19 07:41:29,322 ERROR L1136 TypeChecker]: C: pthread_mutex_lock(&flags_mutex[i]) [1041]: Wrong parameter type at index 0: CallStatement[null,false,[VariableLHS[#t~nondet12,]],#PthreadsMutexLock,[StructConstructor[[base,offset],[StructAccessExpression[IdentifierExpression[#t~mem11,],base],FunctionApplication[~bvadd~32,[StructAccessExpression[IdentifierExpression[#t~mem11,],offset],FunctionApplication[~bvmul~32,[BitvecLiteral[24,32],IdentifierExpression[~i~1,]]]]]]]]] [2023-11-19 07:41:29,327 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:41:29" (1/1) ... [2023-11-19 07:41:29,327 INFO L131 PluginConnector]: ------------------------ END Boogie Procedure Inliner---------------------------- [2023-11-19 07:41:29,328 INFO L186 ToolchainWalker]: Toolchain execution was canceled (user or tool) before executing de.uni_freiburg.informatik.ultimate.boogie.preprocessor [2023-11-19 07:41:29,329 INFO L158 Benchmark]: Toolchain (without parser) took 1025.29ms. Allocated memory is still 81.8MB. Free memory was 55.2MB in the beginning and 42.6MB in the end (delta: 12.5MB). Peak memory consumption was 13.9MB. Max. memory is 16.1GB. [2023-11-19 07:41:29,330 INFO L158 Benchmark]: CDTParser took 0.30ms. Allocated memory is still 81.8MB. Free memory was 57.4MB in the beginning and 57.3MB in the end (delta: 79.0kB). There was no memory consumed. Max. memory is 16.1GB. [2023-11-19 07:41:29,331 INFO L158 Benchmark]: CACSL2BoogieTranslator took 961.07ms. Allocated memory is still 81.8MB. Free memory was 55.0MB in the beginning and 44.2MB in the end (delta: 10.8MB). Peak memory consumption was 24.4MB. Max. memory is 16.1GB. [2023-11-19 07:41:29,331 INFO L158 Benchmark]: Boogie Procedure Inliner took 57.48ms. Allocated memory is still 81.8MB. Free memory was 44.2MB in the beginning and 42.6MB in the end (delta: 1.6MB). There was no memory consumed. Max. memory is 16.1GB. [2023-11-19 07:41:29,333 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 81.8MB. Free memory was 57.4MB in the beginning and 57.3MB in the end (delta: 79.0kB). There was no memory consumed. Max. memory is 16.1GB. * CACSL2BoogieTranslator took 961.07ms. Allocated memory is still 81.8MB. Free memory was 55.0MB in the beginning and 44.2MB in the end (delta: 10.8MB). Peak memory consumption was 24.4MB. Max. memory is 16.1GB. * Boogie Procedure Inliner took 57.48ms. Allocated memory is still 81.8MB. Free memory was 44.2MB in the beginning and 42.6MB in the end (delta: 1.6MB). There was no memory consumed. Max. memory is 16.1GB. * Results from de.uni_freiburg.informatik.ultimate.boogie.preprocessor: - TypeErrorResult [Line: 1033]: Type Error Undeclared identifier #t~mem6 in IdentifierExpression[#t~mem6,] - TypeErrorResult [Line: 1033]: Type Error Wrong parameter type at index 0: CallStatement[null,false,[VariableLHS[#t~nondet7,]],#PthreadsMutexLock,[StructConstructor[[base,offset],[StructAccessExpression[IdentifierExpression[#t~mem6,],base],FunctionApplication[~bvadd~32,[StructAccessExpression[IdentifierExpression[#t~mem6,],offset],FunctionApplication[~bvmul~32,[BitvecLiteral[24,32],IdentifierExpression[~i~0,]]]]]]]]] - TypeErrorResult [Line: 1041]: Type Error Undeclared identifier #t~mem11 in IdentifierExpression[#t~mem11,] - TypeErrorResult [Line: 1041]: Type Error Wrong parameter type at index 0: CallStatement[null,false,[VariableLHS[#t~nondet12,]],#PthreadsMutexLock,[StructConstructor[[base,offset],[StructAccessExpression[IdentifierExpression[#t~mem11,],base],FunctionApplication[~bvadd~32,[StructAccessExpression[IdentifierExpression[#t~mem11,],offset],FunctionApplication[~bvmul~32,[BitvecLiteral[24,32],IdentifierExpression[~i~1,]]]]]]]]] RESULT: Ultimate could not prove your program: Toolchain returned no result. Received shutdown request... --- End real Ultimate output --- Execution finished normally Writing output log to file Ultimate.log Result: ERROR: TYPE ERROR