./Ultimate.py --spec ../../sv-benchmarks/c/properties/no-data-race.prp --file ../../sv-benchmarks/c/goblint-regression/04-mutex_50-funptr_rc.i --full-output --architecture 32bit -------------------------------------------------------------------------------- Checking for data races Using default analysis Version 6b4ec56b 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_fe74e3c8-2c4f-42dd-a386-e9512a3bacee/bin/uautomizer-ug76WZFUDN/data/config -Xmx15G -Xms4m -jar /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_fe74e3c8-2c4f-42dd-a386-e9512a3bacee/bin/uautomizer-ug76WZFUDN/plugins/org.eclipse.equinox.launcher_1.5.800.v20200727-1323.jar -data @noDefault -ultimatedata /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_fe74e3c8-2c4f-42dd-a386-e9512a3bacee/bin/uautomizer-ug76WZFUDN/data -tc /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_fe74e3c8-2c4f-42dd-a386-e9512a3bacee/bin/uautomizer-ug76WZFUDN/config/AutomizerReach.xml -i ../../sv-benchmarks/c/goblint-regression/04-mutex_50-funptr_rc.i -s /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_fe74e3c8-2c4f-42dd-a386-e9512a3bacee/bin/uautomizer-ug76WZFUDN/config/svcomp-DataRace-32bit-Automizer_Default.epf --cacsl2boogietranslator.entry.function main --witnessprinter.witness.directory /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_fe74e3c8-2c4f-42dd-a386-e9512a3bacee/bin/uautomizer-ug76WZFUDN --witnessprinter.witness.filename witness.graphml --witnessprinter.write.witness.besides.input.file false --witnessprinter.graph.data.specification CHECK( init(main()), LTL(G ! data-race) ) --witnessprinter.graph.data.producer Automizer --witnessprinter.graph.data.architecture 32bit --witnessprinter.graph.data.programhash 1abd6fb835489bc29b4b3171e6e4732aae8910bae019e148dd431ac2077bb570 --- Real Ultimate output --- [0.001s][warning][os,container] Duplicate cpuset controllers detected. Picking /sys/fs/cgroup/cpuset, skipping /sys/fs/cgroup/cpuset. This is Ultimate 0.2.2-dev-6b4ec56 [2022-11-20 12:01:23,675 INFO L177 SettingsManager]: Resetting all preferences to default values... [2022-11-20 12:01:23,677 INFO L181 SettingsManager]: Resetting UltimateCore preferences to default values [2022-11-20 12:01:23,700 INFO L184 SettingsManager]: Ultimate Commandline Interface provides no preferences, ignoring... [2022-11-20 12:01:23,700 INFO L181 SettingsManager]: Resetting Boogie Preprocessor preferences to default values [2022-11-20 12:01:23,702 INFO L181 SettingsManager]: Resetting Boogie Procedure Inliner preferences to default values [2022-11-20 12:01:23,703 INFO L181 SettingsManager]: Resetting Abstract Interpretation preferences to default values [2022-11-20 12:01:23,705 INFO L181 SettingsManager]: Resetting LassoRanker preferences to default values [2022-11-20 12:01:23,707 INFO L181 SettingsManager]: Resetting Reaching Definitions preferences to default values [2022-11-20 12:01:23,708 INFO L181 SettingsManager]: Resetting SyntaxChecker preferences to default values [2022-11-20 12:01:23,710 INFO L181 SettingsManager]: Resetting Sifa preferences to default values [2022-11-20 12:01:23,711 INFO L184 SettingsManager]: Büchi Program Product provides no preferences, ignoring... [2022-11-20 12:01:23,712 INFO L181 SettingsManager]: Resetting LTL2Aut preferences to default values [2022-11-20 12:01:23,713 INFO L181 SettingsManager]: Resetting PEA to Boogie preferences to default values [2022-11-20 12:01:23,715 INFO L181 SettingsManager]: Resetting BlockEncodingV2 preferences to default values [2022-11-20 12:01:23,716 INFO L181 SettingsManager]: Resetting ChcToBoogie preferences to default values [2022-11-20 12:01:23,717 INFO L181 SettingsManager]: Resetting AutomataScriptInterpreter preferences to default values [2022-11-20 12:01:23,719 INFO L181 SettingsManager]: Resetting BuchiAutomizer preferences to default values [2022-11-20 12:01:23,721 INFO L181 SettingsManager]: Resetting CACSL2BoogieTranslator preferences to default values [2022-11-20 12:01:23,723 INFO L181 SettingsManager]: Resetting CodeCheck preferences to default values [2022-11-20 12:01:23,725 INFO L181 SettingsManager]: Resetting InvariantSynthesis preferences to default values [2022-11-20 12:01:23,726 INFO L181 SettingsManager]: Resetting RCFGBuilder preferences to default values [2022-11-20 12:01:23,728 INFO L181 SettingsManager]: Resetting Referee preferences to default values [2022-11-20 12:01:23,729 INFO L181 SettingsManager]: Resetting TraceAbstraction preferences to default values [2022-11-20 12:01:23,733 INFO L184 SettingsManager]: TraceAbstractionConcurrent provides no preferences, ignoring... [2022-11-20 12:01:23,734 INFO L184 SettingsManager]: TraceAbstractionWithAFAs provides no preferences, ignoring... [2022-11-20 12:01:23,734 INFO L181 SettingsManager]: Resetting TreeAutomizer preferences to default values [2022-11-20 12:01:23,735 INFO L181 SettingsManager]: Resetting IcfgToChc preferences to default values [2022-11-20 12:01:23,736 INFO L181 SettingsManager]: Resetting IcfgTransformer preferences to default values [2022-11-20 12:01:23,737 INFO L184 SettingsManager]: ReqToTest provides no preferences, ignoring... [2022-11-20 12:01:23,738 INFO L181 SettingsManager]: Resetting Boogie Printer preferences to default values [2022-11-20 12:01:23,739 INFO L181 SettingsManager]: Resetting ChcSmtPrinter preferences to default values [2022-11-20 12:01:23,740 INFO L181 SettingsManager]: Resetting ReqPrinter preferences to default values [2022-11-20 12:01:23,741 INFO L181 SettingsManager]: Resetting Witness Printer preferences to default values [2022-11-20 12:01:23,742 INFO L184 SettingsManager]: Boogie PL CUP Parser provides no preferences, ignoring... [2022-11-20 12:01:23,743 INFO L181 SettingsManager]: Resetting CDTParser preferences to default values [2022-11-20 12:01:23,744 INFO L184 SettingsManager]: AutomataScriptParser provides no preferences, ignoring... [2022-11-20 12:01:23,744 INFO L184 SettingsManager]: ReqParser provides no preferences, ignoring... [2022-11-20 12:01:23,745 INFO L181 SettingsManager]: Resetting SmtParser preferences to default values [2022-11-20 12:01:23,746 INFO L181 SettingsManager]: Resetting Witness Parser preferences to default values [2022-11-20 12:01:23,747 INFO L188 SettingsManager]: Finished resetting all preferences to default values... [2022-11-20 12:01:23,753 INFO L101 SettingsManager]: Beginning loading settings from /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_fe74e3c8-2c4f-42dd-a386-e9512a3bacee/bin/uautomizer-ug76WZFUDN/config/svcomp-DataRace-32bit-Automizer_Default.epf [2022-11-20 12:01:23,793 INFO L113 SettingsManager]: Loading preferences was successful [2022-11-20 12:01:23,800 INFO L115 SettingsManager]: Preferences different from defaults after loading the file: [2022-11-20 12:01:23,801 INFO L136 SettingsManager]: Preferences of UltimateCore differ from their defaults: [2022-11-20 12:01:23,801 INFO L138 SettingsManager]: * Log level for class=de.uni_freiburg.informatik.ultimate.lib.smtlibutils.quantifier.QuantifierPusher=ERROR; [2022-11-20 12:01:23,802 INFO L136 SettingsManager]: Preferences of Boogie Procedure Inliner differ from their defaults: [2022-11-20 12:01:23,803 INFO L138 SettingsManager]: * Ignore calls to procedures called more than once=ONLY_FOR_SEQUENTIAL_PROGRAMS [2022-11-20 12:01:23,804 INFO L136 SettingsManager]: Preferences of BlockEncodingV2 differ from their defaults: [2022-11-20 12:01:23,804 INFO L138 SettingsManager]: * Create parallel compositions if possible=false [2022-11-20 12:01:23,804 INFO L138 SettingsManager]: * Use SBE=true [2022-11-20 12:01:23,805 INFO L136 SettingsManager]: Preferences of CACSL2BoogieTranslator differ from their defaults: [2022-11-20 12:01:23,806 INFO L138 SettingsManager]: * sizeof long=4 [2022-11-20 12:01:23,806 INFO L138 SettingsManager]: * Check unreachability of error function in SV-COMP mode=false [2022-11-20 12:01:23,807 INFO L138 SettingsManager]: * Overapproximate operations on floating types=true [2022-11-20 12:01:23,807 INFO L138 SettingsManager]: * sizeof POINTER=4 [2022-11-20 12:01:23,807 INFO L138 SettingsManager]: * Check division by zero=IGNORE [2022-11-20 12:01:23,808 INFO L138 SettingsManager]: * Pointer to allocated memory at dereference=IGNORE [2022-11-20 12:01:23,808 INFO L138 SettingsManager]: * If two pointers are subtracted or compared they have the same base address=IGNORE [2022-11-20 12:01:23,808 INFO L138 SettingsManager]: * Check array bounds for arrays that are off heap=IGNORE [2022-11-20 12:01:23,809 INFO L138 SettingsManager]: * Check absence of data races in concurrent programs=true [2022-11-20 12:01:23,809 INFO L138 SettingsManager]: * sizeof long double=12 [2022-11-20 12:01:23,809 INFO L138 SettingsManager]: * Check if freed pointer was valid=false [2022-11-20 12:01:23,810 INFO L138 SettingsManager]: * Use constant arrays=true [2022-11-20 12:01:23,810 INFO L138 SettingsManager]: * Pointer base address is valid at dereference=IGNORE [2022-11-20 12:01:23,811 INFO L136 SettingsManager]: Preferences of RCFGBuilder differ from their defaults: [2022-11-20 12:01:23,811 INFO L138 SettingsManager]: * Size of a code block=SequenceOfStatements [2022-11-20 12:01:23,811 INFO L138 SettingsManager]: * SMT solver=External_DefaultMode [2022-11-20 12:01:23,811 INFO L138 SettingsManager]: * Command for external solver=z3 SMTLIB2_COMPLIANT=true -memory:2024 -smt2 -in -t:2000 [2022-11-20 12:01:23,813 INFO L136 SettingsManager]: Preferences of TraceAbstraction differ from their defaults: [2022-11-20 12:01:23,813 INFO L138 SettingsManager]: * Compute Interpolants along a Counterexample=FPandBP [2022-11-20 12:01:23,814 INFO L138 SettingsManager]: * Positions where we compute the Hoare Annotation=LoopsAndPotentialCycles [2022-11-20 12:01:23,814 INFO L138 SettingsManager]: * Trace refinement strategy=CAMEL [2022-11-20 12:01:23,814 INFO L138 SettingsManager]: * Command for external solver=z3 SMTLIB2_COMPLIANT=true -memory:2024 -smt2 -in [2022-11-20 12:01:23,815 INFO L138 SettingsManager]: * Apply one-shot large block encoding in concurrent analysis=false [2022-11-20 12:01:23,815 INFO L138 SettingsManager]: * Automaton type used in concurrency analysis=PETRI_NET [2022-11-20 12:01:23,816 INFO L138 SettingsManager]: * Compute Hoare Annotation of negated interpolant automaton, abstraction and CFG=true [2022-11-20 12:01:23,816 INFO L138 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_fe74e3c8-2c4f-42dd-a386-e9512a3bacee/bin/uautomizer-ug76WZFUDN/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_fe74e3c8-2c4f-42dd-a386-e9512a3bacee/bin/uautomizer-ug76WZFUDN Applying setting for plugin de.uni_freiburg.informatik.ultimate.witnessprinter: Witness filename -> witness.graphml Applying setting for plugin de.uni_freiburg.informatik.ultimate.witnessprinter: Write witness besides input file -> false Applying setting for plugin de.uni_freiburg.informatik.ultimate.witnessprinter: Graph data specification -> CHECK( init(main()), LTL(G ! data-race) ) Applying setting for plugin de.uni_freiburg.informatik.ultimate.witnessprinter: Graph data producer -> Automizer Applying setting for plugin de.uni_freiburg.informatik.ultimate.witnessprinter: Graph data architecture -> 32bit Applying setting for plugin de.uni_freiburg.informatik.ultimate.witnessprinter: Graph data programhash -> 1abd6fb835489bc29b4b3171e6e4732aae8910bae019e148dd431ac2077bb570 [2022-11-20 12:01:24,129 INFO L75 nceAwareModelManager]: Repository-Root is: /tmp [2022-11-20 12:01:24,152 INFO L261 ainManager$Toolchain]: [Toolchain 1]: Applicable parser(s) successfully (re)initialized [2022-11-20 12:01:24,155 INFO L217 ainManager$Toolchain]: [Toolchain 1]: Toolchain selected. [2022-11-20 12:01:24,156 INFO L271 PluginConnector]: Initializing CDTParser... [2022-11-20 12:01:24,157 INFO L275 PluginConnector]: CDTParser initialized [2022-11-20 12:01:24,158 INFO L432 ainManager$Toolchain]: [Toolchain 1]: Parsing single file: /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_fe74e3c8-2c4f-42dd-a386-e9512a3bacee/bin/uautomizer-ug76WZFUDN/../../sv-benchmarks/c/goblint-regression/04-mutex_50-funptr_rc.i [2022-11-20 12:01:27,233 INFO L500 CDTParser]: Created temporary CDT project at NULL [2022-11-20 12:01:27,544 INFO L351 CDTParser]: Found 1 translation units. [2022-11-20 12:01:27,545 INFO L172 CDTParser]: Scanning /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_fe74e3c8-2c4f-42dd-a386-e9512a3bacee/sv-benchmarks/c/goblint-regression/04-mutex_50-funptr_rc.i [2022-11-20 12:01:27,564 INFO L394 CDTParser]: About to delete temporary CDT project at /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_fe74e3c8-2c4f-42dd-a386-e9512a3bacee/bin/uautomizer-ug76WZFUDN/data/becbd0a4b/a0f635bdad9e4ea68a8db4b9756d5154/FLAG9c1dc77f1 [2022-11-20 12:01:27,580 INFO L402 CDTParser]: Successfully deleted /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_fe74e3c8-2c4f-42dd-a386-e9512a3bacee/bin/uautomizer-ug76WZFUDN/data/becbd0a4b/a0f635bdad9e4ea68a8db4b9756d5154 [2022-11-20 12:01:27,587 INFO L299 ainManager$Toolchain]: ####################### [Toolchain 1] ####################### [2022-11-20 12:01:27,607 INFO L131 ToolchainWalker]: Walking toolchain with 6 elements. [2022-11-20 12:01:27,611 INFO L113 PluginConnector]: ------------------------CACSL2BoogieTranslator---------------------------- [2022-11-20 12:01:27,612 INFO L271 PluginConnector]: Initializing CACSL2BoogieTranslator... [2022-11-20 12:01:27,615 INFO L275 PluginConnector]: CACSL2BoogieTranslator initialized [2022-11-20 12:01:27,616 INFO L185 PluginConnector]: Executing the observer ACSLObjectContainerObserver from plugin CACSL2BoogieTranslator for "CDTParser AST 20.11 12:01:27" (1/1) ... [2022-11-20 12:01:27,617 INFO L205 PluginConnector]: Invalid model from CACSL2BoogieTranslator for observer de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator.ACSLObjectContainerObserver@6ef7bbdb and model type de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 20.11 12:01:27, skipping insertion in model container [2022-11-20 12:01:27,617 INFO L185 PluginConnector]: Executing the observer CACSL2BoogieTranslatorObserver from plugin CACSL2BoogieTranslator for "CDTParser AST 20.11 12:01:27" (1/1) ... [2022-11-20 12:01:27,624 INFO L145 MainTranslator]: Starting translation in SV-COMP mode [2022-11-20 12:01:27,673 INFO L178 MainTranslator]: Built tables and reachable declarations [2022-11-20 12:01:28,216 INFO L210 PostProcessor]: Analyzing one entry point: main [2022-11-20 12:01:28,239 INFO L203 MainTranslator]: Completed pre-run [2022-11-20 12:01:28,297 INFO L210 PostProcessor]: Analyzing one entry point: main [2022-11-20 12:01:28,371 INFO L208 MainTranslator]: Completed translation [2022-11-20 12:01:28,372 INFO L202 PluginConnector]: Adding new model de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 20.11 12:01:28 WrapperNode [2022-11-20 12:01:28,372 INFO L132 PluginConnector]: ------------------------ END CACSL2BoogieTranslator---------------------------- [2022-11-20 12:01:28,373 INFO L113 PluginConnector]: ------------------------Boogie Procedure Inliner---------------------------- [2022-11-20 12:01:28,373 INFO L271 PluginConnector]: Initializing Boogie Procedure Inliner... [2022-11-20 12:01:28,373 INFO L275 PluginConnector]: Boogie Procedure Inliner initialized [2022-11-20 12:01:28,381 INFO L185 PluginConnector]: Executing the observer TypeChecker from plugin Boogie Procedure Inliner for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 20.11 12:01:28" (1/1) ... [2022-11-20 12:01:28,406 INFO L185 PluginConnector]: Executing the observer Inliner from plugin Boogie Procedure Inliner for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 20.11 12:01:28" (1/1) ... [2022-11-20 12:01:28,457 INFO L138 Inliner]: procedures = 265, calls = 25, calls flagged for inlining = 5, calls inlined = 5, statements flattened = 65 [2022-11-20 12:01:28,458 INFO L132 PluginConnector]: ------------------------ END Boogie Procedure Inliner---------------------------- [2022-11-20 12:01:28,458 INFO L113 PluginConnector]: ------------------------Boogie Preprocessor---------------------------- [2022-11-20 12:01:28,458 INFO L271 PluginConnector]: Initializing Boogie Preprocessor... [2022-11-20 12:01:28,459 INFO L275 PluginConnector]: Boogie Preprocessor initialized [2022-11-20 12:01:28,468 INFO L185 PluginConnector]: Executing the observer EnsureBoogieModelObserver from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 20.11 12:01:28" (1/1) ... [2022-11-20 12:01:28,468 INFO L185 PluginConnector]: Executing the observer TypeChecker from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 20.11 12:01:28" (1/1) ... [2022-11-20 12:01:28,487 INFO L185 PluginConnector]: Executing the observer ConstExpander from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 20.11 12:01:28" (1/1) ... [2022-11-20 12:01:28,487 INFO L185 PluginConnector]: Executing the observer StructExpander from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 20.11 12:01:28" (1/1) ... [2022-11-20 12:01:28,492 INFO L185 PluginConnector]: Executing the observer UnstructureCode from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 20.11 12:01:28" (1/1) ... [2022-11-20 12:01:28,505 INFO L185 PluginConnector]: Executing the observer FunctionInliner from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 20.11 12:01:28" (1/1) ... [2022-11-20 12:01:28,507 INFO L185 PluginConnector]: Executing the observer LTLStepAnnotator from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 20.11 12:01:28" (1/1) ... [2022-11-20 12:01:28,508 INFO L185 PluginConnector]: Executing the observer BoogieSymbolTableConstructor from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 20.11 12:01:28" (1/1) ... [2022-11-20 12:01:28,510 INFO L132 PluginConnector]: ------------------------ END Boogie Preprocessor---------------------------- [2022-11-20 12:01:28,511 INFO L113 PluginConnector]: ------------------------RCFGBuilder---------------------------- [2022-11-20 12:01:28,515 INFO L271 PluginConnector]: Initializing RCFGBuilder... [2022-11-20 12:01:28,515 INFO L275 PluginConnector]: RCFGBuilder initialized [2022-11-20 12:01:28,516 INFO L185 PluginConnector]: Executing the observer RCFGBuilderObserver from plugin RCFGBuilder for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 20.11 12:01:28" (1/1) ... [2022-11-20 12:01:28,522 INFO L173 SolverBuilder]: Constructing external solver with command: z3 SMTLIB2_COMPLIANT=true -memory:2024 -smt2 -in -t:2000 [2022-11-20 12:01:28,542 INFO L189 MonitoredProcess]: No working directory specified, using /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_fe74e3c8-2c4f-42dd-a386-e9512a3bacee/bin/uautomizer-ug76WZFUDN/z3 [2022-11-20 12:01:28,560 INFO L229 MonitoredProcess]: Starting monitored process 1 with /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_fe74e3c8-2c4f-42dd-a386-e9512a3bacee/bin/uautomizer-ug76WZFUDN/z3 SMTLIB2_COMPLIANT=true -memory:2024 -smt2 -in -t:2000 (exit command is (exit), workingDir is null) [2022-11-20 12:01:28,592 INFO L327 MonitoredProcess]: [MP /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_fe74e3c8-2c4f-42dd-a386-e9512a3bacee/bin/uautomizer-ug76WZFUDN/z3 SMTLIB2_COMPLIANT=true -memory:2024 -smt2 -in -t:2000 (1)] Waiting until timeout for monitored process [2022-11-20 12:01:28,610 INFO L130 BoogieDeclarations]: Found specification of procedure #Ultimate.allocOnStack [2022-11-20 12:01:28,611 INFO L130 BoogieDeclarations]: Found specification of procedure ULTIMATE.dealloc [2022-11-20 12:01:28,611 INFO L130 BoogieDeclarations]: Found specification of procedure read~int [2022-11-20 12:01:28,611 INFO L130 BoogieDeclarations]: Found specification of procedure write~int [2022-11-20 12:01:28,611 INFO L130 BoogieDeclarations]: Found specification of procedure #PthreadsMutexLock [2022-11-20 12:01:28,612 INFO L130 BoogieDeclarations]: Found specification of procedure #Ultimate.allocInit [2022-11-20 12:01:28,612 INFO L130 BoogieDeclarations]: Found specification of procedure t_fun [2022-11-20 12:01:28,612 INFO L138 BoogieDeclarations]: Found implementation of procedure t_fun [2022-11-20 12:01:28,612 INFO L130 BoogieDeclarations]: Found specification of procedure write~init~int [2022-11-20 12:01:28,612 INFO L130 BoogieDeclarations]: Found specification of procedure ULTIMATE.start [2022-11-20 12:01:28,612 INFO L138 BoogieDeclarations]: Found implementation of procedure ULTIMATE.start [2022-11-20 12:01:28,614 WARN L209 CfgBuilder]: User set CodeBlockSize to SequenceOfStatements but program contains fork statements. Overwriting the user preferences and setting CodeBlockSize to SingleStatement [2022-11-20 12:01:28,807 INFO L235 CfgBuilder]: Building ICFG [2022-11-20 12:01:28,828 INFO L261 CfgBuilder]: Building CFG for each procedure with an implementation [2022-11-20 12:01:29,035 INFO L276 CfgBuilder]: Performing block encoding [2022-11-20 12:01:29,043 INFO L295 CfgBuilder]: Using the 1 location(s) as analysis (start of procedure ULTIMATE.start) [2022-11-20 12:01:29,043 INFO L300 CfgBuilder]: Removed 0 assume(true) statements. [2022-11-20 12:01:29,045 INFO L202 PluginConnector]: Adding new model de.uni_freiburg.informatik.ultimate.plugins.generator.rcfgbuilder CFG 20.11 12:01:29 BoogieIcfgContainer [2022-11-20 12:01:29,046 INFO L132 PluginConnector]: ------------------------ END RCFGBuilder---------------------------- [2022-11-20 12:01:29,048 INFO L113 PluginConnector]: ------------------------TraceAbstraction---------------------------- [2022-11-20 12:01:29,048 INFO L271 PluginConnector]: Initializing TraceAbstraction... [2022-11-20 12:01:29,052 INFO L275 PluginConnector]: TraceAbstraction initialized [2022-11-20 12:01:29,052 INFO L185 PluginConnector]: Executing the observer TraceAbstractionObserver from plugin TraceAbstraction for "CDTParser AST 20.11 12:01:27" (1/3) ... [2022-11-20 12:01:29,053 INFO L205 PluginConnector]: Invalid model from TraceAbstraction for observer de.uni_freiburg.informatik.ultimate.plugins.generator.traceabstraction.TraceAbstractionObserver@515944f8 and model type de.uni_freiburg.informatik.ultimate.plugins.generator.traceabstraction AST 20.11 12:01:29, skipping insertion in model container [2022-11-20 12:01:29,053 INFO L185 PluginConnector]: Executing the observer TraceAbstractionObserver from plugin TraceAbstraction for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 20.11 12:01:28" (2/3) ... [2022-11-20 12:01:29,054 INFO L205 PluginConnector]: Invalid model from TraceAbstraction for observer de.uni_freiburg.informatik.ultimate.plugins.generator.traceabstraction.TraceAbstractionObserver@515944f8 and model type de.uni_freiburg.informatik.ultimate.plugins.generator.traceabstraction AST 20.11 12:01:29, skipping insertion in model container [2022-11-20 12:01:29,054 INFO L185 PluginConnector]: Executing the observer TraceAbstractionObserver from plugin TraceAbstraction for "de.uni_freiburg.informatik.ultimate.plugins.generator.rcfgbuilder CFG 20.11 12:01:29" (3/3) ... [2022-11-20 12:01:29,055 INFO L112 eAbstractionObserver]: Analyzing ICFG 04-mutex_50-funptr_rc.i [2022-11-20 12:01:29,065 WARN L145 ceAbstractionStarter]: Switching off computation of Hoare annotation because input is a concurrent program [2022-11-20 12:01:29,096 INFO L203 ceAbstractionStarter]: Automizer settings: Hoare:false NWA Interpolation:FPandBP Determinization: PREDICATE_ABSTRACTION [2022-11-20 12:01:29,096 INFO L162 ceAbstractionStarter]: Applying trace abstraction to program that has 3 error locations. [2022-11-20 12:01:29,096 INFO L515 ceAbstractionStarter]: Constructing petrified ICFG for 1 thread instances. [2022-11-20 12:01:29,144 INFO L144 ThreadInstanceAdder]: Constructed 1 joinOtherThreadTransitions. [2022-11-20 12:01:29,185 INFO L73 FinitePrefix]: Start finitePrefix. Operand has 95 places, 92 transitions, 192 flow [2022-11-20 12:01:29,227 INFO L130 PetriNetUnfolder]: 1/91 cut-off events. [2022-11-20 12:01:29,227 INFO L131 PetriNetUnfolder]: For 1/1 co-relation queries the response was YES. [2022-11-20 12:01:29,232 INFO L83 FinitePrefix]: Finished finitePrefix Result has 96 conditions, 91 events. 1/91 cut-off events. For 1/1 co-relation queries the response was YES. Maximal size of possible extension queue 4. Compared 45 event pairs, 0 based on Foata normal form. 0/87 useless extension candidates. Maximal degree in co-relation 55. Up to 2 conditions per place. [2022-11-20 12:01:29,232 INFO L82 GeneralOperation]: Start removeDead. Operand has 95 places, 92 transitions, 192 flow [2022-11-20 12:01:29,236 INFO L88 GeneralOperation]: Finished RemoveDead, result has has 86 places, 83 transitions, 169 flow [2022-11-20 12:01:29,247 INFO L356 AbstractCegarLoop]: ======== Iteration 0 == of CEGAR loop == AllErrorsAtOnce ======== [2022-11-20 12:01:29,253 INFO L357 AbstractCegarLoop]: Settings: SEPARATE_VIOLATION_CHECK=true, mInterprocedural=true, mMaxIterations=1000000, mWatchIteration=1000000, mArtifact=RCFG, mInterpolation=FPandBP, mInterpolantAutomaton=STRAIGHT_LINE, mDumpAutomata=false, mAutomataFormat=ATS_NUMERATE, mDumpPath=., mDeterminiation=PREDICATE_ABSTRACTION, mMinimize=MINIMIZE_SEVPA, mHoare=true, mAutomataTypeConcurrency=PETRI_NET, mHoareTripleChecks=INCREMENTAL, mHoareAnnotationPositions=LoopsAndPotentialCycles, mDumpOnlyReuseAutomata=false, mLimitTraceHistogram=0, mErrorLocTimeLimit=0, mLimitPathProgramCount=0, mCollectInterpolantStatistics=true, mHeuristicEmptinessCheck=false, mHeuristicEmptinessCheckAStarHeuristic=ZERO, mHeuristicEmptinessCheckAStarHeuristicRandomSeed=1337, mHeuristicEmptinessCheckSmtFeatureScoringMethod=DAGSIZE, mSMTFeatureExtraction=false, mSMTFeatureExtractionDumpPath=., mOverrideInterpolantAutomaton=false, mMcrInterpolantMethod=WP, mPorIndependenceSettings=[Lde.uni_freiburg.informatik.ultimate.lib.tracecheckerutils.partialorder.independence.IndependenceSettings;@32e146be, mLbeIndependenceSettings=[IndependenceType=SEMANTIC, AbstractionType=NONE, UseConditional=false, UseSemiCommutativity=true, Solver=Z3, SolverTimeout=1000ms] [2022-11-20 12:01:29,254 INFO L358 AbstractCegarLoop]: Starting to check reachability of 5 error locations. [2022-11-20 12:01:29,266 INFO L130 PetriNetUnfolder]: 0/39 cut-off events. [2022-11-20 12:01:29,266 INFO L131 PetriNetUnfolder]: For 0/0 co-relation queries the response was YES. [2022-11-20 12:01:29,266 INFO L201 CegarLoopForPetriNet]: Found error trace [2022-11-20 12:01:29,267 INFO L209 CegarLoopForPetriNet]: trace histogram [1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1] [2022-11-20 12:01:29,267 INFO L420 AbstractCegarLoop]: === Iteration 1 === Targeting ULTIMATE.startErr0ASSERT_VIOLATIONDATA_RACE === [ULTIMATE.startErr0ASSERT_VIOLATIONDATA_RACE, ULTIMATE.startErr1ASSERT_VIOLATIONDATA_RACE, ULTIMATE.startErr0INUSE_VIOLATIONSUFFICIENT_THREAD_INSTANCES (and 2 more)] === [2022-11-20 12:01:29,272 INFO L144 PredicateUnifier]: Initialized classic predicate unifier [2022-11-20 12:01:29,273 INFO L85 PathProgramCache]: Analyzing trace with hash -2005149439, now seen corresponding path program 1 times [2022-11-20 12:01:29,282 INFO L118 FreeRefinementEngine]: Executing refinement strategy CAMEL [2022-11-20 12:01:29,283 INFO L333 FreeRefinementEngine]: Using trace check IpTcStrategyModuleSmtInterpolCraig [1173777221] [2022-11-20 12:01:29,283 INFO L95 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2022-11-20 12:01:29,283 INFO L127 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout -1 ms and remaining time -1 ms [2022-11-20 12:01:29,398 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2022-11-20 12:01:29,541 INFO L134 CoverageAnalysis]: Checked inductivity of 0 backedges. 0 proven. 0 refuted. 0 times theorem prover too weak. 0 trivial. 0 not checked. [2022-11-20 12:01:29,541 INFO L136 FreeRefinementEngine]: Strategy CAMEL found an infeasible trace [2022-11-20 12:01:29,542 INFO L333 FreeRefinementEngine]: Using interpolant generator IpTcStrategyModuleSmtInterpolCraig [1173777221] [2022-11-20 12:01:29,542 INFO L157 FreeRefinementEngine]: IpTcStrategyModuleSmtInterpolCraig [1173777221] provided 1 perfect and 0 imperfect interpolant sequences [2022-11-20 12:01:29,543 INFO L184 FreeRefinementEngine]: Found 1 perfect and 0 imperfect interpolant sequences. [2022-11-20 12:01:29,543 INFO L197 FreeRefinementEngine]: Number of different interpolants: perfect sequences [2] imperfect sequences [] total 2 [2022-11-20 12:01:29,544 INFO L121 tionRefinementEngine]: Using interpolant automaton builder IpAbStrategyModuleStraightlineAll [211178842] [2022-11-20 12:01:29,545 INFO L85 oduleStraightlineAll]: Using 1 perfect interpolants to construct interpolant automaton [2022-11-20 12:01:29,554 INFO L571 AbstractCegarLoop]: INTERPOLANT automaton has 3 states [2022-11-20 12:01:29,554 INFO L100 FreeRefinementEngine]: Using predicate unifier PredicateUnifier provided by strategy CAMEL [2022-11-20 12:01:29,621 INFO L143 InterpolantAutomaton]: Constructing interpolant automaton starting with 3 interpolants. [2022-11-20 12:01:29,623 INFO L145 InterpolantAutomaton]: CoverageRelationStatistics Valid=3, Invalid=3, Unknown=0, NotChecked=0, Total=6 [2022-11-20 12:01:29,629 INFO L478 CegarLoopForPetriNet]: Number of universal loopers: 84 out of 92 [2022-11-20 12:01:29,636 INFO L100 encePairwiseOnDemand]: Start differencePairwiseOnDemand. First operand has 86 places, 83 transitions, 169 flow. Second operand has 3 states, 3 states have (on average 85.0) internal successors, (255), 3 states have internal predecessors, (255), 0 states have call successors, (0), 0 states have call predecessors, (0), 0 states have return successors, (0), 0 states have call predecessors, (0), 0 states have call successors, (0) [2022-11-20 12:01:29,638 INFO L109 encePairwiseOnDemand]: Universal subtrahend loopers provided by user. [2022-11-20 12:01:29,638 INFO L110 encePairwiseOnDemand]: Number of universal subtrahend loopers: 84 of 92 [2022-11-20 12:01:29,639 INFO L73 FinitePrefix]: Start finitePrefix. Operand will be constructed on-demand [2022-11-20 12:01:29,719 INFO L130 PetriNetUnfolder]: 13/222 cut-off events. [2022-11-20 12:01:29,719 INFO L131 PetriNetUnfolder]: For 1/1 co-relation queries the response was YES. [2022-11-20 12:01:29,720 INFO L83 FinitePrefix]: Finished finitePrefix Result has 257 conditions, 222 events. 13/222 cut-off events. For 1/1 co-relation queries the response was YES. Maximal size of possible extension queue 11. Compared 723 event pairs, 2 based on Foata normal form. 0/205 useless extension candidates. Maximal degree in co-relation 223. Up to 16 conditions per place. [2022-11-20 12:01:29,722 INFO L137 encePairwiseOnDemand]: 88/92 looper letters, 8 selfloop transitions, 3 changer transitions 0/87 dead transitions. [2022-11-20 12:01:29,722 INFO L142 encePairwiseOnDemand]: Finished differencePairwiseOnDemand. Result has 88 places, 87 transitions, 199 flow [2022-11-20 12:01:29,739 INFO L141 InterpolantAutomaton]: Switched to read-only mode: deterministic interpolant automaton has 3 states. [2022-11-20 12:01:29,741 INFO L82 GeneralOperation]: Start removeUnreachable. Operand 3 states. [2022-11-20 12:01:29,748 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 3 states to 3 states and 264 transitions. [2022-11-20 12:01:29,750 INFO L523 CegarLoopForPetriNet]: DFA transition density 0.9565217391304348 [2022-11-20 12:01:29,751 INFO L72 ComplementDD]: Start complementDD. Operand 3 states and 264 transitions. [2022-11-20 12:01:29,751 INFO L73 IsDeterministic]: Start isDeterministic. Operand 3 states and 264 transitions. [2022-11-20 12:01:29,753 INFO L80 IsDeterministic]: Finished isDeterministic. Operand is deterministic. [2022-11-20 12:01:29,755 INFO L117 ReachableStatesCopy]: Start reachableStatesCopy. Operand 3 states and 264 transitions. [2022-11-20 12:01:29,758 INFO L343 DoubleDeckerVisitor]: Before removal of dead ends has 4 states, 3 states have (on average 88.0) internal successors, (264), 3 states have internal predecessors, (264), 0 states have call successors, (0), 0 states have call predecessors, (0), 0 states have return successors, (0), 0 states have call predecessors, (0), 0 states have call successors, (0) [2022-11-20 12:01:29,763 INFO L131 ReachableStatesCopy]: Finished reachableStatesCopy Result has 4 states, 4 states have (on average 92.0) internal successors, (368), 4 states have internal predecessors, (368), 0 states have call successors, (0), 0 states have call predecessors, (0), 0 states have return successors, (0), 0 states have call predecessors, (0), 0 states have call successors, (0) [2022-11-20 12:01:29,763 INFO L81 ComplementDD]: Finished complementDD. Result has 4 states, 4 states have (on average 92.0) internal successors, (368), 4 states have internal predecessors, (368), 0 states have call successors, (0), 0 states have call predecessors, (0), 0 states have return successors, (0), 0 states have call predecessors, (0), 0 states have call successors, (0) [2022-11-20 12:01:29,765 INFO L175 Difference]: Start difference. First operand has 86 places, 83 transitions, 169 flow. Second operand 3 states and 264 transitions. [2022-11-20 12:01:29,766 INFO L82 GeneralOperation]: Start removeRedundantFlow. Operand has 88 places, 87 transitions, 199 flow [2022-11-20 12:01:29,769 INFO L88 GeneralOperation]: Finished removeRedundantFlow, result has has 87 places, 87 transitions, 198 flow, removed 0 selfloop flow, removed 1 redundant places. [2022-11-20 12:01:29,773 INFO L231 Difference]: Finished difference. Result has 89 places, 85 transitions, 190 flow [2022-11-20 12:01:29,775 INFO L271 CegarLoopForPetriNet]: {PETRI_ALPHABET=92, PETRI_DIFFERENCE_MINUEND_FLOW=168, PETRI_DIFFERENCE_MINUEND_PLACES=85, PETRI_DIFFERENCE_MINUEND_TRANSITIONS=83, PETRI_DIFFERENCE_SUBTRAHEND_LETTERS_WITH_MORE_CHANGERS_THAN_LOOPERS=1, PETRI_DIFFERENCE_SUBTRAHEND_LOOPER_ONLY_LETTERS=80, PETRI_DIFFERENCE_SUBTRAHEND_STATES=3, PETRI_FLOW=190, PETRI_PLACES=89, PETRI_TRANSITIONS=85} [2022-11-20 12:01:29,778 INFO L288 CegarLoopForPetriNet]: 86 programPoint places, 3 predicate places. [2022-11-20 12:01:29,779 INFO L495 AbstractCegarLoop]: Abstraction has has 89 places, 85 transitions, 190 flow [2022-11-20 12:01:29,779 INFO L496 AbstractCegarLoop]: INTERPOLANT automaton has has 3 states, 3 states have (on average 85.0) internal successors, (255), 3 states have internal predecessors, (255), 0 states have call successors, (0), 0 states have call predecessors, (0), 0 states have return successors, (0), 0 states have call predecessors, (0), 0 states have call successors, (0) [2022-11-20 12:01:29,779 INFO L201 CegarLoopForPetriNet]: Found error trace [2022-11-20 12:01:29,779 INFO L209 CegarLoopForPetriNet]: trace histogram [1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1] [2022-11-20 12:01:29,780 WARN L477 AbstractCegarLoop]: Destroyed unattended storables created during the last iteration: SelfDestructingSolverStorable0 [2022-11-20 12:01:29,780 INFO L420 AbstractCegarLoop]: === Iteration 2 === Targeting t_funErr0ASSERT_VIOLATIONDATA_RACE === [ULTIMATE.startErr0ASSERT_VIOLATIONDATA_RACE, ULTIMATE.startErr1ASSERT_VIOLATIONDATA_RACE, ULTIMATE.startErr0INUSE_VIOLATIONSUFFICIENT_THREAD_INSTANCES (and 2 more)] === [2022-11-20 12:01:29,780 INFO L144 PredicateUnifier]: Initialized classic predicate unifier [2022-11-20 12:01:29,781 INFO L85 PathProgramCache]: Analyzing trace with hash 1021855665, now seen corresponding path program 1 times [2022-11-20 12:01:29,781 INFO L118 FreeRefinementEngine]: Executing refinement strategy CAMEL [2022-11-20 12:01:29,781 INFO L333 FreeRefinementEngine]: Using trace check IpTcStrategyModuleSmtInterpolCraig [241756196] [2022-11-20 12:01:29,781 INFO L95 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2022-11-20 12:01:29,781 INFO L127 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout -1 ms and remaining time -1 ms [2022-11-20 12:01:29,807 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2022-11-20 12:01:29,864 INFO L134 CoverageAnalysis]: Checked inductivity of 0 backedges. 0 proven. 0 refuted. 0 times theorem prover too weak. 0 trivial. 0 not checked. [2022-11-20 12:01:29,864 INFO L136 FreeRefinementEngine]: Strategy CAMEL found an infeasible trace [2022-11-20 12:01:29,865 INFO L333 FreeRefinementEngine]: Using interpolant generator IpTcStrategyModuleSmtInterpolCraig [241756196] [2022-11-20 12:01:29,865 INFO L157 FreeRefinementEngine]: IpTcStrategyModuleSmtInterpolCraig [241756196] provided 1 perfect and 0 imperfect interpolant sequences [2022-11-20 12:01:29,865 INFO L184 FreeRefinementEngine]: Found 1 perfect and 0 imperfect interpolant sequences. [2022-11-20 12:01:29,865 INFO L197 FreeRefinementEngine]: Number of different interpolants: perfect sequences [2] imperfect sequences [] total 2 [2022-11-20 12:01:29,866 INFO L121 tionRefinementEngine]: Using interpolant automaton builder IpAbStrategyModuleStraightlineAll [230255693] [2022-11-20 12:01:29,866 INFO L85 oduleStraightlineAll]: Using 1 perfect interpolants to construct interpolant automaton [2022-11-20 12:01:29,867 INFO L571 AbstractCegarLoop]: INTERPOLANT automaton has 3 states [2022-11-20 12:01:29,867 INFO L100 FreeRefinementEngine]: Using predicate unifier PredicateUnifier provided by strategy CAMEL [2022-11-20 12:01:29,868 INFO L143 InterpolantAutomaton]: Constructing interpolant automaton starting with 3 interpolants. [2022-11-20 12:01:29,868 INFO L145 InterpolantAutomaton]: CoverageRelationStatistics Valid=3, Invalid=3, Unknown=0, NotChecked=0, Total=6 [2022-11-20 12:01:29,869 INFO L478 CegarLoopForPetriNet]: Number of universal loopers: 82 out of 92 [2022-11-20 12:01:29,870 INFO L100 encePairwiseOnDemand]: Start differencePairwiseOnDemand. First operand has 89 places, 85 transitions, 190 flow. Second operand has 3 states, 3 states have (on average 83.33333333333333) internal successors, (250), 3 states have internal predecessors, (250), 0 states have call successors, (0), 0 states have call predecessors, (0), 0 states have return successors, (0), 0 states have call predecessors, (0), 0 states have call successors, (0) [2022-11-20 12:01:29,870 INFO L109 encePairwiseOnDemand]: Universal subtrahend loopers provided by user. [2022-11-20 12:01:29,870 INFO L110 encePairwiseOnDemand]: Number of universal subtrahend loopers: 82 of 92 [2022-11-20 12:01:29,870 INFO L73 FinitePrefix]: Start finitePrefix. Operand will be constructed on-demand [2022-11-20 12:01:30,011 INFO L130 PetriNetUnfolder]: 20/341 cut-off events. [2022-11-20 12:01:30,011 INFO L131 PetriNetUnfolder]: For 24/24 co-relation queries the response was YES. [2022-11-20 12:01:30,016 INFO L83 FinitePrefix]: Finished finitePrefix Result has 420 conditions, 341 events. 20/341 cut-off events. For 24/24 co-relation queries the response was YES. Maximal size of possible extension queue 14. Compared 1603 event pairs, 5 based on Foata normal form. 0/325 useless extension candidates. Maximal degree in co-relation 385. Up to 28 conditions per place. [2022-11-20 12:01:30,023 INFO L137 encePairwiseOnDemand]: 87/92 looper letters, 12 selfloop transitions, 5 changer transitions 0/91 dead transitions. [2022-11-20 12:01:30,024 INFO L142 encePairwiseOnDemand]: Finished differencePairwiseOnDemand. Result has 91 places, 91 transitions, 248 flow [2022-11-20 12:01:30,025 INFO L141 InterpolantAutomaton]: Switched to read-only mode: deterministic interpolant automaton has 3 states. [2022-11-20 12:01:30,026 INFO L82 GeneralOperation]: Start removeUnreachable. Operand 3 states. [2022-11-20 12:01:30,027 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 3 states to 3 states and 261 transitions. [2022-11-20 12:01:30,027 INFO L523 CegarLoopForPetriNet]: DFA transition density 0.9456521739130435 [2022-11-20 12:01:30,027 INFO L72 ComplementDD]: Start complementDD. Operand 3 states and 261 transitions. [2022-11-20 12:01:30,028 INFO L73 IsDeterministic]: Start isDeterministic. Operand 3 states and 261 transitions. [2022-11-20 12:01:30,028 INFO L80 IsDeterministic]: Finished isDeterministic. Operand is deterministic. [2022-11-20 12:01:30,028 INFO L117 ReachableStatesCopy]: Start reachableStatesCopy. Operand 3 states and 261 transitions. [2022-11-20 12:01:30,029 INFO L343 DoubleDeckerVisitor]: Before removal of dead ends has 4 states, 3 states have (on average 87.0) internal successors, (261), 3 states have internal predecessors, (261), 0 states have call successors, (0), 0 states have call predecessors, (0), 0 states have return successors, (0), 0 states have call predecessors, (0), 0 states have call successors, (0) [2022-11-20 12:01:30,031 INFO L131 ReachableStatesCopy]: Finished reachableStatesCopy Result has 4 states, 4 states have (on average 92.0) internal successors, (368), 4 states have internal predecessors, (368), 0 states have call successors, (0), 0 states have call predecessors, (0), 0 states have return successors, (0), 0 states have call predecessors, (0), 0 states have call successors, (0) [2022-11-20 12:01:30,031 INFO L81 ComplementDD]: Finished complementDD. Result has 4 states, 4 states have (on average 92.0) internal successors, (368), 4 states have internal predecessors, (368), 0 states have call successors, (0), 0 states have call predecessors, (0), 0 states have return successors, (0), 0 states have call predecessors, (0), 0 states have call successors, (0) [2022-11-20 12:01:30,031 INFO L175 Difference]: Start difference. First operand has 89 places, 85 transitions, 190 flow. Second operand 3 states and 261 transitions. [2022-11-20 12:01:30,032 INFO L82 GeneralOperation]: Start removeRedundantFlow. Operand has 91 places, 91 transitions, 248 flow [2022-11-20 12:01:30,033 INFO L88 GeneralOperation]: Finished removeRedundantFlow, result has has 89 places, 91 transitions, 238 flow, removed 0 selfloop flow, removed 2 redundant places. [2022-11-20 12:01:30,035 INFO L231 Difference]: Finished difference. Result has 91 places, 88 transitions, 220 flow [2022-11-20 12:01:30,035 INFO L271 CegarLoopForPetriNet]: {PETRI_ALPHABET=92, PETRI_DIFFERENCE_MINUEND_FLOW=184, PETRI_DIFFERENCE_MINUEND_PLACES=87, PETRI_DIFFERENCE_MINUEND_TRANSITIONS=85, PETRI_DIFFERENCE_SUBTRAHEND_LETTERS_WITH_MORE_CHANGERS_THAN_LOOPERS=2, PETRI_DIFFERENCE_SUBTRAHEND_LOOPER_ONLY_LETTERS=80, PETRI_DIFFERENCE_SUBTRAHEND_STATES=3, PETRI_FLOW=220, PETRI_PLACES=91, PETRI_TRANSITIONS=88} [2022-11-20 12:01:30,036 INFO L288 CegarLoopForPetriNet]: 86 programPoint places, 5 predicate places. [2022-11-20 12:01:30,036 INFO L495 AbstractCegarLoop]: Abstraction has has 91 places, 88 transitions, 220 flow [2022-11-20 12:01:30,037 INFO L496 AbstractCegarLoop]: INTERPOLANT automaton has has 3 states, 3 states have (on average 83.33333333333333) internal successors, (250), 3 states have internal predecessors, (250), 0 states have call successors, (0), 0 states have call predecessors, (0), 0 states have return successors, (0), 0 states have call predecessors, (0), 0 states have call successors, (0) [2022-11-20 12:01:30,037 INFO L201 CegarLoopForPetriNet]: Found error trace [2022-11-20 12:01:30,037 INFO L209 CegarLoopForPetriNet]: trace histogram [1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1] [2022-11-20 12:01:30,037 WARN L477 AbstractCegarLoop]: Destroyed unattended storables created during the last iteration: SelfDestructingSolverStorable1 [2022-11-20 12:01:30,037 INFO L420 AbstractCegarLoop]: === Iteration 3 === Targeting ULTIMATE.startErr0ASSERT_VIOLATIONDATA_RACE === [ULTIMATE.startErr0ASSERT_VIOLATIONDATA_RACE, ULTIMATE.startErr1ASSERT_VIOLATIONDATA_RACE, ULTIMATE.startErr0INUSE_VIOLATIONSUFFICIENT_THREAD_INSTANCES (and 2 more)] === [2022-11-20 12:01:30,038 INFO L144 PredicateUnifier]: Initialized classic predicate unifier [2022-11-20 12:01:30,038 INFO L85 PathProgramCache]: Analyzing trace with hash 833706500, now seen corresponding path program 1 times [2022-11-20 12:01:30,045 INFO L118 FreeRefinementEngine]: Executing refinement strategy CAMEL [2022-11-20 12:01:30,046 INFO L333 FreeRefinementEngine]: Using trace check IpTcStrategyModuleSmtInterpolCraig [330981651] [2022-11-20 12:01:30,046 INFO L95 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2022-11-20 12:01:30,046 INFO L127 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout -1 ms and remaining time -1 ms [2022-11-20 12:01:30,113 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2022-11-20 12:01:30,122 INFO L356 TraceCheck]: Trace is feasible, we will do another trace check, this time with branch encoders. [2022-11-20 12:01:30,138 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2022-11-20 12:01:30,173 INFO L130 FreeRefinementEngine]: Strategy CAMEL found a feasible trace [2022-11-20 12:01:30,173 INFO L359 BasicCegarLoop]: Counterexample is feasible [2022-11-20 12:01:30,174 INFO L805 garLoopResultBuilder]: Registering result UNSAFE for location ULTIMATE.startErr0ASSERT_VIOLATIONDATA_RACE (4 of 5 remaining) [2022-11-20 12:01:30,176 INFO L805 garLoopResultBuilder]: Registering result UNKNOWN for location ULTIMATE.startErr1ASSERT_VIOLATIONDATA_RACE (3 of 5 remaining) [2022-11-20 12:01:30,177 INFO L805 garLoopResultBuilder]: Registering result UNKNOWN for location ULTIMATE.startErr0INUSE_VIOLATIONSUFFICIENT_THREAD_INSTANCES (2 of 5 remaining) [2022-11-20 12:01:30,177 INFO L805 garLoopResultBuilder]: Registering result UNKNOWN for location t_funErr0ASSERT_VIOLATIONDATA_RACE (1 of 5 remaining) [2022-11-20 12:01:30,178 INFO L805 garLoopResultBuilder]: Registering result UNKNOWN for location t_funErr0ASSERT_VIOLATIONDATA_RACE (0 of 5 remaining) [2022-11-20 12:01:30,178 WARN L477 AbstractCegarLoop]: Destroyed unattended storables created during the last iteration: SelfDestructingSolverStorable2 [2022-11-20 12:01:30,185 INFO L444 BasicCegarLoop]: Path program histogram: [1, 1, 1] [2022-11-20 12:01:30,196 INFO L228 ceAbstractionStarter]: Analysis of concurrent program completed with 1 thread instances [2022-11-20 12:01:30,196 INFO L178 ceAbstractionStarter]: Computing trace abstraction results [2022-11-20 12:01:30,273 INFO L202 PluginConnector]: Adding new model de.uni_freiburg.informatik.ultimate.plugins.generator.traceabstraction CFG 20.11 12:01:30 BasicIcfg [2022-11-20 12:01:30,273 INFO L132 PluginConnector]: ------------------------ END TraceAbstraction---------------------------- [2022-11-20 12:01:30,274 INFO L113 PluginConnector]: ------------------------Witness Printer---------------------------- [2022-11-20 12:01:30,274 INFO L271 PluginConnector]: Initializing Witness Printer... [2022-11-20 12:01:30,274 INFO L275 PluginConnector]: Witness Printer initialized [2022-11-20 12:01:30,275 INFO L185 PluginConnector]: Executing the observer RCFGCatcher from plugin Witness Printer for "de.uni_freiburg.informatik.ultimate.plugins.generator.rcfgbuilder CFG 20.11 12:01:29" (3/4) ... [2022-11-20 12:01:30,277 INFO L140 WitnessPrinter]: No result that supports witness generation found [2022-11-20 12:01:30,277 INFO L132 PluginConnector]: ------------------------ END Witness Printer---------------------------- [2022-11-20 12:01:30,278 INFO L158 Benchmark]: Toolchain (without parser) took 2689.72ms. Allocated memory is still 180.4MB. Free memory was 135.5MB in the beginning and 144.7MB in the end (delta: -9.2MB). There was no memory consumed. Max. memory is 16.1GB. [2022-11-20 12:01:30,278 INFO L158 Benchmark]: CDTParser took 0.30ms. Allocated memory is still 142.6MB. Free memory is still 84.2MB. There was no memory consumed. Max. memory is 16.1GB. [2022-11-20 12:01:30,279 INFO L158 Benchmark]: CACSL2BoogieTranslator took 760.87ms. Allocated memory is still 180.4MB. Free memory was 135.5MB in the beginning and 107.7MB in the end (delta: 27.8MB). Peak memory consumption was 27.3MB. Max. memory is 16.1GB. [2022-11-20 12:01:30,279 INFO L158 Benchmark]: Boogie Procedure Inliner took 84.67ms. Allocated memory is still 180.4MB. Free memory was 107.7MB in the beginning and 105.6MB in the end (delta: 2.0MB). Peak memory consumption was 2.1MB. Max. memory is 16.1GB. [2022-11-20 12:01:30,280 INFO L158 Benchmark]: Boogie Preprocessor took 52.09ms. Allocated memory is still 180.4MB. Free memory was 105.6MB in the beginning and 104.1MB in the end (delta: 1.6MB). Peak memory consumption was 2.1MB. Max. memory is 16.1GB. [2022-11-20 12:01:30,280 INFO L158 Benchmark]: RCFGBuilder took 534.84ms. Allocated memory is still 180.4MB. Free memory was 103.5MB in the beginning and 90.0MB in the end (delta: 13.6MB). Peak memory consumption was 14.7MB. Max. memory is 16.1GB. [2022-11-20 12:01:30,281 INFO L158 Benchmark]: TraceAbstraction took 1225.21ms. Allocated memory is still 180.4MB. Free memory was 89.4MB in the beginning and 145.8MB in the end (delta: -56.3MB). Peak memory consumption was 18.2MB. Max. memory is 16.1GB. [2022-11-20 12:01:30,281 INFO L158 Benchmark]: Witness Printer took 3.76ms. Allocated memory is still 180.4MB. Free memory was 145.8MB in the beginning and 144.7MB in the end (delta: 1.0MB). There was no memory consumed. Max. memory is 16.1GB. [2022-11-20 12:01:30,294 INFO L339 ainManager$Toolchain]: ####################### End [Toolchain 1] ####################### --- Results --- * Results from de.uni_freiburg.informatik.ultimate.core: - StatisticsResult: Toolchain Benchmarks Benchmark results are: * CDTParser took 0.30ms. Allocated memory is still 142.6MB. Free memory is still 84.2MB. There was no memory consumed. Max. memory is 16.1GB. * CACSL2BoogieTranslator took 760.87ms. Allocated memory is still 180.4MB. Free memory was 135.5MB in the beginning and 107.7MB in the end (delta: 27.8MB). Peak memory consumption was 27.3MB. Max. memory is 16.1GB. * Boogie Procedure Inliner took 84.67ms. Allocated memory is still 180.4MB. Free memory was 107.7MB in the beginning and 105.6MB in the end (delta: 2.0MB). Peak memory consumption was 2.1MB. Max. memory is 16.1GB. * Boogie Preprocessor took 52.09ms. Allocated memory is still 180.4MB. Free memory was 105.6MB in the beginning and 104.1MB in the end (delta: 1.6MB). Peak memory consumption was 2.1MB. Max. memory is 16.1GB. * RCFGBuilder took 534.84ms. Allocated memory is still 180.4MB. Free memory was 103.5MB in the beginning and 90.0MB in the end (delta: 13.6MB). Peak memory consumption was 14.7MB. Max. memory is 16.1GB. * TraceAbstraction took 1225.21ms. Allocated memory is still 180.4MB. Free memory was 89.4MB in the beginning and 145.8MB in the end (delta: -56.3MB). Peak memory consumption was 18.2MB. Max. memory is 16.1GB. * Witness Printer took 3.76ms. Allocated memory is still 180.4MB. Free memory was 145.8MB in the beginning and 144.7MB in the end (delta: 1.0MB). There was no memory consumed. Max. memory is 16.1GB. * Results from de.uni_freiburg.informatik.ultimate.plugins.generator.traceabstraction: - DataRaceFoundResult [Line: 932]: Data race detected Data race detected The following path leads to a data race: [L919] 0 int (*fp)() = f1; VAL [={-1:0}] [L920] 0 pthread_mutex_t mutex1 = { { 0, 0, 0, 0, 0, { { 0, 0 } } } }; VAL [={-1:0}, mutex1={1:0}] [L921] 0 pthread_mutex_t mutex2 = { { 0, 0, 0, 0, 0, { { 0, 0 } } } }; VAL [={-1:0}, mutex1={1:0}, mutex2={2:0}] [L929] 0 pthread_t id; VAL [={-1:0}, id={3:0}, mutex1={1:0}, mutex2={2:0}] [L930] FCALL, FORK 0 pthread_create(&id, ((void *)0), t_fun, ((void *)0)) VAL [={-1:0}, arg={0:0}, id={3:0}, mutex1={1:0}, mutex2={2:0}, pthread_create(&id, ((void *)0), t_fun, ((void *)0))=-1] [L924] 1 fp = f2 VAL [={-1:1}, arg={0:0}, arg={0:0}, mutex1={1:0}, mutex2={2:0}] [L924] 1 fp = f2 VAL [={-1:1}, arg={0:0}, arg={0:0}, fp = f2=25, mutex1={1:0}, mutex2={2:0}] [L932] 0 fp() VAL [={-1:1}, arg={0:0}, arg={0:0}, fp = f2=25, id={3:0}, mutex1={1:0}, mutex2={2:0}] Now there is a data race on ~fp~0 between C: fp = f2 [924] and C: fp() [932] - UnprovableResult [Line: 934]: Unable to prove that there are no data races Unable to prove that there are no data races Reason: Not analyzed. - UnprovableResult [Line: 930]: Unable to prove that petrification did provide enough thread instances (tool internal message, not intended for end users) Unable to prove that petrification did provide enough thread instances (tool internal message, not intended for end users) Reason: Not analyzed. - UnprovableResult [Line: 924]: Unable to prove that there are no data races Unable to prove that there are no data races Reason: Not analyzed. - StatisticsResult: Ultimate Automizer benchmark data with 1 thread instances CFG has 3 procedures, 106 locations, 5 error locations. Started 1 CEGAR loops. EmptinessCheckTime: 0.0s, RemoveRedundantFlowTime: 0.0s, RemoveRedundantFlowUnfoldingTime: 0.0s, BackfoldingTime: 0.0s, BackfoldingUnfoldingTime: 0.0s, FlowIncreaseByBackfolding: 0, BasicCegarLoop: OverallTime: 1.0s, OverallIterations: 3, TraceHistogramMax: 1, PathProgramHistogramMax: 1, EmptinessCheckTime: 0.0s, AutomataDifference: 0.3s, DeadEndRemovalTime: 0.0s, HoareAnnotationTime: 0.0s, InitialAbstractionConstructionTime: 0.1s, HoareTripleCheckerStatistics: 0 mSolverCounterUnknown, 6 SdHoareTripleChecker+Valid, 0.0s IncrementalHoareTripleChecker+Time, 0 mSdLazyCounter, 6 mSDsluCounter, 13 SdHoareTripleChecker+Invalid, 0.0s Time, 0 mProtectedAction, 0 SdHoareTripleChecker+Unchecked, 0 IncrementalHoareTripleChecker+Unchecked, 0 mSDsCounter, 2 IncrementalHoareTripleChecker+Valid, 0 mProtectedPredicate, 22 IncrementalHoareTripleChecker+Invalid, 24 SdHoareTripleChecker+Unknown, 0 mSolverCounterNotChecked, 2 mSolverCounterUnsat, 13 mSDtfsCounter, 22 mSolverCounterSat, 0.0s SdHoareTripleChecker+Time, 0 IncrementalHoareTripleChecker+Unknown, PredicateUnifierStatistics: 0 DeclaredPredicates, 4 GetRequests, 2 SyntacticMatches, 0 SemanticMatches, 2 ConstructedPredicates, 0 IntricatePredicates, 0 DeprecatedPredicates, 0 ImplicationChecksByTransitivity, 0.0s Time, 0.0s BasicInterpolantAutomatonTime, BiggestAbstraction: size=220occurred in iteration=2, InterpolantAutomatonStates: 6, traceCheckStatistics: No data available, InterpolantConsolidationStatistics: No data available, PathInvariantsStatistics: No data available, 0/0 InterpolantCoveringCapability, TotalInterpolationStatistics: No data available, 0.0s DumpTime, AutomataMinimizationStatistics: No data available, HoareAnnotationStatistics: No data available, RefinementEngineStatistics: TRACE_CHECK: 0.0s SsaConstructionTime, 0.1s SatisfiabilityAnalysisTime, 0.2s InterpolantComputationTime, 109 NumberOfCodeBlocks, 109 NumberOfCodeBlocksAsserted, 3 NumberOfCheckSat, 67 ConstructedInterpolants, 0 QuantifiedInterpolants, 71 SizeOfPredicates, 0 NumberOfNonLiveVariables, 0 ConjunctsInSsa, 0 ConjunctsInUnsatCore, 2 InterpolantComputations, 2 PerfectInterpolantSequences, 0/0 InterpolantCoveringCapability, INVARIANT_SYNTHESIS: No data available, INTERPOLANT_CONSOLIDATION: No data available, ABSTRACT_INTERPRETATION: No data available, PDR: No data available, ACCELERATED_INTERPOLATION: No data available, SIFA: No data available, ReuseStatistics: No data available RESULT: Ultimate proved your program to be incorrect! [2022-11-20 12:01:30,371 INFO L540 MonitoredProcess]: [MP /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_fe74e3c8-2c4f-42dd-a386-e9512a3bacee/bin/uautomizer-ug76WZFUDN/z3 SMTLIB2_COMPLIANT=true -memory:2024 -smt2 -in -t:2000 (1)] Forceful destruction successful, exit code 0 Received shutdown request... --- End real Ultimate output --- Execution finished normally Writing output log to file Ultimate.log Writing human readable error path to file UltimateCounterExample.errorpath Result: FALSE