./Ultimate.py --spec ../../sv-benchmarks/c/properties/no-data-race.prp --file ../../sv-benchmarks/c/goblint-regression/04-mutex_19-call_by_ptr_rc.i --full-output --architecture 32bit -------------------------------------------------------------------------------- Checking for data races Using default analysis Version a0165632 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_f89ec80f-4c16-4c2b-a922-590d68264823/bin/uautomizer-verify-jihMAELWvX/data/config -Xmx15G -Xms4m -jar /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_f89ec80f-4c16-4c2b-a922-590d68264823/bin/uautomizer-verify-jihMAELWvX/plugins/org.eclipse.equinox.launcher_1.5.800.v20200727-1323.jar -data @noDefault -ultimatedata /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_f89ec80f-4c16-4c2b-a922-590d68264823/bin/uautomizer-verify-jihMAELWvX/data -tc /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_f89ec80f-4c16-4c2b-a922-590d68264823/bin/uautomizer-verify-jihMAELWvX/config/AutomizerReach.xml -i ../../sv-benchmarks/c/goblint-regression/04-mutex_19-call_by_ptr_rc.i -s /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_f89ec80f-4c16-4c2b-a922-590d68264823/bin/uautomizer-verify-jihMAELWvX/config/svcomp-DataRace-32bit-Automizer_Default.epf --cacsl2boogietranslator.entry.function main --witnessprinter.witness.directory /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_f89ec80f-4c16-4c2b-a922-590d68264823/bin/uautomizer-verify-jihMAELWvX --witnessprinter.witness.filename witness --witnessprinter.write.witness.besides.input.file false --witnessprinter.graph.data.specification CHECK( init(main()), LTL(G ! data-race) ) --witnessprinter.graph.data.producer Automizer --witnessprinter.graph.data.architecture 32bit --witnessprinter.graph.data.programhash 809ae362eff552f429817a169faf72f9b59df833d49ee9dde0f5e8fc70fce634 --- Real Ultimate output --- This is Ultimate 0.2.5-dev-a016563 [2024-11-08 18:58:04,714 INFO L188 SettingsManager]: Resetting all preferences to default values... [2024-11-08 18:58:04,812 INFO L114 SettingsManager]: Loading settings from /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_f89ec80f-4c16-4c2b-a922-590d68264823/bin/uautomizer-verify-jihMAELWvX/config/svcomp-DataRace-32bit-Automizer_Default.epf [2024-11-08 18:58:04,818 WARN L101 SettingsManager]: Preference file contains the following unknown settings: [2024-11-08 18:58:04,819 WARN L103 SettingsManager]: * de.uni_freiburg.informatik.ultimate.core.Log level for class [2024-11-08 18:58:04,856 INFO L130 SettingsManager]: Preferences different from defaults after loading the file: [2024-11-08 18:58:04,857 INFO L151 SettingsManager]: Preferences of UltimateCore differ from their defaults: [2024-11-08 18:58:04,857 INFO L153 SettingsManager]: * Log level for class=de.uni_freiburg.informatik.ultimate.lib.smtlibutils.quantifier.QuantifierPusher=ERROR; [2024-11-08 18:58:04,860 INFO L151 SettingsManager]: Preferences of Boogie Procedure Inliner differ from their defaults: [2024-11-08 18:58:04,860 INFO L153 SettingsManager]: * Ignore calls to procedures called more than once=ONLY_FOR_SEQUENTIAL_PROGRAMS [2024-11-08 18:58:04,862 INFO L151 SettingsManager]: Preferences of BlockEncodingV2 differ from their defaults: [2024-11-08 18:58:04,862 INFO L153 SettingsManager]: * Create parallel compositions if possible=false [2024-11-08 18:58:04,862 INFO L153 SettingsManager]: * Use SBE=true [2024-11-08 18:58:04,864 INFO L151 SettingsManager]: Preferences of CACSL2BoogieTranslator differ from their defaults: [2024-11-08 18:58:04,867 INFO L153 SettingsManager]: * Pointer base address is valid at dereference=IGNORE [2024-11-08 18:58:04,867 INFO L153 SettingsManager]: * sizeof long=4 [2024-11-08 18:58:04,867 INFO L153 SettingsManager]: * Overapproximate operations on floating types=true [2024-11-08 18:58:04,868 INFO L153 SettingsManager]: * sizeof POINTER=4 [2024-11-08 18:58:04,868 INFO L153 SettingsManager]: * Check division by zero=IGNORE [2024-11-08 18:58:04,868 INFO L153 SettingsManager]: * Pointer to allocated memory at dereference=IGNORE [2024-11-08 18:58:04,869 INFO L153 SettingsManager]: * If two pointers are subtracted or compared they have the same base address=IGNORE [2024-11-08 18:58:04,869 INFO L153 SettingsManager]: * Check array bounds for arrays that are off heap=IGNORE [2024-11-08 18:58:04,869 INFO L153 SettingsManager]: * Check absence of data races in concurrent programs=true [2024-11-08 18:58:04,870 INFO L153 SettingsManager]: * Allow undefined functions=false [2024-11-08 18:58:04,870 INFO L153 SettingsManager]: * Check unreachability of reach_error function=false [2024-11-08 18:58:04,870 INFO L153 SettingsManager]: * sizeof long double=12 [2024-11-08 18:58:04,870 INFO L153 SettingsManager]: * Check if freed pointer was valid=false [2024-11-08 18:58:04,871 INFO L153 SettingsManager]: * Use constant arrays=true [2024-11-08 18:58:04,871 INFO L151 SettingsManager]: Preferences of RCFGBuilder differ from their defaults: [2024-11-08 18:58:04,871 INFO L153 SettingsManager]: * Size of a code block=SequenceOfStatements [2024-11-08 18:58:04,872 INFO L153 SettingsManager]: * SMT solver=External_DefaultMode [2024-11-08 18:58:04,872 INFO L153 SettingsManager]: * Command for external solver=z3 SMTLIB2_COMPLIANT=true -memory:2024 -smt2 -in -t:4000 [2024-11-08 18:58:04,876 INFO L151 SettingsManager]: Preferences of TraceAbstraction differ from their defaults: [2024-11-08 18:58:04,877 INFO L153 SettingsManager]: * Compute Interpolants along a Counterexample=FPandBP [2024-11-08 18:58:04,877 INFO L153 SettingsManager]: * Positions where we compute the Hoare Annotation=LoopHeads [2024-11-08 18:58:04,877 INFO L153 SettingsManager]: * Trace refinement strategy=CAMEL [2024-11-08 18:58:04,878 INFO L153 SettingsManager]: * Command for external solver=z3 SMTLIB2_COMPLIANT=true -memory:2024 -smt2 -in [2024-11-08 18:58:04,878 INFO L153 SettingsManager]: * Apply one-shot large block encoding in concurrent analysis=false [2024-11-08 18:58:04,878 INFO L153 SettingsManager]: * Automaton type used in concurrency analysis=PETRI_NET [2024-11-08 18:58:04,878 INFO L153 SettingsManager]: * Order on configurations for Petri net unfoldings=DBO [2024-11-08 18:58:04,879 INFO L153 SettingsManager]: * SMT solver=External_ModelsAndUnsatCoreMode [2024-11-08 18:58:04,881 INFO L153 SettingsManager]: * Looper check in Petri net analysis=SEMANTIC WARNING: An illegal reflective access operation has occurred WARNING: Illegal reflective access by com.sun.xml.bind.v2.runtime.reflect.opt.Injector$1 (file:/tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_f89ec80f-4c16-4c2b-a922-590d68264823/bin/uautomizer-verify-jihMAELWvX/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_f89ec80f-4c16-4c2b-a922-590d68264823/bin/uautomizer-verify-jihMAELWvX Applying setting for plugin de.uni_freiburg.informatik.ultimate.witnessprinter: Witness filename -> witness Applying setting for plugin de.uni_freiburg.informatik.ultimate.witnessprinter: Write witness besides input file -> false Applying setting for plugin de.uni_freiburg.informatik.ultimate.witnessprinter: Graph data specification -> CHECK( init(main()), LTL(G ! data-race) ) Applying setting for plugin de.uni_freiburg.informatik.ultimate.witnessprinter: Graph data producer -> Automizer Applying setting for plugin de.uni_freiburg.informatik.ultimate.witnessprinter: Graph data architecture -> 32bit Applying setting for plugin de.uni_freiburg.informatik.ultimate.witnessprinter: Graph data programhash -> 809ae362eff552f429817a169faf72f9b59df833d49ee9dde0f5e8fc70fce634 [2024-11-08 18:58:05,141 INFO L75 nceAwareModelManager]: Repository-Root is: /tmp [2024-11-08 18:58:05,175 INFO L261 ainManager$Toolchain]: [Toolchain 1]: Applicable parser(s) successfully (re)initialized [2024-11-08 18:58:05,177 INFO L217 ainManager$Toolchain]: [Toolchain 1]: Toolchain selected. [2024-11-08 18:58:05,179 INFO L270 PluginConnector]: Initializing CDTParser... [2024-11-08 18:58:05,179 INFO L274 PluginConnector]: CDTParser initialized [2024-11-08 18:58:05,180 INFO L431 ainManager$Toolchain]: [Toolchain 1]: Parsing single file: /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_f89ec80f-4c16-4c2b-a922-590d68264823/bin/uautomizer-verify-jihMAELWvX/../../sv-benchmarks/c/goblint-regression/04-mutex_19-call_by_ptr_rc.i Unable to find full path for "g++" [2024-11-08 18:58:07,121 INFO L533 CDTParser]: Created temporary CDT project at NULL [2024-11-08 18:58:07,436 INFO L384 CDTParser]: Found 1 translation units. [2024-11-08 18:58:07,437 INFO L180 CDTParser]: Scanning /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_f89ec80f-4c16-4c2b-a922-590d68264823/sv-benchmarks/c/goblint-regression/04-mutex_19-call_by_ptr_rc.i [2024-11-08 18:58:07,455 INFO L427 CDTParser]: About to delete temporary CDT project at /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_f89ec80f-4c16-4c2b-a922-590d68264823/bin/uautomizer-verify-jihMAELWvX/data/b1532ccc0/f6901f6a59e84a63a0ffac35673e9e25/FLAGb62aa1f37 [2024-11-08 18:58:07,705 INFO L435 CDTParser]: Successfully deleted /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_f89ec80f-4c16-4c2b-a922-590d68264823/bin/uautomizer-verify-jihMAELWvX/data/b1532ccc0/f6901f6a59e84a63a0ffac35673e9e25 [2024-11-08 18:58:07,708 INFO L299 ainManager$Toolchain]: ####################### [Toolchain 1] ####################### [2024-11-08 18:58:07,710 INFO L133 ToolchainWalker]: Walking toolchain with 6 elements. [2024-11-08 18:58:07,711 INFO L112 PluginConnector]: ------------------------CACSL2BoogieTranslator---------------------------- [2024-11-08 18:58:07,712 INFO L270 PluginConnector]: Initializing CACSL2BoogieTranslator... [2024-11-08 18:58:07,721 INFO L274 PluginConnector]: CACSL2BoogieTranslator initialized [2024-11-08 18:58:07,723 INFO L184 PluginConnector]: Executing the observer ACSLObjectContainerObserver from plugin CACSL2BoogieTranslator for "CDTParser AST 08.11 06:58:07" (1/1) ... [2024-11-08 18:58:07,725 INFO L204 PluginConnector]: Invalid model from CACSL2BoogieTranslator for observer de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator.ACSLObjectContainerObserver@2793d256 and model type de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 08.11 06:58:07, skipping insertion in model container [2024-11-08 18:58:07,726 INFO L184 PluginConnector]: Executing the observer CACSL2BoogieTranslatorObserver from plugin CACSL2BoogieTranslator for "CDTParser AST 08.11 06:58:07" (1/1) ... [2024-11-08 18:58:07,809 INFO L175 MainTranslator]: Built tables and reachable declarations [2024-11-08 18:58:08,378 INFO L210 PostProcessor]: Analyzing one entry point: main [2024-11-08 18:58:08,406 INFO L200 MainTranslator]: Completed pre-run [2024-11-08 18:58:08,466 INFO L210 PostProcessor]: Analyzing one entry point: main [2024-11-08 18:58:08,515 INFO L204 MainTranslator]: Completed translation [2024-11-08 18:58:08,516 INFO L201 PluginConnector]: Adding new model de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 08.11 06:58:08 WrapperNode [2024-11-08 18:58:08,516 INFO L131 PluginConnector]: ------------------------ END CACSL2BoogieTranslator---------------------------- [2024-11-08 18:58:08,518 INFO L112 PluginConnector]: ------------------------Boogie Procedure Inliner---------------------------- [2024-11-08 18:58:08,518 INFO L270 PluginConnector]: Initializing Boogie Procedure Inliner... [2024-11-08 18:58:08,518 INFO L274 PluginConnector]: Boogie Procedure Inliner initialized [2024-11-08 18:58:08,529 INFO L184 PluginConnector]: Executing the observer TypeChecker from plugin Boogie Procedure Inliner for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 08.11 06:58:08" (1/1) ... [2024-11-08 18:58:08,544 INFO L184 PluginConnector]: Executing the observer Inliner from plugin Boogie Procedure Inliner for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 08.11 06:58:08" (1/1) ... [2024-11-08 18:58:08,582 INFO L138 Inliner]: procedures = 166, calls = 22, calls flagged for inlining = 5, calls inlined = 5, statements flattened = 66 [2024-11-08 18:58:08,584 INFO L131 PluginConnector]: ------------------------ END Boogie Procedure Inliner---------------------------- [2024-11-08 18:58:08,584 INFO L112 PluginConnector]: ------------------------Boogie Preprocessor---------------------------- [2024-11-08 18:58:08,586 INFO L270 PluginConnector]: Initializing Boogie Preprocessor... [2024-11-08 18:58:08,586 INFO L274 PluginConnector]: Boogie Preprocessor initialized [2024-11-08 18:58:08,599 INFO L184 PluginConnector]: Executing the observer EnsureBoogieModelObserver from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 08.11 06:58:08" (1/1) ... [2024-11-08 18:58:08,600 INFO L184 PluginConnector]: Executing the observer TypeChecker from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 08.11 06:58:08" (1/1) ... [2024-11-08 18:58:08,606 INFO L184 PluginConnector]: Executing the observer ConstExpander from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 08.11 06:58:08" (1/1) ... [2024-11-08 18:58:08,606 INFO L184 PluginConnector]: Executing the observer StructExpander from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 08.11 06:58:08" (1/1) ... [2024-11-08 18:58:08,616 INFO L184 PluginConnector]: Executing the observer UnstructureCode from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 08.11 06:58:08" (1/1) ... [2024-11-08 18:58:08,628 INFO L184 PluginConnector]: Executing the observer FunctionInliner from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 08.11 06:58:08" (1/1) ... [2024-11-08 18:58:08,630 INFO L184 PluginConnector]: Executing the observer LTLStepAnnotator from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 08.11 06:58:08" (1/1) ... [2024-11-08 18:58:08,632 INFO L184 PluginConnector]: Executing the observer BoogieSymbolTableConstructor from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 08.11 06:58:08" (1/1) ... [2024-11-08 18:58:08,638 INFO L131 PluginConnector]: ------------------------ END Boogie Preprocessor---------------------------- [2024-11-08 18:58:08,639 INFO L112 PluginConnector]: ------------------------RCFGBuilder---------------------------- [2024-11-08 18:58:08,639 INFO L270 PluginConnector]: Initializing RCFGBuilder... [2024-11-08 18:58:08,642 INFO L274 PluginConnector]: RCFGBuilder initialized [2024-11-08 18:58:08,643 INFO L184 PluginConnector]: Executing the observer RCFGBuilderObserver from plugin RCFGBuilder for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 08.11 06:58:08" (1/1) ... [2024-11-08 18:58:08,661 INFO L173 SolverBuilder]: Constructing external solver with command: z3 SMTLIB2_COMPLIANT=true -memory:2024 -smt2 -in -t:4000 [2024-11-08 18:58:08,676 INFO L189 MonitoredProcess]: No working directory specified, using /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_f89ec80f-4c16-4c2b-a922-590d68264823/bin/uautomizer-verify-jihMAELWvX/z3 [2024-11-08 18:58:08,701 INFO L229 MonitoredProcess]: Starting monitored process 1 with /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_f89ec80f-4c16-4c2b-a922-590d68264823/bin/uautomizer-verify-jihMAELWvX/z3 SMTLIB2_COMPLIANT=true -memory:2024 -smt2 -in -t:4000 (exit command is (exit), workingDir is null) [2024-11-08 18:58:08,707 INFO L327 MonitoredProcess]: [MP /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_f89ec80f-4c16-4c2b-a922-590d68264823/bin/uautomizer-verify-jihMAELWvX/z3 SMTLIB2_COMPLIANT=true -memory:2024 -smt2 -in -t:4000 (1)] Waiting until timeout for monitored process [2024-11-08 18:58:08,751 INFO L130 BoogieDeclarations]: Found specification of procedure #PthreadsMutexLock [2024-11-08 18:58:08,752 INFO L130 BoogieDeclarations]: Found specification of procedure #Ultimate.allocInit [2024-11-08 18:58:08,752 INFO L130 BoogieDeclarations]: Found specification of procedure t_fun [2024-11-08 18:58:08,752 INFO L138 BoogieDeclarations]: Found implementation of procedure t_fun [2024-11-08 18:58:08,752 INFO L130 BoogieDeclarations]: Found specification of procedure write~init~int [2024-11-08 18:58:08,753 INFO L130 BoogieDeclarations]: Found specification of procedure #PthreadsMutexUnlock [2024-11-08 18:58:08,753 INFO L130 BoogieDeclarations]: Found specification of procedure ULTIMATE.start [2024-11-08 18:58:08,753 INFO L138 BoogieDeclarations]: Found implementation of procedure ULTIMATE.start [2024-11-08 18:58:08,755 WARN L207 CfgBuilder]: User set CodeBlockSize to SequenceOfStatements but program contains fork statements. Overwriting the user preferences and setting CodeBlockSize to OneNontrivialStatement. [2024-11-08 18:58:08,937 INFO L238 CfgBuilder]: Building ICFG [2024-11-08 18:58:08,941 INFO L264 CfgBuilder]: Building CFG for each procedure with an implementation [2024-11-08 18:58:09,217 INFO L283 CfgBuilder]: Omitted future-live optimization because the input is a concurrent program. [2024-11-08 18:58:09,218 INFO L287 CfgBuilder]: Performing block encoding [2024-11-08 18:58:09,260 INFO L311 CfgBuilder]: Using the 1 location(s) as analysis (start of procedure ULTIMATE.start) [2024-11-08 18:58:09,261 INFO L316 CfgBuilder]: Removed 0 assume(true) statements. [2024-11-08 18:58:09,261 INFO L201 PluginConnector]: Adding new model de.uni_freiburg.informatik.ultimate.plugins.generator.rcfgbuilder CFG 08.11 06:58:09 BoogieIcfgContainer [2024-11-08 18:58:09,262 INFO L131 PluginConnector]: ------------------------ END RCFGBuilder---------------------------- [2024-11-08 18:58:09,265 INFO L112 PluginConnector]: ------------------------TraceAbstraction---------------------------- [2024-11-08 18:58:09,265 INFO L270 PluginConnector]: Initializing TraceAbstraction... [2024-11-08 18:58:09,269 INFO L274 PluginConnector]: TraceAbstraction initialized [2024-11-08 18:58:09,270 INFO L184 PluginConnector]: Executing the observer TraceAbstractionObserver from plugin TraceAbstraction for "CDTParser AST 08.11 06:58:07" (1/3) ... [2024-11-08 18:58:09,271 INFO L204 PluginConnector]: Invalid model from TraceAbstraction for observer de.uni_freiburg.informatik.ultimate.plugins.generator.traceabstraction.TraceAbstractionObserver@31cfa229 and model type de.uni_freiburg.informatik.ultimate.plugins.generator.traceabstraction AST 08.11 06:58:09, skipping insertion in model container [2024-11-08 18:58:09,272 INFO L184 PluginConnector]: Executing the observer TraceAbstractionObserver from plugin TraceAbstraction for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 08.11 06:58:08" (2/3) ... [2024-11-08 18:58:09,272 INFO L204 PluginConnector]: Invalid model from TraceAbstraction for observer de.uni_freiburg.informatik.ultimate.plugins.generator.traceabstraction.TraceAbstractionObserver@31cfa229 and model type de.uni_freiburg.informatik.ultimate.plugins.generator.traceabstraction AST 08.11 06:58:09, skipping insertion in model container [2024-11-08 18:58:09,273 INFO L184 PluginConnector]: Executing the observer TraceAbstractionObserver from plugin TraceAbstraction for "de.uni_freiburg.informatik.ultimate.plugins.generator.rcfgbuilder CFG 08.11 06:58:09" (3/3) ... [2024-11-08 18:58:09,274 INFO L112 eAbstractionObserver]: Analyzing ICFG 04-mutex_19-call_by_ptr_rc.i [2024-11-08 18:58:09,295 INFO L214 ceAbstractionStarter]: Automizer settings: Hoare:LoopHeads NWA Interpolation:FPandBP Determinization: PREDICATE_ABSTRACTION [2024-11-08 18:58:09,295 INFO L154 ceAbstractionStarter]: Applying trace abstraction to program that has 4 error locations. [2024-11-08 18:58:09,295 INFO L489 ceAbstractionStarter]: Constructing petrified ICFG for 1 thread instances. [2024-11-08 18:58:09,465 INFO L143 ThreadInstanceAdder]: Constructed 1 joinOtherThreadTransitions. [2024-11-08 18:58:09,524 INFO L73 FinitePrefix]: Start finitePrefix. Operand has 97 places, 96 transitions, 199 flow [2024-11-08 18:58:09,578 INFO L124 PetriNetUnfolderBase]: 3/95 cut-off events. [2024-11-08 18:58:09,578 INFO L125 PetriNetUnfolderBase]: For 1/1 co-relation queries the response was YES. [2024-11-08 18:58:09,584 INFO L83 FinitePrefix]: Finished finitePrefix Result has 100 conditions, 95 events. 3/95 cut-off events. For 1/1 co-relation queries the response was YES. Maximal size of possible extension queue 4. Compared 96 event pairs, 0 based on Foata normal form. 0/88 useless extension candidates. Maximal degree in co-relation 66. Up to 2 conditions per place. [2024-11-08 18:58:09,584 INFO L82 GeneralOperation]: Start removeDead. Operand has 97 places, 96 transitions, 199 flow [2024-11-08 18:58:09,590 INFO L88 GeneralOperation]: Finished RemoveDead, result has has 91 places, 90 transitions, 183 flow [2024-11-08 18:58:09,601 INFO L332 AbstractCegarLoop]: ======== Iteration 0 == of CEGAR loop == AllErrorsAtOnce ======== [2024-11-08 18:58:09,610 INFO L333 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, mAutomataTypeConcurrency=PETRI_NET, mHoareTripleChecks=INCREMENTAL, mHoareAnnotationPositions=LoopHeads, 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;@75e8a7de, mLbeIndependenceSettings=[IndependenceType=SEMANTIC, AbstractionType=NONE, UseConditional=false, UseSemiCommutativity=true, Solver=Z3, SolverTimeout=1000ms] [2024-11-08 18:58:09,610 INFO L334 AbstractCegarLoop]: Starting to check reachability of 7 error locations. [2024-11-08 18:58:09,624 INFO L185 PetriNetUnfolderBase]: Found word, exiting Unfolder. [2024-11-08 18:58:09,624 INFO L124 PetriNetUnfolderBase]: 0/32 cut-off events. [2024-11-08 18:58:09,624 INFO L125 PetriNetUnfolderBase]: For 0/0 co-relation queries the response was YES. [2024-11-08 18:58:09,625 INFO L196 CegarLoopForPetriNet]: Found error trace [2024-11-08 18:58:09,626 INFO L204 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] [2024-11-08 18:58:09,626 INFO L396 AbstractCegarLoop]: === Iteration 1 === Targeting t_funErr0ASSERT_VIOLATIONDATA_RACE === [ULTIMATE.startErr0ASSERT_VIOLATIONDATA_RACE, ULTIMATE.startErr1ASSERT_VIOLATIONDATA_RACE, ULTIMATE.startErr0INUSE_VIOLATIONSUFFICIENT_THREAD_INSTANCES (and 4 more)] === [2024-11-08 18:58:09,633 INFO L157 PredicateUnifier]: Initialized classic predicate unifier [2024-11-08 18:58:09,633 INFO L85 PathProgramCache]: Analyzing trace with hash 1341366099, now seen corresponding path program 1 times [2024-11-08 18:58:09,649 INFO L118 FreeRefinementEngine]: Executing refinement strategy CAMEL [2024-11-08 18:58:09,650 INFO L334 FreeRefinementEngine]: Using trace check IpTcStrategyModuleSmtInterpolCraig [1442659543] [2024-11-08 18:58:09,651 INFO L95 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2024-11-08 18:58:09,651 INFO L127 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout -1 ms and remaining time -1 ms [2024-11-08 18:58:09,826 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2024-11-08 18:58:09,986 INFO L134 CoverageAnalysis]: Checked inductivity of 0 backedges. 0 proven. 0 refuted. 0 times theorem prover too weak. 0 trivial. 0 not checked. [2024-11-08 18:58:09,987 INFO L136 FreeRefinementEngine]: Strategy CAMEL found an infeasible trace [2024-11-08 18:58:09,987 INFO L334 FreeRefinementEngine]: Using interpolant generator IpTcStrategyModuleSmtInterpolCraig [1442659543] [2024-11-08 18:58:09,988 INFO L158 FreeRefinementEngine]: IpTcStrategyModuleSmtInterpolCraig [1442659543] provided 1 perfect and 0 imperfect interpolant sequences [2024-11-08 18:58:09,989 INFO L185 FreeRefinementEngine]: Found 1 perfect and 0 imperfect interpolant sequences. [2024-11-08 18:58:09,989 INFO L198 FreeRefinementEngine]: Number of different interpolants: perfect sequences [2] imperfect sequences [] total 2 [2024-11-08 18:58:09,991 INFO L121 tionRefinementEngine]: Using interpolant automaton builder IpAbStrategyModuleStraightlineAll [926016822] [2024-11-08 18:58:09,993 INFO L85 oduleStraightlineAll]: Using 1 perfect interpolants to construct interpolant automaton [2024-11-08 18:58:10,019 INFO L548 AbstractCegarLoop]: INTERPOLANT automaton has 3 states [2024-11-08 18:58:10,031 INFO L100 FreeRefinementEngine]: Using predicate unifier PredicateUnifier provided by strategy CAMEL [2024-11-08 18:58:10,060 INFO L143 InterpolantAutomaton]: Constructing interpolant automaton starting with 3 interpolants. [2024-11-08 18:58:10,061 INFO L145 InterpolantAutomaton]: CoverageRelationStatistics Valid=3, Invalid=3, Unknown=0, NotChecked=0, Total=6 [2024-11-08 18:58:10,096 INFO L467 CegarLoopForPetriNet]: Number of universal loopers: 82 out of 96 [2024-11-08 18:58:10,099 INFO L103 encePairwiseOnDemand]: Start differencePairwiseOnDemand. First operand has 91 places, 90 transitions, 183 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) [2024-11-08 18:58:10,100 INFO L112 encePairwiseOnDemand]: Universal subtrahend loopers provided by user. [2024-11-08 18:58:10,100 INFO L113 encePairwiseOnDemand]: Number of universal subtrahend loopers: 82 of 96 [2024-11-08 18:58:10,101 INFO L73 FinitePrefix]: Start finitePrefix. Operand will be constructed on-demand [2024-11-08 18:58:10,265 INFO L124 PetriNetUnfolderBase]: 50/353 cut-off events. [2024-11-08 18:58:10,265 INFO L125 PetriNetUnfolderBase]: For 1/1 co-relation queries the response was YES. [2024-11-08 18:58:10,268 INFO L83 FinitePrefix]: Finished finitePrefix Result has 450 conditions, 353 events. 50/353 cut-off events. For 1/1 co-relation queries the response was YES. Maximal size of possible extension queue 18. Compared 1270 event pairs, 11 based on Foata normal form. 0/314 useless extension candidates. Maximal degree in co-relation 420. Up to 52 conditions per place. [2024-11-08 18:58:10,275 INFO L140 encePairwiseOnDemand]: 88/96 looper letters, 17 selfloop transitions, 6 changer transitions 0/100 dead transitions. [2024-11-08 18:58:10,276 INFO L145 encePairwiseOnDemand]: Finished differencePairwiseOnDemand. Result has 93 places, 100 transitions, 249 flow [2024-11-08 18:58:10,277 INFO L141 InterpolantAutomaton]: Switched to read-only mode: deterministic interpolant automaton has 3 states. [2024-11-08 18:58:10,281 INFO L82 GeneralOperation]: Start removeUnreachable. Operand 3 states. [2024-11-08 18:58:10,294 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 3 states to 3 states and 271 transitions. [2024-11-08 18:58:10,300 INFO L512 CegarLoopForPetriNet]: DFA transition density 0.9409722222222222 [2024-11-08 18:58:10,303 INFO L175 Difference]: Start difference. First operand has 91 places, 90 transitions, 183 flow. Second operand 3 states and 271 transitions. [2024-11-08 18:58:10,305 INFO L82 GeneralOperation]: Start removeRedundantFlow. Operand has 93 places, 100 transitions, 249 flow [2024-11-08 18:58:10,311 INFO L88 GeneralOperation]: Finished removeRedundantFlow, result has has 92 places, 100 transitions, 248 flow, removed 0 selfloop flow, removed 1 redundant places. [2024-11-08 18:58:10,320 INFO L231 Difference]: Finished difference. Result has 94 places, 96 transitions, 234 flow [2024-11-08 18:58:10,323 INFO L260 CegarLoopForPetriNet]: {PETRI_ALPHABET=96, PETRI_DIFFERENCE_MINUEND_FLOW=182, PETRI_DIFFERENCE_MINUEND_PLACES=90, PETRI_DIFFERENCE_MINUEND_TRANSITIONS=90, PETRI_DIFFERENCE_SUBTRAHEND_LETTERS_WITH_MORE_CHANGERS_THAN_LOOPERS=0, PETRI_DIFFERENCE_SUBTRAHEND_LOOPER_ONLY_LETTERS=84, PETRI_DIFFERENCE_SUBTRAHEND_STATES=3, PETRI_FLOW=234, PETRI_PLACES=94, PETRI_TRANSITIONS=96} [2024-11-08 18:58:10,329 INFO L277 CegarLoopForPetriNet]: 91 programPoint places, 3 predicate places. [2024-11-08 18:58:10,330 INFO L471 AbstractCegarLoop]: Abstraction has has 94 places, 96 transitions, 234 flow [2024-11-08 18:58:10,331 INFO L472 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) [2024-11-08 18:58:10,331 INFO L196 CegarLoopForPetriNet]: Found error trace [2024-11-08 18:58:10,332 INFO L204 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] [2024-11-08 18:58:10,332 WARN L453 AbstractCegarLoop]: Destroyed unattended storables created during the last iteration: SelfDestructingSolverStorable0 [2024-11-08 18:58:10,332 INFO L396 AbstractCegarLoop]: === Iteration 2 === Targeting t_funErr1ASSERT_VIOLATIONDATA_RACE === [ULTIMATE.startErr0ASSERT_VIOLATIONDATA_RACE, ULTIMATE.startErr1ASSERT_VIOLATIONDATA_RACE, ULTIMATE.startErr0INUSE_VIOLATIONSUFFICIENT_THREAD_INSTANCES (and 4 more)] === [2024-11-08 18:58:10,333 INFO L157 PredicateUnifier]: Initialized classic predicate unifier [2024-11-08 18:58:10,333 INFO L85 PathProgramCache]: Analyzing trace with hash -468227434, now seen corresponding path program 1 times [2024-11-08 18:58:10,334 INFO L118 FreeRefinementEngine]: Executing refinement strategy CAMEL [2024-11-08 18:58:10,334 INFO L334 FreeRefinementEngine]: Using trace check IpTcStrategyModuleSmtInterpolCraig [1433960171] [2024-11-08 18:58:10,334 INFO L95 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2024-11-08 18:58:10,334 INFO L127 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout -1 ms and remaining time -1 ms [2024-11-08 18:58:10,387 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2024-11-08 18:58:10,464 INFO L134 CoverageAnalysis]: Checked inductivity of 0 backedges. 0 proven. 0 refuted. 0 times theorem prover too weak. 0 trivial. 0 not checked. [2024-11-08 18:58:10,464 INFO L136 FreeRefinementEngine]: Strategy CAMEL found an infeasible trace [2024-11-08 18:58:10,465 INFO L334 FreeRefinementEngine]: Using interpolant generator IpTcStrategyModuleSmtInterpolCraig [1433960171] [2024-11-08 18:58:10,465 INFO L158 FreeRefinementEngine]: IpTcStrategyModuleSmtInterpolCraig [1433960171] provided 1 perfect and 0 imperfect interpolant sequences [2024-11-08 18:58:10,465 INFO L185 FreeRefinementEngine]: Found 1 perfect and 0 imperfect interpolant sequences. [2024-11-08 18:58:10,465 INFO L198 FreeRefinementEngine]: Number of different interpolants: perfect sequences [2] imperfect sequences [] total 2 [2024-11-08 18:58:10,466 INFO L121 tionRefinementEngine]: Using interpolant automaton builder IpAbStrategyModuleStraightlineAll [1586404888] [2024-11-08 18:58:10,466 INFO L85 oduleStraightlineAll]: Using 1 perfect interpolants to construct interpolant automaton [2024-11-08 18:58:10,467 INFO L548 AbstractCegarLoop]: INTERPOLANT automaton has 3 states [2024-11-08 18:58:10,468 INFO L100 FreeRefinementEngine]: Using predicate unifier PredicateUnifier provided by strategy CAMEL [2024-11-08 18:58:10,468 INFO L143 InterpolantAutomaton]: Constructing interpolant automaton starting with 3 interpolants. [2024-11-08 18:58:10,469 INFO L145 InterpolantAutomaton]: CoverageRelationStatistics Valid=3, Invalid=3, Unknown=0, NotChecked=0, Total=6 [2024-11-08 18:58:10,501 INFO L467 CegarLoopForPetriNet]: Number of universal loopers: 82 out of 96 [2024-11-08 18:58:10,502 INFO L103 encePairwiseOnDemand]: Start differencePairwiseOnDemand. First operand has 94 places, 96 transitions, 234 flow. Second operand has 3 states, 3 states have (on average 84.0) internal successors, (252), 3 states have internal predecessors, (252), 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) [2024-11-08 18:58:10,503 INFO L112 encePairwiseOnDemand]: Universal subtrahend loopers provided by user. [2024-11-08 18:58:10,503 INFO L113 encePairwiseOnDemand]: Number of universal subtrahend loopers: 82 of 96 [2024-11-08 18:58:10,503 INFO L73 FinitePrefix]: Start finitePrefix. Operand will be constructed on-demand [2024-11-08 18:58:10,668 INFO L124 PetriNetUnfolderBase]: 77/504 cut-off events. [2024-11-08 18:58:10,668 INFO L125 PetriNetUnfolderBase]: For 116/119 co-relation queries the response was YES. [2024-11-08 18:58:10,675 INFO L83 FinitePrefix]: Finished finitePrefix Result has 748 conditions, 504 events. 77/504 cut-off events. For 116/119 co-relation queries the response was YES. Maximal size of possible extension queue 20. Compared 2336 event pairs, 21 based on Foata normal form. 2/453 useless extension candidates. Maximal degree in co-relation 717. Up to 105 conditions per place. [2024-11-08 18:58:10,681 INFO L140 encePairwiseOnDemand]: 90/96 looper letters, 17 selfloop transitions, 7 changer transitions 0/103 dead transitions. [2024-11-08 18:58:10,682 INFO L145 encePairwiseOnDemand]: Finished differencePairwiseOnDemand. Result has 96 places, 103 transitions, 306 flow [2024-11-08 18:58:10,683 INFO L141 InterpolantAutomaton]: Switched to read-only mode: deterministic interpolant automaton has 3 states. [2024-11-08 18:58:10,683 INFO L82 GeneralOperation]: Start removeUnreachable. Operand 3 states. [2024-11-08 18:58:10,684 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 3 states to 3 states and 266 transitions. [2024-11-08 18:58:10,685 INFO L512 CegarLoopForPetriNet]: DFA transition density 0.9236111111111112 [2024-11-08 18:58:10,685 INFO L175 Difference]: Start difference. First operand has 94 places, 96 transitions, 234 flow. Second operand 3 states and 266 transitions. [2024-11-08 18:58:10,685 INFO L82 GeneralOperation]: Start removeRedundantFlow. Operand has 96 places, 103 transitions, 306 flow [2024-11-08 18:58:10,691 INFO L88 GeneralOperation]: Finished removeRedundantFlow, result has has 94 places, 103 transitions, 290 flow, removed 0 selfloop flow, removed 2 redundant places. [2024-11-08 18:58:10,694 INFO L231 Difference]: Finished difference. Result has 96 places, 101 transitions, 278 flow [2024-11-08 18:58:10,696 INFO L260 CegarLoopForPetriNet]: {PETRI_ALPHABET=96, PETRI_DIFFERENCE_MINUEND_FLOW=222, PETRI_DIFFERENCE_MINUEND_PLACES=92, PETRI_DIFFERENCE_MINUEND_TRANSITIONS=96, PETRI_DIFFERENCE_SUBTRAHEND_LETTERS_WITH_MORE_CHANGERS_THAN_LOOPERS=2, PETRI_DIFFERENCE_SUBTRAHEND_LOOPER_ONLY_LETTERS=89, PETRI_DIFFERENCE_SUBTRAHEND_STATES=3, PETRI_FLOW=278, PETRI_PLACES=96, PETRI_TRANSITIONS=101} [2024-11-08 18:58:10,699 INFO L277 CegarLoopForPetriNet]: 91 programPoint places, 5 predicate places. [2024-11-08 18:58:10,699 INFO L471 AbstractCegarLoop]: Abstraction has has 96 places, 101 transitions, 278 flow [2024-11-08 18:58:10,700 INFO L472 AbstractCegarLoop]: INTERPOLANT automaton has has 3 states, 3 states have (on average 84.0) internal successors, (252), 3 states have internal predecessors, (252), 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) [2024-11-08 18:58:10,700 INFO L196 CegarLoopForPetriNet]: Found error trace [2024-11-08 18:58:10,700 INFO L204 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, 1, 1, 1, 1, 1, 1, 1, 1, 1] [2024-11-08 18:58:10,701 WARN L453 AbstractCegarLoop]: Destroyed unattended storables created during the last iteration: SelfDestructingSolverStorable1 [2024-11-08 18:58:10,701 INFO L396 AbstractCegarLoop]: === Iteration 3 === Targeting ULTIMATE.startErr1ASSERT_VIOLATIONDATA_RACE === [ULTIMATE.startErr0ASSERT_VIOLATIONDATA_RACE, ULTIMATE.startErr1ASSERT_VIOLATIONDATA_RACE, ULTIMATE.startErr0INUSE_VIOLATIONSUFFICIENT_THREAD_INSTANCES (and 4 more)] === [2024-11-08 18:58:10,702 INFO L157 PredicateUnifier]: Initialized classic predicate unifier [2024-11-08 18:58:10,702 INFO L85 PathProgramCache]: Analyzing trace with hash -1803864599, now seen corresponding path program 1 times [2024-11-08 18:58:10,702 INFO L118 FreeRefinementEngine]: Executing refinement strategy CAMEL [2024-11-08 18:58:10,702 INFO L334 FreeRefinementEngine]: Using trace check IpTcStrategyModuleSmtInterpolCraig [816518644] [2024-11-08 18:58:10,703 INFO L95 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2024-11-08 18:58:10,726 INFO L127 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout -1 ms and remaining time -1 ms [2024-11-08 18:58:10,781 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2024-11-08 18:58:10,872 INFO L134 CoverageAnalysis]: Checked inductivity of 0 backedges. 0 proven. 0 refuted. 0 times theorem prover too weak. 0 trivial. 0 not checked. [2024-11-08 18:58:10,872 INFO L136 FreeRefinementEngine]: Strategy CAMEL found an infeasible trace [2024-11-08 18:58:10,872 INFO L334 FreeRefinementEngine]: Using interpolant generator IpTcStrategyModuleSmtInterpolCraig [816518644] [2024-11-08 18:58:10,872 INFO L158 FreeRefinementEngine]: IpTcStrategyModuleSmtInterpolCraig [816518644] provided 1 perfect and 0 imperfect interpolant sequences [2024-11-08 18:58:10,873 INFO L185 FreeRefinementEngine]: Found 1 perfect and 0 imperfect interpolant sequences. [2024-11-08 18:58:10,873 INFO L198 FreeRefinementEngine]: Number of different interpolants: perfect sequences [2] imperfect sequences [] total 2 [2024-11-08 18:58:10,873 INFO L121 tionRefinementEngine]: Using interpolant automaton builder IpAbStrategyModuleStraightlineAll [1900162649] [2024-11-08 18:58:10,873 INFO L85 oduleStraightlineAll]: Using 1 perfect interpolants to construct interpolant automaton [2024-11-08 18:58:10,874 INFO L548 AbstractCegarLoop]: INTERPOLANT automaton has 3 states [2024-11-08 18:58:10,874 INFO L100 FreeRefinementEngine]: Using predicate unifier PredicateUnifier provided by strategy CAMEL [2024-11-08 18:58:10,875 INFO L143 InterpolantAutomaton]: Constructing interpolant automaton starting with 3 interpolants. [2024-11-08 18:58:10,875 INFO L145 InterpolantAutomaton]: CoverageRelationStatistics Valid=3, Invalid=3, Unknown=0, NotChecked=0, Total=6 [2024-11-08 18:58:10,919 INFO L467 CegarLoopForPetriNet]: Number of universal loopers: 80 out of 96 [2024-11-08 18:58:10,920 INFO L103 encePairwiseOnDemand]: Start differencePairwiseOnDemand. First operand has 96 places, 101 transitions, 278 flow. Second operand has 3 states, 3 states have (on average 82.33333333333333) internal successors, (247), 3 states have internal predecessors, (247), 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) [2024-11-08 18:58:10,923 INFO L112 encePairwiseOnDemand]: Universal subtrahend loopers provided by user. [2024-11-08 18:58:10,923 INFO L113 encePairwiseOnDemand]: Number of universal subtrahend loopers: 80 of 96 [2024-11-08 18:58:10,923 INFO L73 FinitePrefix]: Start finitePrefix. Operand will be constructed on-demand [2024-11-08 18:58:11,091 INFO L124 PetriNetUnfolderBase]: 107/609 cut-off events. [2024-11-08 18:58:11,092 INFO L125 PetriNetUnfolderBase]: For 271/280 co-relation queries the response was YES. [2024-11-08 18:58:11,096 INFO L83 FinitePrefix]: Finished finitePrefix Result has 1018 conditions, 609 events. 107/609 cut-off events. For 271/280 co-relation queries the response was YES. Maximal size of possible extension queue 25. Compared 3024 event pairs, 29 based on Foata normal form. 4/560 useless extension candidates. Maximal degree in co-relation 986. Up to 151 conditions per place. [2024-11-08 18:58:11,100 INFO L140 encePairwiseOnDemand]: 90/96 looper letters, 19 selfloop transitions, 8 changer transitions 3/108 dead transitions. [2024-11-08 18:58:11,100 INFO L145 encePairwiseOnDemand]: Finished differencePairwiseOnDemand. Result has 98 places, 108 transitions, 364 flow [2024-11-08 18:58:11,101 INFO L141 InterpolantAutomaton]: Switched to read-only mode: deterministic interpolant automaton has 3 states. [2024-11-08 18:58:11,101 INFO L82 GeneralOperation]: Start removeUnreachable. Operand 3 states. [2024-11-08 18:58:11,102 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 3 states to 3 states and 262 transitions. [2024-11-08 18:58:11,103 INFO L512 CegarLoopForPetriNet]: DFA transition density 0.9097222222222222 [2024-11-08 18:58:11,103 INFO L175 Difference]: Start difference. First operand has 96 places, 101 transitions, 278 flow. Second operand 3 states and 262 transitions. [2024-11-08 18:58:11,103 INFO L82 GeneralOperation]: Start removeRedundantFlow. Operand has 98 places, 108 transitions, 364 flow [2024-11-08 18:58:11,110 INFO L88 GeneralOperation]: Finished removeRedundantFlow, result has has 96 places, 108 transitions, 346 flow, removed 0 selfloop flow, removed 2 redundant places. [2024-11-08 18:58:11,114 INFO L231 Difference]: Finished difference. Result has 98 places, 104 transitions, 318 flow [2024-11-08 18:58:11,117 INFO L260 CegarLoopForPetriNet]: {PETRI_ALPHABET=96, PETRI_DIFFERENCE_MINUEND_FLOW=264, PETRI_DIFFERENCE_MINUEND_PLACES=94, PETRI_DIFFERENCE_MINUEND_TRANSITIONS=101, PETRI_DIFFERENCE_SUBTRAHEND_LETTERS_WITH_MORE_CHANGERS_THAN_LOOPERS=3, PETRI_DIFFERENCE_SUBTRAHEND_LOOPER_ONLY_LETTERS=93, PETRI_DIFFERENCE_SUBTRAHEND_STATES=3, PETRI_FLOW=318, PETRI_PLACES=98, PETRI_TRANSITIONS=104} [2024-11-08 18:58:11,119 INFO L277 CegarLoopForPetriNet]: 91 programPoint places, 7 predicate places. [2024-11-08 18:58:11,119 INFO L471 AbstractCegarLoop]: Abstraction has has 98 places, 104 transitions, 318 flow [2024-11-08 18:58:11,119 INFO L472 AbstractCegarLoop]: INTERPOLANT automaton has has 3 states, 3 states have (on average 82.33333333333333) internal successors, (247), 3 states have internal predecessors, (247), 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) [2024-11-08 18:58:11,120 INFO L196 CegarLoopForPetriNet]: Found error trace [2024-11-08 18:58:11,120 INFO L204 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, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1] [2024-11-08 18:58:11,120 WARN L453 AbstractCegarLoop]: Destroyed unattended storables created during the last iteration: SelfDestructingSolverStorable2 [2024-11-08 18:58:11,121 INFO L396 AbstractCegarLoop]: === Iteration 4 === Targeting ULTIMATE.startErr0ASSERT_VIOLATIONDATA_RACE === [ULTIMATE.startErr0ASSERT_VIOLATIONDATA_RACE, ULTIMATE.startErr1ASSERT_VIOLATIONDATA_RACE, ULTIMATE.startErr0INUSE_VIOLATIONSUFFICIENT_THREAD_INSTANCES (and 4 more)] === [2024-11-08 18:58:11,122 INFO L157 PredicateUnifier]: Initialized classic predicate unifier [2024-11-08 18:58:11,122 INFO L85 PathProgramCache]: Analyzing trace with hash 2072653092, now seen corresponding path program 1 times [2024-11-08 18:58:11,124 INFO L118 FreeRefinementEngine]: Executing refinement strategy CAMEL [2024-11-08 18:58:11,124 INFO L334 FreeRefinementEngine]: Using trace check IpTcStrategyModuleSmtInterpolCraig [468329411] [2024-11-08 18:58:11,125 INFO L95 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2024-11-08 18:58:11,125 INFO L127 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout -1 ms and remaining time -1 ms [2024-11-08 18:58:11,193 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2024-11-08 18:58:11,193 INFO L356 TraceCheck]: Trace is feasible, we will do another trace check, this time with branch encoders. [2024-11-08 18:58:11,218 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2024-11-08 18:58:11,268 INFO L130 FreeRefinementEngine]: Strategy CAMEL found a feasible trace [2024-11-08 18:58:11,268 INFO L325 BasicCegarLoop]: Counterexample is feasible [2024-11-08 18:58:11,270 INFO L782 garLoopResultBuilder]: Registering result UNSAFE for location ULTIMATE.startErr0ASSERT_VIOLATIONDATA_RACE (6 of 7 remaining) [2024-11-08 18:58:11,275 INFO L782 garLoopResultBuilder]: Registering result UNKNOWN for location ULTIMATE.startErr1ASSERT_VIOLATIONDATA_RACE (5 of 7 remaining) [2024-11-08 18:58:11,276 INFO L782 garLoopResultBuilder]: Registering result UNKNOWN for location ULTIMATE.startErr0INUSE_VIOLATIONSUFFICIENT_THREAD_INSTANCES (4 of 7 remaining) [2024-11-08 18:58:11,278 INFO L782 garLoopResultBuilder]: Registering result UNKNOWN for location t_funErr0ASSERT_VIOLATIONDATA_RACE (3 of 7 remaining) [2024-11-08 18:58:11,279 INFO L782 garLoopResultBuilder]: Registering result UNKNOWN for location t_funErr1ASSERT_VIOLATIONDATA_RACE (2 of 7 remaining) [2024-11-08 18:58:11,280 INFO L782 garLoopResultBuilder]: Registering result UNKNOWN for location t_funErr0ASSERT_VIOLATIONDATA_RACE (1 of 7 remaining) [2024-11-08 18:58:11,280 INFO L782 garLoopResultBuilder]: Registering result UNKNOWN for location t_funErr1ASSERT_VIOLATIONDATA_RACE (0 of 7 remaining) [2024-11-08 18:58:11,281 WARN L453 AbstractCegarLoop]: Destroyed unattended storables created during the last iteration: SelfDestructingSolverStorable3 [2024-11-08 18:58:11,281 INFO L407 BasicCegarLoop]: Path program histogram: [1, 1, 1, 1] [2024-11-08 18:58:11,372 INFO L239 ceAbstractionStarter]: Analysis of concurrent program completed with 1 thread instances [2024-11-08 18:58:11,373 INFO L170 ceAbstractionStarter]: Computing trace abstraction results [2024-11-08 18:58:11,382 INFO L201 PluginConnector]: Adding new model de.uni_freiburg.informatik.ultimate.plugins.generator.traceabstraction CFG 08.11 06:58:11 BasicIcfg [2024-11-08 18:58:11,382 INFO L131 PluginConnector]: ------------------------ END TraceAbstraction---------------------------- [2024-11-08 18:58:11,383 INFO L112 PluginConnector]: ------------------------Witness Printer---------------------------- [2024-11-08 18:58:11,383 INFO L270 PluginConnector]: Initializing Witness Printer... [2024-11-08 18:58:11,383 INFO L274 PluginConnector]: Witness Printer initialized [2024-11-08 18:58:11,384 INFO L184 PluginConnector]: Executing the observer RCFGCatcher from plugin Witness Printer for "de.uni_freiburg.informatik.ultimate.plugins.generator.rcfgbuilder CFG 08.11 06:58:09" (3/4) ... [2024-11-08 18:58:11,386 INFO L136 WitnessPrinter]: Generating witness for reachability counterexample [2024-11-08 18:58:11,451 INFO L149 WitnessManager]: Wrote witness to /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_f89ec80f-4c16-4c2b-a922-590d68264823/bin/uautomizer-verify-jihMAELWvX/witness.graphml [2024-11-08 18:58:11,451 INFO L131 PluginConnector]: ------------------------ END Witness Printer---------------------------- [2024-11-08 18:58:11,452 INFO L158 Benchmark]: Toolchain (without parser) took 3741.93ms. Allocated memory is still 163.6MB. Free memory was 133.4MB in the beginning and 84.6MB in the end (delta: 48.8MB). Peak memory consumption was 49.3MB. Max. memory is 16.1GB. [2024-11-08 18:58:11,452 INFO L158 Benchmark]: CDTParser took 0.24ms. Allocated memory is still 109.1MB. Free memory is still 56.8MB. There was no memory consumed. Max. memory is 16.1GB. [2024-11-08 18:58:11,453 INFO L158 Benchmark]: CACSL2BoogieTranslator took 805.32ms. Allocated memory is still 163.6MB. Free memory was 132.9MB in the beginning and 110.8MB in the end (delta: 22.0MB). Peak memory consumption was 21.0MB. Max. memory is 16.1GB. [2024-11-08 18:58:11,454 INFO L158 Benchmark]: Boogie Procedure Inliner took 66.20ms. Allocated memory is still 163.6MB. Free memory was 110.8MB in the beginning and 108.7MB in the end (delta: 2.1MB). There was no memory consumed. Max. memory is 16.1GB. [2024-11-08 18:58:11,454 INFO L158 Benchmark]: Boogie Preprocessor took 53.60ms. Allocated memory is still 163.6MB. Free memory was 108.7MB in the beginning and 107.2MB in the end (delta: 1.5MB). Peak memory consumption was 4.2MB. Max. memory is 16.1GB. [2024-11-08 18:58:11,455 INFO L158 Benchmark]: RCFGBuilder took 623.02ms. Allocated memory is still 163.6MB. Free memory was 107.2MB in the beginning and 92.1MB in the end (delta: 15.2MB). Peak memory consumption was 14.7MB. Max. memory is 16.1GB. [2024-11-08 18:58:11,455 INFO L158 Benchmark]: TraceAbstraction took 2117.54ms. Allocated memory is still 163.6MB. Free memory was 91.4MB in the beginning and 89.8MB in the end (delta: 1.6MB). Peak memory consumption was 3.1MB. Max. memory is 16.1GB. [2024-11-08 18:58:11,456 INFO L158 Benchmark]: Witness Printer took 67.97ms. Allocated memory is still 163.6MB. Free memory was 89.8MB in the beginning and 84.6MB in the end (delta: 5.2MB). Peak memory consumption was 4.2MB. Max. memory is 16.1GB. [2024-11-08 18:58:11,459 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.24ms. Allocated memory is still 109.1MB. Free memory is still 56.8MB. There was no memory consumed. Max. memory is 16.1GB. * CACSL2BoogieTranslator took 805.32ms. Allocated memory is still 163.6MB. Free memory was 132.9MB in the beginning and 110.8MB in the end (delta: 22.0MB). Peak memory consumption was 21.0MB. Max. memory is 16.1GB. * Boogie Procedure Inliner took 66.20ms. Allocated memory is still 163.6MB. Free memory was 110.8MB in the beginning and 108.7MB in the end (delta: 2.1MB). There was no memory consumed. Max. memory is 16.1GB. * Boogie Preprocessor took 53.60ms. Allocated memory is still 163.6MB. Free memory was 108.7MB in the beginning and 107.2MB in the end (delta: 1.5MB). Peak memory consumption was 4.2MB. Max. memory is 16.1GB. * RCFGBuilder took 623.02ms. Allocated memory is still 163.6MB. Free memory was 107.2MB in the beginning and 92.1MB in the end (delta: 15.2MB). Peak memory consumption was 14.7MB. Max. memory is 16.1GB. * TraceAbstraction took 2117.54ms. Allocated memory is still 163.6MB. Free memory was 91.4MB in the beginning and 89.8MB in the end (delta: 1.6MB). Peak memory consumption was 3.1MB. Max. memory is 16.1GB. * Witness Printer took 67.97ms. Allocated memory is still 163.6MB. Free memory was 89.8MB in the beginning and 84.6MB in the end (delta: 5.2MB). Peak memory consumption was 4.2MB. Max. memory is 16.1GB. * Results from de.uni_freiburg.informatik.ultimate.plugins.generator.traceabstraction: - DataRaceFoundResult [Line: 697]: Data race detected Data race detected The following path leads to a data race: [L686] 0 int glob; VAL [glob=0] [L687] 0 pthread_mutex_t mutex1 = { { 0, 0, 0, 0, 0, { { 0, 0 } } } }; VAL [glob=0, mutex1={1:0}] [L688] 0 pthread_mutex_t mutex2 = { { 0, 0, 0, 0, 0, { { 0, 0 } } } }; VAL [glob=0, mutex1={1:0}, mutex2={2:0}] [L702] 0 pthread_t id; VAL [glob=0, mutex1={1:0}, mutex2={2:0}] [L703] FCALL, FORK 0 pthread_create(&id, ((void *)0), t_fun, ((void *)0)) VAL [\old(arg)={0:0}, glob=0, id=-1, mutex1={1:0}, mutex2={2:0}] [L704] CALL 0 foo(bar) [L681] 0 int i = 0; VAL [\old(arg)={0:0}, \old(callback)={-1:1}, arg={0:0}, callback={-1:1}, glob=0, i=0, mutex1={1:0}, mutex2={2:0}] [L681] COND FALSE 0 !(i < 10) VAL [\old(arg)={0:0}, \old(callback)={-1:1}, arg={0:0}, callback={-1:1}, glob=0, i=0, mutex1={1:0}, mutex2={2:0}] [L681] COND TRUE 0 i < 10 VAL [\old(arg)={0:0}, \old(callback)={-1:1}, arg={0:0}, callback={-1:1}, glob=0, i=0, mutex1={1:0}, mutex2={2:0}] [L682] COND TRUE 0 __VERIFIER_nondet_int() VAL [\old(arg)={0:0}, \old(callback)={-1:1}, arg={0:0}, callback={-1:1}, glob=0, i=0, mutex1={1:0}, mutex2={2:0}] [L683] CALL 0 callback() [L691] EXPR 1 glob+1 VAL [\old(arg)={0:0}, arg={0:0}, glob=0, mutex1={1:0}, mutex2={2:0}] [L697] 0 glob+1 VAL [\old(arg)={0:0}, arg={0:0}, glob=0, mutex1={1:0}, mutex2={2:0}] [L691] EXPR 1 glob+1 VAL [\old(arg)={0:0}, arg={0:0}, glob=0, mutex1={1:0}, mutex2={2:0}] [L691] 1 glob=glob+1 VAL [\old(arg)={0:0}, arg={0:0}, glob=1, mutex1={1:0}, mutex2={2:0}] [L697] 0 glob+1 VAL [\old(arg)={0:0}, arg={0:0}, glob=1, mutex1={1:0}, mutex2={2:0}] Now there is a data race on ~glob~0 between C: glob=glob+1 [691] and C: glob+1 [697] - UnprovableResult [Line: 697]: Unable to prove that there are no data races Unable to prove that there are no data races Reason: Not analyzed. - UnprovableResult [Line: 703]: Unable to prove that petrification did provide enough thread instances (tool internal message) Unable to prove that petrification did provide enough thread instances (tool internal message) Reason: Not analyzed. - UnprovableResult [Line: 691]: Unable to prove that there are no data races Unable to prove that there are no data races Reason: Not analyzed. - UnprovableResult [Line: 691]: 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, 112 locations, 7 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.8s, OverallIterations: 4, TraceHistogramMax: 1, PathProgramHistogramMax: 1, EmptinessCheckTime: 0.0s, AutomataDifference: 0.7s, DeadEndRemovalTime: 0.0s, HoareAnnotationTime: 0.0s, InitialAbstractionConstructionTime: 0.1s, HoareTripleCheckerStatistics: 0 mSolverCounterUnknown, 87 SdHoareTripleChecker+Valid, 0.2s IncrementalHoareTripleChecker+Time, 0 mSdLazyCounter, 29 mSDsluCounter, 6 SdHoareTripleChecker+Invalid, 0.1s Time, 0 mProtectedAction, 0 SdHoareTripleChecker+Unchecked, 0 IncrementalHoareTripleChecker+Unchecked, 0 mSDsCounter, 7 IncrementalHoareTripleChecker+Valid, 0 mProtectedPredicate, 92 IncrementalHoareTripleChecker+Invalid, 99 SdHoareTripleChecker+Unknown, 0 mSolverCounterNotChecked, 7 mSolverCounterUnsat, 6 mSDtfsCounter, 92 mSolverCounterSat, 0.0s SdHoareTripleChecker+Time, 0 IncrementalHoareTripleChecker+Unknown, PredicateUnifierStatistics: 0 DeclaredPredicates, 6 GetRequests, 3 SyntacticMatches, 0 SemanticMatches, 3 ConstructedPredicates, 0 IntricatePredicates, 0 DeprecatedPredicates, 0 ImplicationChecksByTransitivity, 0.0s Time, 0.0s BasicInterpolantAutomatonTime, BiggestAbstraction: size=318occurred in iteration=3, InterpolantAutomatonStates: 9, 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.3s InterpolantComputationTime, 164 NumberOfCodeBlocks, 164 NumberOfCodeBlocksAsserted, 4 NumberOfCheckSat, 108 ConstructedInterpolants, 0 QuantifiedInterpolants, 114 SizeOfPredicates, 0 NumberOfNonLiveVariables, 0 ConjunctsInSsa, 0 ConjunctsInUnsatCore, 3 InterpolantComputations, 3 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! [2024-11-08 18:58:11,505 INFO L540 MonitoredProcess]: [MP /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_f89ec80f-4c16-4c2b-a922-590d68264823/bin/uautomizer-verify-jihMAELWvX/z3 SMTLIB2_COMPLIANT=true -memory:2024 -smt2 -in -t:4000 (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