./Ultimate.py --spec ../../sv-benchmarks/c/properties/no-data-race.prp --file ../../sv-benchmarks/c/pthread-race-challenges/per-thread-array-join-counter-race-2.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_cccb8ca9-1327-4aec-822c-94f8775570ce/bin/uautomizer-verify-uCwYo4JHxu/data/config -Xmx15G -Xms4m -jar /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_cccb8ca9-1327-4aec-822c-94f8775570ce/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_cccb8ca9-1327-4aec-822c-94f8775570ce/bin/uautomizer-verify-uCwYo4JHxu/data -tc /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_cccb8ca9-1327-4aec-822c-94f8775570ce/bin/uautomizer-verify-uCwYo4JHxu/config/AutomizerReach.xml -i ../../sv-benchmarks/c/pthread-race-challenges/per-thread-array-join-counter-race-2.i -s /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_cccb8ca9-1327-4aec-822c-94f8775570ce/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_cccb8ca9-1327-4aec-822c-94f8775570ce/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 534bdd637f5e5b671357d3ac8ec1b617321ae1d1d7a44132336275a64f61ed0f --- Real Ultimate output --- This is Ultimate 0.2.3-dev-9bd2c7f [2023-11-19 07:32:53,039 INFO L188 SettingsManager]: Resetting all preferences to default values... [2023-11-19 07:32:53,162 INFO L114 SettingsManager]: Loading settings from /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_cccb8ca9-1327-4aec-822c-94f8775570ce/bin/uautomizer-verify-uCwYo4JHxu/config/svcomp-DataRace-32bit-Automizer_Default.epf [2023-11-19 07:32:53,174 WARN L101 SettingsManager]: Preference file contains the following unknown settings: [2023-11-19 07:32:53,175 WARN L103 SettingsManager]: * de.uni_freiburg.informatik.ultimate.core.Log level for class [2023-11-19 07:32:53,218 INFO L130 SettingsManager]: Preferences different from defaults after loading the file: [2023-11-19 07:32:53,219 INFO L151 SettingsManager]: Preferences of UltimateCore differ from their defaults: [2023-11-19 07:32:53,220 INFO L153 SettingsManager]: * Log level for class=de.uni_freiburg.informatik.ultimate.lib.smtlibutils.quantifier.QuantifierPusher=ERROR; [2023-11-19 07:32:53,221 INFO L151 SettingsManager]: Preferences of Boogie Procedure Inliner differ from their defaults: [2023-11-19 07:32:53,226 INFO L153 SettingsManager]: * Ignore calls to procedures called more than once=ONLY_FOR_SEQUENTIAL_PROGRAMS [2023-11-19 07:32:53,227 INFO L151 SettingsManager]: Preferences of BlockEncodingV2 differ from their defaults: [2023-11-19 07:32:53,227 INFO L153 SettingsManager]: * Create parallel compositions if possible=false [2023-11-19 07:32:53,228 INFO L153 SettingsManager]: * Use SBE=true [2023-11-19 07:32:53,229 INFO L151 SettingsManager]: Preferences of CACSL2BoogieTranslator differ from their defaults: [2023-11-19 07:32:53,230 INFO L153 SettingsManager]: * Pointer base address is valid at dereference=IGNORE [2023-11-19 07:32:53,230 INFO L153 SettingsManager]: * sizeof long=4 [2023-11-19 07:32:53,231 INFO L153 SettingsManager]: * Overapproximate operations on floating types=true [2023-11-19 07:32:53,231 INFO L153 SettingsManager]: * sizeof POINTER=4 [2023-11-19 07:32:53,232 INFO L153 SettingsManager]: * Check division by zero=IGNORE [2023-11-19 07:32:53,232 INFO L153 SettingsManager]: * Pointer to allocated memory at dereference=IGNORE [2023-11-19 07:32:53,232 INFO L153 SettingsManager]: * If two pointers are subtracted or compared they have the same base address=IGNORE [2023-11-19 07:32:53,233 INFO L153 SettingsManager]: * Check array bounds for arrays that are off heap=IGNORE [2023-11-19 07:32:53,234 INFO L153 SettingsManager]: * Check absence of data races in concurrent programs=true [2023-11-19 07:32:53,234 INFO L153 SettingsManager]: * Check unreachability of reach_error function=false [2023-11-19 07:32:53,235 INFO L153 SettingsManager]: * sizeof long double=12 [2023-11-19 07:32:53,235 INFO L153 SettingsManager]: * Check if freed pointer was valid=false [2023-11-19 07:32:53,235 INFO L153 SettingsManager]: * Use constant arrays=true [2023-11-19 07:32:53,236 INFO L151 SettingsManager]: Preferences of RCFGBuilder differ from their defaults: [2023-11-19 07:32:53,237 INFO L153 SettingsManager]: * Size of a code block=SequenceOfStatements [2023-11-19 07:32:53,237 INFO L153 SettingsManager]: * SMT solver=External_DefaultMode [2023-11-19 07:32:53,239 INFO L153 SettingsManager]: * Command for external solver=z3 SMTLIB2_COMPLIANT=true -memory:2024 -smt2 -in -t:2000 [2023-11-19 07:32:53,239 INFO L151 SettingsManager]: Preferences of TraceAbstraction differ from their defaults: [2023-11-19 07:32:53,239 INFO L153 SettingsManager]: * Compute Interpolants along a Counterexample=FPandBP [2023-11-19 07:32:53,240 INFO L153 SettingsManager]: * Positions where we compute the Hoare Annotation=LoopHeads [2023-11-19 07:32:53,240 INFO L153 SettingsManager]: * Trace refinement strategy=CAMEL [2023-11-19 07:32:53,240 INFO L153 SettingsManager]: * Command for external solver=z3 SMTLIB2_COMPLIANT=true -memory:2024 -smt2 -in [2023-11-19 07:32:53,241 INFO L153 SettingsManager]: * Automaton type used in concurrency analysis=PETRI_NET [2023-11-19 07:32:53,241 INFO L153 SettingsManager]: * Compute Hoare Annotation of negated interpolant automaton, abstraction and CFG=true [2023-11-19 07:32:53,241 INFO L153 SettingsManager]: * Order on configurations for Petri net unfoldings=DBO [2023-11-19 07:32:53,241 INFO L153 SettingsManager]: * SMT solver=External_ModelsAndUnsatCoreMode [2023-11-19 07:32:53,242 INFO L153 SettingsManager]: * Independence relation used for large block encoding in concurrent analysis=SYNTACTIC [2023-11-19 07:32:53,245 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_cccb8ca9-1327-4aec-822c-94f8775570ce/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_cccb8ca9-1327-4aec-822c-94f8775570ce/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 -> 534bdd637f5e5b671357d3ac8ec1b617321ae1d1d7a44132336275a64f61ed0f [2023-11-19 07:32:53,588 INFO L75 nceAwareModelManager]: Repository-Root is: /tmp [2023-11-19 07:32:53,622 INFO L261 ainManager$Toolchain]: [Toolchain 1]: Applicable parser(s) successfully (re)initialized [2023-11-19 07:32:53,624 INFO L217 ainManager$Toolchain]: [Toolchain 1]: Toolchain selected. [2023-11-19 07:32:53,626 INFO L270 PluginConnector]: Initializing CDTParser... [2023-11-19 07:32:53,626 INFO L274 PluginConnector]: CDTParser initialized [2023-11-19 07:32:53,628 INFO L431 ainManager$Toolchain]: [Toolchain 1]: Parsing single file: /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_cccb8ca9-1327-4aec-822c-94f8775570ce/bin/uautomizer-verify-uCwYo4JHxu/../../sv-benchmarks/c/pthread-race-challenges/per-thread-array-join-counter-race-2.i [2023-11-19 07:32:56,741 INFO L533 CDTParser]: Created temporary CDT project at NULL [2023-11-19 07:32:57,090 INFO L384 CDTParser]: Found 1 translation units. [2023-11-19 07:32:57,091 INFO L180 CDTParser]: Scanning /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_cccb8ca9-1327-4aec-822c-94f8775570ce/sv-benchmarks/c/pthread-race-challenges/per-thread-array-join-counter-race-2.i [2023-11-19 07:32:57,117 INFO L427 CDTParser]: About to delete temporary CDT project at /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_cccb8ca9-1327-4aec-822c-94f8775570ce/bin/uautomizer-verify-uCwYo4JHxu/data/3c6e32cff/7b2d0b75c4d54fff8dc603eafea0c6fb/FLAGdcbc37250 [2023-11-19 07:32:57,133 INFO L435 CDTParser]: Successfully deleted /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_cccb8ca9-1327-4aec-822c-94f8775570ce/bin/uautomizer-verify-uCwYo4JHxu/data/3c6e32cff/7b2d0b75c4d54fff8dc603eafea0c6fb [2023-11-19 07:32:57,136 INFO L299 ainManager$Toolchain]: ####################### [Toolchain 1] ####################### [2023-11-19 07:32:57,138 INFO L133 ToolchainWalker]: Walking toolchain with 6 elements. [2023-11-19 07:32:57,139 INFO L112 PluginConnector]: ------------------------CACSL2BoogieTranslator---------------------------- [2023-11-19 07:32:57,140 INFO L270 PluginConnector]: Initializing CACSL2BoogieTranslator... [2023-11-19 07:32:57,146 INFO L274 PluginConnector]: CACSL2BoogieTranslator initialized [2023-11-19 07:32:57,147 INFO L184 PluginConnector]: Executing the observer ACSLObjectContainerObserver from plugin CACSL2BoogieTranslator for "CDTParser AST 19.11 07:32:57" (1/1) ... [2023-11-19 07:32:57,148 INFO L204 PluginConnector]: Invalid model from CACSL2BoogieTranslator for observer de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator.ACSLObjectContainerObserver@46cd6860 and model type de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 19.11 07:32:57, skipping insertion in model container [2023-11-19 07:32:57,149 INFO L184 PluginConnector]: Executing the observer CACSL2BoogieTranslatorObserver from plugin CACSL2BoogieTranslator for "CDTParser AST 19.11 07:32:57" (1/1) ... [2023-11-19 07:32:57,212 INFO L177 MainTranslator]: Built tables and reachable declarations [2023-11-19 07:32:57,418 WARN L635 FunctionHandler]: implicit declaration of function __builtin_bswap16 [2023-11-19 07:32:57,860 INFO L209 PostProcessor]: Analyzing one entry point: main [2023-11-19 07:32:57,891 INFO L202 MainTranslator]: Completed pre-run [2023-11-19 07:32:57,918 WARN L635 FunctionHandler]: implicit declaration of function __builtin_bswap16 [2023-11-19 07:32:57,998 INFO L209 PostProcessor]: Analyzing one entry point: main [2023-11-19 07:32:58,094 WARN L675 CHandler]: The function __builtin_bswap16 is called, but not defined or handled by StandardFunctionHandler. [2023-11-19 07:32:58,102 INFO L206 MainTranslator]: Completed translation [2023-11-19 07:32:58,103 INFO L201 PluginConnector]: Adding new model de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 19.11 07:32:58 WrapperNode [2023-11-19 07:32:58,103 INFO L131 PluginConnector]: ------------------------ END CACSL2BoogieTranslator---------------------------- [2023-11-19 07:32:58,105 INFO L112 PluginConnector]: ------------------------Boogie Procedure Inliner---------------------------- [2023-11-19 07:32:58,106 INFO L270 PluginConnector]: Initializing Boogie Procedure Inliner... [2023-11-19 07:32:58,106 INFO L274 PluginConnector]: Boogie Procedure Inliner initialized [2023-11-19 07:32:58,114 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:32:58" (1/1) ... [2023-11-19 07:32:58,157 ERROR L1136 TypeChecker]: C: flags_mutex [1033]: Undeclared identifier #t~mem6 in IdentifierExpression[#t~mem6,] [2023-11-19 07:32:58,161 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:32:58,162 ERROR L1136 TypeChecker]: C: flags_mutex [1041]: Undeclared identifier #t~mem11 in IdentifierExpression[#t~mem11,] [2023-11-19 07:32:58,170 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:32:58,174 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:32:58" (1/1) ... [2023-11-19 07:32:58,174 INFO L131 PluginConnector]: ------------------------ END Boogie Procedure Inliner---------------------------- [2023-11-19 07:32:58,175 INFO L186 ToolchainWalker]: Toolchain execution was canceled (user or tool) before executing de.uni_freiburg.informatik.ultimate.boogie.preprocessor [2023-11-19 07:32:58,176 INFO L158 Benchmark]: Toolchain (without parser) took 1038.08ms. Allocated memory is still 176.2MB. Free memory was 135.3MB in the beginning and 103.2MB in the end (delta: 32.1MB). Peak memory consumption was 31.5MB. Max. memory is 16.1GB. [2023-11-19 07:32:58,177 INFO L158 Benchmark]: CDTParser took 0.33ms. Allocated memory is still 130.0MB. Free memory is still 97.8MB. There was no memory consumed. Max. memory is 16.1GB. [2023-11-19 07:32:58,178 INFO L158 Benchmark]: CACSL2BoogieTranslator took 964.96ms. Allocated memory is still 176.2MB. Free memory was 135.3MB in the beginning and 104.7MB in the end (delta: 30.6MB). Peak memory consumption was 29.4MB. Max. memory is 16.1GB. [2023-11-19 07:32:58,188 INFO L158 Benchmark]: Boogie Procedure Inliner took 69.32ms. Allocated memory is still 176.2MB. Free memory was 104.7MB in the beginning and 103.2MB in the end (delta: 1.5MB). Peak memory consumption was 2.1MB. Max. memory is 16.1GB. [2023-11-19 07:32:58,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.33ms. Allocated memory is still 130.0MB. Free memory is still 97.8MB. There was no memory consumed. Max. memory is 16.1GB. * CACSL2BoogieTranslator took 964.96ms. Allocated memory is still 176.2MB. Free memory was 135.3MB in the beginning and 104.7MB in the end (delta: 30.6MB). Peak memory consumption was 29.4MB. Max. memory is 16.1GB. * Boogie Procedure Inliner took 69.32ms. Allocated memory is still 176.2MB. Free memory was 104.7MB in the beginning and 103.2MB in the end (delta: 1.5MB). 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_cccb8ca9-1327-4aec-822c-94f8775570ce/bin/uautomizer-verify-uCwYo4JHxu/data/config -Xmx15G -Xms4m -jar /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_cccb8ca9-1327-4aec-822c-94f8775570ce/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_cccb8ca9-1327-4aec-822c-94f8775570ce/bin/uautomizer-verify-uCwYo4JHxu/data -tc /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_cccb8ca9-1327-4aec-822c-94f8775570ce/bin/uautomizer-verify-uCwYo4JHxu/config/AutomizerReach.xml -i ../../sv-benchmarks/c/pthread-race-challenges/per-thread-array-join-counter-race-2.i -s /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_cccb8ca9-1327-4aec-822c-94f8775570ce/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_cccb8ca9-1327-4aec-822c-94f8775570ce/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 534bdd637f5e5b671357d3ac8ec1b617321ae1d1d7a44132336275a64f61ed0f --- Real Ultimate output --- This is Ultimate 0.2.3-dev-9bd2c7f [2023-11-19 07:33:00,731 INFO L188 SettingsManager]: Resetting all preferences to default values... [2023-11-19 07:33:00,850 INFO L114 SettingsManager]: Loading settings from /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_cccb8ca9-1327-4aec-822c-94f8775570ce/bin/uautomizer-verify-uCwYo4JHxu/config/svcomp-DataRace-32bit-Automizer_Bitvector.epf [2023-11-19 07:33:00,856 WARN L101 SettingsManager]: Preference file contains the following unknown settings: [2023-11-19 07:33:00,857 WARN L103 SettingsManager]: * de.uni_freiburg.informatik.ultimate.core.Log level for class [2023-11-19 07:33:00,895 INFO L130 SettingsManager]: Preferences different from defaults after loading the file: [2023-11-19 07:33:00,896 INFO L151 SettingsManager]: Preferences of UltimateCore differ from their defaults: [2023-11-19 07:33:00,897 INFO L153 SettingsManager]: * Log level for class=de.uni_freiburg.informatik.ultimate.lib.smtlibutils.quantifier.QuantifierPusher=ERROR; [2023-11-19 07:33:00,898 INFO L151 SettingsManager]: Preferences of Boogie Procedure Inliner differ from their defaults: [2023-11-19 07:33:00,903 INFO L153 SettingsManager]: * Ignore calls to procedures called more than once=ONLY_FOR_SEQUENTIAL_PROGRAMS [2023-11-19 07:33:00,904 INFO L151 SettingsManager]: Preferences of BlockEncodingV2 differ from their defaults: [2023-11-19 07:33:00,905 INFO L153 SettingsManager]: * Create parallel compositions if possible=false [2023-11-19 07:33:00,905 INFO L153 SettingsManager]: * Use SBE=true [2023-11-19 07:33:00,908 INFO L151 SettingsManager]: Preferences of CACSL2BoogieTranslator differ from their defaults: [2023-11-19 07:33:00,908 INFO L153 SettingsManager]: * Pointer base address is valid at dereference=IGNORE [2023-11-19 07:33:00,909 INFO L153 SettingsManager]: * sizeof long=4 [2023-11-19 07:33:00,909 INFO L153 SettingsManager]: * sizeof POINTER=4 [2023-11-19 07:33:00,910 INFO L153 SettingsManager]: * Check division by zero=IGNORE [2023-11-19 07:33:00,910 INFO L153 SettingsManager]: * Pointer to allocated memory at dereference=IGNORE [2023-11-19 07:33:00,911 INFO L153 SettingsManager]: * If two pointers are subtracted or compared they have the same base address=IGNORE [2023-11-19 07:33:00,912 INFO L153 SettingsManager]: * Check array bounds for arrays that are off heap=IGNORE [2023-11-19 07:33:00,912 INFO L153 SettingsManager]: * Check absence of data races in concurrent programs=true [2023-11-19 07:33:00,913 INFO L153 SettingsManager]: * Use bitvectors instead of ints=true [2023-11-19 07:33:00,913 INFO L153 SettingsManager]: * Memory model=HoenickeLindenmann_4ByteResolution [2023-11-19 07:33:00,914 INFO L153 SettingsManager]: * Check unreachability of reach_error function=false [2023-11-19 07:33:00,914 INFO L153 SettingsManager]: * sizeof long double=12 [2023-11-19 07:33:00,915 INFO L153 SettingsManager]: * Check if freed pointer was valid=false [2023-11-19 07:33:00,915 INFO L153 SettingsManager]: * Use constant arrays=true [2023-11-19 07:33:00,916 INFO L151 SettingsManager]: Preferences of RCFGBuilder differ from their defaults: [2023-11-19 07:33:00,916 INFO L153 SettingsManager]: * Size of a code block=SequenceOfStatements [2023-11-19 07:33:00,917 INFO L153 SettingsManager]: * SMT solver=External_DefaultMode [2023-11-19 07:33:00,918 INFO L153 SettingsManager]: * Command for external solver=z3 SMTLIB2_COMPLIANT=true -memory:2024 -smt2 -in -t:2000 [2023-11-19 07:33:00,918 INFO L151 SettingsManager]: Preferences of TraceAbstraction differ from their defaults: [2023-11-19 07:33:00,919 INFO L153 SettingsManager]: * Compute Interpolants along a Counterexample=FPandBP [2023-11-19 07:33:00,919 INFO L153 SettingsManager]: * Positions where we compute the Hoare Annotation=LoopHeads [2023-11-19 07:33:00,919 INFO L153 SettingsManager]: * Trace refinement strategy=WOLF [2023-11-19 07:33:00,920 INFO L153 SettingsManager]: * Command for external solver=cvc4 --incremental --print-success --lang smt [2023-11-19 07:33:00,920 INFO L153 SettingsManager]: * Automaton type used in concurrency analysis=PETRI_NET [2023-11-19 07:33:00,920 INFO L153 SettingsManager]: * Compute Hoare Annotation of negated interpolant automaton, abstraction and CFG=true [2023-11-19 07:33:00,921 INFO L153 SettingsManager]: * Order on configurations for Petri net unfoldings=DBO [2023-11-19 07:33:00,921 INFO L153 SettingsManager]: * SMT solver=External_ModelsAndUnsatCoreMode [2023-11-19 07:33:00,922 INFO L153 SettingsManager]: * Logic for external solver=AUFBV [2023-11-19 07:33:00,922 INFO L153 SettingsManager]: * Independence relation used for large block encoding in concurrent analysis=SYNTACTIC [2023-11-19 07:33:00,922 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_cccb8ca9-1327-4aec-822c-94f8775570ce/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_cccb8ca9-1327-4aec-822c-94f8775570ce/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 -> 534bdd637f5e5b671357d3ac8ec1b617321ae1d1d7a44132336275a64f61ed0f [2023-11-19 07:33:01,306 INFO L75 nceAwareModelManager]: Repository-Root is: /tmp [2023-11-19 07:33:01,328 INFO L261 ainManager$Toolchain]: [Toolchain 1]: Applicable parser(s) successfully (re)initialized [2023-11-19 07:33:01,331 INFO L217 ainManager$Toolchain]: [Toolchain 1]: Toolchain selected. [2023-11-19 07:33:01,332 INFO L270 PluginConnector]: Initializing CDTParser... [2023-11-19 07:33:01,333 INFO L274 PluginConnector]: CDTParser initialized [2023-11-19 07:33:01,334 INFO L431 ainManager$Toolchain]: [Toolchain 1]: Parsing single file: /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_cccb8ca9-1327-4aec-822c-94f8775570ce/bin/uautomizer-verify-uCwYo4JHxu/../../sv-benchmarks/c/pthread-race-challenges/per-thread-array-join-counter-race-2.i [2023-11-19 07:33:04,490 INFO L533 CDTParser]: Created temporary CDT project at NULL [2023-11-19 07:33:04,893 INFO L384 CDTParser]: Found 1 translation units. [2023-11-19 07:33:04,894 INFO L180 CDTParser]: Scanning /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_cccb8ca9-1327-4aec-822c-94f8775570ce/sv-benchmarks/c/pthread-race-challenges/per-thread-array-join-counter-race-2.i [2023-11-19 07:33:04,918 INFO L427 CDTParser]: About to delete temporary CDT project at /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_cccb8ca9-1327-4aec-822c-94f8775570ce/bin/uautomizer-verify-uCwYo4JHxu/data/3fb08c34e/e73b2af9671a4de98176a8a35c5f1849/FLAG78044ea98 [2023-11-19 07:33:04,944 INFO L435 CDTParser]: Successfully deleted /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_cccb8ca9-1327-4aec-822c-94f8775570ce/bin/uautomizer-verify-uCwYo4JHxu/data/3fb08c34e/e73b2af9671a4de98176a8a35c5f1849 [2023-11-19 07:33:04,950 INFO L299 ainManager$Toolchain]: ####################### [Toolchain 1] ####################### [2023-11-19 07:33:04,951 INFO L133 ToolchainWalker]: Walking toolchain with 6 elements. [2023-11-19 07:33:04,956 INFO L112 PluginConnector]: ------------------------CACSL2BoogieTranslator---------------------------- [2023-11-19 07:33:04,956 INFO L270 PluginConnector]: Initializing CACSL2BoogieTranslator... [2023-11-19 07:33:04,962 INFO L274 PluginConnector]: CACSL2BoogieTranslator initialized [2023-11-19 07:33:04,965 INFO L184 PluginConnector]: Executing the observer ACSLObjectContainerObserver from plugin CACSL2BoogieTranslator for "CDTParser AST 19.11 07:33:04" (1/1) ... [2023-11-19 07:33:04,967 INFO L204 PluginConnector]: Invalid model from CACSL2BoogieTranslator for observer de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator.ACSLObjectContainerObserver@32a4e0fd and model type de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 19.11 07:33:04, skipping insertion in model container [2023-11-19 07:33:04,967 INFO L184 PluginConnector]: Executing the observer CACSL2BoogieTranslatorObserver from plugin CACSL2BoogieTranslator for "CDTParser AST 19.11 07:33:04" (1/1) ... [2023-11-19 07:33:05,038 INFO L177 MainTranslator]: Built tables and reachable declarations [2023-11-19 07:33:05,215 WARN L635 FunctionHandler]: implicit declaration of function __builtin_bswap16 [2023-11-19 07:33:05,553 INFO L209 PostProcessor]: Analyzing one entry point: main [2023-11-19 07:33:05,574 INFO L202 MainTranslator]: Completed pre-run [2023-11-19 07:33:05,590 WARN L635 FunctionHandler]: implicit declaration of function __builtin_bswap16 [2023-11-19 07:33:05,637 INFO L209 PostProcessor]: Analyzing one entry point: main [2023-11-19 07:33:05,739 WARN L675 CHandler]: The function __builtin_bswap16 is called, but not defined or handled by StandardFunctionHandler. [2023-11-19 07:33:05,745 INFO L206 MainTranslator]: Completed translation [2023-11-19 07:33:05,746 INFO L201 PluginConnector]: Adding new model de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 19.11 07:33:05 WrapperNode [2023-11-19 07:33:05,746 INFO L131 PluginConnector]: ------------------------ END CACSL2BoogieTranslator---------------------------- [2023-11-19 07:33:05,747 INFO L112 PluginConnector]: ------------------------Boogie Procedure Inliner---------------------------- [2023-11-19 07:33:05,747 INFO L270 PluginConnector]: Initializing Boogie Procedure Inliner... [2023-11-19 07:33:05,747 INFO L274 PluginConnector]: Boogie Procedure Inliner initialized [2023-11-19 07:33:05,755 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:33:05" (1/1) ... [2023-11-19 07:33:05,790 ERROR L1136 TypeChecker]: C: flags_mutex [1033]: Undeclared identifier #t~mem6 in IdentifierExpression[#t~mem6,] [2023-11-19 07:33:05,794 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:33:05,810 ERROR L1136 TypeChecker]: C: flags_mutex [1041]: Undeclared identifier #t~mem11 in IdentifierExpression[#t~mem11,] [2023-11-19 07:33:05,810 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:33:05,813 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:33:05" (1/1) ... [2023-11-19 07:33:05,814 INFO L131 PluginConnector]: ------------------------ END Boogie Procedure Inliner---------------------------- [2023-11-19 07:33:05,814 INFO L186 ToolchainWalker]: Toolchain execution was canceled (user or tool) before executing de.uni_freiburg.informatik.ultimate.boogie.preprocessor [2023-11-19 07:33:05,816 INFO L158 Benchmark]: Toolchain (without parser) took 863.89ms. Allocated memory is still 109.1MB. Free memory was 83.2MB in the beginning and 71.8MB in the end (delta: 11.4MB). Peak memory consumption was 12.8MB. Max. memory is 16.1GB. [2023-11-19 07:33:05,817 INFO L158 Benchmark]: CDTParser took 0.32ms. Allocated memory is still 67.1MB. Free memory is still 44.0MB. There was no memory consumed. Max. memory is 16.1GB. [2023-11-19 07:33:05,817 INFO L158 Benchmark]: CACSL2BoogieTranslator took 790.18ms. Allocated memory is still 109.1MB. Free memory was 83.2MB in the beginning and 73.2MB in the end (delta: 10.0MB). Peak memory consumption was 27.5MB. Max. memory is 16.1GB. [2023-11-19 07:33:05,818 INFO L158 Benchmark]: Boogie Procedure Inliner took 67.14ms. Allocated memory is still 109.1MB. Free memory was 73.2MB in the beginning and 71.8MB in the end (delta: 1.5MB). Peak memory consumption was 2.1MB. Max. memory is 16.1GB. [2023-11-19 07:33:05,820 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.32ms. Allocated memory is still 67.1MB. Free memory is still 44.0MB. There was no memory consumed. Max. memory is 16.1GB. * CACSL2BoogieTranslator took 790.18ms. Allocated memory is still 109.1MB. Free memory was 83.2MB in the beginning and 73.2MB in the end (delta: 10.0MB). Peak memory consumption was 27.5MB. Max. memory is 16.1GB. * Boogie Procedure Inliner took 67.14ms. Allocated memory is still 109.1MB. Free memory was 73.2MB in the beginning and 71.8MB in the end (delta: 1.5MB). 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