./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-1.11.0-openjdk-amd64/bin/java -Dosgi.configuration.area=/tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_4b7208a7-b1bd-4434-b7e2-63ced24b05d3/bin/ugemcutter-verify-ztSkJzofpW/data/config -Xmx15G -Xms4m -jar /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_4b7208a7-b1bd-4434-b7e2-63ced24b05d3/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_4b7208a7-b1bd-4434-b7e2-63ced24b05d3/bin/ugemcutter-verify-ztSkJzofpW/data -tc /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_4b7208a7-b1bd-4434-b7e2-63ced24b05d3/bin/ugemcutter-verify-ztSkJzofpW/config/GemCutterReach.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_4b7208a7-b1bd-4434-b7e2-63ced24b05d3/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_4b7208a7-b1bd-4434-b7e2-63ced24b05d3/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 446ad788bb04ab307771e8b8b2d959cead97e99c160d020f0d1d03b043f9ed25 --- Real Ultimate output --- This is Ultimate 0.2.3-dev-9bd2c7f [2023-11-17 22:48:48,489 INFO L188 SettingsManager]: Resetting all preferences to default values... [2023-11-17 22:48:48,556 INFO L114 SettingsManager]: Loading settings from /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_4b7208a7-b1bd-4434-b7e2-63ced24b05d3/bin/ugemcutter-verify-ztSkJzofpW/config/svcomp-DataRace-32bit-GemCutter_Default.epf [2023-11-17 22:48:48,561 WARN L101 SettingsManager]: Preference file contains the following unknown settings: [2023-11-17 22:48:48,562 WARN L103 SettingsManager]: * de.uni_freiburg.informatik.ultimate.core.Log level for class [2023-11-17 22:48:48,587 INFO L130 SettingsManager]: Preferences different from defaults after loading the file: [2023-11-17 22:48:48,588 INFO L151 SettingsManager]: Preferences of UltimateCore differ from their defaults: [2023-11-17 22:48:48,588 INFO L153 SettingsManager]: * Log level for class=de.uni_freiburg.informatik.ultimate.lib.smtlibutils.quantifier.QuantifierPusher=ERROR; [2023-11-17 22:48:48,589 INFO L151 SettingsManager]: Preferences of Boogie Procedure Inliner differ from their defaults: [2023-11-17 22:48:48,590 INFO L153 SettingsManager]: * Ignore calls to procedures called more than once=ONLY_FOR_SEQUENTIAL_PROGRAMS [2023-11-17 22:48:48,590 INFO L151 SettingsManager]: Preferences of BlockEncodingV2 differ from their defaults: [2023-11-17 22:48:48,591 INFO L153 SettingsManager]: * Create parallel compositions if possible=false [2023-11-17 22:48:48,592 INFO L153 SettingsManager]: * Use SBE=true [2023-11-17 22:48:48,592 INFO L151 SettingsManager]: Preferences of CACSL2BoogieTranslator differ from their defaults: [2023-11-17 22:48:48,593 INFO L153 SettingsManager]: * Pointer base address is valid at dereference=IGNORE [2023-11-17 22:48:48,593 INFO L153 SettingsManager]: * sizeof long=4 [2023-11-17 22:48:48,594 INFO L153 SettingsManager]: * Overapproximate operations on floating types=true [2023-11-17 22:48:48,594 INFO L153 SettingsManager]: * sizeof POINTER=4 [2023-11-17 22:48:48,595 INFO L153 SettingsManager]: * Check division by zero=IGNORE [2023-11-17 22:48:48,596 INFO L153 SettingsManager]: * Pointer to allocated memory at dereference=IGNORE [2023-11-17 22:48:48,596 INFO L153 SettingsManager]: * If two pointers are subtracted or compared they have the same base address=IGNORE [2023-11-17 22:48:48,597 INFO L153 SettingsManager]: * Check array bounds for arrays that are off heap=IGNORE [2023-11-17 22:48:48,598 INFO L153 SettingsManager]: * Check absence of data races in concurrent programs=true [2023-11-17 22:48:48,598 INFO L153 SettingsManager]: * Check unreachability of reach_error function=false [2023-11-17 22:48:48,599 INFO L153 SettingsManager]: * sizeof long double=12 [2023-11-17 22:48:48,599 INFO L153 SettingsManager]: * Check if freed pointer was valid=false [2023-11-17 22:48:48,600 INFO L153 SettingsManager]: * Use constant arrays=true [2023-11-17 22:48:48,600 INFO L151 SettingsManager]: Preferences of RCFGBuilder differ from their defaults: [2023-11-17 22:48:48,601 INFO L153 SettingsManager]: * Size of a code block=SequenceOfStatements [2023-11-17 22:48:48,601 INFO L153 SettingsManager]: * To the following directory=./dump/ [2023-11-17 22:48:48,602 INFO L153 SettingsManager]: * SMT solver=External_DefaultMode [2023-11-17 22:48:48,602 INFO L153 SettingsManager]: * Command for external solver=z3 SMTLIB2_COMPLIANT=true -memory:2024 -smt2 -in -t:2000 [2023-11-17 22:48:48,603 INFO L151 SettingsManager]: Preferences of TraceAbstraction differ from their defaults: [2023-11-17 22:48:48,603 INFO L153 SettingsManager]: * Compute Interpolants along a Counterexample=FPandBP [2023-11-17 22:48:48,604 INFO L153 SettingsManager]: * Positions where we compute the Hoare Annotation=LoopHeads [2023-11-17 22:48:48,604 INFO L153 SettingsManager]: * Trace refinement strategy=CAMEL [2023-11-17 22:48:48,605 INFO L153 SettingsManager]: * Command for external solver=z3 SMTLIB2_COMPLIANT=true -memory:2024 -smt2 -in [2023-11-17 22:48:48,605 INFO L153 SettingsManager]: * Apply one-shot large block encoding in concurrent analysis=false [2023-11-17 22:48:48,606 INFO L153 SettingsManager]: * Abstraction used for commutativity in POR=VARIABLES_GLOBAL [2023-11-17 22:48:48,606 INFO L153 SettingsManager]: * Automaton type used in concurrency analysis=PARTIAL_ORDER_FA [2023-11-17 22:48:48,606 INFO L153 SettingsManager]: * Compute Hoare Annotation of negated interpolant automaton, abstraction and CFG=true [2023-11-17 22:48:48,607 INFO L153 SettingsManager]: * CEGAR restart behaviour=ONE_CEGAR_PER_THREAD_INSTANCE [2023-11-17 22:48:48,607 INFO L153 SettingsManager]: * Partial Order Reduction in concurrent analysis=PERSISTENT_SLEEP_NEW_STATES_FIXEDORDER [2023-11-17 22:48:48,608 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_4b7208a7-b1bd-4434-b7e2-63ced24b05d3/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_4b7208a7-b1bd-4434-b7e2-63ced24b05d3/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 -> 446ad788bb04ab307771e8b8b2d959cead97e99c160d020f0d1d03b043f9ed25 [2023-11-17 22:48:48,927 INFO L75 nceAwareModelManager]: Repository-Root is: /tmp [2023-11-17 22:48:48,952 INFO L261 ainManager$Toolchain]: [Toolchain 1]: Applicable parser(s) successfully (re)initialized [2023-11-17 22:48:48,955 INFO L217 ainManager$Toolchain]: [Toolchain 1]: Toolchain selected. [2023-11-17 22:48:48,956 INFO L270 PluginConnector]: Initializing CDTParser... [2023-11-17 22:48:48,957 INFO L274 PluginConnector]: CDTParser initialized [2023-11-17 22:48:48,958 INFO L431 ainManager$Toolchain]: [Toolchain 1]: Parsing single file: /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_4b7208a7-b1bd-4434-b7e2-63ced24b05d3/bin/ugemcutter-verify-ztSkJzofpW/../../sv-benchmarks/c/pthread-race-challenges/per-thread-array-join-counter.i [2023-11-17 22:48:52,071 INFO L533 CDTParser]: Created temporary CDT project at NULL [2023-11-17 22:48:52,386 INFO L384 CDTParser]: Found 1 translation units. [2023-11-17 22:48:52,391 INFO L180 CDTParser]: Scanning /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_4b7208a7-b1bd-4434-b7e2-63ced24b05d3/sv-benchmarks/c/pthread-race-challenges/per-thread-array-join-counter.i [2023-11-17 22:48:52,421 INFO L427 CDTParser]: About to delete temporary CDT project at /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_4b7208a7-b1bd-4434-b7e2-63ced24b05d3/bin/ugemcutter-verify-ztSkJzofpW/data/a83fa0bde/6482c4e75da34a279b1d8c52b9c0995c/FLAG879b2db4d [2023-11-17 22:48:52,436 INFO L435 CDTParser]: Successfully deleted /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_4b7208a7-b1bd-4434-b7e2-63ced24b05d3/bin/ugemcutter-verify-ztSkJzofpW/data/a83fa0bde/6482c4e75da34a279b1d8c52b9c0995c [2023-11-17 22:48:52,438 INFO L299 ainManager$Toolchain]: ####################### [Toolchain 1] ####################### [2023-11-17 22:48:52,440 INFO L133 ToolchainWalker]: Walking toolchain with 6 elements. [2023-11-17 22:48:52,444 INFO L112 PluginConnector]: ------------------------CACSL2BoogieTranslator---------------------------- [2023-11-17 22:48:52,444 INFO L270 PluginConnector]: Initializing CACSL2BoogieTranslator... [2023-11-17 22:48:52,449 INFO L274 PluginConnector]: CACSL2BoogieTranslator initialized [2023-11-17 22:48:52,450 INFO L184 PluginConnector]: Executing the observer ACSLObjectContainerObserver from plugin CACSL2BoogieTranslator for "CDTParser AST 17.11 10:48:52" (1/1) ... [2023-11-17 22:48:52,453 INFO L204 PluginConnector]: Invalid model from CACSL2BoogieTranslator for observer de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator.ACSLObjectContainerObserver@160944f0 and model type de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 17.11 10:48:52, skipping insertion in model container [2023-11-17 22:48:52,454 INFO L184 PluginConnector]: Executing the observer CACSL2BoogieTranslatorObserver from plugin CACSL2BoogieTranslator for "CDTParser AST 17.11 10:48:52" (1/1) ... [2023-11-17 22:48:52,526 INFO L177 MainTranslator]: Built tables and reachable declarations [2023-11-17 22:48:52,702 WARN L635 FunctionHandler]: implicit declaration of function __builtin_bswap16 [2023-11-17 22:48:53,141 INFO L209 PostProcessor]: Analyzing one entry point: main [2023-11-17 22:48:53,166 INFO L202 MainTranslator]: Completed pre-run [2023-11-17 22:48:53,181 WARN L635 FunctionHandler]: implicit declaration of function __builtin_bswap16 [2023-11-17 22:48:53,260 INFO L209 PostProcessor]: Analyzing one entry point: main [2023-11-17 22:48:53,354 WARN L675 CHandler]: The function __builtin_bswap16 is called, but not defined or handled by StandardFunctionHandler. [2023-11-17 22:48:53,362 INFO L206 MainTranslator]: Completed translation [2023-11-17 22:48:53,363 INFO L201 PluginConnector]: Adding new model de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 17.11 10:48:53 WrapperNode [2023-11-17 22:48:53,363 INFO L131 PluginConnector]: ------------------------ END CACSL2BoogieTranslator---------------------------- [2023-11-17 22:48:53,364 INFO L112 PluginConnector]: ------------------------Boogie Procedure Inliner---------------------------- [2023-11-17 22:48:53,364 INFO L270 PluginConnector]: Initializing Boogie Procedure Inliner... [2023-11-17 22:48:53,364 INFO L274 PluginConnector]: Boogie Procedure Inliner initialized [2023-11-17 22:48:53,372 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:48:53" (1/1) ... [2023-11-17 22:48:53,398 ERROR L1136 TypeChecker]: C: flags_mutex [1033]: Undeclared identifier #t~mem6 in IdentifierExpression[#t~mem6,] [2023-11-17 22:48:53,399 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-17 22:48:53,408 ERROR L1136 TypeChecker]: C: flags_mutex [1041]: Undeclared identifier #t~mem11 in IdentifierExpression[#t~mem11,] [2023-11-17 22:48:53,408 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-17 22:48:53,412 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:48:53" (1/1) ... [2023-11-17 22:48:53,413 INFO L131 PluginConnector]: ------------------------ END Boogie Procedure Inliner---------------------------- [2023-11-17 22:48:53,413 INFO L186 ToolchainWalker]: Toolchain execution was canceled (user or tool) before executing de.uni_freiburg.informatik.ultimate.boogie.preprocessor [2023-11-17 22:48:53,415 INFO L158 Benchmark]: Toolchain (without parser) took 974.02ms. Allocated memory was 140.5MB in the beginning and 186.6MB in the end (delta: 46.1MB). Free memory was 91.5MB in the beginning and 142.8MB in the end (delta: -51.2MB). There was no memory consumed. Max. memory is 16.1GB. [2023-11-17 22:48:53,416 INFO L158 Benchmark]: CDTParser took 0.25ms. Allocated memory is still 140.5MB. Free memory was 112.4MB in the beginning and 112.4MB in the end (delta: 34.8kB). There was no memory consumed. Max. memory is 16.1GB. [2023-11-17 22:48:53,417 INFO L158 Benchmark]: CACSL2BoogieTranslator took 919.81ms. Allocated memory was 140.5MB in the beginning and 186.6MB in the end (delta: 46.1MB). Free memory was 91.1MB in the beginning and 144.9MB in the end (delta: -53.7MB). Peak memory consumption was 28.6MB. Max. memory is 16.1GB. [2023-11-17 22:48:53,418 INFO L158 Benchmark]: Boogie Procedure Inliner took 48.81ms. Allocated memory is still 186.6MB. Free memory was 144.9MB in the beginning and 142.8MB in the end (delta: 2.1MB). Peak memory consumption was 2.1MB. Max. memory is 16.1GB. [2023-11-17 22:48:53,420 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.25ms. Allocated memory is still 140.5MB. Free memory was 112.4MB in the beginning and 112.4MB in the end (delta: 34.8kB). There was no memory consumed. Max. memory is 16.1GB. * CACSL2BoogieTranslator took 919.81ms. Allocated memory was 140.5MB in the beginning and 186.6MB in the end (delta: 46.1MB). Free memory was 91.1MB in the beginning and 144.9MB in the end (delta: -53.7MB). Peak memory consumption was 28.6MB. Max. memory is 16.1GB. * Boogie Procedure Inliner took 48.81ms. Allocated memory is still 186.6MB. Free memory was 144.9MB in the beginning and 142.8MB in the end (delta: 2.1MB). 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_4b7208a7-b1bd-4434-b7e2-63ced24b05d3/bin/ugemcutter-verify-ztSkJzofpW/data/config -Xmx15G -Xms4m -jar /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_4b7208a7-b1bd-4434-b7e2-63ced24b05d3/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_4b7208a7-b1bd-4434-b7e2-63ced24b05d3/bin/ugemcutter-verify-ztSkJzofpW/data -tc /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_4b7208a7-b1bd-4434-b7e2-63ced24b05d3/bin/ugemcutter-verify-ztSkJzofpW/config/GemCutterReach.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_4b7208a7-b1bd-4434-b7e2-63ced24b05d3/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_4b7208a7-b1bd-4434-b7e2-63ced24b05d3/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 446ad788bb04ab307771e8b8b2d959cead97e99c160d020f0d1d03b043f9ed25 --- Real Ultimate output --- This is Ultimate 0.2.3-dev-9bd2c7f [2023-11-17 22:48:55,922 INFO L188 SettingsManager]: Resetting all preferences to default values... [2023-11-17 22:48:56,061 INFO L114 SettingsManager]: Loading settings from /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_4b7208a7-b1bd-4434-b7e2-63ced24b05d3/bin/ugemcutter-verify-ztSkJzofpW/config/svcomp-DataRace-32bit-GemCutter_Bitvector.epf [2023-11-17 22:48:56,071 WARN L101 SettingsManager]: Preference file contains the following unknown settings: [2023-11-17 22:48:56,075 WARN L103 SettingsManager]: * de.uni_freiburg.informatik.ultimate.core.Log level for class [2023-11-17 22:48:56,119 INFO L130 SettingsManager]: Preferences different from defaults after loading the file: [2023-11-17 22:48:56,120 INFO L151 SettingsManager]: Preferences of UltimateCore differ from their defaults: [2023-11-17 22:48:56,120 INFO L153 SettingsManager]: * Log level for class=de.uni_freiburg.informatik.ultimate.lib.smtlibutils.quantifier.QuantifierPusher=ERROR; [2023-11-17 22:48:56,121 INFO L151 SettingsManager]: Preferences of Boogie Procedure Inliner differ from their defaults: [2023-11-17 22:48:56,126 INFO L153 SettingsManager]: * Ignore calls to procedures called more than once=ONLY_FOR_SEQUENTIAL_PROGRAMS [2023-11-17 22:48:56,127 INFO L151 SettingsManager]: Preferences of BlockEncodingV2 differ from their defaults: [2023-11-17 22:48:56,128 INFO L153 SettingsManager]: * Create parallel compositions if possible=false [2023-11-17 22:48:56,128 INFO L153 SettingsManager]: * Use SBE=true [2023-11-17 22:48:56,130 INFO L151 SettingsManager]: Preferences of CACSL2BoogieTranslator differ from their defaults: [2023-11-17 22:48:56,131 INFO L153 SettingsManager]: * Pointer base address is valid at dereference=IGNORE [2023-11-17 22:48:56,131 INFO L153 SettingsManager]: * sizeof long=4 [2023-11-17 22:48:56,132 INFO L153 SettingsManager]: * sizeof POINTER=4 [2023-11-17 22:48:56,132 INFO L153 SettingsManager]: * Check division by zero=IGNORE [2023-11-17 22:48:56,133 INFO L153 SettingsManager]: * Pointer to allocated memory at dereference=IGNORE [2023-11-17 22:48:56,134 INFO L153 SettingsManager]: * If two pointers are subtracted or compared they have the same base address=IGNORE [2023-11-17 22:48:56,134 INFO L153 SettingsManager]: * Check array bounds for arrays that are off heap=IGNORE [2023-11-17 22:48:56,135 INFO L153 SettingsManager]: * Check absence of data races in concurrent programs=true [2023-11-17 22:48:56,135 INFO L153 SettingsManager]: * Use bitvectors instead of ints=true [2023-11-17 22:48:56,136 INFO L153 SettingsManager]: * Memory model=HoenickeLindenmann_4ByteResolution [2023-11-17 22:48:56,136 INFO L153 SettingsManager]: * Check unreachability of reach_error function=false [2023-11-17 22:48:56,137 INFO L153 SettingsManager]: * sizeof long double=12 [2023-11-17 22:48:56,137 INFO L153 SettingsManager]: * Check if freed pointer was valid=false [2023-11-17 22:48:56,138 INFO L153 SettingsManager]: * Use constant arrays=true [2023-11-17 22:48:56,138 INFO L151 SettingsManager]: Preferences of RCFGBuilder differ from their defaults: [2023-11-17 22:48:56,139 INFO L153 SettingsManager]: * Size of a code block=SequenceOfStatements [2023-11-17 22:48:56,140 INFO L153 SettingsManager]: * SMT solver=External_DefaultMode [2023-11-17 22:48:56,140 INFO L153 SettingsManager]: * Command for external solver=z3 SMTLIB2_COMPLIANT=true -memory:2024 -smt2 -in -t:2000 [2023-11-17 22:48:56,141 INFO L151 SettingsManager]: Preferences of TraceAbstraction differ from their defaults: [2023-11-17 22:48:56,141 INFO L153 SettingsManager]: * Compute Interpolants along a Counterexample=FPandBP [2023-11-17 22:48:56,141 INFO L153 SettingsManager]: * Positions where we compute the Hoare Annotation=LoopHeads [2023-11-17 22:48:56,142 INFO L153 SettingsManager]: * Trace refinement strategy=WOLF [2023-11-17 22:48:56,142 INFO L153 SettingsManager]: * Command for external solver=cvc4 --incremental --print-success --lang smt [2023-11-17 22:48:56,142 INFO L153 SettingsManager]: * Apply one-shot large block encoding in concurrent analysis=false [2023-11-17 22:48:56,142 INFO L153 SettingsManager]: * Abstraction used for commutativity in POR=VARIABLES_GLOBAL [2023-11-17 22:48:56,143 INFO L153 SettingsManager]: * Automaton type used in concurrency analysis=PARTIAL_ORDER_FA [2023-11-17 22:48:56,144 INFO L153 SettingsManager]: * Compute Hoare Annotation of negated interpolant automaton, abstraction and CFG=true [2023-11-17 22:48:56,144 INFO L153 SettingsManager]: * CEGAR restart behaviour=ONE_CEGAR_PER_THREAD_INSTANCE [2023-11-17 22:48:56,145 INFO L153 SettingsManager]: * Partial Order Reduction in concurrent analysis=PERSISTENT_SLEEP_NEW_STATES_FIXEDORDER [2023-11-17 22:48:56,145 INFO L153 SettingsManager]: * SMT solver=External_ModelsAndUnsatCoreMode [2023-11-17 22:48:56,145 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_4b7208a7-b1bd-4434-b7e2-63ced24b05d3/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_4b7208a7-b1bd-4434-b7e2-63ced24b05d3/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 -> 446ad788bb04ab307771e8b8b2d959cead97e99c160d020f0d1d03b043f9ed25 [2023-11-17 22:48:56,516 INFO L75 nceAwareModelManager]: Repository-Root is: /tmp [2023-11-17 22:48:56,552 INFO L261 ainManager$Toolchain]: [Toolchain 1]: Applicable parser(s) successfully (re)initialized [2023-11-17 22:48:56,555 INFO L217 ainManager$Toolchain]: [Toolchain 1]: Toolchain selected. [2023-11-17 22:48:56,557 INFO L270 PluginConnector]: Initializing CDTParser... [2023-11-17 22:48:56,557 INFO L274 PluginConnector]: CDTParser initialized [2023-11-17 22:48:56,558 INFO L431 ainManager$Toolchain]: [Toolchain 1]: Parsing single file: /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_4b7208a7-b1bd-4434-b7e2-63ced24b05d3/bin/ugemcutter-verify-ztSkJzofpW/../../sv-benchmarks/c/pthread-race-challenges/per-thread-array-join-counter.i [2023-11-17 22:48:59,715 INFO L533 CDTParser]: Created temporary CDT project at NULL [2023-11-17 22:49:00,127 INFO L384 CDTParser]: Found 1 translation units. [2023-11-17 22:49:00,128 INFO L180 CDTParser]: Scanning /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_4b7208a7-b1bd-4434-b7e2-63ced24b05d3/sv-benchmarks/c/pthread-race-challenges/per-thread-array-join-counter.i [2023-11-17 22:49:00,153 INFO L427 CDTParser]: About to delete temporary CDT project at /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_4b7208a7-b1bd-4434-b7e2-63ced24b05d3/bin/ugemcutter-verify-ztSkJzofpW/data/2bd80d756/1bd9263116454dba93f9f8c76fde73fd/FLAG0251bd6f4 [2023-11-17 22:49:00,172 INFO L435 CDTParser]: Successfully deleted /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_4b7208a7-b1bd-4434-b7e2-63ced24b05d3/bin/ugemcutter-verify-ztSkJzofpW/data/2bd80d756/1bd9263116454dba93f9f8c76fde73fd [2023-11-17 22:49:00,178 INFO L299 ainManager$Toolchain]: ####################### [Toolchain 1] ####################### [2023-11-17 22:49:00,180 INFO L133 ToolchainWalker]: Walking toolchain with 6 elements. [2023-11-17 22:49:00,183 INFO L112 PluginConnector]: ------------------------CACSL2BoogieTranslator---------------------------- [2023-11-17 22:49:00,183 INFO L270 PluginConnector]: Initializing CACSL2BoogieTranslator... [2023-11-17 22:49:00,188 INFO L274 PluginConnector]: CACSL2BoogieTranslator initialized [2023-11-17 22:49:00,189 INFO L184 PluginConnector]: Executing the observer ACSLObjectContainerObserver from plugin CACSL2BoogieTranslator for "CDTParser AST 17.11 10:49:00" (1/1) ... [2023-11-17 22:49:00,190 INFO L204 PluginConnector]: Invalid model from CACSL2BoogieTranslator for observer de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator.ACSLObjectContainerObserver@4c79ab25 and model type de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 17.11 10:49:00, skipping insertion in model container [2023-11-17 22:49:00,191 INFO L184 PluginConnector]: Executing the observer CACSL2BoogieTranslatorObserver from plugin CACSL2BoogieTranslator for "CDTParser AST 17.11 10:49:00" (1/1) ... [2023-11-17 22:49:00,272 INFO L177 MainTranslator]: Built tables and reachable declarations [2023-11-17 22:49:00,443 WARN L635 FunctionHandler]: implicit declaration of function __builtin_bswap16 [2023-11-17 22:49:00,837 INFO L209 PostProcessor]: Analyzing one entry point: main [2023-11-17 22:49:00,858 INFO L202 MainTranslator]: Completed pre-run [2023-11-17 22:49:00,879 WARN L635 FunctionHandler]: implicit declaration of function __builtin_bswap16 [2023-11-17 22:49:00,985 INFO L209 PostProcessor]: Analyzing one entry point: main [2023-11-17 22:49:01,066 WARN L675 CHandler]: The function __builtin_bswap16 is called, but not defined or handled by StandardFunctionHandler. [2023-11-17 22:49:01,074 INFO L206 MainTranslator]: Completed translation [2023-11-17 22:49:01,074 INFO L201 PluginConnector]: Adding new model de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 17.11 10:49:01 WrapperNode [2023-11-17 22:49:01,074 INFO L131 PluginConnector]: ------------------------ END CACSL2BoogieTranslator---------------------------- [2023-11-17 22:49:01,075 INFO L112 PluginConnector]: ------------------------Boogie Procedure Inliner---------------------------- [2023-11-17 22:49:01,076 INFO L270 PluginConnector]: Initializing Boogie Procedure Inliner... [2023-11-17 22:49:01,076 INFO L274 PluginConnector]: Boogie Procedure Inliner initialized [2023-11-17 22:49:01,083 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:49:01" (1/1) ... [2023-11-17 22:49:01,107 ERROR L1136 TypeChecker]: C: flags_mutex [1033]: Undeclared identifier #t~mem6 in IdentifierExpression[#t~mem6,] [2023-11-17 22:49:01,108 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-17 22:49:01,109 ERROR L1136 TypeChecker]: C: flags_mutex [1041]: Undeclared identifier #t~mem11 in IdentifierExpression[#t~mem11,] [2023-11-17 22:49:01,110 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-17 22:49:01,114 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:49:01" (1/1) ... [2023-11-17 22:49:01,114 INFO L131 PluginConnector]: ------------------------ END Boogie Procedure Inliner---------------------------- [2023-11-17 22:49:01,114 INFO L186 ToolchainWalker]: Toolchain execution was canceled (user or tool) before executing de.uni_freiburg.informatik.ultimate.boogie.preprocessor [2023-11-17 22:49:01,116 INFO L158 Benchmark]: Toolchain (without parser) took 935.77ms. Allocated memory is still 98.6MB. Free memory was 72.4MB in the beginning and 59.6MB in the end (delta: 12.9MB). Peak memory consumption was 11.9MB. Max. memory is 16.1GB. [2023-11-17 22:49:01,117 INFO L158 Benchmark]: CDTParser took 2.22ms. Allocated memory is still 65.0MB. Free memory is still 40.8MB. There was no memory consumed. Max. memory is 16.1GB. [2023-11-17 22:49:01,118 INFO L158 Benchmark]: CACSL2BoogieTranslator took 892.07ms. Allocated memory is still 98.6MB. Free memory was 72.4MB in the beginning and 61.5MB in the end (delta: 10.9MB). Peak memory consumption was 22.4MB. Max. memory is 16.1GB. [2023-11-17 22:49:01,119 INFO L158 Benchmark]: Boogie Procedure Inliner took 38.93ms. Allocated memory is still 98.6MB. Free memory was 61.5MB in the beginning and 59.6MB in the end (delta: 1.9MB). Peak memory consumption was 2.1MB. Max. memory is 16.1GB. [2023-11-17 22:49:01,121 INFO L338 ainManager$Toolchain]: ####################### End [Toolchain 1] ####################### --- Results --- * Results from de.uni_freiburg.informatik.ultimate.core: - StatisticsResult: Toolchain Benchmarks Benchmark results are: * CDTParser took 2.22ms. Allocated memory is still 65.0MB. Free memory is still 40.8MB. There was no memory consumed. Max. memory is 16.1GB. * CACSL2BoogieTranslator took 892.07ms. Allocated memory is still 98.6MB. Free memory was 72.4MB in the beginning and 61.5MB in the end (delta: 10.9MB). Peak memory consumption was 22.4MB. Max. memory is 16.1GB. * Boogie Procedure Inliner took 38.93ms. Allocated memory is still 98.6MB. Free memory was 61.5MB in the beginning and 59.6MB in the end (delta: 1.9MB). 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