./Ultimate.py --spec ../../sv-benchmarks/c/properties/no-data-race.prp --file ../../sv-benchmarks/c/pthread-race-challenges/per-thread-array-join-counter.i --full-output --architecture 32bit -------------------------------------------------------------------------------- Checking for data races Using default analysis Version 9bd2c7ff 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_23d15632-7c36-4100-ad15-508f85201c47/bin/uautomizer-verify-uCwYo4JHxu/data/config -Xmx15G -Xms4m -jar /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_23d15632-7c36-4100-ad15-508f85201c47/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_23d15632-7c36-4100-ad15-508f85201c47/bin/uautomizer-verify-uCwYo4JHxu/data -tc /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_23d15632-7c36-4100-ad15-508f85201c47/bin/uautomizer-verify-uCwYo4JHxu/config/AutomizerReach.xml -i ../../sv-benchmarks/c/pthread-race-challenges/per-thread-array-join-counter.i -s /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_23d15632-7c36-4100-ad15-508f85201c47/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_23d15632-7c36-4100-ad15-508f85201c47/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 446ad788bb04ab307771e8b8b2d959cead97e99c160d020f0d1d03b043f9ed25 --- Real Ultimate output --- This is Ultimate 0.2.3-dev-9bd2c7f [2023-11-19 07:37:35,425 INFO L188 SettingsManager]: Resetting all preferences to default values... [2023-11-19 07:37:35,543 INFO L114 SettingsManager]: Loading settings from /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_23d15632-7c36-4100-ad15-508f85201c47/bin/uautomizer-verify-uCwYo4JHxu/config/svcomp-DataRace-32bit-Automizer_Default.epf [2023-11-19 07:37:35,554 WARN L101 SettingsManager]: Preference file contains the following unknown settings: [2023-11-19 07:37:35,555 WARN L103 SettingsManager]: * de.uni_freiburg.informatik.ultimate.core.Log level for class [2023-11-19 07:37:35,600 INFO L130 SettingsManager]: Preferences different from defaults after loading the file: [2023-11-19 07:37:35,601 INFO L151 SettingsManager]: Preferences of UltimateCore differ from their defaults: [2023-11-19 07:37:35,602 INFO L153 SettingsManager]: * Log level for class=de.uni_freiburg.informatik.ultimate.lib.smtlibutils.quantifier.QuantifierPusher=ERROR; [2023-11-19 07:37:35,603 INFO L151 SettingsManager]: Preferences of Boogie Procedure Inliner differ from their defaults: [2023-11-19 07:37:35,611 INFO L153 SettingsManager]: * Ignore calls to procedures called more than once=ONLY_FOR_SEQUENTIAL_PROGRAMS [2023-11-19 07:37:35,612 INFO L151 SettingsManager]: Preferences of BlockEncodingV2 differ from their defaults: [2023-11-19 07:37:35,613 INFO L153 SettingsManager]: * Create parallel compositions if possible=false [2023-11-19 07:37:35,614 INFO L153 SettingsManager]: * Use SBE=true [2023-11-19 07:37:35,616 INFO L151 SettingsManager]: Preferences of CACSL2BoogieTranslator differ from their defaults: [2023-11-19 07:37:35,616 INFO L153 SettingsManager]: * Pointer base address is valid at dereference=IGNORE [2023-11-19 07:37:35,617 INFO L153 SettingsManager]: * sizeof long=4 [2023-11-19 07:37:35,617 INFO L153 SettingsManager]: * Overapproximate operations on floating types=true [2023-11-19 07:37:35,618 INFO L153 SettingsManager]: * sizeof POINTER=4 [2023-11-19 07:37:35,618 INFO L153 SettingsManager]: * Check division by zero=IGNORE [2023-11-19 07:37:35,619 INFO L153 SettingsManager]: * Pointer to allocated memory at dereference=IGNORE [2023-11-19 07:37:35,619 INFO L153 SettingsManager]: * If two pointers are subtracted or compared they have the same base address=IGNORE [2023-11-19 07:37:35,620 INFO L153 SettingsManager]: * Check array bounds for arrays that are off heap=IGNORE [2023-11-19 07:37:35,620 INFO L153 SettingsManager]: * Check absence of data races in concurrent programs=true [2023-11-19 07:37:35,621 INFO L153 SettingsManager]: * Check unreachability of reach_error function=false [2023-11-19 07:37:35,621 INFO L153 SettingsManager]: * sizeof long double=12 [2023-11-19 07:37:35,622 INFO L153 SettingsManager]: * Check if freed pointer was valid=false [2023-11-19 07:37:35,622 INFO L153 SettingsManager]: * Use constant arrays=true [2023-11-19 07:37:35,623 INFO L151 SettingsManager]: Preferences of RCFGBuilder differ from their defaults: [2023-11-19 07:37:35,624 INFO L153 SettingsManager]: * Size of a code block=SequenceOfStatements [2023-11-19 07:37:35,624 INFO L153 SettingsManager]: * SMT solver=External_DefaultMode [2023-11-19 07:37:35,626 INFO L153 SettingsManager]: * Command for external solver=z3 SMTLIB2_COMPLIANT=true -memory:2024 -smt2 -in -t:2000 [2023-11-19 07:37:35,626 INFO L151 SettingsManager]: Preferences of TraceAbstraction differ from their defaults: [2023-11-19 07:37:35,626 INFO L153 SettingsManager]: * Compute Interpolants along a Counterexample=FPandBP [2023-11-19 07:37:35,627 INFO L153 SettingsManager]: * Positions where we compute the Hoare Annotation=LoopHeads [2023-11-19 07:37:35,627 INFO L153 SettingsManager]: * Trace refinement strategy=CAMEL [2023-11-19 07:37:35,627 INFO L153 SettingsManager]: * Command for external solver=z3 SMTLIB2_COMPLIANT=true -memory:2024 -smt2 -in [2023-11-19 07:37:35,627 INFO L153 SettingsManager]: * Automaton type used in concurrency analysis=PETRI_NET [2023-11-19 07:37:35,628 INFO L153 SettingsManager]: * Compute Hoare Annotation of negated interpolant automaton, abstraction and CFG=true [2023-11-19 07:37:35,628 INFO L153 SettingsManager]: * Order on configurations for Petri net unfoldings=DBO [2023-11-19 07:37:35,628 INFO L153 SettingsManager]: * SMT solver=External_ModelsAndUnsatCoreMode [2023-11-19 07:37:35,628 INFO L153 SettingsManager]: * Independence relation used for large block encoding in concurrent analysis=SYNTACTIC [2023-11-19 07:37:35,630 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_23d15632-7c36-4100-ad15-508f85201c47/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_23d15632-7c36-4100-ad15-508f85201c47/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 -> 446ad788bb04ab307771e8b8b2d959cead97e99c160d020f0d1d03b043f9ed25 [2023-11-19 07:37:35,954 INFO L75 nceAwareModelManager]: Repository-Root is: /tmp [2023-11-19 07:37:35,978 INFO L261 ainManager$Toolchain]: [Toolchain 1]: Applicable parser(s) successfully (re)initialized [2023-11-19 07:37:35,981 INFO L217 ainManager$Toolchain]: [Toolchain 1]: Toolchain selected. [2023-11-19 07:37:35,982 INFO L270 PluginConnector]: Initializing CDTParser... [2023-11-19 07:37:35,983 INFO L274 PluginConnector]: CDTParser initialized [2023-11-19 07:37:35,984 INFO L431 ainManager$Toolchain]: [Toolchain 1]: Parsing single file: /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_23d15632-7c36-4100-ad15-508f85201c47/bin/uautomizer-verify-uCwYo4JHxu/../../sv-benchmarks/c/pthread-race-challenges/per-thread-array-join-counter.i [2023-11-19 07:37:39,141 INFO L533 CDTParser]: Created temporary CDT project at NULL [2023-11-19 07:37:39,479 INFO L384 CDTParser]: Found 1 translation units. [2023-11-19 07:37:39,480 INFO L180 CDTParser]: Scanning /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_23d15632-7c36-4100-ad15-508f85201c47/sv-benchmarks/c/pthread-race-challenges/per-thread-array-join-counter.i [2023-11-19 07:37:39,506 INFO L427 CDTParser]: About to delete temporary CDT project at /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_23d15632-7c36-4100-ad15-508f85201c47/bin/uautomizer-verify-uCwYo4JHxu/data/6536f0232/a5912788cb80469596b7b5022b231c94/FLAGe9b043a69 [2023-11-19 07:37:39,522 INFO L435 CDTParser]: Successfully deleted /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_23d15632-7c36-4100-ad15-508f85201c47/bin/uautomizer-verify-uCwYo4JHxu/data/6536f0232/a5912788cb80469596b7b5022b231c94 [2023-11-19 07:37:39,525 INFO L299 ainManager$Toolchain]: ####################### [Toolchain 1] ####################### [2023-11-19 07:37:39,527 INFO L133 ToolchainWalker]: Walking toolchain with 6 elements. [2023-11-19 07:37:39,528 INFO L112 PluginConnector]: ------------------------CACSL2BoogieTranslator---------------------------- [2023-11-19 07:37:39,529 INFO L270 PluginConnector]: Initializing CACSL2BoogieTranslator... [2023-11-19 07:37:39,535 INFO L274 PluginConnector]: CACSL2BoogieTranslator initialized [2023-11-19 07:37:39,536 INFO L184 PluginConnector]: Executing the observer ACSLObjectContainerObserver from plugin CACSL2BoogieTranslator for "CDTParser AST 19.11 07:37:39" (1/1) ... [2023-11-19 07:37:39,539 INFO L204 PluginConnector]: Invalid model from CACSL2BoogieTranslator for observer de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator.ACSLObjectContainerObserver@66e978be and model type de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 19.11 07:37:39, skipping insertion in model container [2023-11-19 07:37:39,540 INFO L184 PluginConnector]: Executing the observer CACSL2BoogieTranslatorObserver from plugin CACSL2BoogieTranslator for "CDTParser AST 19.11 07:37:39" (1/1) ... [2023-11-19 07:37:39,622 INFO L177 MainTranslator]: Built tables and reachable declarations [2023-11-19 07:37:39,854 WARN L635 FunctionHandler]: implicit declaration of function __builtin_bswap16 [2023-11-19 07:37:40,314 INFO L209 PostProcessor]: Analyzing one entry point: main [2023-11-19 07:37:40,342 INFO L202 MainTranslator]: Completed pre-run [2023-11-19 07:37:40,369 WARN L635 FunctionHandler]: implicit declaration of function __builtin_bswap16 [2023-11-19 07:37:40,436 INFO L209 PostProcessor]: Analyzing one entry point: main [2023-11-19 07:37:40,617 WARN L675 CHandler]: The function __builtin_bswap16 is called, but not defined or handled by StandardFunctionHandler. [2023-11-19 07:37:40,625 INFO L206 MainTranslator]: Completed translation [2023-11-19 07:37:40,625 INFO L201 PluginConnector]: Adding new model de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 19.11 07:37:40 WrapperNode [2023-11-19 07:37:40,625 INFO L131 PluginConnector]: ------------------------ END CACSL2BoogieTranslator---------------------------- [2023-11-19 07:37:40,627 INFO L112 PluginConnector]: ------------------------Boogie Procedure Inliner---------------------------- [2023-11-19 07:37:40,627 INFO L270 PluginConnector]: Initializing Boogie Procedure Inliner... [2023-11-19 07:37:40,627 INFO L274 PluginConnector]: Boogie Procedure Inliner initialized [2023-11-19 07:37:40,635 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:37:40" (1/1) ... [2023-11-19 07:37:40,677 ERROR L1136 TypeChecker]: C: flags_mutex [1033]: Undeclared identifier #t~mem6 in IdentifierExpression[#t~mem6,] [2023-11-19 07:37:40,678 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:37:40,679 ERROR L1136 TypeChecker]: C: flags_mutex [1041]: Undeclared identifier #t~mem11 in IdentifierExpression[#t~mem11,] [2023-11-19 07:37:40,691 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:37:40,695 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:37:40" (1/1) ... [2023-11-19 07:37:40,696 INFO L131 PluginConnector]: ------------------------ END Boogie Procedure Inliner---------------------------- [2023-11-19 07:37:40,696 INFO L186 ToolchainWalker]: Toolchain execution was canceled (user or tool) before executing de.uni_freiburg.informatik.ultimate.boogie.preprocessor [2023-11-19 07:37:40,698 INFO L158 Benchmark]: Toolchain (without parser) took 1170.35ms. Allocated memory is still 119.5MB. Free memory was 74.3MB in the beginning and 88.1MB in the end (delta: -13.8MB). There was no memory consumed. Max. memory is 16.1GB. [2023-11-19 07:37:40,699 INFO L158 Benchmark]: CDTParser took 0.34ms. Allocated memory is still 119.5MB. Free memory was 92.5MB in the beginning and 92.4MB in the end (delta: 167.8kB). There was no memory consumed. Max. memory is 16.1GB. [2023-11-19 07:37:40,699 INFO L158 Benchmark]: CACSL2BoogieTranslator took 1097.50ms. Allocated memory is still 119.5MB. Free memory was 74.2MB in the beginning and 89.5MB in the end (delta: -15.4MB). Peak memory consumption was 42.0MB. Max. memory is 16.1GB. [2023-11-19 07:37:40,700 INFO L158 Benchmark]: Boogie Procedure Inliner took 69.33ms. Allocated memory is still 119.5MB. Free memory was 89.5MB in the beginning and 88.1MB in the end (delta: 1.4MB). Peak memory consumption was 2.1MB. Max. memory is 16.1GB. [2023-11-19 07:37:40,702 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.34ms. Allocated memory is still 119.5MB. Free memory was 92.5MB in the beginning and 92.4MB in the end (delta: 167.8kB). There was no memory consumed. Max. memory is 16.1GB. * CACSL2BoogieTranslator took 1097.50ms. Allocated memory is still 119.5MB. Free memory was 74.2MB in the beginning and 89.5MB in the end (delta: -15.4MB). Peak memory consumption was 42.0MB. Max. memory is 16.1GB. * Boogie Procedure Inliner took 69.33ms. Allocated memory is still 119.5MB. Free memory was 89.5MB in the beginning and 88.1MB in the end (delta: 1.4MB). 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-11-openjdk-amd64/bin/java -Dosgi.configuration.area=/tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_23d15632-7c36-4100-ad15-508f85201c47/bin/uautomizer-verify-uCwYo4JHxu/data/config -Xmx15G -Xms4m -jar /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_23d15632-7c36-4100-ad15-508f85201c47/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_23d15632-7c36-4100-ad15-508f85201c47/bin/uautomizer-verify-uCwYo4JHxu/data -tc /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_23d15632-7c36-4100-ad15-508f85201c47/bin/uautomizer-verify-uCwYo4JHxu/config/AutomizerReach.xml -i ../../sv-benchmarks/c/pthread-race-challenges/per-thread-array-join-counter.i -s /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_23d15632-7c36-4100-ad15-508f85201c47/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_23d15632-7c36-4100-ad15-508f85201c47/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 446ad788bb04ab307771e8b8b2d959cead97e99c160d020f0d1d03b043f9ed25 --- Real Ultimate output --- This is Ultimate 0.2.3-dev-9bd2c7f [2023-11-19 07:37:43,319 INFO L188 SettingsManager]: Resetting all preferences to default values... [2023-11-19 07:37:43,454 INFO L114 SettingsManager]: Loading settings from /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_23d15632-7c36-4100-ad15-508f85201c47/bin/uautomizer-verify-uCwYo4JHxu/config/svcomp-DataRace-32bit-Automizer_Bitvector.epf [2023-11-19 07:37:43,463 WARN L101 SettingsManager]: Preference file contains the following unknown settings: [2023-11-19 07:37:43,464 WARN L103 SettingsManager]: * de.uni_freiburg.informatik.ultimate.core.Log level for class [2023-11-19 07:37:43,513 INFO L130 SettingsManager]: Preferences different from defaults after loading the file: [2023-11-19 07:37:43,514 INFO L151 SettingsManager]: Preferences of UltimateCore differ from their defaults: [2023-11-19 07:37:43,514 INFO L153 SettingsManager]: * Log level for class=de.uni_freiburg.informatik.ultimate.lib.smtlibutils.quantifier.QuantifierPusher=ERROR; [2023-11-19 07:37:43,516 INFO L151 SettingsManager]: Preferences of Boogie Procedure Inliner differ from their defaults: [2023-11-19 07:37:43,517 INFO L153 SettingsManager]: * Ignore calls to procedures called more than once=ONLY_FOR_SEQUENTIAL_PROGRAMS [2023-11-19 07:37:43,518 INFO L151 SettingsManager]: Preferences of BlockEncodingV2 differ from their defaults: [2023-11-19 07:37:43,519 INFO L153 SettingsManager]: * Create parallel compositions if possible=false [2023-11-19 07:37:43,520 INFO L153 SettingsManager]: * Use SBE=true [2023-11-19 07:37:43,525 INFO L151 SettingsManager]: Preferences of CACSL2BoogieTranslator differ from their defaults: [2023-11-19 07:37:43,526 INFO L153 SettingsManager]: * Pointer base address is valid at dereference=IGNORE [2023-11-19 07:37:43,526 INFO L153 SettingsManager]: * sizeof long=4 [2023-11-19 07:37:43,527 INFO L153 SettingsManager]: * sizeof POINTER=4 [2023-11-19 07:37:43,527 INFO L153 SettingsManager]: * Check division by zero=IGNORE [2023-11-19 07:37:43,528 INFO L153 SettingsManager]: * Pointer to allocated memory at dereference=IGNORE [2023-11-19 07:37:43,529 INFO L153 SettingsManager]: * If two pointers are subtracted or compared they have the same base address=IGNORE [2023-11-19 07:37:43,530 INFO L153 SettingsManager]: * Check array bounds for arrays that are off heap=IGNORE [2023-11-19 07:37:43,531 INFO L153 SettingsManager]: * Check absence of data races in concurrent programs=true [2023-11-19 07:37:43,531 INFO L153 SettingsManager]: * Use bitvectors instead of ints=true [2023-11-19 07:37:43,532 INFO L153 SettingsManager]: * Memory model=HoenickeLindenmann_4ByteResolution [2023-11-19 07:37:43,532 INFO L153 SettingsManager]: * Check unreachability of reach_error function=false [2023-11-19 07:37:43,533 INFO L153 SettingsManager]: * sizeof long double=12 [2023-11-19 07:37:43,533 INFO L153 SettingsManager]: * Check if freed pointer was valid=false [2023-11-19 07:37:43,534 INFO L153 SettingsManager]: * Use constant arrays=true [2023-11-19 07:37:43,534 INFO L151 SettingsManager]: Preferences of RCFGBuilder differ from their defaults: [2023-11-19 07:37:43,535 INFO L153 SettingsManager]: * Size of a code block=SequenceOfStatements [2023-11-19 07:37:43,536 INFO L153 SettingsManager]: * SMT solver=External_DefaultMode [2023-11-19 07:37:43,536 INFO L153 SettingsManager]: * Command for external solver=z3 SMTLIB2_COMPLIANT=true -memory:2024 -smt2 -in -t:2000 [2023-11-19 07:37:43,537 INFO L151 SettingsManager]: Preferences of TraceAbstraction differ from their defaults: [2023-11-19 07:37:43,537 INFO L153 SettingsManager]: * Compute Interpolants along a Counterexample=FPandBP [2023-11-19 07:37:43,538 INFO L153 SettingsManager]: * Positions where we compute the Hoare Annotation=LoopHeads [2023-11-19 07:37:43,538 INFO L153 SettingsManager]: * Trace refinement strategy=WOLF [2023-11-19 07:37:43,538 INFO L153 SettingsManager]: * Command for external solver=cvc4 --incremental --print-success --lang smt [2023-11-19 07:37:43,538 INFO L153 SettingsManager]: * Automaton type used in concurrency analysis=PETRI_NET [2023-11-19 07:37:43,539 INFO L153 SettingsManager]: * Compute Hoare Annotation of negated interpolant automaton, abstraction and CFG=true [2023-11-19 07:37:43,540 INFO L153 SettingsManager]: * Order on configurations for Petri net unfoldings=DBO [2023-11-19 07:37:43,540 INFO L153 SettingsManager]: * SMT solver=External_ModelsAndUnsatCoreMode [2023-11-19 07:37:43,540 INFO L153 SettingsManager]: * Logic for external solver=AUFBV [2023-11-19 07:37:43,541 INFO L153 SettingsManager]: * Independence relation used for large block encoding in concurrent analysis=SYNTACTIC [2023-11-19 07:37:43,541 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_23d15632-7c36-4100-ad15-508f85201c47/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_23d15632-7c36-4100-ad15-508f85201c47/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 -> 446ad788bb04ab307771e8b8b2d959cead97e99c160d020f0d1d03b043f9ed25 [2023-11-19 07:37:43,989 INFO L75 nceAwareModelManager]: Repository-Root is: /tmp [2023-11-19 07:37:44,021 INFO L261 ainManager$Toolchain]: [Toolchain 1]: Applicable parser(s) successfully (re)initialized [2023-11-19 07:37:44,025 INFO L217 ainManager$Toolchain]: [Toolchain 1]: Toolchain selected. [2023-11-19 07:37:44,026 INFO L270 PluginConnector]: Initializing CDTParser... [2023-11-19 07:37:44,027 INFO L274 PluginConnector]: CDTParser initialized [2023-11-19 07:37:44,028 INFO L431 ainManager$Toolchain]: [Toolchain 1]: Parsing single file: /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_23d15632-7c36-4100-ad15-508f85201c47/bin/uautomizer-verify-uCwYo4JHxu/../../sv-benchmarks/c/pthread-race-challenges/per-thread-array-join-counter.i [2023-11-19 07:37:47,412 INFO L533 CDTParser]: Created temporary CDT project at NULL [2023-11-19 07:37:47,800 INFO L384 CDTParser]: Found 1 translation units. [2023-11-19 07:37:47,801 INFO L180 CDTParser]: Scanning /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_23d15632-7c36-4100-ad15-508f85201c47/sv-benchmarks/c/pthread-race-challenges/per-thread-array-join-counter.i [2023-11-19 07:37:47,832 INFO L427 CDTParser]: About to delete temporary CDT project at /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_23d15632-7c36-4100-ad15-508f85201c47/bin/uautomizer-verify-uCwYo4JHxu/data/18327008e/a4873836bec14f8891dd354fc1c26721/FLAG1da7adba5 [2023-11-19 07:37:47,849 INFO L435 CDTParser]: Successfully deleted /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_23d15632-7c36-4100-ad15-508f85201c47/bin/uautomizer-verify-uCwYo4JHxu/data/18327008e/a4873836bec14f8891dd354fc1c26721 [2023-11-19 07:37:47,855 INFO L299 ainManager$Toolchain]: ####################### [Toolchain 1] ####################### [2023-11-19 07:37:47,857 INFO L133 ToolchainWalker]: Walking toolchain with 6 elements. [2023-11-19 07:37:47,859 INFO L112 PluginConnector]: ------------------------CACSL2BoogieTranslator---------------------------- [2023-11-19 07:37:47,859 INFO L270 PluginConnector]: Initializing CACSL2BoogieTranslator... [2023-11-19 07:37:47,865 INFO L274 PluginConnector]: CACSL2BoogieTranslator initialized [2023-11-19 07:37:47,865 INFO L184 PluginConnector]: Executing the observer ACSLObjectContainerObserver from plugin CACSL2BoogieTranslator for "CDTParser AST 19.11 07:37:47" (1/1) ... [2023-11-19 07:37:47,867 INFO L204 PluginConnector]: Invalid model from CACSL2BoogieTranslator for observer de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator.ACSLObjectContainerObserver@20232301 and model type de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 19.11 07:37:47, skipping insertion in model container [2023-11-19 07:37:47,867 INFO L184 PluginConnector]: Executing the observer CACSL2BoogieTranslatorObserver from plugin CACSL2BoogieTranslator for "CDTParser AST 19.11 07:37:47" (1/1) ... [2023-11-19 07:37:47,942 INFO L177 MainTranslator]: Built tables and reachable declarations [2023-11-19 07:37:48,180 WARN L635 FunctionHandler]: implicit declaration of function __builtin_bswap16 [2023-11-19 07:37:48,577 INFO L209 PostProcessor]: Analyzing one entry point: main [2023-11-19 07:37:48,597 INFO L202 MainTranslator]: Completed pre-run [2023-11-19 07:37:48,672 WARN L635 FunctionHandler]: implicit declaration of function __builtin_bswap16 [2023-11-19 07:37:48,754 INFO L209 PostProcessor]: Analyzing one entry point: main [2023-11-19 07:37:48,832 WARN L675 CHandler]: The function __builtin_bswap16 is called, but not defined or handled by StandardFunctionHandler. [2023-11-19 07:37:48,841 INFO L206 MainTranslator]: Completed translation [2023-11-19 07:37:48,841 INFO L201 PluginConnector]: Adding new model de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 19.11 07:37:48 WrapperNode [2023-11-19 07:37:48,841 INFO L131 PluginConnector]: ------------------------ END CACSL2BoogieTranslator---------------------------- [2023-11-19 07:37:48,843 INFO L112 PluginConnector]: ------------------------Boogie Procedure Inliner---------------------------- [2023-11-19 07:37:48,843 INFO L270 PluginConnector]: Initializing Boogie Procedure Inliner... [2023-11-19 07:37:48,843 INFO L274 PluginConnector]: Boogie Procedure Inliner initialized [2023-11-19 07:37:48,851 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:37:48" (1/1) ... [2023-11-19 07:37:48,876 ERROR L1136 TypeChecker]: C: flags_mutex [1033]: Undeclared identifier #t~mem6 in IdentifierExpression[#t~mem6,] [2023-11-19 07:37:48,877 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:37:48,879 ERROR L1136 TypeChecker]: C: flags_mutex [1041]: Undeclared identifier #t~mem11 in IdentifierExpression[#t~mem11,] [2023-11-19 07:37:48,879 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:37:48,884 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:37:48" (1/1) ... [2023-11-19 07:37:48,885 INFO L131 PluginConnector]: ------------------------ END Boogie Procedure Inliner---------------------------- [2023-11-19 07:37:48,885 INFO L186 ToolchainWalker]: Toolchain execution was canceled (user or tool) before executing de.uni_freiburg.informatik.ultimate.boogie.preprocessor [2023-11-19 07:37:48,888 INFO L158 Benchmark]: Toolchain (without parser) took 1029.41ms. Allocated memory was 79.7MB in the beginning and 102.8MB in the end (delta: 23.1MB). Free memory was 54.0MB in the beginning and 62.4MB in the end (delta: -8.4MB). Peak memory consumption was 13.7MB. Max. memory is 16.1GB. [2023-11-19 07:37:48,888 INFO L158 Benchmark]: CDTParser took 0.35ms. Allocated memory is still 79.7MB. Free memory was 56.5MB in the beginning and 56.3MB in the end (delta: 141.9kB). Peak memory consumption was 2.1MB. Max. memory is 16.1GB. [2023-11-19 07:37:48,889 INFO L158 Benchmark]: CACSL2BoogieTranslator took 982.93ms. Allocated memory was 79.7MB in the beginning and 102.8MB in the end (delta: 23.1MB). Free memory was 53.7MB in the beginning and 64.2MB in the end (delta: -10.4MB). Peak memory consumption was 20.0MB. Max. memory is 16.1GB. [2023-11-19 07:37:48,890 INFO L158 Benchmark]: Boogie Procedure Inliner took 42.49ms. Allocated memory is still 102.8MB. Free memory was 64.2MB in the beginning and 62.4MB in the end (delta: 1.8MB). Peak memory consumption was 2.1MB. Max. memory is 16.1GB. [2023-11-19 07:37:48,893 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.35ms. Allocated memory is still 79.7MB. Free memory was 56.5MB in the beginning and 56.3MB in the end (delta: 141.9kB). Peak memory consumption was 2.1MB. Max. memory is 16.1GB. * CACSL2BoogieTranslator took 982.93ms. Allocated memory was 79.7MB in the beginning and 102.8MB in the end (delta: 23.1MB). Free memory was 53.7MB in the beginning and 64.2MB in the end (delta: -10.4MB). Peak memory consumption was 20.0MB. Max. memory is 16.1GB. * Boogie Procedure Inliner took 42.49ms. Allocated memory is still 102.8MB. Free memory was 64.2MB in the beginning and 62.4MB in the end (delta: 1.8MB). 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],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