./Ultimate.py --spec ../../../trunk/examples/svcomp/properties/unreach-call.prp --file ../../../trunk/examples/svcomp/goblint-regression/28-race_reach_20-callback_racefree.i --full-output --traceabstraction.positions.where.we.compute.the.hoare.annotation All --architecture 32bit -------------------------------------------------------------------------------- Checking for ERROR reachability Using default analysis Version 448d4d75 Calling Ultimate with: /root/.sdkman/candidates/java/current/bin/java -Dosgi.configuration.area=/storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/data/config -Xmx15G -Xms4m -jar /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/plugins/org.eclipse.equinox.launcher_1.5.800.v20200727-1323.jar -data @noDefault -ultimatedata /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/data -tc /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/config/AutomizerReach.xml -i ../../../trunk/examples/svcomp/goblint-regression/28-race_reach_20-callback_racefree.i -s /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/config/svcomp-Reach-32bit-Automizer_Default.epf --cacsl2boogietranslator.entry.function main --witnessprinter.witness.directory /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux --witnessprinter.witness.filename witness --witnessprinter.write.witness.besides.input.file false --witnessprinter.graph.data.specification CHECK( init(main()), LTL(G ! call(reach_error())) ) --witnessprinter.graph.data.producer Automizer --witnessprinter.graph.data.architecture 32bit --witnessprinter.graph.data.programhash 4e91816f101a416d37c086dd7185cfb4e2bfa63eb286e4a418cb94db27cf2f6f --traceabstraction.positions.where.we.compute.the.hoare.annotation All --- Real Ultimate output --- This is Ultimate 0.2.4-tmp.dk.owicki-witnesses-448d4d7-m [2024-02-20 11:36:41,729 INFO L188 SettingsManager]: Resetting all preferences to default values... [2024-02-20 11:36:41,833 INFO L114 SettingsManager]: Loading settings from /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/config/svcomp-Reach-32bit-Automizer_Default.epf [2024-02-20 11:36:41,841 WARN L101 SettingsManager]: Preference file contains the following unknown settings: [2024-02-20 11:36:41,841 WARN L103 SettingsManager]: * de.uni_freiburg.informatik.ultimate.core.Log level for class [2024-02-20 11:36:41,875 INFO L130 SettingsManager]: Preferences different from defaults after loading the file: [2024-02-20 11:36:41,879 INFO L151 SettingsManager]: Preferences of UltimateCore differ from their defaults: [2024-02-20 11:36:41,879 INFO L153 SettingsManager]: * Log level for class=de.uni_freiburg.informatik.ultimate.lib.smtlibutils.quantifier.QuantifierPusher=ERROR; [2024-02-20 11:36:41,880 INFO L151 SettingsManager]: Preferences of Boogie Preprocessor differ from their defaults: [2024-02-20 11:36:41,883 INFO L153 SettingsManager]: * Use memory slicer=true [2024-02-20 11:36:41,883 INFO L151 SettingsManager]: Preferences of Boogie Procedure Inliner differ from their defaults: [2024-02-20 11:36:41,883 INFO L153 SettingsManager]: * Ignore calls to procedures called more than once=ONLY_FOR_SEQUENTIAL_PROGRAMS [2024-02-20 11:36:41,884 INFO L151 SettingsManager]: Preferences of BlockEncodingV2 differ from their defaults: [2024-02-20 11:36:41,885 INFO L153 SettingsManager]: * Create parallel compositions if possible=false [2024-02-20 11:36:41,885 INFO L153 SettingsManager]: * Use SBE=true [2024-02-20 11:36:41,885 INFO L151 SettingsManager]: Preferences of CACSL2BoogieTranslator differ from their defaults: [2024-02-20 11:36:41,886 INFO L153 SettingsManager]: * Pointer base address is valid at dereference=IGNORE [2024-02-20 11:36:41,886 INFO L153 SettingsManager]: * sizeof long=4 [2024-02-20 11:36:41,886 INFO L153 SettingsManager]: * Overapproximate operations on floating types=true [2024-02-20 11:36:41,886 INFO L153 SettingsManager]: * sizeof POINTER=4 [2024-02-20 11:36:41,887 INFO L153 SettingsManager]: * Check division by zero=IGNORE [2024-02-20 11:36:41,887 INFO L153 SettingsManager]: * Pointer to allocated memory at dereference=IGNORE [2024-02-20 11:36:41,888 INFO L153 SettingsManager]: * If two pointers are subtracted or compared they have the same base address=IGNORE [2024-02-20 11:36:41,888 INFO L153 SettingsManager]: * Check array bounds for arrays that are off heap=IGNORE [2024-02-20 11:36:41,888 INFO L153 SettingsManager]: * Allow undefined functions=false [2024-02-20 11:36:41,888 INFO L153 SettingsManager]: * sizeof long double=12 [2024-02-20 11:36:41,888 INFO L153 SettingsManager]: * Check if freed pointer was valid=false [2024-02-20 11:36:41,889 INFO L153 SettingsManager]: * Use constant arrays=true [2024-02-20 11:36:41,889 INFO L151 SettingsManager]: Preferences of RCFGBuilder differ from their defaults: [2024-02-20 11:36:41,889 INFO L153 SettingsManager]: * Size of a code block=SequenceOfStatements [2024-02-20 11:36:41,890 INFO L153 SettingsManager]: * Only consider context switches at boundaries of atomic blocks=true [2024-02-20 11:36:41,890 INFO L153 SettingsManager]: * SMT solver=External_DefaultMode [2024-02-20 11:36:41,890 INFO L153 SettingsManager]: * Command for external solver=z3 SMTLIB2_COMPLIANT=true -memory:2024 -smt2 -in -t:4000 [2024-02-20 11:36:41,891 INFO L151 SettingsManager]: Preferences of TraceAbstraction differ from their defaults: [2024-02-20 11:36:41,891 INFO L153 SettingsManager]: * Compute Interpolants along a Counterexample=FPandBP [2024-02-20 11:36:41,891 INFO L153 SettingsManager]: * Positions where we compute the Hoare Annotation=LoopHeads [2024-02-20 11:36:41,891 INFO L153 SettingsManager]: * Trace refinement strategy=CAMEL [2024-02-20 11:36:41,891 INFO L153 SettingsManager]: * Command for external solver=z3 SMTLIB2_COMPLIANT=true -memory:2024 -smt2 -in [2024-02-20 11:36:41,891 INFO L153 SettingsManager]: * Apply one-shot large block encoding in concurrent analysis=false [2024-02-20 11:36:41,892 INFO L153 SettingsManager]: * Automaton type used in concurrency analysis=PETRI_NET [2024-02-20 11:36:41,892 INFO L153 SettingsManager]: * Compute Hoare Annotation of negated interpolant automaton, abstraction and CFG=true [2024-02-20 11:36:41,892 INFO L153 SettingsManager]: * Order on configurations for Petri net unfoldings=DBO [2024-02-20 11:36:41,892 INFO L153 SettingsManager]: * SMT solver=External_ModelsAndUnsatCoreMode [2024-02-20 11:36:41,892 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:/storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/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 -> /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux 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 ! call(reach_error())) ) 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 -> 4e91816f101a416d37c086dd7185cfb4e2bfa63eb286e4a418cb94db27cf2f6f Applying setting for plugin de.uni_freiburg.informatik.ultimate.plugins.generator.traceabstraction: Positions where we compute the Hoare Annotation -> All [2024-02-20 11:36:42,095 INFO L75 nceAwareModelManager]: Repository-Root is: /tmp [2024-02-20 11:36:42,114 INFO L261 ainManager$Toolchain]: [Toolchain 1]: Applicable parser(s) successfully (re)initialized [2024-02-20 11:36:42,118 INFO L217 ainManager$Toolchain]: [Toolchain 1]: Toolchain selected. [2024-02-20 11:36:42,119 INFO L270 PluginConnector]: Initializing CDTParser... [2024-02-20 11:36:42,119 INFO L274 PluginConnector]: CDTParser initialized [2024-02-20 11:36:42,120 INFO L431 ainManager$Toolchain]: [Toolchain 1]: Parsing single file: /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/../../../trunk/examples/svcomp/goblint-regression/28-race_reach_20-callback_racefree.i [2024-02-20 11:36:43,285 INFO L533 CDTParser]: Created temporary CDT project at NULL [2024-02-20 11:36:43,489 INFO L384 CDTParser]: Found 1 translation units. [2024-02-20 11:36:43,490 INFO L180 CDTParser]: Scanning /storage/repos/ultimate/trunk/examples/svcomp/goblint-regression/28-race_reach_20-callback_racefree.i [2024-02-20 11:36:43,504 INFO L427 CDTParser]: About to delete temporary CDT project at /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/data/c516faf9c/d39aa94f37bb4a2c9c1ad9207c8f603c/FLAGc6bbe69e9 [2024-02-20 11:36:43,517 INFO L435 CDTParser]: Successfully deleted /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/data/c516faf9c/d39aa94f37bb4a2c9c1ad9207c8f603c [2024-02-20 11:36:43,522 INFO L299 ainManager$Toolchain]: ####################### [Toolchain 1] ####################### [2024-02-20 11:36:43,524 INFO L133 ToolchainWalker]: Walking toolchain with 6 elements. [2024-02-20 11:36:43,527 INFO L112 PluginConnector]: ------------------------CACSL2BoogieTranslator---------------------------- [2024-02-20 11:36:43,528 INFO L270 PluginConnector]: Initializing CACSL2BoogieTranslator... [2024-02-20 11:36:43,532 INFO L274 PluginConnector]: CACSL2BoogieTranslator initialized [2024-02-20 11:36:43,532 INFO L184 PluginConnector]: Executing the observer ACSLObjectContainerObserver from plugin CACSL2BoogieTranslator for "CDTParser AST 20.02 11:36:43" (1/1) ... [2024-02-20 11:36:43,533 INFO L204 PluginConnector]: Invalid model from CACSL2BoogieTranslator for observer de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator.ACSLObjectContainerObserver@76f76f76 and model type de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 20.02 11:36:43, skipping insertion in model container [2024-02-20 11:36:43,533 INFO L184 PluginConnector]: Executing the observer CACSL2BoogieTranslatorObserver from plugin CACSL2BoogieTranslator for "CDTParser AST 20.02 11:36:43" (1/1) ... [2024-02-20 11:36:43,579 INFO L177 MainTranslator]: Built tables and reachable declarations [2024-02-20 11:36:43,894 WARN L239 ndardFunctionHandler]: Function reach_error is already implemented but we override the implementation for the call at /storage/repos/ultimate/trunk/examples/svcomp/goblint-regression/28-race_reach_20-callback_racefree.i[30212,30225] [2024-02-20 11:36:43,925 INFO L207 PostProcessor]: Analyzing one entry point: main [2024-02-20 11:36:43,937 INFO L202 MainTranslator]: Completed pre-run [2024-02-20 11:36:43,980 WARN L239 ndardFunctionHandler]: Function reach_error is already implemented but we override the implementation for the call at /storage/repos/ultimate/trunk/examples/svcomp/goblint-regression/28-race_reach_20-callback_racefree.i[30212,30225] [2024-02-20 11:36:43,995 INFO L207 PostProcessor]: Analyzing one entry point: main [2024-02-20 11:36:44,034 INFO L206 MainTranslator]: Completed translation [2024-02-20 11:36:44,034 INFO L201 PluginConnector]: Adding new model de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 20.02 11:36:44 WrapperNode [2024-02-20 11:36:44,035 INFO L131 PluginConnector]: ------------------------ END CACSL2BoogieTranslator---------------------------- [2024-02-20 11:36:44,035 INFO L112 PluginConnector]: ------------------------Boogie Procedure Inliner---------------------------- [2024-02-20 11:36:44,036 INFO L270 PluginConnector]: Initializing Boogie Procedure Inliner... [2024-02-20 11:36:44,036 INFO L274 PluginConnector]: Boogie Procedure Inliner initialized [2024-02-20 11:36:44,041 INFO L184 PluginConnector]: Executing the observer TypeChecker from plugin Boogie Procedure Inliner for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 20.02 11:36:44" (1/1) ... [2024-02-20 11:36:44,054 ERROR L1136 TypeChecker]: C: mutex1 [708]: Undeclared identifier ~#mutex1~0 in IdentifierExpression[~#mutex1~0,] [2024-02-20 11:36:44,055 ERROR L1136 TypeChecker]: C: pthread_mutex_lock(&mutex1) [708]: Wrong parameter type at index 0: CallStatement[null,false,[VariableLHS[#t~nondet7,]],#PthreadsMutexLock,[IdentifierExpression[~#mutex1~0,]]] [2024-02-20 11:36:44,056 ERROR L1136 TypeChecker]: C: glob [709]: Undeclared identifier ~glob~0 in IdentifierExpression[~glob~0,] [2024-02-20 11:36:44,056 ERROR L1136 TypeChecker]: C: glob [709]: Variable ~glob~0 modified in procedure bar but not declared [2024-02-20 11:36:44,056 ERROR L1136 TypeChecker]: C: glob [709]: Undeclared identifier ~glob~0 in IdentifierExpression[~glob~0,] [2024-02-20 11:36:44,056 ERROR L1136 TypeChecker]: C: glob [709]: Variable ~glob~0 modified in procedure bar but not declared [2024-02-20 11:36:44,056 ERROR L1136 TypeChecker]: C: mutex1 [710]: Undeclared identifier ~#mutex1~0 in IdentifierExpression[~#mutex1~0,] [2024-02-20 11:36:44,057 ERROR L1136 TypeChecker]: C: pthread_mutex_unlock(&mutex1) [710]: Wrong parameter type at index 0: CallStatement[null,false,[VariableLHS[#t~nondet14,]],#PthreadsMutexUnlock,[IdentifierExpression[~#mutex1~0,]]] [2024-02-20 11:36:44,057 ERROR L1136 TypeChecker]: C: mutex1 [714]: Undeclared identifier ~#mutex1~0 in IdentifierExpression[~#mutex1~0,] [2024-02-20 11:36:44,057 ERROR L1136 TypeChecker]: C: pthread_mutex_lock(&mutex1) [714]: Wrong parameter type at index 0: CallStatement[null,false,[VariableLHS[#t~nondet15,]],#PthreadsMutexLock,[IdentifierExpression[~#mutex1~0,]]] [2024-02-20 11:36:44,057 ERROR L1136 TypeChecker]: C: glob [715]: Undeclared identifier ~glob~0 in IdentifierExpression[~glob~0,] [2024-02-20 11:36:44,058 ERROR L1136 TypeChecker]: C: mutex1 [716]: Undeclared identifier ~#mutex1~0 in IdentifierExpression[~#mutex1~0,] [2024-02-20 11:36:44,058 ERROR L1136 TypeChecker]: C: pthread_mutex_unlock(&mutex1) [716]: Wrong parameter type at index 0: CallStatement[null,false,[VariableLHS[#t~nondet18,]],#PthreadsMutexUnlock,[IdentifierExpression[~#mutex1~0,]]] [2024-02-20 11:36:44,058 INFO L184 PluginConnector]: Executing the observer Inliner from plugin Boogie Procedure Inliner for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 20.02 11:36:44" (1/1) ... [2024-02-20 11:36:44,059 INFO L131 PluginConnector]: ------------------------ END Boogie Procedure Inliner---------------------------- [2024-02-20 11:36:44,059 INFO L186 ToolchainWalker]: Toolchain execution was canceled (user or tool) before executing de.uni_freiburg.informatik.ultimate.boogie.preprocessor [2024-02-20 11:36:44,060 INFO L158 Benchmark]: Toolchain (without parser) took 536.06ms. Allocated memory is still 228.6MB. Free memory was 156.9MB in the beginning and 133.4MB in the end (delta: 23.5MB). Peak memory consumption was 23.1MB. Max. memory is 16.1GB. [2024-02-20 11:36:44,061 INFO L158 Benchmark]: CDTParser took 0.14ms. Allocated memory is still 132.1MB. Free memory is still 96.5MB. There was no memory consumed. Max. memory is 16.1GB. [2024-02-20 11:36:44,061 INFO L158 Benchmark]: CACSL2BoogieTranslator took 507.62ms. Allocated memory is still 228.6MB. Free memory was 156.4MB in the beginning and 134.9MB in the end (delta: 21.5MB). Peak memory consumption was 21.0MB. Max. memory is 16.1GB. [2024-02-20 11:36:44,061 INFO L158 Benchmark]: Boogie Procedure Inliner took 23.29ms. Allocated memory is still 228.6MB. Free memory was 134.9MB in the beginning and 133.4MB in the end (delta: 1.6MB). Peak memory consumption was 2.1MB. Max. memory is 16.1GB. [2024-02-20 11:36:44,063 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.14ms. Allocated memory is still 132.1MB. Free memory is still 96.5MB. There was no memory consumed. Max. memory is 16.1GB. * CACSL2BoogieTranslator took 507.62ms. Allocated memory is still 228.6MB. Free memory was 156.4MB in the beginning and 134.9MB in the end (delta: 21.5MB). Peak memory consumption was 21.0MB. Max. memory is 16.1GB. * Boogie Procedure Inliner took 23.29ms. Allocated memory is still 228.6MB. Free memory was 134.9MB in the beginning and 133.4MB 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: 708]: Type Error Undeclared identifier ~#mutex1~0 in IdentifierExpression[~#mutex1~0,] - TypeErrorResult [Line: 708]: Type Error Wrong parameter type at index 0: CallStatement[null,false,[VariableLHS[#t~nondet7,]],#PthreadsMutexLock,[IdentifierExpression[~#mutex1~0,]]] - TypeErrorResult [Line: 709]: Type Error Undeclared identifier ~glob~0 in IdentifierExpression[~glob~0,] - TypeErrorResult [Line: 709]: Type Error Variable ~glob~0 modified in procedure bar but not declared - TypeErrorResult [Line: 709]: Type Error Undeclared identifier ~glob~0 in IdentifierExpression[~glob~0,] - TypeErrorResult [Line: 709]: Type Error Variable ~glob~0 modified in procedure bar but not declared - TypeErrorResult [Line: 710]: Type Error Undeclared identifier ~#mutex1~0 in IdentifierExpression[~#mutex1~0,] - TypeErrorResult [Line: 710]: Type Error Wrong parameter type at index 0: CallStatement[null,false,[VariableLHS[#t~nondet14,]],#PthreadsMutexUnlock,[IdentifierExpression[~#mutex1~0,]]] - TypeErrorResult [Line: 714]: Type Error Undeclared identifier ~#mutex1~0 in IdentifierExpression[~#mutex1~0,] - TypeErrorResult [Line: 714]: Type Error Wrong parameter type at index 0: CallStatement[null,false,[VariableLHS[#t~nondet15,]],#PthreadsMutexLock,[IdentifierExpression[~#mutex1~0,]]] - TypeErrorResult [Line: 715]: Type Error Undeclared identifier ~glob~0 in IdentifierExpression[~glob~0,] - TypeErrorResult [Line: 716]: Type Error Undeclared identifier ~#mutex1~0 in IdentifierExpression[~#mutex1~0,] - TypeErrorResult [Line: 716]: Type Error Wrong parameter type at index 0: CallStatement[null,false,[VariableLHS[#t~nondet18,]],#PthreadsMutexUnlock,[IdentifierExpression[~#mutex1~0,]]] 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: /root/.sdkman/candidates/java/current/bin/java -Dosgi.configuration.area=/storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/data/config -Xmx15G -Xms4m -jar /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/plugins/org.eclipse.equinox.launcher_1.5.800.v20200727-1323.jar -data @noDefault -ultimatedata /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/data -tc /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/config/AutomizerReach.xml -i ../../../trunk/examples/svcomp/goblint-regression/28-race_reach_20-callback_racefree.i -s /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/config/svcomp-Reach-32bit-Automizer_Bitvector.epf --cacsl2boogietranslator.entry.function main --witnessprinter.witness.directory /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux --witnessprinter.witness.filename witness --witnessprinter.write.witness.besides.input.file false --witnessprinter.graph.data.specification CHECK( init(main()), LTL(G ! call(reach_error())) ) --witnessprinter.graph.data.producer Automizer --witnessprinter.graph.data.architecture 32bit --witnessprinter.graph.data.programhash 4e91816f101a416d37c086dd7185cfb4e2bfa63eb286e4a418cb94db27cf2f6f --traceabstraction.positions.where.we.compute.the.hoare.annotation All --- Real Ultimate output --- This is Ultimate 0.2.4-tmp.dk.owicki-witnesses-448d4d7-m [2024-02-20 11:36:45,948 INFO L188 SettingsManager]: Resetting all preferences to default values... [2024-02-20 11:36:46,018 INFO L114 SettingsManager]: Loading settings from /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/config/svcomp-Reach-32bit-Automizer_Bitvector.epf [2024-02-20 11:36:46,023 WARN L101 SettingsManager]: Preference file contains the following unknown settings: [2024-02-20 11:36:46,024 WARN L103 SettingsManager]: * de.uni_freiburg.informatik.ultimate.core.Log level for class [2024-02-20 11:36:46,058 INFO L130 SettingsManager]: Preferences different from defaults after loading the file: [2024-02-20 11:36:46,060 INFO L151 SettingsManager]: Preferences of UltimateCore differ from their defaults: [2024-02-20 11:36:46,060 INFO L153 SettingsManager]: * Log level for class=de.uni_freiburg.informatik.ultimate.lib.smtlibutils.quantifier.QuantifierPusher=ERROR; [2024-02-20 11:36:46,061 INFO L151 SettingsManager]: Preferences of Boogie Preprocessor differ from their defaults: [2024-02-20 11:36:46,064 INFO L153 SettingsManager]: * Use memory slicer=true [2024-02-20 11:36:46,064 INFO L151 SettingsManager]: Preferences of Boogie Procedure Inliner differ from their defaults: [2024-02-20 11:36:46,064 INFO L153 SettingsManager]: * Ignore calls to procedures called more than once=ONLY_FOR_SEQUENTIAL_PROGRAMS [2024-02-20 11:36:46,065 INFO L151 SettingsManager]: Preferences of BlockEncodingV2 differ from their defaults: [2024-02-20 11:36:46,066 INFO L153 SettingsManager]: * Create parallel compositions if possible=false [2024-02-20 11:36:46,066 INFO L153 SettingsManager]: * Use SBE=true [2024-02-20 11:36:46,066 INFO L151 SettingsManager]: Preferences of CACSL2BoogieTranslator differ from their defaults: [2024-02-20 11:36:46,067 INFO L153 SettingsManager]: * Pointer base address is valid at dereference=IGNORE [2024-02-20 11:36:46,067 INFO L153 SettingsManager]: * sizeof long=4 [2024-02-20 11:36:46,067 INFO L153 SettingsManager]: * sizeof POINTER=4 [2024-02-20 11:36:46,067 INFO L153 SettingsManager]: * Check division by zero=IGNORE [2024-02-20 11:36:46,068 INFO L153 SettingsManager]: * Pointer to allocated memory at dereference=IGNORE [2024-02-20 11:36:46,068 INFO L153 SettingsManager]: * If two pointers are subtracted or compared they have the same base address=IGNORE [2024-02-20 11:36:46,068 INFO L153 SettingsManager]: * Check array bounds for arrays that are off heap=IGNORE [2024-02-20 11:36:46,069 INFO L153 SettingsManager]: * Adapt memory model on pointer casts if necessary=true [2024-02-20 11:36:46,069 INFO L153 SettingsManager]: * Use bitvectors instead of ints=true [2024-02-20 11:36:46,069 INFO L153 SettingsManager]: * Allow undefined functions=false [2024-02-20 11:36:46,069 INFO L153 SettingsManager]: * Memory model=HoenickeLindenmann_4ByteResolution [2024-02-20 11:36:46,069 INFO L153 SettingsManager]: * sizeof long double=12 [2024-02-20 11:36:46,070 INFO L153 SettingsManager]: * Check if freed pointer was valid=false [2024-02-20 11:36:46,070 INFO L153 SettingsManager]: * Use constant arrays=true [2024-02-20 11:36:46,071 INFO L151 SettingsManager]: Preferences of RCFGBuilder differ from their defaults: [2024-02-20 11:36:46,071 INFO L153 SettingsManager]: * Size of a code block=SequenceOfStatements [2024-02-20 11:36:46,071 INFO L153 SettingsManager]: * Only consider context switches at boundaries of atomic blocks=true [2024-02-20 11:36:46,071 INFO L153 SettingsManager]: * SMT solver=External_DefaultMode [2024-02-20 11:36:46,072 INFO L153 SettingsManager]: * Command for external solver=z3 SMTLIB2_COMPLIANT=true -memory:2024 -smt2 -in -t:4000 [2024-02-20 11:36:46,072 INFO L151 SettingsManager]: Preferences of TraceAbstraction differ from their defaults: [2024-02-20 11:36:46,072 INFO L153 SettingsManager]: * Compute Interpolants along a Counterexample=FPandBP [2024-02-20 11:36:46,073 INFO L153 SettingsManager]: * Positions where we compute the Hoare Annotation=LoopHeads [2024-02-20 11:36:46,073 INFO L153 SettingsManager]: * Trace refinement strategy=WOLF [2024-02-20 11:36:46,073 INFO L153 SettingsManager]: * Command for external solver=cvc4 --incremental --print-success --lang smt [2024-02-20 11:36:46,073 INFO L153 SettingsManager]: * Apply one-shot large block encoding in concurrent analysis=false [2024-02-20 11:36:46,073 INFO L153 SettingsManager]: * Automaton type used in concurrency analysis=PETRI_NET [2024-02-20 11:36:46,074 INFO L153 SettingsManager]: * Compute Hoare Annotation of negated interpolant automaton, abstraction and CFG=true [2024-02-20 11:36:46,074 INFO L153 SettingsManager]: * Order on configurations for Petri net unfoldings=DBO [2024-02-20 11:36:46,074 INFO L153 SettingsManager]: * SMT solver=External_ModelsAndUnsatCoreMode [2024-02-20 11:36:46,074 INFO L153 SettingsManager]: * Logic for external solver=AUFBV [2024-02-20 11:36:46,074 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:/storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/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 -> /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux 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 ! call(reach_error())) ) 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 -> 4e91816f101a416d37c086dd7185cfb4e2bfa63eb286e4a418cb94db27cf2f6f Applying setting for plugin de.uni_freiburg.informatik.ultimate.plugins.generator.traceabstraction: Positions where we compute the Hoare Annotation -> All [2024-02-20 11:36:46,316 INFO L75 nceAwareModelManager]: Repository-Root is: /tmp [2024-02-20 11:36:46,341 INFO L261 ainManager$Toolchain]: [Toolchain 1]: Applicable parser(s) successfully (re)initialized [2024-02-20 11:36:46,344 INFO L217 ainManager$Toolchain]: [Toolchain 1]: Toolchain selected. [2024-02-20 11:36:46,345 INFO L270 PluginConnector]: Initializing CDTParser... [2024-02-20 11:36:46,346 INFO L274 PluginConnector]: CDTParser initialized [2024-02-20 11:36:46,347 INFO L431 ainManager$Toolchain]: [Toolchain 1]: Parsing single file: /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/../../../trunk/examples/svcomp/goblint-regression/28-race_reach_20-callback_racefree.i [2024-02-20 11:36:47,655 INFO L533 CDTParser]: Created temporary CDT project at NULL [2024-02-20 11:36:47,884 INFO L384 CDTParser]: Found 1 translation units. [2024-02-20 11:36:47,889 INFO L180 CDTParser]: Scanning /storage/repos/ultimate/trunk/examples/svcomp/goblint-regression/28-race_reach_20-callback_racefree.i [2024-02-20 11:36:47,904 INFO L427 CDTParser]: About to delete temporary CDT project at /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/data/d7f54c7a0/df389bd969db410e9b0914ee83e7a92e/FLAGcce41c45a [2024-02-20 11:36:47,915 INFO L435 CDTParser]: Successfully deleted /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/data/d7f54c7a0/df389bd969db410e9b0914ee83e7a92e [2024-02-20 11:36:47,918 INFO L299 ainManager$Toolchain]: ####################### [Toolchain 1] ####################### [2024-02-20 11:36:47,920 INFO L133 ToolchainWalker]: Walking toolchain with 6 elements. [2024-02-20 11:36:47,921 INFO L112 PluginConnector]: ------------------------CACSL2BoogieTranslator---------------------------- [2024-02-20 11:36:47,922 INFO L270 PluginConnector]: Initializing CACSL2BoogieTranslator... [2024-02-20 11:36:47,926 INFO L274 PluginConnector]: CACSL2BoogieTranslator initialized [2024-02-20 11:36:47,926 INFO L184 PluginConnector]: Executing the observer ACSLObjectContainerObserver from plugin CACSL2BoogieTranslator for "CDTParser AST 20.02 11:36:47" (1/1) ... [2024-02-20 11:36:47,927 INFO L204 PluginConnector]: Invalid model from CACSL2BoogieTranslator for observer de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator.ACSLObjectContainerObserver@2cb29962 and model type de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 20.02 11:36:47, skipping insertion in model container [2024-02-20 11:36:47,927 INFO L184 PluginConnector]: Executing the observer CACSL2BoogieTranslatorObserver from plugin CACSL2BoogieTranslator for "CDTParser AST 20.02 11:36:47" (1/1) ... [2024-02-20 11:36:47,961 INFO L177 MainTranslator]: Built tables and reachable declarations [2024-02-20 11:36:48,270 WARN L239 ndardFunctionHandler]: Function reach_error is already implemented but we override the implementation for the call at /storage/repos/ultimate/trunk/examples/svcomp/goblint-regression/28-race_reach_20-callback_racefree.i[30212,30225] [2024-02-20 11:36:48,298 INFO L207 PostProcessor]: Analyzing one entry point: main [2024-02-20 11:36:48,310 INFO L202 MainTranslator]: Completed pre-run [2024-02-20 11:36:48,346 WARN L239 ndardFunctionHandler]: Function reach_error is already implemented but we override the implementation for the call at /storage/repos/ultimate/trunk/examples/svcomp/goblint-regression/28-race_reach_20-callback_racefree.i[30212,30225] [2024-02-20 11:36:48,366 INFO L207 PostProcessor]: Analyzing one entry point: main [2024-02-20 11:36:48,404 INFO L206 MainTranslator]: Completed translation [2024-02-20 11:36:48,405 INFO L201 PluginConnector]: Adding new model de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 20.02 11:36:48 WrapperNode [2024-02-20 11:36:48,405 INFO L131 PluginConnector]: ------------------------ END CACSL2BoogieTranslator---------------------------- [2024-02-20 11:36:48,406 INFO L112 PluginConnector]: ------------------------Boogie Procedure Inliner---------------------------- [2024-02-20 11:36:48,406 INFO L270 PluginConnector]: Initializing Boogie Procedure Inliner... [2024-02-20 11:36:48,406 INFO L274 PluginConnector]: Boogie Procedure Inliner initialized [2024-02-20 11:36:48,412 INFO L184 PluginConnector]: Executing the observer TypeChecker from plugin Boogie Procedure Inliner for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 20.02 11:36:48" (1/1) ... [2024-02-20 11:36:48,441 ERROR L1136 TypeChecker]: C: mutex1 [708]: Undeclared identifier ~#mutex1~0 in IdentifierExpression[~#mutex1~0,] [2024-02-20 11:36:48,442 ERROR L1136 TypeChecker]: C: pthread_mutex_lock(&mutex1) [708]: Wrong parameter type at index 0: CallStatement[null,false,[VariableLHS[#t~nondet7,]],#PthreadsMutexLock,[IdentifierExpression[~#mutex1~0,]]] [2024-02-20 11:36:48,442 ERROR L1136 TypeChecker]: C: glob [709]: Undeclared identifier ~glob~0 in IdentifierExpression[~glob~0,] [2024-02-20 11:36:48,442 ERROR L1136 TypeChecker]: C: glob [709]: Variable ~glob~0 modified in procedure bar but not declared [2024-02-20 11:36:48,443 ERROR L1136 TypeChecker]: C: glob [709]: Undeclared identifier ~glob~0 in IdentifierExpression[~glob~0,] [2024-02-20 11:36:48,443 ERROR L1136 TypeChecker]: C: glob [709]: Variable ~glob~0 modified in procedure bar but not declared [2024-02-20 11:36:48,443 ERROR L1136 TypeChecker]: C: mutex1 [710]: Undeclared identifier ~#mutex1~0 in IdentifierExpression[~#mutex1~0,] [2024-02-20 11:36:48,443 ERROR L1136 TypeChecker]: C: pthread_mutex_unlock(&mutex1) [710]: Wrong parameter type at index 0: CallStatement[null,false,[VariableLHS[#t~nondet14,]],#PthreadsMutexUnlock,[IdentifierExpression[~#mutex1~0,]]] [2024-02-20 11:36:48,443 ERROR L1136 TypeChecker]: C: mutex1 [714]: Undeclared identifier ~#mutex1~0 in IdentifierExpression[~#mutex1~0,] [2024-02-20 11:36:48,444 ERROR L1136 TypeChecker]: C: pthread_mutex_lock(&mutex1) [714]: Wrong parameter type at index 0: CallStatement[null,false,[VariableLHS[#t~nondet15,]],#PthreadsMutexLock,[IdentifierExpression[~#mutex1~0,]]] [2024-02-20 11:36:48,444 ERROR L1136 TypeChecker]: C: glob [715]: Undeclared identifier ~glob~0 in IdentifierExpression[~glob~0,] [2024-02-20 11:36:48,445 ERROR L1136 TypeChecker]: C: mutex1 [716]: Undeclared identifier ~#mutex1~0 in IdentifierExpression[~#mutex1~0,] [2024-02-20 11:36:48,445 ERROR L1136 TypeChecker]: C: pthread_mutex_unlock(&mutex1) [716]: Wrong parameter type at index 0: CallStatement[null,false,[VariableLHS[#t~nondet18,]],#PthreadsMutexUnlock,[IdentifierExpression[~#mutex1~0,]]] [2024-02-20 11:36:48,446 INFO L184 PluginConnector]: Executing the observer Inliner from plugin Boogie Procedure Inliner for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 20.02 11:36:48" (1/1) ... [2024-02-20 11:36:48,446 INFO L131 PluginConnector]: ------------------------ END Boogie Procedure Inliner---------------------------- [2024-02-20 11:36:48,447 INFO L186 ToolchainWalker]: Toolchain execution was canceled (user or tool) before executing de.uni_freiburg.informatik.ultimate.boogie.preprocessor [2024-02-20 11:36:48,448 INFO L158 Benchmark]: Toolchain (without parser) took 527.97ms. Allocated memory is still 86.0MB. Free memory was 46.5MB in the beginning and 45.3MB in the end (delta: 1.2MB). Peak memory consumption was 1.5MB. Max. memory is 16.1GB. [2024-02-20 11:36:48,449 INFO L158 Benchmark]: CDTParser took 0.19ms. Allocated memory is still 86.0MB. Free memory was 64.4MB in the beginning and 64.3MB in the end (delta: 108.5kB). Peak memory consumption was 2.1MB. Max. memory is 16.1GB. [2024-02-20 11:36:48,449 INFO L158 Benchmark]: CACSL2BoogieTranslator took 483.96ms. Allocated memory is still 86.0MB. Free memory was 46.2MB in the beginning and 47.1MB in the end (delta: -816.1kB). Peak memory consumption was 7.8MB. Max. memory is 16.1GB. [2024-02-20 11:36:48,450 INFO L158 Benchmark]: Boogie Procedure Inliner took 40.53ms. Allocated memory is still 86.0MB. Free memory was 47.1MB in the beginning and 45.3MB in the end (delta: 1.8MB). Peak memory consumption was 2.1MB. Max. memory is 16.1GB. [2024-02-20 11:36:48,452 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.19ms. Allocated memory is still 86.0MB. Free memory was 64.4MB in the beginning and 64.3MB in the end (delta: 108.5kB). Peak memory consumption was 2.1MB. Max. memory is 16.1GB. * CACSL2BoogieTranslator took 483.96ms. Allocated memory is still 86.0MB. Free memory was 46.2MB in the beginning and 47.1MB in the end (delta: -816.1kB). Peak memory consumption was 7.8MB. Max. memory is 16.1GB. * Boogie Procedure Inliner took 40.53ms. Allocated memory is still 86.0MB. Free memory was 47.1MB in the beginning and 45.3MB in the end (delta: 1.8MB). Peak memory consumption was 2.1MB. Max. memory is 16.1GB. * Results from de.uni_freiburg.informatik.ultimate.boogie.preprocessor: - TypeErrorResult [Line: 708]: Type Error Undeclared identifier ~#mutex1~0 in IdentifierExpression[~#mutex1~0,] - TypeErrorResult [Line: 708]: Type Error Wrong parameter type at index 0: CallStatement[null,false,[VariableLHS[#t~nondet7,]],#PthreadsMutexLock,[IdentifierExpression[~#mutex1~0,]]] - TypeErrorResult [Line: 709]: Type Error Undeclared identifier ~glob~0 in IdentifierExpression[~glob~0,] - TypeErrorResult [Line: 709]: Type Error Variable ~glob~0 modified in procedure bar but not declared - TypeErrorResult [Line: 709]: Type Error Undeclared identifier ~glob~0 in IdentifierExpression[~glob~0,] - TypeErrorResult [Line: 709]: Type Error Variable ~glob~0 modified in procedure bar but not declared - TypeErrorResult [Line: 710]: Type Error Undeclared identifier ~#mutex1~0 in IdentifierExpression[~#mutex1~0,] - TypeErrorResult [Line: 710]: Type Error Wrong parameter type at index 0: CallStatement[null,false,[VariableLHS[#t~nondet14,]],#PthreadsMutexUnlock,[IdentifierExpression[~#mutex1~0,]]] - TypeErrorResult [Line: 714]: Type Error Undeclared identifier ~#mutex1~0 in IdentifierExpression[~#mutex1~0,] - TypeErrorResult [Line: 714]: Type Error Wrong parameter type at index 0: CallStatement[null,false,[VariableLHS[#t~nondet15,]],#PthreadsMutexLock,[IdentifierExpression[~#mutex1~0,]]] - TypeErrorResult [Line: 715]: Type Error Undeclared identifier ~glob~0 in IdentifierExpression[~glob~0,] - TypeErrorResult [Line: 716]: Type Error Undeclared identifier ~#mutex1~0 in IdentifierExpression[~#mutex1~0,] - TypeErrorResult [Line: 716]: Type Error Wrong parameter type at index 0: CallStatement[null,false,[VariableLHS[#t~nondet18,]],#PthreadsMutexUnlock,[IdentifierExpression[~#mutex1~0,]]] 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