./Ultimate.py --spec ../../sv-benchmarks/c/properties/no-data-race.prp --file ../../sv-benchmarks/c/pthread-race-challenges/per-thread-array-join-counter-2.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_584bdc68-0ecd-4d72-ba27-fed29613b10a/bin/ugemcutter-verify-ztSkJzofpW/data/config -Xmx15G -Xms4m -jar /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_584bdc68-0ecd-4d72-ba27-fed29613b10a/bin/ugemcutter-verify-ztSkJzofpW/plugins/org.eclipse.equinox.launcher_1.5.800.v20200727-1323.jar -data @noDefault -ultimatedata /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_584bdc68-0ecd-4d72-ba27-fed29613b10a/bin/ugemcutter-verify-ztSkJzofpW/data -tc /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_584bdc68-0ecd-4d72-ba27-fed29613b10a/bin/ugemcutter-verify-ztSkJzofpW/config/GemCutterReach.xml -i ../../sv-benchmarks/c/pthread-race-challenges/per-thread-array-join-counter-2.i -s /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_584bdc68-0ecd-4d72-ba27-fed29613b10a/bin/ugemcutter-verify-ztSkJzofpW/config/svcomp-DataRace-32bit-GemCutter_Default.epf --cacsl2boogietranslator.entry.function main --witnessprinter.witness.directory /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_584bdc68-0ecd-4d72-ba27-fed29613b10a/bin/ugemcutter-verify-ztSkJzofpW --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 GemCutter --witnessprinter.graph.data.architecture 32bit --witnessprinter.graph.data.programhash 678d0822783009bcb35d951b8e726d754b85c570b149dafb90ced3b5185856fb --- Real Ultimate output --- This is Ultimate 0.2.3-dev-9bd2c7f [2023-11-17 22:44:23,448 INFO L188 SettingsManager]: Resetting all preferences to default values... [2023-11-17 22:44:23,515 INFO L114 SettingsManager]: Loading settings from /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_584bdc68-0ecd-4d72-ba27-fed29613b10a/bin/ugemcutter-verify-ztSkJzofpW/config/svcomp-DataRace-32bit-GemCutter_Default.epf [2023-11-17 22:44:23,520 WARN L101 SettingsManager]: Preference file contains the following unknown settings: [2023-11-17 22:44:23,521 WARN L103 SettingsManager]: * de.uni_freiburg.informatik.ultimate.core.Log level for class [2023-11-17 22:44:23,548 INFO L130 SettingsManager]: Preferences different from defaults after loading the file: [2023-11-17 22:44:23,549 INFO L151 SettingsManager]: Preferences of UltimateCore differ from their defaults: [2023-11-17 22:44:23,549 INFO L153 SettingsManager]: * Log level for class=de.uni_freiburg.informatik.ultimate.lib.smtlibutils.quantifier.QuantifierPusher=ERROR; [2023-11-17 22:44:23,550 INFO L151 SettingsManager]: Preferences of Boogie Procedure Inliner differ from their defaults: [2023-11-17 22:44:23,551 INFO L153 SettingsManager]: * Ignore calls to procedures called more than once=ONLY_FOR_SEQUENTIAL_PROGRAMS [2023-11-17 22:44:23,551 INFO L151 SettingsManager]: Preferences of BlockEncodingV2 differ from their defaults: [2023-11-17 22:44:23,552 INFO L153 SettingsManager]: * Create parallel compositions if possible=false [2023-11-17 22:44:23,553 INFO L153 SettingsManager]: * Use SBE=true [2023-11-17 22:44:23,553 INFO L151 SettingsManager]: Preferences of CACSL2BoogieTranslator differ from their defaults: [2023-11-17 22:44:23,554 INFO L153 SettingsManager]: * Pointer base address is valid at dereference=IGNORE [2023-11-17 22:44:23,554 INFO L153 SettingsManager]: * sizeof long=4 [2023-11-17 22:44:23,555 INFO L153 SettingsManager]: * Overapproximate operations on floating types=true [2023-11-17 22:44:23,555 INFO L153 SettingsManager]: * sizeof POINTER=4 [2023-11-17 22:44:23,556 INFO L153 SettingsManager]: * Check division by zero=IGNORE [2023-11-17 22:44:23,557 INFO L153 SettingsManager]: * Pointer to allocated memory at dereference=IGNORE [2023-11-17 22:44:23,557 INFO L153 SettingsManager]: * If two pointers are subtracted or compared they have the same base address=IGNORE [2023-11-17 22:44:23,558 INFO L153 SettingsManager]: * Check array bounds for arrays that are off heap=IGNORE [2023-11-17 22:44:23,558 INFO L153 SettingsManager]: * Check absence of data races in concurrent programs=true [2023-11-17 22:44:23,559 INFO L153 SettingsManager]: * Check unreachability of reach_error function=false [2023-11-17 22:44:23,559 INFO L153 SettingsManager]: * sizeof long double=12 [2023-11-17 22:44:23,559 INFO L153 SettingsManager]: * Check if freed pointer was valid=false [2023-11-17 22:44:23,560 INFO L153 SettingsManager]: * Use constant arrays=true [2023-11-17 22:44:23,560 INFO L151 SettingsManager]: Preferences of RCFGBuilder differ from their defaults: [2023-11-17 22:44:23,561 INFO L153 SettingsManager]: * Size of a code block=SequenceOfStatements [2023-11-17 22:44:23,561 INFO L153 SettingsManager]: * To the following directory=./dump/ [2023-11-17 22:44:23,562 INFO L153 SettingsManager]: * SMT solver=External_DefaultMode [2023-11-17 22:44:23,562 INFO L153 SettingsManager]: * Command for external solver=z3 SMTLIB2_COMPLIANT=true -memory:2024 -smt2 -in -t:2000 [2023-11-17 22:44:23,563 INFO L151 SettingsManager]: Preferences of TraceAbstraction differ from their defaults: [2023-11-17 22:44:23,563 INFO L153 SettingsManager]: * Compute Interpolants along a Counterexample=FPandBP [2023-11-17 22:44:23,563 INFO L153 SettingsManager]: * Positions where we compute the Hoare Annotation=LoopHeads [2023-11-17 22:44:23,564 INFO L153 SettingsManager]: * Trace refinement strategy=CAMEL [2023-11-17 22:44:23,564 INFO L153 SettingsManager]: * Command for external solver=z3 SMTLIB2_COMPLIANT=true -memory:2024 -smt2 -in [2023-11-17 22:44:23,564 INFO L153 SettingsManager]: * Apply one-shot large block encoding in concurrent analysis=false [2023-11-17 22:44:23,564 INFO L153 SettingsManager]: * Abstraction used for commutativity in POR=VARIABLES_GLOBAL [2023-11-17 22:44:23,565 INFO L153 SettingsManager]: * Automaton type used in concurrency analysis=PARTIAL_ORDER_FA [2023-11-17 22:44:23,565 INFO L153 SettingsManager]: * Compute Hoare Annotation of negated interpolant automaton, abstraction and CFG=true [2023-11-17 22:44:23,565 INFO L153 SettingsManager]: * CEGAR restart behaviour=ONE_CEGAR_PER_THREAD_INSTANCE [2023-11-17 22:44:23,566 INFO L153 SettingsManager]: * Partial Order Reduction in concurrent analysis=PERSISTENT_SLEEP_NEW_STATES_FIXEDORDER [2023-11-17 22:44:23,566 INFO L153 SettingsManager]: * SMT solver=External_ModelsAndUnsatCoreMode 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_584bdc68-0ecd-4d72-ba27-fed29613b10a/bin/ugemcutter-verify-ztSkJzofpW/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_584bdc68-0ecd-4d72-ba27-fed29613b10a/bin/ugemcutter-verify-ztSkJzofpW 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 -> GemCutter 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 -> 678d0822783009bcb35d951b8e726d754b85c570b149dafb90ced3b5185856fb [2023-11-17 22:44:23,818 INFO L75 nceAwareModelManager]: Repository-Root is: /tmp [2023-11-17 22:44:23,839 INFO L261 ainManager$Toolchain]: [Toolchain 1]: Applicable parser(s) successfully (re)initialized [2023-11-17 22:44:23,842 INFO L217 ainManager$Toolchain]: [Toolchain 1]: Toolchain selected. [2023-11-17 22:44:23,843 INFO L270 PluginConnector]: Initializing CDTParser... [2023-11-17 22:44:23,844 INFO L274 PluginConnector]: CDTParser initialized [2023-11-17 22:44:23,845 INFO L431 ainManager$Toolchain]: [Toolchain 1]: Parsing single file: /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_584bdc68-0ecd-4d72-ba27-fed29613b10a/bin/ugemcutter-verify-ztSkJzofpW/../../sv-benchmarks/c/pthread-race-challenges/per-thread-array-join-counter-2.i [2023-11-17 22:44:27,026 INFO L533 CDTParser]: Created temporary CDT project at NULL [2023-11-17 22:44:27,383 INFO L384 CDTParser]: Found 1 translation units. [2023-11-17 22:44:27,383 INFO L180 CDTParser]: Scanning /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_584bdc68-0ecd-4d72-ba27-fed29613b10a/sv-benchmarks/c/pthread-race-challenges/per-thread-array-join-counter-2.i [2023-11-17 22:44:27,413 INFO L427 CDTParser]: About to delete temporary CDT project at /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_584bdc68-0ecd-4d72-ba27-fed29613b10a/bin/ugemcutter-verify-ztSkJzofpW/data/3e351617d/aefa2f277a654702a8577c2f2cda36b8/FLAGbfdc314dd [2023-11-17 22:44:27,427 INFO L435 CDTParser]: Successfully deleted /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_584bdc68-0ecd-4d72-ba27-fed29613b10a/bin/ugemcutter-verify-ztSkJzofpW/data/3e351617d/aefa2f277a654702a8577c2f2cda36b8 [2023-11-17 22:44:27,431 INFO L299 ainManager$Toolchain]: ####################### [Toolchain 1] ####################### [2023-11-17 22:44:27,432 INFO L133 ToolchainWalker]: Walking toolchain with 6 elements. [2023-11-17 22:44:27,434 INFO L112 PluginConnector]: ------------------------CACSL2BoogieTranslator---------------------------- [2023-11-17 22:44:27,434 INFO L270 PluginConnector]: Initializing CACSL2BoogieTranslator... [2023-11-17 22:44:27,442 INFO L274 PluginConnector]: CACSL2BoogieTranslator initialized [2023-11-17 22:44:27,443 INFO L184 PluginConnector]: Executing the observer ACSLObjectContainerObserver from plugin CACSL2BoogieTranslator for "CDTParser AST 17.11 10:44:27" (1/1) ... [2023-11-17 22:44:27,447 INFO L204 PluginConnector]: Invalid model from CACSL2BoogieTranslator for observer de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator.ACSLObjectContainerObserver@51c15e39 and model type de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 17.11 10:44:27, skipping insertion in model container [2023-11-17 22:44:27,447 INFO L184 PluginConnector]: Executing the observer CACSL2BoogieTranslatorObserver from plugin CACSL2BoogieTranslator for "CDTParser AST 17.11 10:44:27" (1/1) ... [2023-11-17 22:44:27,503 INFO L177 MainTranslator]: Built tables and reachable declarations [2023-11-17 22:44:27,705 WARN L635 FunctionHandler]: implicit declaration of function __builtin_bswap16 [2023-11-17 22:44:28,139 INFO L209 PostProcessor]: Analyzing one entry point: main [2023-11-17 22:44:28,164 INFO L202 MainTranslator]: Completed pre-run [2023-11-17 22:44:28,182 WARN L635 FunctionHandler]: implicit declaration of function __builtin_bswap16 [2023-11-17 22:44:28,260 INFO L209 PostProcessor]: Analyzing one entry point: main [2023-11-17 22:44:28,335 WARN L675 CHandler]: The function __builtin_bswap16 is called, but not defined or handled by StandardFunctionHandler. [2023-11-17 22:44:28,343 INFO L206 MainTranslator]: Completed translation [2023-11-17 22:44:28,344 INFO L201 PluginConnector]: Adding new model de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 17.11 10:44:28 WrapperNode [2023-11-17 22:44:28,344 INFO L131 PluginConnector]: ------------------------ END CACSL2BoogieTranslator---------------------------- [2023-11-17 22:44:28,346 INFO L112 PluginConnector]: ------------------------Boogie Procedure Inliner---------------------------- [2023-11-17 22:44:28,346 INFO L270 PluginConnector]: Initializing Boogie Procedure Inliner... [2023-11-17 22:44:28,346 INFO L274 PluginConnector]: Boogie Procedure Inliner initialized [2023-11-17 22:44:28,353 INFO L184 PluginConnector]: Executing the observer TypeChecker from plugin Boogie Procedure Inliner for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 17.11 10:44:28" (1/1) ... [2023-11-17 22:44:28,374 ERROR L1136 TypeChecker]: C: datas_mutex [1028]: Undeclared identifier #t~mem3 in IdentifierExpression[#t~mem3,] [2023-11-17 22:44:28,377 ERROR L1136 TypeChecker]: C: pthread_mutex_lock(&datas_mutex[i]) [1028]: Wrong parameter type at index 0: CallStatement[null,false,[VariableLHS[#t~nondet4,]],#PthreadsMutexLock,[StructConstructor[[base,offset],[StructAccessExpression[IdentifierExpression[#t~mem3,],base],BinaryExpression[ARITHPLUS,StructAccessExpression[IdentifierExpression[#t~mem3,],offset],BinaryExpression[ARITHMUL,IntegerLiteral[24],IdentifierExpression[~i~0,]]]]]]] [2023-11-17 22:44:28,387 ERROR L1136 TypeChecker]: C: datas_mutex [1036]: Undeclared identifier #t~mem8 in IdentifierExpression[#t~mem8,] [2023-11-17 22:44:28,388 ERROR L1136 TypeChecker]: C: pthread_mutex_lock(&datas_mutex[i]) [1036]: Wrong parameter type at index 0: CallStatement[null,false,[VariableLHS[#t~nondet9,]],#PthreadsMutexLock,[StructConstructor[[base,offset],[StructAccessExpression[IdentifierExpression[#t~mem8,],base],BinaryExpression[ARITHPLUS,StructAccessExpression[IdentifierExpression[#t~mem8,],offset],BinaryExpression[ARITHMUL,IntegerLiteral[24],IdentifierExpression[~i~1,]]]]]]] [2023-11-17 22:44:28,392 INFO L184 PluginConnector]: Executing the observer Inliner from plugin Boogie Procedure Inliner for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 17.11 10:44:28" (1/1) ... [2023-11-17 22:44:28,392 INFO L131 PluginConnector]: ------------------------ END Boogie Procedure Inliner---------------------------- [2023-11-17 22:44:28,392 INFO L186 ToolchainWalker]: Toolchain execution was canceled (user or tool) before executing de.uni_freiburg.informatik.ultimate.boogie.preprocessor [2023-11-17 22:44:28,394 INFO L158 Benchmark]: Toolchain (without parser) took 961.17ms. Allocated memory is still 153.1MB. Free memory was 104.6MB in the beginning and 72.6MB in the end (delta: 32.0MB). Peak memory consumption was 31.5MB. Max. memory is 16.1GB. [2023-11-17 22:44:28,395 INFO L158 Benchmark]: CDTParser took 0.37ms. Allocated memory is still 153.1MB. Free memory is still 124.4MB. There was no memory consumed. Max. memory is 16.1GB. [2023-11-17 22:44:28,396 INFO L158 Benchmark]: CACSL2BoogieTranslator took 910.83ms. Allocated memory is still 153.1MB. Free memory was 104.6MB in the beginning and 74.1MB in the end (delta: 30.6MB). Peak memory consumption was 31.5MB. Max. memory is 16.1GB. [2023-11-17 22:44:28,396 INFO L158 Benchmark]: Boogie Procedure Inliner took 46.78ms. Allocated memory is still 153.1MB. Free memory was 74.1MB in the beginning and 72.6MB in the end (delta: 1.5MB). There was no memory consumed. Max. memory is 16.1GB. [2023-11-17 22:44:28,398 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.37ms. Allocated memory is still 153.1MB. Free memory is still 124.4MB. There was no memory consumed. Max. memory is 16.1GB. * CACSL2BoogieTranslator took 910.83ms. Allocated memory is still 153.1MB. Free memory was 104.6MB in the beginning and 74.1MB in the end (delta: 30.6MB). Peak memory consumption was 31.5MB. Max. memory is 16.1GB. * Boogie Procedure Inliner took 46.78ms. Allocated memory is still 153.1MB. Free memory was 74.1MB in the beginning and 72.6MB in the end (delta: 1.5MB). There was no memory consumed. Max. memory is 16.1GB. * Results from de.uni_freiburg.informatik.ultimate.boogie.preprocessor: - TypeErrorResult [Line: 1028]: Type Error Undeclared identifier #t~mem3 in IdentifierExpression[#t~mem3,] - TypeErrorResult [Line: 1028]: Type Error Wrong parameter type at index 0: CallStatement[null,false,[VariableLHS[#t~nondet4,]],#PthreadsMutexLock,[StructConstructor[[base,offset],[StructAccessExpression[IdentifierExpression[#t~mem3,],base],BinaryExpression[ARITHPLUS,StructAccessExpression[IdentifierExpression[#t~mem3,],offset],BinaryExpression[ARITHMUL,IntegerLiteral[24],IdentifierExpression[~i~0,]]]]]]] - TypeErrorResult [Line: 1036]: Type Error Undeclared identifier #t~mem8 in IdentifierExpression[#t~mem8,] - TypeErrorResult [Line: 1036]: Type Error Wrong parameter type at index 0: CallStatement[null,false,[VariableLHS[#t~nondet9,]],#PthreadsMutexLock,[StructConstructor[[base,offset],[StructAccessExpression[IdentifierExpression[#t~mem8,],base],BinaryExpression[ARITHPLUS,StructAccessExpression[IdentifierExpression[#t~mem8,],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_584bdc68-0ecd-4d72-ba27-fed29613b10a/bin/ugemcutter-verify-ztSkJzofpW/data/config -Xmx15G -Xms4m -jar /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_584bdc68-0ecd-4d72-ba27-fed29613b10a/bin/ugemcutter-verify-ztSkJzofpW/plugins/org.eclipse.equinox.launcher_1.5.800.v20200727-1323.jar -data @noDefault -ultimatedata /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_584bdc68-0ecd-4d72-ba27-fed29613b10a/bin/ugemcutter-verify-ztSkJzofpW/data -tc /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_584bdc68-0ecd-4d72-ba27-fed29613b10a/bin/ugemcutter-verify-ztSkJzofpW/config/GemCutterReach.xml -i ../../sv-benchmarks/c/pthread-race-challenges/per-thread-array-join-counter-2.i -s /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_584bdc68-0ecd-4d72-ba27-fed29613b10a/bin/ugemcutter-verify-ztSkJzofpW/config/svcomp-DataRace-32bit-GemCutter_Bitvector.epf --cacsl2boogietranslator.entry.function main --witnessprinter.witness.directory /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_584bdc68-0ecd-4d72-ba27-fed29613b10a/bin/ugemcutter-verify-ztSkJzofpW --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 GemCutter --witnessprinter.graph.data.architecture 32bit --witnessprinter.graph.data.programhash 678d0822783009bcb35d951b8e726d754b85c570b149dafb90ced3b5185856fb --- Real Ultimate output --- This is Ultimate 0.2.3-dev-9bd2c7f [2023-11-17 22:44:31,013 INFO L188 SettingsManager]: Resetting all preferences to default values... [2023-11-17 22:44:31,136 INFO L114 SettingsManager]: Loading settings from /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_584bdc68-0ecd-4d72-ba27-fed29613b10a/bin/ugemcutter-verify-ztSkJzofpW/config/svcomp-DataRace-32bit-GemCutter_Bitvector.epf [2023-11-17 22:44:31,145 WARN L101 SettingsManager]: Preference file contains the following unknown settings: [2023-11-17 22:44:31,146 WARN L103 SettingsManager]: * de.uni_freiburg.informatik.ultimate.core.Log level for class [2023-11-17 22:44:31,197 INFO L130 SettingsManager]: Preferences different from defaults after loading the file: [2023-11-17 22:44:31,198 INFO L151 SettingsManager]: Preferences of UltimateCore differ from their defaults: [2023-11-17 22:44:31,198 INFO L153 SettingsManager]: * Log level for class=de.uni_freiburg.informatik.ultimate.lib.smtlibutils.quantifier.QuantifierPusher=ERROR; [2023-11-17 22:44:31,200 INFO L151 SettingsManager]: Preferences of Boogie Procedure Inliner differ from their defaults: [2023-11-17 22:44:31,205 INFO L153 SettingsManager]: * Ignore calls to procedures called more than once=ONLY_FOR_SEQUENTIAL_PROGRAMS [2023-11-17 22:44:31,206 INFO L151 SettingsManager]: Preferences of BlockEncodingV2 differ from their defaults: [2023-11-17 22:44:31,206 INFO L153 SettingsManager]: * Create parallel compositions if possible=false [2023-11-17 22:44:31,207 INFO L153 SettingsManager]: * Use SBE=true [2023-11-17 22:44:31,209 INFO L151 SettingsManager]: Preferences of CACSL2BoogieTranslator differ from their defaults: [2023-11-17 22:44:31,210 INFO L153 SettingsManager]: * Pointer base address is valid at dereference=IGNORE [2023-11-17 22:44:31,210 INFO L153 SettingsManager]: * sizeof long=4 [2023-11-17 22:44:31,211 INFO L153 SettingsManager]: * sizeof POINTER=4 [2023-11-17 22:44:31,211 INFO L153 SettingsManager]: * Check division by zero=IGNORE [2023-11-17 22:44:31,212 INFO L153 SettingsManager]: * Pointer to allocated memory at dereference=IGNORE [2023-11-17 22:44:31,213 INFO L153 SettingsManager]: * If two pointers are subtracted or compared they have the same base address=IGNORE [2023-11-17 22:44:31,213 INFO L153 SettingsManager]: * Check array bounds for arrays that are off heap=IGNORE [2023-11-17 22:44:31,214 INFO L153 SettingsManager]: * Check absence of data races in concurrent programs=true [2023-11-17 22:44:31,215 INFO L153 SettingsManager]: * Use bitvectors instead of ints=true [2023-11-17 22:44:31,215 INFO L153 SettingsManager]: * Memory model=HoenickeLindenmann_4ByteResolution [2023-11-17 22:44:31,216 INFO L153 SettingsManager]: * Check unreachability of reach_error function=false [2023-11-17 22:44:31,216 INFO L153 SettingsManager]: * sizeof long double=12 [2023-11-17 22:44:31,217 INFO L153 SettingsManager]: * Check if freed pointer was valid=false [2023-11-17 22:44:31,217 INFO L153 SettingsManager]: * Use constant arrays=true [2023-11-17 22:44:31,218 INFO L151 SettingsManager]: Preferences of RCFGBuilder differ from their defaults: [2023-11-17 22:44:31,218 INFO L153 SettingsManager]: * Size of a code block=SequenceOfStatements [2023-11-17 22:44:31,220 INFO L153 SettingsManager]: * SMT solver=External_DefaultMode [2023-11-17 22:44:31,220 INFO L153 SettingsManager]: * Command for external solver=z3 SMTLIB2_COMPLIANT=true -memory:2024 -smt2 -in -t:2000 [2023-11-17 22:44:31,220 INFO L151 SettingsManager]: Preferences of TraceAbstraction differ from their defaults: [2023-11-17 22:44:31,221 INFO L153 SettingsManager]: * Compute Interpolants along a Counterexample=FPandBP [2023-11-17 22:44:31,221 INFO L153 SettingsManager]: * Positions where we compute the Hoare Annotation=LoopHeads [2023-11-17 22:44:31,222 INFO L153 SettingsManager]: * Trace refinement strategy=WOLF [2023-11-17 22:44:31,222 INFO L153 SettingsManager]: * Command for external solver=cvc4 --incremental --print-success --lang smt [2023-11-17 22:44:31,222 INFO L153 SettingsManager]: * Apply one-shot large block encoding in concurrent analysis=false [2023-11-17 22:44:31,223 INFO L153 SettingsManager]: * Abstraction used for commutativity in POR=VARIABLES_GLOBAL [2023-11-17 22:44:31,224 INFO L153 SettingsManager]: * Automaton type used in concurrency analysis=PARTIAL_ORDER_FA [2023-11-17 22:44:31,224 INFO L153 SettingsManager]: * Compute Hoare Annotation of negated interpolant automaton, abstraction and CFG=true [2023-11-17 22:44:31,225 INFO L153 SettingsManager]: * CEGAR restart behaviour=ONE_CEGAR_PER_THREAD_INSTANCE [2023-11-17 22:44:31,225 INFO L153 SettingsManager]: * Partial Order Reduction in concurrent analysis=PERSISTENT_SLEEP_NEW_STATES_FIXEDORDER [2023-11-17 22:44:31,225 INFO L153 SettingsManager]: * SMT solver=External_ModelsAndUnsatCoreMode [2023-11-17 22:44:31,226 INFO L153 SettingsManager]: * Logic for external solver=AUFBV 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_584bdc68-0ecd-4d72-ba27-fed29613b10a/bin/ugemcutter-verify-ztSkJzofpW/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_584bdc68-0ecd-4d72-ba27-fed29613b10a/bin/ugemcutter-verify-ztSkJzofpW 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 -> GemCutter 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 -> 678d0822783009bcb35d951b8e726d754b85c570b149dafb90ced3b5185856fb [2023-11-17 22:44:31,690 INFO L75 nceAwareModelManager]: Repository-Root is: /tmp [2023-11-17 22:44:31,719 INFO L261 ainManager$Toolchain]: [Toolchain 1]: Applicable parser(s) successfully (re)initialized [2023-11-17 22:44:31,726 INFO L217 ainManager$Toolchain]: [Toolchain 1]: Toolchain selected. [2023-11-17 22:44:31,728 INFO L270 PluginConnector]: Initializing CDTParser... [2023-11-17 22:44:31,728 INFO L274 PluginConnector]: CDTParser initialized [2023-11-17 22:44:31,730 INFO L431 ainManager$Toolchain]: [Toolchain 1]: Parsing single file: /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_584bdc68-0ecd-4d72-ba27-fed29613b10a/bin/ugemcutter-verify-ztSkJzofpW/../../sv-benchmarks/c/pthread-race-challenges/per-thread-array-join-counter-2.i [2023-11-17 22:44:34,874 INFO L533 CDTParser]: Created temporary CDT project at NULL [2023-11-17 22:44:35,299 INFO L384 CDTParser]: Found 1 translation units. [2023-11-17 22:44:35,301 INFO L180 CDTParser]: Scanning /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_584bdc68-0ecd-4d72-ba27-fed29613b10a/sv-benchmarks/c/pthread-race-challenges/per-thread-array-join-counter-2.i [2023-11-17 22:44:35,330 INFO L427 CDTParser]: About to delete temporary CDT project at /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_584bdc68-0ecd-4d72-ba27-fed29613b10a/bin/ugemcutter-verify-ztSkJzofpW/data/dc5243224/e61ef2f82b9c4de6a93e983287abbc3d/FLAG561b32f28 [2023-11-17 22:44:35,349 INFO L435 CDTParser]: Successfully deleted /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_584bdc68-0ecd-4d72-ba27-fed29613b10a/bin/ugemcutter-verify-ztSkJzofpW/data/dc5243224/e61ef2f82b9c4de6a93e983287abbc3d [2023-11-17 22:44:35,355 INFO L299 ainManager$Toolchain]: ####################### [Toolchain 1] ####################### [2023-11-17 22:44:35,358 INFO L133 ToolchainWalker]: Walking toolchain with 6 elements. [2023-11-17 22:44:35,364 INFO L112 PluginConnector]: ------------------------CACSL2BoogieTranslator---------------------------- [2023-11-17 22:44:35,364 INFO L270 PluginConnector]: Initializing CACSL2BoogieTranslator... [2023-11-17 22:44:35,370 INFO L274 PluginConnector]: CACSL2BoogieTranslator initialized [2023-11-17 22:44:35,373 INFO L184 PluginConnector]: Executing the observer ACSLObjectContainerObserver from plugin CACSL2BoogieTranslator for "CDTParser AST 17.11 10:44:35" (1/1) ... [2023-11-17 22:44:35,374 INFO L204 PluginConnector]: Invalid model from CACSL2BoogieTranslator for observer de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator.ACSLObjectContainerObserver@73429ccf and model type de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 17.11 10:44:35, skipping insertion in model container [2023-11-17 22:44:35,375 INFO L184 PluginConnector]: Executing the observer CACSL2BoogieTranslatorObserver from plugin CACSL2BoogieTranslator for "CDTParser AST 17.11 10:44:35" (1/1) ... [2023-11-17 22:44:35,450 INFO L177 MainTranslator]: Built tables and reachable declarations [2023-11-17 22:44:35,677 WARN L635 FunctionHandler]: implicit declaration of function __builtin_bswap16 [2023-11-17 22:44:36,039 INFO L209 PostProcessor]: Analyzing one entry point: main [2023-11-17 22:44:36,067 INFO L202 MainTranslator]: Completed pre-run [2023-11-17 22:44:36,102 WARN L635 FunctionHandler]: implicit declaration of function __builtin_bswap16 [2023-11-17 22:44:36,157 INFO L209 PostProcessor]: Analyzing one entry point: main [2023-11-17 22:44:36,247 WARN L675 CHandler]: The function __builtin_bswap16 is called, but not defined or handled by StandardFunctionHandler. [2023-11-17 22:44:36,256 INFO L206 MainTranslator]: Completed translation [2023-11-17 22:44:36,257 INFO L201 PluginConnector]: Adding new model de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 17.11 10:44:36 WrapperNode [2023-11-17 22:44:36,257 INFO L131 PluginConnector]: ------------------------ END CACSL2BoogieTranslator---------------------------- [2023-11-17 22:44:36,258 INFO L112 PluginConnector]: ------------------------Boogie Procedure Inliner---------------------------- [2023-11-17 22:44:36,259 INFO L270 PluginConnector]: Initializing Boogie Procedure Inliner... [2023-11-17 22:44:36,259 INFO L274 PluginConnector]: Boogie Procedure Inliner initialized [2023-11-17 22:44:36,267 INFO L184 PluginConnector]: Executing the observer TypeChecker from plugin Boogie Procedure Inliner for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 17.11 10:44:36" (1/1) ... [2023-11-17 22:44:36,293 ERROR L1136 TypeChecker]: C: datas_mutex [1028]: Undeclared identifier #t~mem3 in IdentifierExpression[#t~mem3,] [2023-11-17 22:44:36,294 ERROR L1136 TypeChecker]: C: pthread_mutex_lock(&datas_mutex[i]) [1028]: Wrong parameter type at index 0: CallStatement[null,false,[VariableLHS[#t~nondet4,]],#PthreadsMutexLock,[StructConstructor[[base,offset],[StructAccessExpression[IdentifierExpression[#t~mem3,],base],FunctionApplication[~bvadd~32,[StructAccessExpression[IdentifierExpression[#t~mem3,],offset],FunctionApplication[~bvmul~32,[BitvecLiteral[24,32],IdentifierExpression[~i~0,]]]]]]]]] [2023-11-17 22:44:36,295 ERROR L1136 TypeChecker]: C: datas_mutex [1036]: Undeclared identifier #t~mem8 in IdentifierExpression[#t~mem8,] [2023-11-17 22:44:36,296 ERROR L1136 TypeChecker]: C: pthread_mutex_lock(&datas_mutex[i]) [1036]: Wrong parameter type at index 0: CallStatement[null,false,[VariableLHS[#t~nondet9,]],#PthreadsMutexLock,[StructConstructor[[base,offset],[StructAccessExpression[IdentifierExpression[#t~mem8,],base],FunctionApplication[~bvadd~32,[StructAccessExpression[IdentifierExpression[#t~mem8,],offset],FunctionApplication[~bvmul~32,[BitvecLiteral[24,32],IdentifierExpression[~i~1,]]]]]]]]] [2023-11-17 22:44:36,300 INFO L184 PluginConnector]: Executing the observer Inliner from plugin Boogie Procedure Inliner for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 17.11 10:44:36" (1/1) ... [2023-11-17 22:44:36,301 INFO L131 PluginConnector]: ------------------------ END Boogie Procedure Inliner---------------------------- [2023-11-17 22:44:36,301 INFO L186 ToolchainWalker]: Toolchain execution was canceled (user or tool) before executing de.uni_freiburg.informatik.ultimate.boogie.preprocessor [2023-11-17 22:44:36,303 INFO L158 Benchmark]: Toolchain (without parser) took 943.75ms. Allocated memory is still 104.9MB. Free memory was 78.8MB in the beginning and 70.7MB in the end (delta: 8.1MB). Peak memory consumption was 11.4MB. Max. memory is 16.1GB. [2023-11-17 22:44:36,303 INFO L158 Benchmark]: CDTParser took 1.33ms. Allocated memory is still 77.6MB. Free memory is still 54.2MB. There was no memory consumed. Max. memory is 16.1GB. [2023-11-17 22:44:36,304 INFO L158 Benchmark]: CACSL2BoogieTranslator took 893.53ms. Allocated memory is still 104.9MB. Free memory was 78.6MB in the beginning and 72.3MB in the end (delta: 6.2MB). Peak memory consumption was 34.4MB. Max. memory is 16.1GB. [2023-11-17 22:44:36,305 INFO L158 Benchmark]: Boogie Procedure Inliner took 42.51ms. Allocated memory is still 104.9MB. Free memory was 72.3MB in the beginning and 70.7MB in the end (delta: 1.6MB). Peak memory consumption was 2.1MB. Max. memory is 16.1GB. [2023-11-17 22:44:36,308 INFO L338 ainManager$Toolchain]: ####################### End [Toolchain 1] ####################### --- Results --- * Results from de.uni_freiburg.informatik.ultimate.core: - StatisticsResult: Toolchain Benchmarks Benchmark results are: * CDTParser took 1.33ms. Allocated memory is still 77.6MB. Free memory is still 54.2MB. There was no memory consumed. Max. memory is 16.1GB. * CACSL2BoogieTranslator took 893.53ms. Allocated memory is still 104.9MB. Free memory was 78.6MB in the beginning and 72.3MB in the end (delta: 6.2MB). Peak memory consumption was 34.4MB. Max. memory is 16.1GB. * Boogie Procedure Inliner took 42.51ms. Allocated memory is still 104.9MB. Free memory was 72.3MB in the beginning and 70.7MB 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: 1028]: Type Error Undeclared identifier #t~mem3 in IdentifierExpression[#t~mem3,] - TypeErrorResult [Line: 1028]: Type Error Wrong parameter type at index 0: CallStatement[null,false,[VariableLHS[#t~nondet4,]],#PthreadsMutexLock,[StructConstructor[[base,offset],[StructAccessExpression[IdentifierExpression[#t~mem3,],base],FunctionApplication[~bvadd~32,[StructAccessExpression[IdentifierExpression[#t~mem3,],offset],FunctionApplication[~bvmul~32,[BitvecLiteral[24,32],IdentifierExpression[~i~0,]]]]]]]]] - TypeErrorResult [Line: 1036]: Type Error Undeclared identifier #t~mem8 in IdentifierExpression[#t~mem8,] - TypeErrorResult [Line: 1036]: Type Error Wrong parameter type at index 0: CallStatement[null,false,[VariableLHS[#t~nondet9,]],#PthreadsMutexLock,[StructConstructor[[base,offset],[StructAccessExpression[IdentifierExpression[#t~mem8,],base],FunctionApplication[~bvadd~32,[StructAccessExpression[IdentifierExpression[#t~mem8,],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