./Ultimate.py --spec /storage/repos/ultimate/releaseScripts/default/sv-benchmarks/c/properties/unreach-call.prp --file /storage/repos/ultimate/releaseScripts/default/sv-benchmarks/c/pthread-atomic/dekker.i --full-output --architecture 32bit -------------------------------------------------------------------------------- Checking for ERROR reachability Using default analysis Version 61a67961 Calling Ultimate with: /root/.sdkman/candidates/java/current/bin/java -Dosgi.configuration.area=/storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/data/config -Xmx15G -Xms4m -jar /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/plugins/org.eclipse.equinox.launcher_1.5.800.v20200727-1323.jar -data @noDefault -ultimatedata /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/data -tc /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/config/AutomizerReach.xml -i /storage/repos/ultimate/releaseScripts/default/sv-benchmarks/c/pthread-atomic/dekker.i -s /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/config/svcomp-Reach-32bit-Automizer_Default.epf --cacsl2boogietranslator.entry.function main --witnessprinter.witness.directory /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux --witnessprinter.witness.filename witness --witnessprinter.write.witness.besides.input.file false --witnessprinter.graph.data.specification CHECK( init(main()), LTL(G ! call(reach_error())) ) --witnessprinter.graph.data.producer Automizer --witnessprinter.graph.data.architecture 32bit --witnessprinter.graph.data.programhash 1b6ef65da122b5f043dc58aac5c98a5417eca7613b00ec724ef2626b8a50d79f --- Real Ultimate output --- This is Ultimate 0.2.5-wip.fs.cvc5-61a6796-m [2024-10-14 14:17:59,598 INFO L188 SettingsManager]: Resetting all preferences to default values... [2024-10-14 14:17:59,696 INFO L114 SettingsManager]: Loading settings from /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/config/svcomp-Reach-32bit-Automizer_Default.epf [2024-10-14 14:17:59,704 WARN L101 SettingsManager]: Preference file contains the following unknown settings: [2024-10-14 14:17:59,705 WARN L103 SettingsManager]: * de.uni_freiburg.informatik.ultimate.core.Log level for class [2024-10-14 14:17:59,737 INFO L130 SettingsManager]: Preferences different from defaults after loading the file: [2024-10-14 14:17:59,738 INFO L151 SettingsManager]: Preferences of UltimateCore differ from their defaults: [2024-10-14 14:17:59,739 INFO L153 SettingsManager]: * Log level for class=de.uni_freiburg.informatik.ultimate.lib.smtlibutils.quantifier.QuantifierPusher=ERROR; [2024-10-14 14:17:59,739 INFO L151 SettingsManager]: Preferences of Boogie Preprocessor differ from their defaults: [2024-10-14 14:17:59,743 INFO L153 SettingsManager]: * Use memory slicer=true [2024-10-14 14:17:59,744 INFO L151 SettingsManager]: Preferences of Boogie Procedure Inliner differ from their defaults: [2024-10-14 14:17:59,744 INFO L153 SettingsManager]: * Ignore calls to procedures called more than once=ONLY_FOR_SEQUENTIAL_PROGRAMS [2024-10-14 14:17:59,744 INFO L151 SettingsManager]: Preferences of BlockEncodingV2 differ from their defaults: [2024-10-14 14:17:59,745 INFO L153 SettingsManager]: * Create parallel compositions if possible=false [2024-10-14 14:17:59,745 INFO L153 SettingsManager]: * Use SBE=true [2024-10-14 14:17:59,745 INFO L151 SettingsManager]: Preferences of CACSL2BoogieTranslator differ from their defaults: [2024-10-14 14:17:59,745 INFO L153 SettingsManager]: * Pointer base address is valid at dereference=IGNORE [2024-10-14 14:17:59,746 INFO L153 SettingsManager]: * sizeof long=4 [2024-10-14 14:17:59,746 INFO L153 SettingsManager]: * Overapproximate operations on floating types=true [2024-10-14 14:17:59,746 INFO L153 SettingsManager]: * sizeof POINTER=4 [2024-10-14 14:17:59,746 INFO L153 SettingsManager]: * Check division by zero=IGNORE [2024-10-14 14:17:59,747 INFO L153 SettingsManager]: * Pointer to allocated memory at dereference=IGNORE [2024-10-14 14:17:59,747 INFO L153 SettingsManager]: * If two pointers are subtracted or compared they have the same base address=IGNORE [2024-10-14 14:17:59,748 INFO L153 SettingsManager]: * Check array bounds for arrays that are off heap=IGNORE [2024-10-14 14:17:59,748 INFO L153 SettingsManager]: * Allow undefined functions=false [2024-10-14 14:17:59,748 INFO L153 SettingsManager]: * sizeof long double=12 [2024-10-14 14:17:59,748 INFO L153 SettingsManager]: * Check if freed pointer was valid=false [2024-10-14 14:17:59,749 INFO L153 SettingsManager]: * Use constant arrays=true [2024-10-14 14:17:59,749 INFO L151 SettingsManager]: Preferences of RCFGBuilder differ from their defaults: [2024-10-14 14:17:59,749 INFO L153 SettingsManager]: * Size of a code block=SequenceOfStatements [2024-10-14 14:17:59,750 INFO L153 SettingsManager]: * Only consider context switches at boundaries of atomic blocks=true [2024-10-14 14:17:59,750 INFO L153 SettingsManager]: * SMT solver=External_DefaultMode [2024-10-14 14:17:59,750 INFO L153 SettingsManager]: * Command for external solver=z3 SMTLIB2_COMPLIANT=true -memory:2024 -smt2 -in -t:4000 [2024-10-14 14:17:59,750 INFO L151 SettingsManager]: Preferences of TraceAbstraction differ from their defaults: [2024-10-14 14:17:59,750 INFO L153 SettingsManager]: * Compute Interpolants along a Counterexample=FPandBP [2024-10-14 14:17:59,751 INFO L153 SettingsManager]: * Positions where we compute the Hoare Annotation=LoopHeads [2024-10-14 14:17:59,751 INFO L153 SettingsManager]: * Trace refinement strategy=CAMEL [2024-10-14 14:17:59,752 INFO L153 SettingsManager]: * Command for external solver=z3 SMTLIB2_COMPLIANT=true -memory:2024 -smt2 -in [2024-10-14 14:17:59,752 INFO L153 SettingsManager]: * Apply one-shot large block encoding in concurrent analysis=false [2024-10-14 14:17:59,753 INFO L153 SettingsManager]: * Automaton type used in concurrency analysis=PETRI_NET [2024-10-14 14:17:59,753 INFO L153 SettingsManager]: * Order on configurations for Petri net unfoldings=DBO [2024-10-14 14:17:59,753 INFO L153 SettingsManager]: * SMT solver=External_ModelsAndUnsatCoreMode [2024-10-14 14:17:59,753 INFO L153 SettingsManager]: * Looper check in Petri net analysis=SEMANTIC WARNING: An illegal reflective access operation has occurred WARNING: Illegal reflective access by com.sun.xml.bind.v2.runtime.reflect.opt.Injector$1 (file:/storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/plugins/com.sun.xml.bind_2.2.0.v201505121915.jar) to method java.lang.ClassLoader.defineClass(java.lang.String,byte[],int,int) WARNING: Please consider reporting this to the maintainers of com.sun.xml.bind.v2.runtime.reflect.opt.Injector$1 WARNING: Use --illegal-access=warn to enable warnings of further illegal reflective access operations WARNING: All illegal access operations will be denied in a future release Applying setting for plugin de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator: Entry function -> main Applying setting for plugin de.uni_freiburg.informatik.ultimate.witnessprinter: Witness directory -> /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux Applying setting for plugin de.uni_freiburg.informatik.ultimate.witnessprinter: Witness filename -> witness Applying setting for plugin de.uni_freiburg.informatik.ultimate.witnessprinter: Write witness besides input file -> false Applying setting for plugin de.uni_freiburg.informatik.ultimate.witnessprinter: Graph data specification -> CHECK( init(main()), LTL(G ! call(reach_error())) ) Applying setting for plugin de.uni_freiburg.informatik.ultimate.witnessprinter: Graph data producer -> Automizer Applying setting for plugin de.uni_freiburg.informatik.ultimate.witnessprinter: Graph data architecture -> 32bit Applying setting for plugin de.uni_freiburg.informatik.ultimate.witnessprinter: Graph data programhash -> 1b6ef65da122b5f043dc58aac5c98a5417eca7613b00ec724ef2626b8a50d79f [2024-10-14 14:18:00,028 INFO L75 nceAwareModelManager]: Repository-Root is: /tmp [2024-10-14 14:18:00,053 INFO L261 ainManager$Toolchain]: [Toolchain 1]: Applicable parser(s) successfully (re)initialized [2024-10-14 14:18:00,057 INFO L217 ainManager$Toolchain]: [Toolchain 1]: Toolchain selected. [2024-10-14 14:18:00,058 INFO L270 PluginConnector]: Initializing CDTParser... [2024-10-14 14:18:00,059 INFO L274 PluginConnector]: CDTParser initialized [2024-10-14 14:18:00,060 INFO L431 ainManager$Toolchain]: [Toolchain 1]: Parsing single file: /storage/repos/ultimate/releaseScripts/default/sv-benchmarks/c/pthread-atomic/dekker.i [2024-10-14 14:18:01,457 INFO L533 CDTParser]: Created temporary CDT project at NULL [2024-10-14 14:18:01,674 INFO L384 CDTParser]: Found 1 translation units. [2024-10-14 14:18:01,674 INFO L180 CDTParser]: Scanning /storage/repos/ultimate/releaseScripts/default/sv-benchmarks/c/pthread-atomic/dekker.i [2024-10-14 14:18:01,687 INFO L427 CDTParser]: About to delete temporary CDT project at /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/data/e8c859508/1070b1ffbf804fa68f079cce8930b903/FLAG883b19d0d [2024-10-14 14:18:02,037 INFO L435 CDTParser]: Successfully deleted /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/data/e8c859508/1070b1ffbf804fa68f079cce8930b903 [2024-10-14 14:18:02,039 INFO L299 ainManager$Toolchain]: ####################### [Toolchain 1] ####################### [2024-10-14 14:18:02,040 INFO L133 ToolchainWalker]: Walking toolchain with 6 elements. [2024-10-14 14:18:02,042 INFO L112 PluginConnector]: ------------------------CACSL2BoogieTranslator---------------------------- [2024-10-14 14:18:02,042 INFO L270 PluginConnector]: Initializing CACSL2BoogieTranslator... [2024-10-14 14:18:02,047 INFO L274 PluginConnector]: CACSL2BoogieTranslator initialized [2024-10-14 14:18:02,048 INFO L184 PluginConnector]: Executing the observer ACSLObjectContainerObserver from plugin CACSL2BoogieTranslator for "CDTParser AST 14.10 02:18:02" (1/1) ... [2024-10-14 14:18:02,049 INFO L204 PluginConnector]: Invalid model from CACSL2BoogieTranslator for observer de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator.ACSLObjectContainerObserver@135dd7f8 and model type de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 14.10 02:18:02, skipping insertion in model container [2024-10-14 14:18:02,051 INFO L184 PluginConnector]: Executing the observer CACSL2BoogieTranslatorObserver from plugin CACSL2BoogieTranslator for "CDTParser AST 14.10 02:18:02" (1/1) ... [2024-10-14 14:18:02,092 INFO L175 MainTranslator]: Built tables and reachable declarations [2024-10-14 14:18:02,423 WARN L248 ndardFunctionHandler]: Function reach_error is already implemented but we override the implementation for the call at /storage/repos/ultimate/releaseScripts/default/sv-benchmarks/c/pthread-atomic/dekker.i[31403,31416] [2024-10-14 14:18:02,435 WARN L248 ndardFunctionHandler]: Function reach_error is already implemented but we override the implementation for the call at /storage/repos/ultimate/releaseScripts/default/sv-benchmarks/c/pthread-atomic/dekker.i[32483,32496] [2024-10-14 14:18:02,443 INFO L210 PostProcessor]: Analyzing one entry point: main [2024-10-14 14:18:02,456 INFO L200 MainTranslator]: Completed pre-run [2024-10-14 14:18:02,492 WARN L248 ndardFunctionHandler]: Function reach_error is already implemented but we override the implementation for the call at /storage/repos/ultimate/releaseScripts/default/sv-benchmarks/c/pthread-atomic/dekker.i[31403,31416] [2024-10-14 14:18:02,499 WARN L248 ndardFunctionHandler]: Function reach_error is already implemented but we override the implementation for the call at /storage/repos/ultimate/releaseScripts/default/sv-benchmarks/c/pthread-atomic/dekker.i[32483,32496] [2024-10-14 14:18:02,502 INFO L210 PostProcessor]: Analyzing one entry point: main [2024-10-14 14:18:02,540 INFO L204 MainTranslator]: Completed translation [2024-10-14 14:18:02,540 INFO L201 PluginConnector]: Adding new model de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 14.10 02:18:02 WrapperNode [2024-10-14 14:18:02,540 INFO L131 PluginConnector]: ------------------------ END CACSL2BoogieTranslator---------------------------- [2024-10-14 14:18:02,542 INFO L112 PluginConnector]: ------------------------Boogie Procedure Inliner---------------------------- [2024-10-14 14:18:02,542 INFO L270 PluginConnector]: Initializing Boogie Procedure Inliner... [2024-10-14 14:18:02,542 INFO L274 PluginConnector]: Boogie Procedure Inliner initialized [2024-10-14 14:18:02,549 INFO L184 PluginConnector]: Executing the observer TypeChecker from plugin Boogie Procedure Inliner for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 14.10 02:18:02" (1/1) ... [2024-10-14 14:18:02,565 INFO L184 PluginConnector]: Executing the observer Inliner from plugin Boogie Procedure Inliner for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 14.10 02:18:02" (1/1) ... [2024-10-14 14:18:02,586 INFO L138 Inliner]: procedures = 170, calls = 49, calls flagged for inlining = 3, calls inlined = 3, statements flattened = 34 [2024-10-14 14:18:02,586 INFO L131 PluginConnector]: ------------------------ END Boogie Procedure Inliner---------------------------- [2024-10-14 14:18:02,587 INFO L112 PluginConnector]: ------------------------Boogie Preprocessor---------------------------- [2024-10-14 14:18:02,587 INFO L270 PluginConnector]: Initializing Boogie Preprocessor... [2024-10-14 14:18:02,587 INFO L274 PluginConnector]: Boogie Preprocessor initialized [2024-10-14 14:18:02,596 INFO L184 PluginConnector]: Executing the observer EnsureBoogieModelObserver from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 14.10 02:18:02" (1/1) ... [2024-10-14 14:18:02,596 INFO L184 PluginConnector]: Executing the observer TypeChecker from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 14.10 02:18:02" (1/1) ... [2024-10-14 14:18:02,599 INFO L184 PluginConnector]: Executing the observer MemorySlicer from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 14.10 02:18:02" (1/1) ... [2024-10-14 14:18:02,619 INFO L175 MemorySlicer]: Split 2 memory accesses to 1 slices as follows [2]. 100 percent of accesses are in the largest equivalence class. The 2 initializations are split as follows [2]. The 0 writes are split as follows [0]. [2024-10-14 14:18:02,619 INFO L184 PluginConnector]: Executing the observer ConstExpander from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 14.10 02:18:02" (1/1) ... [2024-10-14 14:18:02,619 INFO L184 PluginConnector]: Executing the observer StructExpander from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 14.10 02:18:02" (1/1) ... [2024-10-14 14:18:02,627 INFO L184 PluginConnector]: Executing the observer UnstructureCode from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 14.10 02:18:02" (1/1) ... [2024-10-14 14:18:02,631 INFO L184 PluginConnector]: Executing the observer FunctionInliner from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 14.10 02:18:02" (1/1) ... [2024-10-14 14:18:02,632 INFO L184 PluginConnector]: Executing the observer LTLStepAnnotator from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 14.10 02:18:02" (1/1) ... [2024-10-14 14:18:02,633 INFO L184 PluginConnector]: Executing the observer BoogieSymbolTableConstructor from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 14.10 02:18:02" (1/1) ... [2024-10-14 14:18:02,636 INFO L131 PluginConnector]: ------------------------ END Boogie Preprocessor---------------------------- [2024-10-14 14:18:02,637 INFO L112 PluginConnector]: ------------------------RCFGBuilder---------------------------- [2024-10-14 14:18:02,637 INFO L270 PluginConnector]: Initializing RCFGBuilder... [2024-10-14 14:18:02,637 INFO L274 PluginConnector]: RCFGBuilder initialized [2024-10-14 14:18:02,638 INFO L184 PluginConnector]: Executing the observer RCFGBuilderObserver from plugin RCFGBuilder for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 14.10 02:18:02" (1/1) ... [2024-10-14 14:18:02,646 INFO L173 SolverBuilder]: Constructing external solver with command: z3 SMTLIB2_COMPLIANT=true -memory:2024 -smt2 -in -t:4000 [2024-10-14 14:18:02,657 INFO L189 MonitoredProcess]: No working directory specified, using /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/z3 [2024-10-14 14:18:02,673 INFO L229 MonitoredProcess]: Starting monitored process 1 with /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/z3 SMTLIB2_COMPLIANT=true -memory:2024 -smt2 -in -t:4000 (exit command is (exit), workingDir is null) [2024-10-14 14:18:02,675 INFO L327 MonitoredProcess]: [MP /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/z3 SMTLIB2_COMPLIANT=true -memory:2024 -smt2 -in -t:4000 (1)] Waiting until timeout for monitored process [2024-10-14 14:18:02,716 INFO L130 BoogieDeclarations]: Found specification of procedure thr2 [2024-10-14 14:18:02,716 INFO L138 BoogieDeclarations]: Found implementation of procedure thr2 [2024-10-14 14:18:02,716 INFO L130 BoogieDeclarations]: Found specification of procedure thr1 [2024-10-14 14:18:02,717 INFO L138 BoogieDeclarations]: Found implementation of procedure thr1 [2024-10-14 14:18:02,717 INFO L130 BoogieDeclarations]: Found specification of procedure __VERIFIER_atomic_begin [2024-10-14 14:18:02,717 INFO L130 BoogieDeclarations]: Found specification of procedure #Ultimate.allocInit [2024-10-14 14:18:02,717 INFO L130 BoogieDeclarations]: Found specification of procedure write~init~int#0 [2024-10-14 14:18:02,717 INFO L130 BoogieDeclarations]: Found specification of procedure __VERIFIER_atomic_end [2024-10-14 14:18:02,717 INFO L130 BoogieDeclarations]: Found specification of procedure ULTIMATE.start [2024-10-14 14:18:02,717 INFO L138 BoogieDeclarations]: Found implementation of procedure ULTIMATE.start [2024-10-14 14:18:02,719 WARN L207 CfgBuilder]: User set CodeBlockSize to SequenceOfStatements but program contains fork statements. Overwriting the user preferences and setting CodeBlockSize to OneNontrivialStatement. [2024-10-14 14:18:02,823 INFO L238 CfgBuilder]: Building ICFG [2024-10-14 14:18:02,825 INFO L264 CfgBuilder]: Building CFG for each procedure with an implementation [2024-10-14 14:18:03,001 INFO L283 CfgBuilder]: Omitted future-live optimization because the input is a concurrent program. [2024-10-14 14:18:03,001 INFO L287 CfgBuilder]: Performing block encoding [2024-10-14 14:18:03,084 INFO L309 CfgBuilder]: Using the 1 location(s) as analysis (start of procedure ULTIMATE.start) [2024-10-14 14:18:03,085 INFO L314 CfgBuilder]: Removed 4 assume(true) statements. [2024-10-14 14:18:03,085 INFO L201 PluginConnector]: Adding new model de.uni_freiburg.informatik.ultimate.plugins.generator.rcfgbuilder CFG 14.10 02:18:03 BoogieIcfgContainer [2024-10-14 14:18:03,085 INFO L131 PluginConnector]: ------------------------ END RCFGBuilder---------------------------- [2024-10-14 14:18:03,087 INFO L112 PluginConnector]: ------------------------TraceAbstraction---------------------------- [2024-10-14 14:18:03,087 INFO L270 PluginConnector]: Initializing TraceAbstraction... [2024-10-14 14:18:03,091 INFO L274 PluginConnector]: TraceAbstraction initialized [2024-10-14 14:18:03,091 INFO L184 PluginConnector]: Executing the observer TraceAbstractionObserver from plugin TraceAbstraction for "CDTParser AST 14.10 02:18:02" (1/3) ... [2024-10-14 14:18:03,092 INFO L204 PluginConnector]: Invalid model from TraceAbstraction for observer de.uni_freiburg.informatik.ultimate.plugins.generator.traceabstraction.TraceAbstractionObserver@6074abf4 and model type de.uni_freiburg.informatik.ultimate.plugins.generator.traceabstraction AST 14.10 02:18:03, skipping insertion in model container [2024-10-14 14:18:03,092 INFO L184 PluginConnector]: Executing the observer TraceAbstractionObserver from plugin TraceAbstraction for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 14.10 02:18:02" (2/3) ... [2024-10-14 14:18:03,092 INFO L204 PluginConnector]: Invalid model from TraceAbstraction for observer de.uni_freiburg.informatik.ultimate.plugins.generator.traceabstraction.TraceAbstractionObserver@6074abf4 and model type de.uni_freiburg.informatik.ultimate.plugins.generator.traceabstraction AST 14.10 02:18:03, skipping insertion in model container [2024-10-14 14:18:03,092 INFO L184 PluginConnector]: Executing the observer TraceAbstractionObserver from plugin TraceAbstraction for "de.uni_freiburg.informatik.ultimate.plugins.generator.rcfgbuilder CFG 14.10 02:18:03" (3/3) ... [2024-10-14 14:18:03,096 INFO L112 eAbstractionObserver]: Analyzing ICFG dekker.i [2024-10-14 14:18:03,111 INFO L209 ceAbstractionStarter]: Automizer settings: Hoare:LoopHeads NWA Interpolation:FPandBP Determinization: PREDICATE_ABSTRACTION [2024-10-14 14:18:03,111 INFO L149 ceAbstractionStarter]: Applying trace abstraction to program that has 2 error locations. [2024-10-14 14:18:03,111 INFO L484 ceAbstractionStarter]: Constructing petrified ICFG for 1 thread instances. [2024-10-14 14:18:03,170 INFO L143 ThreadInstanceAdder]: Constructed 2 joinOtherThreadTransitions. [2024-10-14 14:18:03,200 INFO L73 FinitePrefix]: Start finitePrefix. Operand has 55 places, 56 transitions, 126 flow [2024-10-14 14:18:03,226 INFO L124 PetriNetUnfolderBase]: 8/54 cut-off events. [2024-10-14 14:18:03,227 INFO L125 PetriNetUnfolderBase]: For 2/2 co-relation queries the response was YES. [2024-10-14 14:18:03,232 INFO L83 FinitePrefix]: Finished finitePrefix Result has 63 conditions, 54 events. 8/54 cut-off events. For 2/2 co-relation queries the response was YES. Maximal size of possible extension queue 7. Compared 139 event pairs, 0 based on Foata normal form. 0/44 useless extension candidates. Maximal degree in co-relation 51. Up to 2 conditions per place. [2024-10-14 14:18:03,233 INFO L82 GeneralOperation]: Start removeDead. Operand has 55 places, 56 transitions, 126 flow [2024-10-14 14:18:03,237 INFO L88 GeneralOperation]: Finished RemoveDead, result has has 51 places, 52 transitions, 113 flow [2024-10-14 14:18:03,250 INFO L332 AbstractCegarLoop]: ======== Iteration 0 == of CEGAR loop == AllErrorsAtOnce ======== [2024-10-14 14:18:03,256 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;@4675279a, mLbeIndependenceSettings=[IndependenceType=SEMANTIC, AbstractionType=NONE, UseConditional=false, UseSemiCommutativity=true, Solver=Z3, SolverTimeout=1000ms] [2024-10-14 14:18:03,257 INFO L334 AbstractCegarLoop]: Starting to check reachability of 6 error locations. [2024-10-14 14:18:03,264 INFO L185 PetriNetUnfolderBase]: Found word, exiting Unfolder. [2024-10-14 14:18:03,264 INFO L124 PetriNetUnfolderBase]: 1/19 cut-off events. [2024-10-14 14:18:03,264 INFO L125 PetriNetUnfolderBase]: For 0/0 co-relation queries the response was YES. [2024-10-14 14:18:03,265 INFO L196 CegarLoopForPetriNet]: Found error trace [2024-10-14 14:18:03,267 INFO L204 CegarLoopForPetriNet]: trace histogram [1, 1, 1, 1, 1, 1, 1, 1] [2024-10-14 14:18:03,268 INFO L396 AbstractCegarLoop]: === Iteration 1 === Targeting thr1Err0ASSERT_VIOLATIONERROR_FUNCTION === [thr2Err0ASSERT_VIOLATIONERROR_FUNCTION, thr1Err0ASSERT_VIOLATIONERROR_FUNCTION, ULTIMATE.startErr0INUSE_VIOLATIONSUFFICIENT_THREAD_INSTANCES (and 3 more)] === [2024-10-14 14:18:03,280 INFO L157 PredicateUnifier]: Initialized classic predicate unifier [2024-10-14 14:18:03,280 INFO L85 PathProgramCache]: Analyzing trace with hash 258370138, now seen corresponding path program 1 times [2024-10-14 14:18:03,288 INFO L118 FreeRefinementEngine]: Executing refinement strategy CAMEL [2024-10-14 14:18:03,288 INFO L334 FreeRefinementEngine]: Using trace check IpTcStrategyModuleSmtInterpolCraig [1971358186] [2024-10-14 14:18:03,288 INFO L95 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2024-10-14 14:18:03,288 INFO L127 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout -1 ms and remaining time -1 ms [2024-10-14 14:18:03,401 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2024-10-14 14:18:03,541 INFO L134 CoverageAnalysis]: Checked inductivity of 0 backedges. 0 proven. 0 refuted. 0 times theorem prover too weak. 0 trivial. 0 not checked. [2024-10-14 14:18:03,541 INFO L136 FreeRefinementEngine]: Strategy CAMEL found an infeasible trace [2024-10-14 14:18:03,542 INFO L334 FreeRefinementEngine]: Using interpolant generator IpTcStrategyModuleSmtInterpolCraig [1971358186] [2024-10-14 14:18:03,542 INFO L158 FreeRefinementEngine]: IpTcStrategyModuleSmtInterpolCraig [1971358186] provided 1 perfect and 0 imperfect interpolant sequences [2024-10-14 14:18:03,543 INFO L185 FreeRefinementEngine]: Found 1 perfect and 0 imperfect interpolant sequences. [2024-10-14 14:18:03,543 INFO L198 FreeRefinementEngine]: Number of different interpolants: perfect sequences [3] imperfect sequences [] total 3 [2024-10-14 14:18:03,544 INFO L121 tionRefinementEngine]: Using interpolant automaton builder IpAbStrategyModuleStraightlineAll [1156136057] [2024-10-14 14:18:03,544 INFO L85 oduleStraightlineAll]: Using 1 perfect interpolants to construct interpolant automaton [2024-10-14 14:18:03,550 INFO L548 AbstractCegarLoop]: INTERPOLANT automaton has 3 states [2024-10-14 14:18:03,555 INFO L100 FreeRefinementEngine]: Using predicate unifier PredicateUnifier provided by strategy CAMEL [2024-10-14 14:18:03,577 INFO L143 InterpolantAutomaton]: Constructing interpolant automaton starting with 3 interpolants. [2024-10-14 14:18:03,577 INFO L145 InterpolantAutomaton]: CoverageRelationStatistics Valid=3, Invalid=3, Unknown=0, NotChecked=0, Total=6 [2024-10-14 14:18:03,589 INFO L467 CegarLoopForPetriNet]: Number of universal loopers: 38 out of 56 [2024-10-14 14:18:03,591 INFO L103 encePairwiseOnDemand]: Start differencePairwiseOnDemand. First operand has 51 places, 52 transitions, 113 flow. Second operand has 3 states, 3 states have (on average 39.333333333333336) internal successors, (118), 3 states have internal predecessors, (118), 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-10-14 14:18:03,591 INFO L112 encePairwiseOnDemand]: Universal subtrahend loopers provided by user. [2024-10-14 14:18:03,591 INFO L113 encePairwiseOnDemand]: Number of universal subtrahend loopers: 38 of 56 [2024-10-14 14:18:03,592 INFO L73 FinitePrefix]: Start finitePrefix. Operand will be constructed on-demand [2024-10-14 14:18:03,708 INFO L124 PetriNetUnfolderBase]: 80/264 cut-off events. [2024-10-14 14:18:03,708 INFO L125 PetriNetUnfolderBase]: For 14/14 co-relation queries the response was YES. [2024-10-14 14:18:03,710 INFO L83 FinitePrefix]: Finished finitePrefix Result has 426 conditions, 264 events. 80/264 cut-off events. For 14/14 co-relation queries the response was YES. Maximal size of possible extension queue 32. Compared 1589 event pairs, 30 based on Foata normal form. 39/271 useless extension candidates. Maximal degree in co-relation 378. Up to 73 conditions per place. [2024-10-14 14:18:03,713 INFO L140 encePairwiseOnDemand]: 49/56 looper letters, 16 selfloop transitions, 3 changer transitions 1/56 dead transitions. [2024-10-14 14:18:03,713 INFO L145 encePairwiseOnDemand]: Finished differencePairwiseOnDemand. Result has 53 places, 56 transitions, 164 flow [2024-10-14 14:18:03,715 INFO L141 InterpolantAutomaton]: Switched to read-only mode: deterministic interpolant automaton has 3 states. [2024-10-14 14:18:03,717 INFO L82 GeneralOperation]: Start removeUnreachable. Operand 3 states. [2024-10-14 14:18:03,723 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 3 states to 3 states and 139 transitions. [2024-10-14 14:18:03,727 INFO L512 CegarLoopForPetriNet]: DFA transition density 0.8273809523809523 [2024-10-14 14:18:03,729 INFO L175 Difference]: Start difference. First operand has 51 places, 52 transitions, 113 flow. Second operand 3 states and 139 transitions. [2024-10-14 14:18:03,730 INFO L82 GeneralOperation]: Start removeRedundantFlow. Operand has 53 places, 56 transitions, 164 flow [2024-10-14 14:18:03,733 INFO L88 GeneralOperation]: Finished removeRedundantFlow, result has has 50 places, 56 transitions, 157 flow, removed 0 selfloop flow, removed 3 redundant places. [2024-10-14 14:18:03,737 INFO L231 Difference]: Finished difference. Result has 52 places, 51 transitions, 124 flow [2024-10-14 14:18:03,740 INFO L260 CegarLoopForPetriNet]: {PETRI_ALPHABET=56, PETRI_DIFFERENCE_MINUEND_FLOW=104, PETRI_DIFFERENCE_MINUEND_PLACES=48, PETRI_DIFFERENCE_MINUEND_TRANSITIONS=50, PETRI_DIFFERENCE_SUBTRAHEND_LETTERS_WITH_MORE_CHANGERS_THAN_LOOPERS=2, PETRI_DIFFERENCE_SUBTRAHEND_LOOPER_ONLY_LETTERS=47, PETRI_DIFFERENCE_SUBTRAHEND_STATES=3, PETRI_FLOW=124, PETRI_PLACES=52, PETRI_TRANSITIONS=51} [2024-10-14 14:18:03,745 INFO L277 CegarLoopForPetriNet]: 51 programPoint places, 1 predicate places. [2024-10-14 14:18:03,745 INFO L471 AbstractCegarLoop]: Abstraction has has 52 places, 51 transitions, 124 flow [2024-10-14 14:18:03,746 INFO L472 AbstractCegarLoop]: INTERPOLANT automaton has has 3 states, 3 states have (on average 39.333333333333336) internal successors, (118), 3 states have internal predecessors, (118), 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-10-14 14:18:03,746 INFO L196 CegarLoopForPetriNet]: Found error trace [2024-10-14 14:18:03,746 INFO L204 CegarLoopForPetriNet]: trace histogram [1, 1, 1, 1, 1, 1, 1, 1, 1, 1] [2024-10-14 14:18:03,746 WARN L453 AbstractCegarLoop]: Destroyed unattended storables created during the last iteration: SelfDestructingSolverStorable0 [2024-10-14 14:18:03,747 INFO L396 AbstractCegarLoop]: === Iteration 2 === Targeting thr2Err0ASSERT_VIOLATIONERROR_FUNCTION === [thr2Err0ASSERT_VIOLATIONERROR_FUNCTION, thr1Err0ASSERT_VIOLATIONERROR_FUNCTION, ULTIMATE.startErr0INUSE_VIOLATIONSUFFICIENT_THREAD_INSTANCES (and 3 more)] === [2024-10-14 14:18:03,747 INFO L157 PredicateUnifier]: Initialized classic predicate unifier [2024-10-14 14:18:03,748 INFO L85 PathProgramCache]: Analyzing trace with hash -1057996485, now seen corresponding path program 1 times [2024-10-14 14:18:03,748 INFO L118 FreeRefinementEngine]: Executing refinement strategy CAMEL [2024-10-14 14:18:03,748 INFO L334 FreeRefinementEngine]: Using trace check IpTcStrategyModuleSmtInterpolCraig [1936543931] [2024-10-14 14:18:03,748 INFO L95 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2024-10-14 14:18:03,748 INFO L127 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout -1 ms and remaining time -1 ms [2024-10-14 14:18:03,774 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2024-10-14 14:18:03,821 INFO L134 CoverageAnalysis]: Checked inductivity of 0 backedges. 0 proven. 0 refuted. 0 times theorem prover too weak. 0 trivial. 0 not checked. [2024-10-14 14:18:03,821 INFO L136 FreeRefinementEngine]: Strategy CAMEL found an infeasible trace [2024-10-14 14:18:03,821 INFO L334 FreeRefinementEngine]: Using interpolant generator IpTcStrategyModuleSmtInterpolCraig [1936543931] [2024-10-14 14:18:03,822 INFO L158 FreeRefinementEngine]: IpTcStrategyModuleSmtInterpolCraig [1936543931] provided 1 perfect and 0 imperfect interpolant sequences [2024-10-14 14:18:03,822 INFO L185 FreeRefinementEngine]: Found 1 perfect and 0 imperfect interpolant sequences. [2024-10-14 14:18:03,822 INFO L198 FreeRefinementEngine]: Number of different interpolants: perfect sequences [3] imperfect sequences [] total 3 [2024-10-14 14:18:03,822 INFO L121 tionRefinementEngine]: Using interpolant automaton builder IpAbStrategyModuleStraightlineAll [1257867265] [2024-10-14 14:18:03,823 INFO L85 oduleStraightlineAll]: Using 1 perfect interpolants to construct interpolant automaton [2024-10-14 14:18:03,824 INFO L548 AbstractCegarLoop]: INTERPOLANT automaton has 3 states [2024-10-14 14:18:03,824 INFO L100 FreeRefinementEngine]: Using predicate unifier PredicateUnifier provided by strategy CAMEL [2024-10-14 14:18:03,825 INFO L143 InterpolantAutomaton]: Constructing interpolant automaton starting with 3 interpolants. [2024-10-14 14:18:03,825 INFO L145 InterpolantAutomaton]: CoverageRelationStatistics Valid=3, Invalid=3, Unknown=0, NotChecked=0, Total=6 [2024-10-14 14:18:03,832 INFO L467 CegarLoopForPetriNet]: Number of universal loopers: 38 out of 56 [2024-10-14 14:18:03,833 INFO L103 encePairwiseOnDemand]: Start differencePairwiseOnDemand. First operand has 52 places, 51 transitions, 124 flow. Second operand has 3 states, 3 states have (on average 40.0) internal successors, (120), 3 states have internal predecessors, (120), 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-10-14 14:18:03,833 INFO L112 encePairwiseOnDemand]: Universal subtrahend loopers provided by user. [2024-10-14 14:18:03,833 INFO L113 encePairwiseOnDemand]: Number of universal subtrahend loopers: 38 of 56 [2024-10-14 14:18:03,833 INFO L73 FinitePrefix]: Start finitePrefix. Operand will be constructed on-demand [2024-10-14 14:18:03,939 INFO L124 PetriNetUnfolderBase]: 102/330 cut-off events. [2024-10-14 14:18:03,939 INFO L125 PetriNetUnfolderBase]: For 72/72 co-relation queries the response was YES. [2024-10-14 14:18:03,944 INFO L83 FinitePrefix]: Finished finitePrefix Result has 577 conditions, 330 events. 102/330 cut-off events. For 72/72 co-relation queries the response was YES. Maximal size of possible extension queue 32. Compared 1749 event pairs, 47 based on Foata normal form. 15/313 useless extension candidates. Maximal degree in co-relation 305. Up to 118 conditions per place. [2024-10-14 14:18:03,945 INFO L140 encePairwiseOnDemand]: 52/56 looper letters, 15 selfloop transitions, 2 changer transitions 3/56 dead transitions. [2024-10-14 14:18:03,945 INFO L145 encePairwiseOnDemand]: Finished differencePairwiseOnDemand. Result has 54 places, 56 transitions, 175 flow [2024-10-14 14:18:03,947 INFO L141 InterpolantAutomaton]: Switched to read-only mode: deterministic interpolant automaton has 3 states. [2024-10-14 14:18:03,947 INFO L82 GeneralOperation]: Start removeUnreachable. Operand 3 states. [2024-10-14 14:18:03,948 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 3 states to 3 states and 136 transitions. [2024-10-14 14:18:03,949 INFO L512 CegarLoopForPetriNet]: DFA transition density 0.8095238095238095 [2024-10-14 14:18:03,949 INFO L175 Difference]: Start difference. First operand has 52 places, 51 transitions, 124 flow. Second operand 3 states and 136 transitions. [2024-10-14 14:18:03,949 INFO L82 GeneralOperation]: Start removeRedundantFlow. Operand has 54 places, 56 transitions, 175 flow [2024-10-14 14:18:03,950 INFO L88 GeneralOperation]: Finished removeRedundantFlow, result has has 52 places, 56 transitions, 169 flow, removed 0 selfloop flow, removed 2 redundant places. [2024-10-14 14:18:03,954 INFO L231 Difference]: Finished difference. Result has 53 places, 51 transitions, 128 flow [2024-10-14 14:18:03,957 INFO L260 CegarLoopForPetriNet]: {PETRI_ALPHABET=56, PETRI_DIFFERENCE_MINUEND_FLOW=118, PETRI_DIFFERENCE_MINUEND_PLACES=50, PETRI_DIFFERENCE_MINUEND_TRANSITIONS=51, PETRI_DIFFERENCE_SUBTRAHEND_LETTERS_WITH_MORE_CHANGERS_THAN_LOOPERS=2, PETRI_DIFFERENCE_SUBTRAHEND_LOOPER_ONLY_LETTERS=49, PETRI_DIFFERENCE_SUBTRAHEND_STATES=3, PETRI_FLOW=128, PETRI_PLACES=53, PETRI_TRANSITIONS=51} [2024-10-14 14:18:03,958 INFO L277 CegarLoopForPetriNet]: 51 programPoint places, 2 predicate places. [2024-10-14 14:18:03,958 INFO L471 AbstractCegarLoop]: Abstraction has has 53 places, 51 transitions, 128 flow [2024-10-14 14:18:03,959 INFO L472 AbstractCegarLoop]: INTERPOLANT automaton has has 3 states, 3 states have (on average 40.0) internal successors, (120), 3 states have internal predecessors, (120), 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-10-14 14:18:03,959 INFO L196 CegarLoopForPetriNet]: Found error trace [2024-10-14 14:18:03,959 INFO L204 CegarLoopForPetriNet]: trace histogram [1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1] [2024-10-14 14:18:03,959 WARN L453 AbstractCegarLoop]: Destroyed unattended storables created during the last iteration: SelfDestructingSolverStorable1 [2024-10-14 14:18:03,960 INFO L396 AbstractCegarLoop]: === Iteration 3 === Targeting thr1Err0ASSERT_VIOLATIONERROR_FUNCTION === [thr2Err0ASSERT_VIOLATIONERROR_FUNCTION, thr1Err0ASSERT_VIOLATIONERROR_FUNCTION, ULTIMATE.startErr0INUSE_VIOLATIONSUFFICIENT_THREAD_INSTANCES (and 3 more)] === [2024-10-14 14:18:03,960 INFO L157 PredicateUnifier]: Initialized classic predicate unifier [2024-10-14 14:18:03,960 INFO L85 PathProgramCache]: Analyzing trace with hash -537137314, now seen corresponding path program 1 times [2024-10-14 14:18:03,961 INFO L118 FreeRefinementEngine]: Executing refinement strategy CAMEL [2024-10-14 14:18:03,961 INFO L334 FreeRefinementEngine]: Using trace check IpTcStrategyModuleSmtInterpolCraig [623130114] [2024-10-14 14:18:03,961 INFO L95 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2024-10-14 14:18:03,961 INFO L127 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout -1 ms and remaining time -1 ms [2024-10-14 14:18:03,982 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2024-10-14 14:18:04,094 INFO L134 CoverageAnalysis]: Checked inductivity of 0 backedges. 0 proven. 0 refuted. 0 times theorem prover too weak. 0 trivial. 0 not checked. [2024-10-14 14:18:04,095 INFO L136 FreeRefinementEngine]: Strategy CAMEL found an infeasible trace [2024-10-14 14:18:04,096 INFO L334 FreeRefinementEngine]: Using interpolant generator IpTcStrategyModuleSmtInterpolCraig [623130114] [2024-10-14 14:18:04,097 INFO L158 FreeRefinementEngine]: IpTcStrategyModuleSmtInterpolCraig [623130114] provided 1 perfect and 0 imperfect interpolant sequences [2024-10-14 14:18:04,097 INFO L185 FreeRefinementEngine]: Found 1 perfect and 0 imperfect interpolant sequences. [2024-10-14 14:18:04,097 INFO L198 FreeRefinementEngine]: Number of different interpolants: perfect sequences [4] imperfect sequences [] total 4 [2024-10-14 14:18:04,097 INFO L121 tionRefinementEngine]: Using interpolant automaton builder IpAbStrategyModuleStraightlineAll [1598729743] [2024-10-14 14:18:04,098 INFO L85 oduleStraightlineAll]: Using 1 perfect interpolants to construct interpolant automaton [2024-10-14 14:18:04,098 INFO L548 AbstractCegarLoop]: INTERPOLANT automaton has 4 states [2024-10-14 14:18:04,099 INFO L100 FreeRefinementEngine]: Using predicate unifier PredicateUnifier provided by strategy CAMEL [2024-10-14 14:18:04,099 INFO L143 InterpolantAutomaton]: Constructing interpolant automaton starting with 4 interpolants. [2024-10-14 14:18:04,100 INFO L145 InterpolantAutomaton]: CoverageRelationStatistics Valid=5, Invalid=7, Unknown=0, NotChecked=0, Total=12 [2024-10-14 14:18:04,110 INFO L467 CegarLoopForPetriNet]: Number of universal loopers: 34 out of 56 [2024-10-14 14:18:04,111 INFO L103 encePairwiseOnDemand]: Start differencePairwiseOnDemand. First operand has 53 places, 51 transitions, 128 flow. Second operand has 4 states, 4 states have (on average 36.0) internal successors, (144), 4 states have internal predecessors, (144), 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-10-14 14:18:04,111 INFO L112 encePairwiseOnDemand]: Universal subtrahend loopers provided by user. [2024-10-14 14:18:04,112 INFO L113 encePairwiseOnDemand]: Number of universal subtrahend loopers: 34 of 56 [2024-10-14 14:18:04,112 INFO L73 FinitePrefix]: Start finitePrefix. Operand will be constructed on-demand [2024-10-14 14:18:04,245 INFO L124 PetriNetUnfolderBase]: 278/733 cut-off events. [2024-10-14 14:18:04,246 INFO L125 PetriNetUnfolderBase]: For 214/214 co-relation queries the response was YES. [2024-10-14 14:18:04,249 INFO L83 FinitePrefix]: Finished finitePrefix Result has 1279 conditions, 733 events. 278/733 cut-off events. For 214/214 co-relation queries the response was YES. Maximal size of possible extension queue 62. Compared 4607 event pairs, 74 based on Foata normal form. 15/686 useless extension candidates. Maximal degree in co-relation 935. Up to 208 conditions per place. [2024-10-14 14:18:04,251 INFO L140 encePairwiseOnDemand]: 49/56 looper letters, 28 selfloop transitions, 9 changer transitions 3/72 dead transitions. [2024-10-14 14:18:04,252 INFO L145 encePairwiseOnDemand]: Finished differencePairwiseOnDemand. Result has 57 places, 72 transitions, 260 flow [2024-10-14 14:18:04,252 INFO L141 InterpolantAutomaton]: Switched to read-only mode: deterministic interpolant automaton has 5 states. [2024-10-14 14:18:04,252 INFO L82 GeneralOperation]: Start removeUnreachable. Operand 5 states. [2024-10-14 14:18:04,254 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 5 states to 5 states and 211 transitions. [2024-10-14 14:18:04,254 INFO L512 CegarLoopForPetriNet]: DFA transition density 0.7535714285714286 [2024-10-14 14:18:04,256 INFO L175 Difference]: Start difference. First operand has 53 places, 51 transitions, 128 flow. Second operand 5 states and 211 transitions. [2024-10-14 14:18:04,257 INFO L82 GeneralOperation]: Start removeRedundantFlow. Operand has 57 places, 72 transitions, 260 flow [2024-10-14 14:18:04,258 INFO L88 GeneralOperation]: Finished removeRedundantFlow, result has has 56 places, 72 transitions, 257 flow, removed 0 selfloop flow, removed 1 redundant places. [2024-10-14 14:18:04,260 INFO L231 Difference]: Finished difference. Result has 59 places, 56 transitions, 177 flow [2024-10-14 14:18:04,261 INFO L260 CegarLoopForPetriNet]: {PETRI_ALPHABET=56, PETRI_DIFFERENCE_MINUEND_FLOW=126, PETRI_DIFFERENCE_MINUEND_PLACES=52, PETRI_DIFFERENCE_MINUEND_TRANSITIONS=51, PETRI_DIFFERENCE_SUBTRAHEND_LETTERS_WITH_MORE_CHANGERS_THAN_LOOPERS=4, PETRI_DIFFERENCE_SUBTRAHEND_LOOPER_ONLY_LETTERS=45, PETRI_DIFFERENCE_SUBTRAHEND_STATES=5, PETRI_FLOW=177, PETRI_PLACES=59, PETRI_TRANSITIONS=56} [2024-10-14 14:18:04,262 INFO L277 CegarLoopForPetriNet]: 51 programPoint places, 8 predicate places. [2024-10-14 14:18:04,263 INFO L471 AbstractCegarLoop]: Abstraction has has 59 places, 56 transitions, 177 flow [2024-10-14 14:18:04,263 INFO L472 AbstractCegarLoop]: INTERPOLANT automaton has has 4 states, 4 states have (on average 36.0) internal successors, (144), 4 states have internal predecessors, (144), 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-10-14 14:18:04,263 INFO L196 CegarLoopForPetriNet]: Found error trace [2024-10-14 14:18:04,264 INFO L204 CegarLoopForPetriNet]: trace histogram [1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1] [2024-10-14 14:18:04,264 WARN L453 AbstractCegarLoop]: Destroyed unattended storables created during the last iteration: SelfDestructingSolverStorable2 [2024-10-14 14:18:04,264 INFO L396 AbstractCegarLoop]: === Iteration 4 === Targeting thr1Err0ASSERT_VIOLATIONERROR_FUNCTION === [thr2Err0ASSERT_VIOLATIONERROR_FUNCTION, thr1Err0ASSERT_VIOLATIONERROR_FUNCTION, ULTIMATE.startErr0INUSE_VIOLATIONSUFFICIENT_THREAD_INSTANCES (and 3 more)] === [2024-10-14 14:18:04,265 INFO L157 PredicateUnifier]: Initialized classic predicate unifier [2024-10-14 14:18:04,265 INFO L85 PathProgramCache]: Analyzing trace with hash 1833501688, now seen corresponding path program 2 times [2024-10-14 14:18:04,265 INFO L118 FreeRefinementEngine]: Executing refinement strategy CAMEL [2024-10-14 14:18:04,266 INFO L334 FreeRefinementEngine]: Using trace check IpTcStrategyModuleSmtInterpolCraig [2112285051] [2024-10-14 14:18:04,266 INFO L95 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2024-10-14 14:18:04,266 INFO L127 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout -1 ms and remaining time -1 ms [2024-10-14 14:18:04,284 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2024-10-14 14:18:04,349 INFO L134 CoverageAnalysis]: Checked inductivity of 0 backedges. 0 proven. 0 refuted. 0 times theorem prover too weak. 0 trivial. 0 not checked. [2024-10-14 14:18:04,349 INFO L136 FreeRefinementEngine]: Strategy CAMEL found an infeasible trace [2024-10-14 14:18:04,350 INFO L334 FreeRefinementEngine]: Using interpolant generator IpTcStrategyModuleSmtInterpolCraig [2112285051] [2024-10-14 14:18:04,350 INFO L158 FreeRefinementEngine]: IpTcStrategyModuleSmtInterpolCraig [2112285051] provided 1 perfect and 0 imperfect interpolant sequences [2024-10-14 14:18:04,350 INFO L185 FreeRefinementEngine]: Found 1 perfect and 0 imperfect interpolant sequences. [2024-10-14 14:18:04,350 INFO L198 FreeRefinementEngine]: Number of different interpolants: perfect sequences [4] imperfect sequences [] total 4 [2024-10-14 14:18:04,350 INFO L121 tionRefinementEngine]: Using interpolant automaton builder IpAbStrategyModuleStraightlineAll [1214358573] [2024-10-14 14:18:04,350 INFO L85 oduleStraightlineAll]: Using 1 perfect interpolants to construct interpolant automaton [2024-10-14 14:18:04,351 INFO L548 AbstractCegarLoop]: INTERPOLANT automaton has 4 states [2024-10-14 14:18:04,351 INFO L100 FreeRefinementEngine]: Using predicate unifier PredicateUnifier provided by strategy CAMEL [2024-10-14 14:18:04,352 INFO L143 InterpolantAutomaton]: Constructing interpolant automaton starting with 4 interpolants. [2024-10-14 14:18:04,352 INFO L145 InterpolantAutomaton]: CoverageRelationStatistics Valid=5, Invalid=7, Unknown=0, NotChecked=0, Total=12 [2024-10-14 14:18:04,365 INFO L467 CegarLoopForPetriNet]: Number of universal loopers: 34 out of 56 [2024-10-14 14:18:04,366 INFO L103 encePairwiseOnDemand]: Start differencePairwiseOnDemand. First operand has 59 places, 56 transitions, 177 flow. Second operand has 4 states, 4 states have (on average 36.0) internal successors, (144), 4 states have internal predecessors, (144), 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-10-14 14:18:04,366 INFO L112 encePairwiseOnDemand]: Universal subtrahend loopers provided by user. [2024-10-14 14:18:04,366 INFO L113 encePairwiseOnDemand]: Number of universal subtrahend loopers: 34 of 56 [2024-10-14 14:18:04,366 INFO L73 FinitePrefix]: Start finitePrefix. Operand will be constructed on-demand [2024-10-14 14:18:04,534 INFO L124 PetriNetUnfolderBase]: 430/1045 cut-off events. [2024-10-14 14:18:04,534 INFO L125 PetriNetUnfolderBase]: For 368/372 co-relation queries the response was YES. [2024-10-14 14:18:04,544 INFO L83 FinitePrefix]: Finished finitePrefix Result has 1979 conditions, 1045 events. 430/1045 cut-off events. For 368/372 co-relation queries the response was YES. Maximal size of possible extension queue 110. Compared 7262 event pairs, 120 based on Foata normal form. 30/1008 useless extension candidates. Maximal degree in co-relation 1292. Up to 267 conditions per place. [2024-10-14 14:18:04,545 INFO L140 encePairwiseOnDemand]: 49/56 looper letters, 0 selfloop transitions, 0 changer transitions 71/71 dead transitions. [2024-10-14 14:18:04,545 INFO L145 encePairwiseOnDemand]: Finished differencePairwiseOnDemand. Result has 59 places, 71 transitions, 290 flow [2024-10-14 14:18:04,546 INFO L141 InterpolantAutomaton]: Switched to read-only mode: deterministic interpolant automaton has 5 states. [2024-10-14 14:18:04,546 INFO L82 GeneralOperation]: Start removeUnreachable. Operand 5 states. [2024-10-14 14:18:04,547 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 5 states to 5 states and 209 transitions. [2024-10-14 14:18:04,547 INFO L512 CegarLoopForPetriNet]: DFA transition density 0.7464285714285714 [2024-10-14 14:18:04,548 INFO L175 Difference]: Start difference. First operand has 59 places, 56 transitions, 177 flow. Second operand 5 states and 209 transitions. [2024-10-14 14:18:04,548 INFO L82 GeneralOperation]: Start removeRedundantFlow. Operand has 59 places, 71 transitions, 290 flow [2024-10-14 14:18:04,555 INFO L88 GeneralOperation]: Finished removeRedundantFlow, result has has 59 places, 71 transitions, 286 flow, removed 2 selfloop flow, removed 0 redundant places. [2024-10-14 14:18:04,556 INFO L231 Difference]: Finished difference. Result has 59 places, 0 transitions, 0 flow [2024-10-14 14:18:04,556 INFO L260 CegarLoopForPetriNet]: {PETRI_ALPHABET=56, PETRI_DIFFERENCE_MINUEND_FLOW=161, PETRI_DIFFERENCE_MINUEND_PLACES=55, PETRI_DIFFERENCE_MINUEND_TRANSITIONS=52, PETRI_DIFFERENCE_SUBTRAHEND_LETTERS_WITH_MORE_CHANGERS_THAN_LOOPERS=0, PETRI_DIFFERENCE_SUBTRAHEND_LOOPER_ONLY_LETTERS=52, PETRI_DIFFERENCE_SUBTRAHEND_STATES=5, PETRI_FLOW=0, PETRI_PLACES=59, PETRI_TRANSITIONS=0} [2024-10-14 14:18:04,557 INFO L277 CegarLoopForPetriNet]: 51 programPoint places, 8 predicate places. [2024-10-14 14:18:04,557 INFO L471 AbstractCegarLoop]: Abstraction has has 59 places, 0 transitions, 0 flow [2024-10-14 14:18:04,557 INFO L472 AbstractCegarLoop]: INTERPOLANT automaton has has 4 states, 4 states have (on average 36.0) internal successors, (144), 4 states have internal predecessors, (144), 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-10-14 14:18:04,577 INFO L782 garLoopResultBuilder]: Registering result SAFE for location thr2Err0ASSERT_VIOLATIONERROR_FUNCTION (5 of 6 remaining) [2024-10-14 14:18:04,578 INFO L782 garLoopResultBuilder]: Registering result SAFE for location thr1Err0ASSERT_VIOLATIONERROR_FUNCTION (4 of 6 remaining) [2024-10-14 14:18:04,578 INFO L782 garLoopResultBuilder]: Registering result SAFE for location ULTIMATE.startErr0INUSE_VIOLATIONSUFFICIENT_THREAD_INSTANCES (3 of 6 remaining) [2024-10-14 14:18:04,578 INFO L782 garLoopResultBuilder]: Registering result SAFE for location ULTIMATE.startErr1INUSE_VIOLATIONSUFFICIENT_THREAD_INSTANCES (2 of 6 remaining) [2024-10-14 14:18:04,578 INFO L782 garLoopResultBuilder]: Registering result SAFE for location thr2Err0ASSERT_VIOLATIONERROR_FUNCTION (1 of 6 remaining) [2024-10-14 14:18:04,579 INFO L782 garLoopResultBuilder]: Registering result SAFE for location thr1Err0ASSERT_VIOLATIONERROR_FUNCTION (0 of 6 remaining) [2024-10-14 14:18:04,579 WARN L453 AbstractCegarLoop]: Destroyed unattended storables created during the last iteration: SelfDestructingSolverStorable3 [2024-10-14 14:18:04,582 INFO L407 BasicCegarLoop]: Path program histogram: [2, 1, 1] [2024-10-14 14:18:04,589 INFO L234 ceAbstractionStarter]: Analysis of concurrent program completed with 1 thread instances [2024-10-14 14:18:04,590 INFO L165 ceAbstractionStarter]: Computing trace abstraction results [2024-10-14 14:18:04,597 INFO L201 PluginConnector]: Adding new model de.uni_freiburg.informatik.ultimate.plugins.generator.traceabstraction CFG 14.10 02:18:04 BasicIcfg [2024-10-14 14:18:04,598 INFO L131 PluginConnector]: ------------------------ END TraceAbstraction---------------------------- [2024-10-14 14:18:04,598 INFO L112 PluginConnector]: ------------------------Witness Printer---------------------------- [2024-10-14 14:18:04,600 INFO L270 PluginConnector]: Initializing Witness Printer... [2024-10-14 14:18:04,601 INFO L274 PluginConnector]: Witness Printer initialized [2024-10-14 14:18:04,601 INFO L184 PluginConnector]: Executing the observer RCFGCatcher from plugin Witness Printer for "de.uni_freiburg.informatik.ultimate.plugins.generator.rcfgbuilder CFG 14.10 02:18:03" (3/4) ... [2024-10-14 14:18:04,603 INFO L139 WitnessPrinter]: Generating witness for correct program [2024-10-14 14:18:04,606 INFO L361 RCFGBacktranslator]: Ignoring RootEdge to procedure thr2 [2024-10-14 14:18:04,606 INFO L361 RCFGBacktranslator]: Ignoring RootEdge to procedure thr1 [2024-10-14 14:18:04,611 INFO L904 BoogieBacktranslator]: Reduced CFG by removing 34 nodes and edges [2024-10-14 14:18:04,611 INFO L904 BoogieBacktranslator]: Reduced CFG by removing 12 nodes and edges [2024-10-14 14:18:04,611 INFO L904 BoogieBacktranslator]: Reduced CFG by removing 5 nodes and edges [2024-10-14 14:18:04,611 INFO L904 BoogieBacktranslator]: Reduced CFG by removing 1 nodes and edges [2024-10-14 14:18:04,698 INFO L149 WitnessManager]: Wrote witness to /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/witness.graphml [2024-10-14 14:18:04,698 INFO L149 WitnessManager]: Wrote witness to /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/witness.yml [2024-10-14 14:18:04,698 INFO L131 PluginConnector]: ------------------------ END Witness Printer---------------------------- [2024-10-14 14:18:04,699 INFO L158 Benchmark]: Toolchain (without parser) took 2658.19ms. Allocated memory was 159.4MB in the beginning and 224.4MB in the end (delta: 65.0MB). Free memory was 102.4MB in the beginning and 177.2MB in the end (delta: -74.8MB). There was no memory consumed. Max. memory is 16.1GB. [2024-10-14 14:18:04,699 INFO L158 Benchmark]: CDTParser took 0.18ms. Allocated memory is still 159.4MB. Free memory is still 119.7MB. There was no memory consumed. Max. memory is 16.1GB. [2024-10-14 14:18:04,700 INFO L158 Benchmark]: CACSL2BoogieTranslator took 499.31ms. Allocated memory is still 159.4MB. Free memory was 102.4MB in the beginning and 80.2MB in the end (delta: 22.2MB). Peak memory consumption was 23.1MB. Max. memory is 16.1GB. [2024-10-14 14:18:04,700 INFO L158 Benchmark]: Boogie Procedure Inliner took 44.58ms. Allocated memory is still 159.4MB. Free memory was 80.2MB in the beginning and 78.1MB in the end (delta: 2.1MB). Peak memory consumption was 2.1MB. Max. memory is 16.1GB. [2024-10-14 14:18:04,700 INFO L158 Benchmark]: Boogie Preprocessor took 49.29ms. Allocated memory is still 159.4MB. Free memory was 78.1MB in the beginning and 76.0MB in the end (delta: 2.1MB). Peak memory consumption was 2.1MB. Max. memory is 16.1GB. [2024-10-14 14:18:04,701 INFO L158 Benchmark]: RCFGBuilder took 448.71ms. Allocated memory was 159.4MB in the beginning and 224.4MB in the end (delta: 65.0MB). Free memory was 76.0MB in the beginning and 187.9MB in the end (delta: -111.9MB). Peak memory consumption was 23.2MB. Max. memory is 16.1GB. [2024-10-14 14:18:04,701 INFO L158 Benchmark]: TraceAbstraction took 1510.58ms. Allocated memory is still 224.4MB. Free memory was 186.8MB in the beginning and 181.4MB in the end (delta: 5.5MB). Peak memory consumption was 130.2MB. Max. memory is 16.1GB. [2024-10-14 14:18:04,703 INFO L158 Benchmark]: Witness Printer took 99.73ms. Allocated memory is still 224.4MB. Free memory was 181.4MB in the beginning and 177.2MB in the end (delta: 4.2MB). Peak memory consumption was 2.1MB. Max. memory is 16.1GB. [2024-10-14 14:18:04,704 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.18ms. Allocated memory is still 159.4MB. Free memory is still 119.7MB. There was no memory consumed. Max. memory is 16.1GB. * CACSL2BoogieTranslator took 499.31ms. Allocated memory is still 159.4MB. Free memory was 102.4MB in the beginning and 80.2MB in the end (delta: 22.2MB). Peak memory consumption was 23.1MB. Max. memory is 16.1GB. * Boogie Procedure Inliner took 44.58ms. Allocated memory is still 159.4MB. Free memory was 80.2MB in the beginning and 78.1MB in the end (delta: 2.1MB). Peak memory consumption was 2.1MB. Max. memory is 16.1GB. * Boogie Preprocessor took 49.29ms. Allocated memory is still 159.4MB. Free memory was 78.1MB in the beginning and 76.0MB in the end (delta: 2.1MB). Peak memory consumption was 2.1MB. Max. memory is 16.1GB. * RCFGBuilder took 448.71ms. Allocated memory was 159.4MB in the beginning and 224.4MB in the end (delta: 65.0MB). Free memory was 76.0MB in the beginning and 187.9MB in the end (delta: -111.9MB). Peak memory consumption was 23.2MB. Max. memory is 16.1GB. * TraceAbstraction took 1510.58ms. Allocated memory is still 224.4MB. Free memory was 186.8MB in the beginning and 181.4MB in the end (delta: 5.5MB). Peak memory consumption was 130.2MB. Max. memory is 16.1GB. * Witness Printer took 99.73ms. Allocated memory is still 224.4MB. Free memory was 181.4MB in the beginning and 177.2MB in the end (delta: 4.2MB). Peak memory consumption was 2.1MB. Max. memory is 16.1GB. * Results from de.uni_freiburg.informatik.ultimate.plugins.generator.traceabstraction: - PositiveResult [Line: 780]: a call to reach_error is unreachable For all program executions holds that a call to reach_error is unreachable at this location - PositiveResult [Line: 739]: a call to reach_error is unreachable For all program executions holds that a call to reach_error is unreachable at this location - StatisticsResult: Ultimate Automizer benchmark data with 1 thread instances CFG has 5 procedures, 91 locations, 6 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.4s, OverallIterations: 4, TraceHistogramMax: 1, PathProgramHistogramMax: 2, EmptinessCheckTime: 0.0s, AutomataDifference: 0.7s, DeadEndRemovalTime: 0.0s, HoareAnnotationTime: 0.0s, InitialAbstractionConstructionTime: 0.0s, HoareTripleCheckerStatistics: 0 mSolverCounterUnknown, 75 SdHoareTripleChecker+Valid, 0.2s IncrementalHoareTripleChecker+Time, 0 mSdLazyCounter, 60 mSDsluCounter, 22 SdHoareTripleChecker+Invalid, 0.2s Time, 0 mProtectedAction, 0 SdHoareTripleChecker+Unchecked, 0 IncrementalHoareTripleChecker+Unchecked, 9 mSDsCounter, 10 IncrementalHoareTripleChecker+Valid, 0 mProtectedPredicate, 195 IncrementalHoareTripleChecker+Invalid, 205 SdHoareTripleChecker+Unknown, 0 mSolverCounterNotChecked, 10 mSolverCounterUnsat, 13 mSDtfsCounter, 195 mSolverCounterSat, 0.0s SdHoareTripleChecker+Time, 0 IncrementalHoareTripleChecker+Unknown, PredicateUnifierStatistics: 0 DeclaredPredicates, 16 GetRequests, 8 SyntacticMatches, 0 SemanticMatches, 8 ConstructedPredicates, 0 IntricatePredicates, 0 DeprecatedPredicates, 0 ImplicationChecksByTransitivity, 0.0s Time, 0.0s BasicInterpolantAutomatonTime, BiggestAbstraction: size=177occurred in iteration=3, InterpolantAutomatonStates: 16, 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.4s InterpolantComputationTime, 46 NumberOfCodeBlocks, 46 NumberOfCodeBlocksAsserted, 4 NumberOfCheckSat, 42 ConstructedInterpolants, 0 QuantifiedInterpolants, 72 SizeOfPredicates, 0 NumberOfNonLiveVariables, 0 ConjunctsInSsa, 0 ConjunctsInUnsatCore, 4 InterpolantComputations, 4 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 - AllSpecificationsHoldResult: All specifications hold 2 specifications checked. All of them hold RESULT: Ultimate proved your program to be correct! [2024-10-14 14:18:04,733 INFO L552 MonitoredProcess]: [MP /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/z3 SMTLIB2_COMPLIANT=true -memory:2024 -smt2 -in -t:4000 (1)] Ended with exit code 0 Received shutdown request... --- End real Ultimate output --- Execution finished normally Writing output log to file Ultimate.log Result: TRUE