./Ultimate.py --spec ../../sv-benchmarks/c/properties/valid-memsafety.prp --file ../../sv-benchmarks/c/pthread-ext/40_barrier_vf-pthread.i --full-output --architecture 32bit -------------------------------------------------------------------------------- Checking for memory safety (deref-memtrack) Using default analysis Version 30e01a73 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_40bcc42f-db00-4804-9c27-954488c0a603/bin/uautomizer-verify-zZY32mL2XJ/data/config -Xmx15G -Xms4m -jar /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_40bcc42f-db00-4804-9c27-954488c0a603/bin/uautomizer-verify-zZY32mL2XJ/plugins/org.eclipse.equinox.launcher_1.5.800.v20200727-1323.jar -data @noDefault -ultimatedata /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_40bcc42f-db00-4804-9c27-954488c0a603/bin/uautomizer-verify-zZY32mL2XJ/data -tc /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_40bcc42f-db00-4804-9c27-954488c0a603/bin/uautomizer-verify-zZY32mL2XJ/config/AutomizerMemDerefMemtrack.xml -i ../../sv-benchmarks/c/pthread-ext/40_barrier_vf-pthread.i -s /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_40bcc42f-db00-4804-9c27-954488c0a603/bin/uautomizer-verify-zZY32mL2XJ/config/svcomp-DerefFreeMemtrack-32bit-Automizer_Default.epf --cacsl2boogietranslator.entry.function main --witnessprinter.witness.directory /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_40bcc42f-db00-4804-9c27-954488c0a603/bin/uautomizer-verify-zZY32mL2XJ --witnessprinter.witness.filename witness --witnessprinter.write.witness.besides.input.file false --witnessprinter.graph.data.specification CHECK( init(main()), LTL(G valid-free) ) CHECK( init(main()), LTL(G valid-deref) ) CHECK( init(main()), LTL(G valid-memtrack) ) --witnessprinter.graph.data.producer Automizer --witnessprinter.graph.data.architecture 32bit --witnessprinter.graph.data.programhash 828cbbb8bb1b7fb83d1c4d35071bdac7e1b4ae65dfc83ebb19446976ecd8d980 --- Real Ultimate output --- This is Ultimate 0.2.3-dev-30e01a7 [2023-11-23 21:39:31,322 INFO L188 SettingsManager]: Resetting all preferences to default values... [2023-11-23 21:39:31,416 INFO L114 SettingsManager]: Loading settings from /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_40bcc42f-db00-4804-9c27-954488c0a603/bin/uautomizer-verify-zZY32mL2XJ/config/svcomp-DerefFreeMemtrack-32bit-Automizer_Default.epf [2023-11-23 21:39:31,423 WARN L101 SettingsManager]: Preference file contains the following unknown settings: [2023-11-23 21:39:31,424 WARN L103 SettingsManager]: * de.uni_freiburg.informatik.ultimate.core.Log level for class [2023-11-23 21:39:31,451 INFO L130 SettingsManager]: Preferences different from defaults after loading the file: [2023-11-23 21:39:31,451 INFO L151 SettingsManager]: Preferences of UltimateCore differ from their defaults: [2023-11-23 21:39:31,452 INFO L153 SettingsManager]: * Log level for class=de.uni_freiburg.informatik.ultimate.lib.smtlibutils.quantifier.QuantifierPusher=ERROR; [2023-11-23 21:39:31,453 INFO L151 SettingsManager]: Preferences of Boogie Procedure Inliner differ from their defaults: [2023-11-23 21:39:31,454 INFO L153 SettingsManager]: * Ignore calls to procedures called more than once=ONLY_FOR_SEQUENTIAL_PROGRAMS [2023-11-23 21:39:31,455 INFO L151 SettingsManager]: Preferences of BlockEncodingV2 differ from their defaults: [2023-11-23 21:39:31,456 INFO L153 SettingsManager]: * Create parallel compositions if possible=false [2023-11-23 21:39:31,456 INFO L153 SettingsManager]: * Use SBE=true [2023-11-23 21:39:31,457 INFO L151 SettingsManager]: Preferences of CACSL2BoogieTranslator differ from their defaults: [2023-11-23 21:39:31,458 INFO L153 SettingsManager]: * sizeof long=4 [2023-11-23 21:39:31,458 INFO L153 SettingsManager]: * Overapproximate operations on floating types=true [2023-11-23 21:39:31,459 INFO L153 SettingsManager]: * sizeof POINTER=4 [2023-11-23 21:39:31,459 INFO L153 SettingsManager]: * Check division by zero=IGNORE [2023-11-23 21:39:31,460 INFO L153 SettingsManager]: * Check for the main procedure if all allocated memory was freed=true [2023-11-23 21:39:31,460 INFO L153 SettingsManager]: * Bitprecise bitfields=true [2023-11-23 21:39:31,461 INFO L153 SettingsManager]: * SV-COMP memtrack compatibility mode=true [2023-11-23 21:39:31,462 INFO L153 SettingsManager]: * If two pointers are subtracted or compared they have the same base address=IGNORE [2023-11-23 21:39:31,462 INFO L153 SettingsManager]: * Adapt memory model on pointer casts if necessary=true [2023-11-23 21:39:31,463 INFO L153 SettingsManager]: * Check unreachability of reach_error function=false [2023-11-23 21:39:31,463 INFO L153 SettingsManager]: * sizeof long double=12 [2023-11-23 21:39:31,463 INFO L153 SettingsManager]: * Use constant arrays=true [2023-11-23 21:39:31,464 INFO L151 SettingsManager]: Preferences of RCFGBuilder differ from their defaults: [2023-11-23 21:39:31,464 INFO L153 SettingsManager]: * Size of a code block=SequenceOfStatements [2023-11-23 21:39:31,465 INFO L153 SettingsManager]: * Only consider context switches at boundaries of atomic blocks=true [2023-11-23 21:39:31,465 INFO L153 SettingsManager]: * SMT solver=External_DefaultMode [2023-11-23 21:39:31,466 INFO L153 SettingsManager]: * Command for external solver=z3 SMTLIB2_COMPLIANT=true -memory:2024 -smt2 -in -t:2000 [2023-11-23 21:39:31,466 INFO L151 SettingsManager]: Preferences of TraceAbstraction differ from their defaults: [2023-11-23 21:39:31,467 INFO L153 SettingsManager]: * Compute Interpolants along a Counterexample=FPandBP [2023-11-23 21:39:31,467 INFO L153 SettingsManager]: * Trace refinement strategy=CAMEL [2023-11-23 21:39:31,468 INFO L153 SettingsManager]: * Command for external solver=z3 SMTLIB2_COMPLIANT=true -memory:2024 -smt2 -in [2023-11-23 21:39:31,468 INFO L153 SettingsManager]: * Apply one-shot large block encoding in concurrent analysis=false [2023-11-23 21:39:31,469 INFO L153 SettingsManager]: * Automaton type used in concurrency analysis=PETRI_NET [2023-11-23 21:39:31,469 INFO L153 SettingsManager]: * Order on configurations for Petri net unfoldings=DBO [2023-11-23 21:39:31,470 INFO L153 SettingsManager]: * SMT solver=External_ModelsAndUnsatCoreMode [2023-11-23 21:39:31,470 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_40bcc42f-db00-4804-9c27-954488c0a603/bin/uautomizer-verify-zZY32mL2XJ/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_40bcc42f-db00-4804-9c27-954488c0a603/bin/uautomizer-verify-zZY32mL2XJ 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 valid-free) ) CHECK( init(main()), LTL(G valid-deref) ) CHECK( init(main()), LTL(G valid-memtrack) ) 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 -> 828cbbb8bb1b7fb83d1c4d35071bdac7e1b4ae65dfc83ebb19446976ecd8d980 [2023-11-23 21:39:31,793 INFO L75 nceAwareModelManager]: Repository-Root is: /tmp [2023-11-23 21:39:31,824 INFO L261 ainManager$Toolchain]: [Toolchain 1]: Applicable parser(s) successfully (re)initialized [2023-11-23 21:39:31,828 INFO L217 ainManager$Toolchain]: [Toolchain 1]: Toolchain selected. [2023-11-23 21:39:31,830 INFO L270 PluginConnector]: Initializing CDTParser... [2023-11-23 21:39:31,831 INFO L274 PluginConnector]: CDTParser initialized [2023-11-23 21:39:31,832 INFO L431 ainManager$Toolchain]: [Toolchain 1]: Parsing single file: /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_40bcc42f-db00-4804-9c27-954488c0a603/bin/uautomizer-verify-zZY32mL2XJ/../../sv-benchmarks/c/pthread-ext/40_barrier_vf-pthread.i [2023-11-23 21:39:35,568 INFO L533 CDTParser]: Created temporary CDT project at NULL [2023-11-23 21:39:35,832 INFO L384 CDTParser]: Found 1 translation units. [2023-11-23 21:39:35,833 INFO L180 CDTParser]: Scanning /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_40bcc42f-db00-4804-9c27-954488c0a603/sv-benchmarks/c/pthread-ext/40_barrier_vf-pthread.i [2023-11-23 21:39:35,852 INFO L427 CDTParser]: About to delete temporary CDT project at /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_40bcc42f-db00-4804-9c27-954488c0a603/bin/uautomizer-verify-zZY32mL2XJ/data/94fb3a467/4865815d8f9a421fbb6f6a08f74e71a8/FLAGf11844c51 [2023-11-23 21:39:35,871 INFO L435 CDTParser]: Successfully deleted /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_40bcc42f-db00-4804-9c27-954488c0a603/bin/uautomizer-verify-zZY32mL2XJ/data/94fb3a467/4865815d8f9a421fbb6f6a08f74e71a8 [2023-11-23 21:39:35,875 INFO L299 ainManager$Toolchain]: ####################### [Toolchain 1] ####################### [2023-11-23 21:39:35,877 INFO L133 ToolchainWalker]: Walking toolchain with 6 elements. [2023-11-23 21:39:35,879 INFO L112 PluginConnector]: ------------------------CACSL2BoogieTranslator---------------------------- [2023-11-23 21:39:35,879 INFO L270 PluginConnector]: Initializing CACSL2BoogieTranslator... [2023-11-23 21:39:35,886 INFO L274 PluginConnector]: CACSL2BoogieTranslator initialized [2023-11-23 21:39:35,887 INFO L184 PluginConnector]: Executing the observer ACSLObjectContainerObserver from plugin CACSL2BoogieTranslator for "CDTParser AST 23.11 09:39:35" (1/1) ... [2023-11-23 21:39:35,889 INFO L204 PluginConnector]: Invalid model from CACSL2BoogieTranslator for observer de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator.ACSLObjectContainerObserver@51db7805 and model type de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 23.11 09:39:35, skipping insertion in model container [2023-11-23 21:39:35,889 INFO L184 PluginConnector]: Executing the observer CACSL2BoogieTranslatorObserver from plugin CACSL2BoogieTranslator for "CDTParser AST 23.11 09:39:35" (1/1) ... [2023-11-23 21:39:35,963 INFO L177 MainTranslator]: Built tables and reachable declarations [2023-11-23 21:39:36,496 INFO L209 PostProcessor]: Analyzing one entry point: main [2023-11-23 21:39:36,523 INFO L202 MainTranslator]: Completed pre-run [2023-11-23 21:39:36,610 INFO L209 PostProcessor]: Analyzing one entry point: main [2023-11-23 21:39:36,671 INFO L206 MainTranslator]: Completed translation [2023-11-23 21:39:36,671 INFO L201 PluginConnector]: Adding new model de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 23.11 09:39:36 WrapperNode [2023-11-23 21:39:36,672 INFO L131 PluginConnector]: ------------------------ END CACSL2BoogieTranslator---------------------------- [2023-11-23 21:39:36,673 INFO L112 PluginConnector]: ------------------------Boogie Procedure Inliner---------------------------- [2023-11-23 21:39:36,673 INFO L270 PluginConnector]: Initializing Boogie Procedure Inliner... [2023-11-23 21:39:36,674 INFO L274 PluginConnector]: Boogie Procedure Inliner initialized [2023-11-23 21:39:36,681 INFO L184 PluginConnector]: Executing the observer TypeChecker from plugin Boogie Procedure Inliner for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 23.11 09:39:36" (1/1) ... [2023-11-23 21:39:36,696 INFO L184 PluginConnector]: Executing the observer Inliner from plugin Boogie Procedure Inliner for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 23.11 09:39:36" (1/1) ... [2023-11-23 21:39:36,724 INFO L138 Inliner]: procedures = 165, calls = 33, calls flagged for inlining = 4, calls inlined = 4, statements flattened = 75 [2023-11-23 21:39:36,725 INFO L131 PluginConnector]: ------------------------ END Boogie Procedure Inliner---------------------------- [2023-11-23 21:39:36,726 INFO L112 PluginConnector]: ------------------------Boogie Preprocessor---------------------------- [2023-11-23 21:39:36,730 INFO L270 PluginConnector]: Initializing Boogie Preprocessor... [2023-11-23 21:39:36,730 INFO L274 PluginConnector]: Boogie Preprocessor initialized [2023-11-23 21:39:36,741 INFO L184 PluginConnector]: Executing the observer EnsureBoogieModelObserver from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 23.11 09:39:36" (1/1) ... [2023-11-23 21:39:36,741 INFO L184 PluginConnector]: Executing the observer TypeChecker from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 23.11 09:39:36" (1/1) ... [2023-11-23 21:39:36,745 INFO L184 PluginConnector]: Executing the observer ConstExpander from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 23.11 09:39:36" (1/1) ... [2023-11-23 21:39:36,746 INFO L184 PluginConnector]: Executing the observer StructExpander from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 23.11 09:39:36" (1/1) ... [2023-11-23 21:39:36,759 INFO L184 PluginConnector]: Executing the observer UnstructureCode from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 23.11 09:39:36" (1/1) ... [2023-11-23 21:39:36,763 INFO L184 PluginConnector]: Executing the observer FunctionInliner from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 23.11 09:39:36" (1/1) ... [2023-11-23 21:39:36,781 INFO L184 PluginConnector]: Executing the observer LTLStepAnnotator from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 23.11 09:39:36" (1/1) ... [2023-11-23 21:39:36,789 INFO L184 PluginConnector]: Executing the observer BoogieSymbolTableConstructor from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 23.11 09:39:36" (1/1) ... [2023-11-23 21:39:36,793 INFO L131 PluginConnector]: ------------------------ END Boogie Preprocessor---------------------------- [2023-11-23 21:39:36,794 INFO L112 PluginConnector]: ------------------------RCFGBuilder---------------------------- [2023-11-23 21:39:36,794 INFO L270 PluginConnector]: Initializing RCFGBuilder... [2023-11-23 21:39:36,795 INFO L274 PluginConnector]: RCFGBuilder initialized [2023-11-23 21:39:36,796 INFO L184 PluginConnector]: Executing the observer RCFGBuilderObserver from plugin RCFGBuilder for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 23.11 09:39:36" (1/1) ... [2023-11-23 21:39:36,816 INFO L173 SolverBuilder]: Constructing external solver with command: z3 SMTLIB2_COMPLIANT=true -memory:2024 -smt2 -in -t:2000 [2023-11-23 21:39:36,835 INFO L189 MonitoredProcess]: No working directory specified, using /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_40bcc42f-db00-4804-9c27-954488c0a603/bin/uautomizer-verify-zZY32mL2XJ/z3 [2023-11-23 21:39:36,862 INFO L229 MonitoredProcess]: Starting monitored process 1 with /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_40bcc42f-db00-4804-9c27-954488c0a603/bin/uautomizer-verify-zZY32mL2XJ/z3 SMTLIB2_COMPLIANT=true -memory:2024 -smt2 -in -t:2000 (exit command is (exit), workingDir is null) [2023-11-23 21:39:36,869 INFO L327 MonitoredProcess]: [MP /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_40bcc42f-db00-4804-9c27-954488c0a603/bin/uautomizer-verify-zZY32mL2XJ/z3 SMTLIB2_COMPLIANT=true -memory:2024 -smt2 -in -t:2000 (1)] Waiting until timeout for monitored process [2023-11-23 21:39:36,906 INFO L130 BoogieDeclarations]: Found specification of procedure thr1 [2023-11-23 21:39:36,907 INFO L138 BoogieDeclarations]: Found implementation of procedure thr1 [2023-11-23 21:39:36,907 INFO L130 BoogieDeclarations]: Found specification of procedure write~int [2023-11-23 21:39:36,908 INFO L130 BoogieDeclarations]: Found specification of procedure #PthreadsMutexLock [2023-11-23 21:39:36,908 INFO L130 BoogieDeclarations]: Found specification of procedure #Ultimate.allocInit [2023-11-23 21:39:36,908 INFO L130 BoogieDeclarations]: Found specification of procedure #Ultimate.allocOnStack [2023-11-23 21:39:36,908 INFO L130 BoogieDeclarations]: Found specification of procedure ULTIMATE.dealloc [2023-11-23 21:39:36,909 INFO L130 BoogieDeclarations]: Found specification of procedure write~init~int [2023-11-23 21:39:36,909 INFO L130 BoogieDeclarations]: Found specification of procedure #PthreadsMutexUnlock [2023-11-23 21:39:36,926 INFO L130 BoogieDeclarations]: Found specification of procedure ULTIMATE.start [2023-11-23 21:39:36,926 INFO L138 BoogieDeclarations]: Found implementation of procedure ULTIMATE.start [2023-11-23 21:39:36,930 WARN L213 CfgBuilder]: User set CodeBlockSize to SequenceOfStatements but program contains fork statements. Overwriting the user preferences and setting CodeBlockSize to OneNontrivialStatement [2023-11-23 21:39:37,094 INFO L241 CfgBuilder]: Building ICFG [2023-11-23 21:39:37,097 INFO L267 CfgBuilder]: Building CFG for each procedure with an implementation [2023-11-23 21:39:37,347 INFO L282 CfgBuilder]: Performing block encoding [2023-11-23 21:39:37,605 INFO L304 CfgBuilder]: Using the 1 location(s) as analysis (start of procedure ULTIMATE.start) [2023-11-23 21:39:37,607 INFO L309 CfgBuilder]: Removed 3 assume(true) statements. [2023-11-23 21:39:37,608 INFO L201 PluginConnector]: Adding new model de.uni_freiburg.informatik.ultimate.plugins.generator.rcfgbuilder CFG 23.11 09:39:37 BoogieIcfgContainer [2023-11-23 21:39:37,608 INFO L131 PluginConnector]: ------------------------ END RCFGBuilder---------------------------- [2023-11-23 21:39:37,611 INFO L112 PluginConnector]: ------------------------TraceAbstraction---------------------------- [2023-11-23 21:39:37,611 INFO L270 PluginConnector]: Initializing TraceAbstraction... [2023-11-23 21:39:37,615 INFO L274 PluginConnector]: TraceAbstraction initialized [2023-11-23 21:39:37,615 INFO L184 PluginConnector]: Executing the observer TraceAbstractionObserver from plugin TraceAbstraction for "CDTParser AST 23.11 09:39:35" (1/3) ... [2023-11-23 21:39:37,616 INFO L204 PluginConnector]: Invalid model from TraceAbstraction for observer de.uni_freiburg.informatik.ultimate.plugins.generator.traceabstraction.TraceAbstractionObserver@6cc71ab0 and model type de.uni_freiburg.informatik.ultimate.plugins.generator.traceabstraction AST 23.11 09:39:37, skipping insertion in model container [2023-11-23 21:39:37,616 INFO L184 PluginConnector]: Executing the observer TraceAbstractionObserver from plugin TraceAbstraction for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 23.11 09:39:36" (2/3) ... [2023-11-23 21:39:37,616 INFO L204 PluginConnector]: Invalid model from TraceAbstraction for observer de.uni_freiburg.informatik.ultimate.plugins.generator.traceabstraction.TraceAbstractionObserver@6cc71ab0 and model type de.uni_freiburg.informatik.ultimate.plugins.generator.traceabstraction AST 23.11 09:39:37, skipping insertion in model container [2023-11-23 21:39:37,617 INFO L184 PluginConnector]: Executing the observer TraceAbstractionObserver from plugin TraceAbstraction for "de.uni_freiburg.informatik.ultimate.plugins.generator.rcfgbuilder CFG 23.11 09:39:37" (3/3) ... [2023-11-23 21:39:37,618 INFO L112 eAbstractionObserver]: Analyzing ICFG 40_barrier_vf-pthread.i [2023-11-23 21:39:37,638 INFO L203 ceAbstractionStarter]: Automizer settings: Hoare:false NWA Interpolation:FPandBP Determinization: PREDICATE_ABSTRACTION [2023-11-23 21:39:37,638 INFO L162 ceAbstractionStarter]: Applying trace abstraction to program that has 4 error locations. [2023-11-23 21:39:37,638 INFO L514 ceAbstractionStarter]: Constructing petrified ICFG for 1 thread instances. [2023-11-23 21:39:37,681 INFO L144 ThreadInstanceAdder]: Constructed 0 joinOtherThreadTransitions. [2023-11-23 21:39:37,726 INFO L73 FinitePrefix]: Start finitePrefix. Operand has 30 places, 31 transitions, 66 flow [2023-11-23 21:39:37,781 INFO L124 PetriNetUnfolderBase]: 4/38 cut-off events. [2023-11-23 21:39:37,782 INFO L125 PetriNetUnfolderBase]: For 0/0 co-relation queries the response was YES. [2023-11-23 21:39:37,787 INFO L83 FinitePrefix]: Finished finitePrefix Result has 42 conditions, 38 events. 4/38 cut-off events. For 0/0 co-relation queries the response was YES. Maximal size of possible extension queue 6. Compared 71 event pairs, 0 based on Foata normal form. 0/25 useless extension candidates. Maximal degree in co-relation 28. Up to 2 conditions per place. [2023-11-23 21:39:37,790 INFO L82 GeneralOperation]: Start removeDead. Operand has 30 places, 31 transitions, 66 flow [2023-11-23 21:39:37,798 INFO L88 GeneralOperation]: Finished RemoveDead, result has has 30 places, 31 transitions, 66 flow [2023-11-23 21:39:37,812 INFO L356 AbstractCegarLoop]: ======== Iteration 0 == of CEGAR loop == AllErrorsAtOnce ======== [2023-11-23 21:39:37,821 INFO L357 AbstractCegarLoop]: Settings: SEPARATE_VIOLATION_CHECK=true, mInterprocedural=true, mMaxIterations=1000000, mWatchIteration=1000000, mArtifact=RCFG, mInterpolation=FPandBP, mInterpolantAutomaton=STRAIGHT_LINE, mDumpAutomata=false, mAutomataFormat=ATS_NUMERATE, mDumpPath=., mDeterminiation=PREDICATE_ABSTRACTION, mMinimize=MINIMIZE_SEVPA, mHoare=false, mAutomataTypeConcurrency=PETRI_NET, mHoareTripleChecks=INCREMENTAL, mHoareAnnotationPositions=All, 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;@50d831e3, mLbeIndependenceSettings=[IndependenceType=SEMANTIC, AbstractionType=NONE, UseConditional=false, UseSemiCommutativity=true, Solver=Z3, SolverTimeout=1000ms] [2023-11-23 21:39:37,821 INFO L358 AbstractCegarLoop]: Starting to check reachability of 6 error locations. [2023-11-23 21:39:37,827 INFO L185 PetriNetUnfolderBase]: Found word, exiting Unfolder. [2023-11-23 21:39:37,828 INFO L124 PetriNetUnfolderBase]: 0/4 cut-off events. [2023-11-23 21:39:37,828 INFO L125 PetriNetUnfolderBase]: For 0/0 co-relation queries the response was YES. [2023-11-23 21:39:37,828 INFO L200 CegarLoopForPetriNet]: Found error trace [2023-11-23 21:39:37,829 INFO L208 CegarLoopForPetriNet]: trace histogram [1, 1, 1] [2023-11-23 21:39:37,830 INFO L420 AbstractCegarLoop]: === Iteration 1 === Targeting ULTIMATE.startErr0REQUIRES_VIOLATIONMEMORY_DEREFERENCE === [thr1Err0ASSERT_VIOLATIONMEMORY_LEAK, ULTIMATE.startErr0REQUIRES_VIOLATIONMEMORY_DEREFERENCE, ULTIMATE.startErr1REQUIRES_VIOLATIONMEMORY_DEREFERENCE (and 3 more)] === [2023-11-23 21:39:37,837 INFO L160 PredicateUnifier]: Initialized classic predicate unifier [2023-11-23 21:39:37,837 INFO L85 PathProgramCache]: Analyzing trace with hash 238237, now seen corresponding path program 1 times [2023-11-23 21:39:37,860 INFO L118 FreeRefinementEngine]: Executing refinement strategy CAMEL [2023-11-23 21:39:37,861 INFO L334 FreeRefinementEngine]: Using trace check IpTcStrategyModuleSmtInterpolCraig [1523358395] [2023-11-23 21:39:37,861 INFO L95 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2023-11-23 21:39:37,862 INFO L127 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout -1 ms and remaining time -1 ms [2023-11-23 21:39:38,065 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2023-11-23 21:39:38,284 INFO L134 CoverageAnalysis]: Checked inductivity of 0 backedges. 0 proven. 0 refuted. 0 times theorem prover too weak. 0 trivial. 0 not checked. [2023-11-23 21:39:38,285 INFO L136 FreeRefinementEngine]: Strategy CAMEL found an infeasible trace [2023-11-23 21:39:38,286 INFO L334 FreeRefinementEngine]: Using interpolant generator IpTcStrategyModuleSmtInterpolCraig [1523358395] [2023-11-23 21:39:38,287 INFO L158 FreeRefinementEngine]: IpTcStrategyModuleSmtInterpolCraig [1523358395] provided 1 perfect and 0 imperfect interpolant sequences [2023-11-23 21:39:38,287 INFO L185 FreeRefinementEngine]: Found 1 perfect and 0 imperfect interpolant sequences. [2023-11-23 21:39:38,287 INFO L198 FreeRefinementEngine]: Number of different interpolants: perfect sequences [1] imperfect sequences [] total 1 [2023-11-23 21:39:38,290 INFO L121 tionRefinementEngine]: Using interpolant automaton builder IpAbStrategyModuleStraightlineAll [1118419208] [2023-11-23 21:39:38,291 INFO L85 oduleStraightlineAll]: Using 1 perfect interpolants to construct interpolant automaton [2023-11-23 21:39:38,302 INFO L571 AbstractCegarLoop]: INTERPOLANT automaton has 3 states [2023-11-23 21:39:38,310 INFO L100 FreeRefinementEngine]: Using predicate unifier PredicateUnifier provided by strategy CAMEL [2023-11-23 21:39:38,348 INFO L143 InterpolantAutomaton]: Constructing interpolant automaton starting with 3 interpolants. [2023-11-23 21:39:38,350 INFO L145 InterpolantAutomaton]: CoverageRelationStatistics Valid=3, Invalid=3, Unknown=0, NotChecked=0, Total=6 [2023-11-23 21:39:38,378 INFO L471 CegarLoopForPetriNet]: Number of universal loopers: 8 out of 31 [2023-11-23 21:39:38,382 INFO L103 encePairwiseOnDemand]: Start differencePairwiseOnDemand. First operand has 30 places, 31 transitions, 66 flow. Second operand has 3 states, 3 states have (on average 9.0) internal successors, (27), 3 states have internal predecessors, (27), 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) [2023-11-23 21:39:38,383 INFO L112 encePairwiseOnDemand]: Universal subtrahend loopers provided by user. [2023-11-23 21:39:38,383 INFO L113 encePairwiseOnDemand]: Number of universal subtrahend loopers: 8 of 31 [2023-11-23 21:39:38,384 INFO L73 FinitePrefix]: Start finitePrefix. Operand will be constructed on-demand [2023-11-23 21:39:38,466 INFO L124 PetriNetUnfolderBase]: 32/94 cut-off events. [2023-11-23 21:39:38,467 INFO L125 PetriNetUnfolderBase]: For 0/0 co-relation queries the response was YES. [2023-11-23 21:39:38,468 INFO L83 FinitePrefix]: Finished finitePrefix Result has 170 conditions, 94 events. 32/94 cut-off events. For 0/0 co-relation queries the response was YES. Maximal size of possible extension queue 8. Compared 258 event pairs, 24 based on Foata normal form. 12/106 useless extension candidates. Maximal degree in co-relation 155. Up to 71 conditions per place. [2023-11-23 21:39:38,471 INFO L140 encePairwiseOnDemand]: 25/31 looper letters, 14 selfloop transitions, 1 changer transitions 0/22 dead transitions. [2023-11-23 21:39:38,471 INFO L145 encePairwiseOnDemand]: Finished differencePairwiseOnDemand. Result has 25 places, 22 transitions, 78 flow [2023-11-23 21:39:38,473 INFO L141 InterpolantAutomaton]: Switched to read-only mode: deterministic interpolant automaton has 3 states. [2023-11-23 21:39:38,476 INFO L82 GeneralOperation]: Start removeUnreachable. Operand 3 states. [2023-11-23 21:39:38,485 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 3 states to 3 states and 44 transitions. [2023-11-23 21:39:38,487 INFO L516 CegarLoopForPetriNet]: DFA transition density 0.4731182795698925 [2023-11-23 21:39:38,488 INFO L72 ComplementDD]: Start complementDD. Operand 3 states and 44 transitions. [2023-11-23 21:39:38,489 INFO L73 IsDeterministic]: Start isDeterministic. Operand 3 states and 44 transitions. [2023-11-23 21:39:38,490 INFO L80 IsDeterministic]: Finished isDeterministic. Operand is deterministic. [2023-11-23 21:39:38,494 INFO L117 ReachableStatesCopy]: Start reachableStatesCopy. Operand 3 states and 44 transitions. [2023-11-23 21:39:38,496 INFO L343 DoubleDeckerVisitor]: Before removal of dead ends has 4 states, 3 states have (on average 14.666666666666666) internal successors, (44), 3 states have internal predecessors, (44), 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) [2023-11-23 21:39:38,500 INFO L131 ReachableStatesCopy]: Finished reachableStatesCopy Result has 4 states, 4 states have (on average 31.0) internal successors, (124), 4 states have internal predecessors, (124), 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) [2023-11-23 21:39:38,501 INFO L81 ComplementDD]: Finished complementDD. Result has 4 states, 4 states have (on average 31.0) internal successors, (124), 4 states have internal predecessors, (124), 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) [2023-11-23 21:39:38,503 INFO L175 Difference]: Start difference. First operand has 30 places, 31 transitions, 66 flow. Second operand 3 states and 44 transitions. [2023-11-23 21:39:38,505 INFO L82 GeneralOperation]: Start removeRedundantFlow. Operand has 25 places, 22 transitions, 78 flow [2023-11-23 21:39:38,508 INFO L88 GeneralOperation]: Finished removeRedundantFlow, result has has 25 places, 22 transitions, 78 flow, removed 0 selfloop flow, removed 0 redundant places. [2023-11-23 21:39:38,512 INFO L231 Difference]: Finished difference. Result has 25 places, 22 transitions, 50 flow [2023-11-23 21:39:38,515 INFO L264 CegarLoopForPetriNet]: {PETRI_ALPHABET=31, PETRI_DIFFERENCE_MINUEND_FLOW=48, PETRI_DIFFERENCE_MINUEND_PLACES=23, PETRI_DIFFERENCE_MINUEND_TRANSITIONS=22, PETRI_DIFFERENCE_SUBTRAHEND_LETTERS_WITH_MORE_CHANGERS_THAN_LOOPERS=1, PETRI_DIFFERENCE_SUBTRAHEND_LOOPER_ONLY_LETTERS=21, PETRI_DIFFERENCE_SUBTRAHEND_STATES=3, PETRI_FLOW=50, PETRI_PLACES=25, PETRI_TRANSITIONS=22} [2023-11-23 21:39:38,520 INFO L281 CegarLoopForPetriNet]: 30 programPoint places, -5 predicate places. [2023-11-23 21:39:38,522 INFO L495 AbstractCegarLoop]: Abstraction has has 25 places, 22 transitions, 50 flow [2023-11-23 21:39:38,522 INFO L496 AbstractCegarLoop]: INTERPOLANT automaton has has 3 states, 3 states have (on average 9.0) internal successors, (27), 3 states have internal predecessors, (27), 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) [2023-11-23 21:39:38,523 INFO L200 CegarLoopForPetriNet]: Found error trace [2023-11-23 21:39:38,524 INFO L208 CegarLoopForPetriNet]: trace histogram [1, 1, 1] [2023-11-23 21:39:38,525 WARN L477 AbstractCegarLoop]: Destroyed unattended storables created during the last iteration: SelfDestructingSolverStorable0 [2023-11-23 21:39:38,525 INFO L420 AbstractCegarLoop]: === Iteration 2 === Targeting ULTIMATE.startErr1REQUIRES_VIOLATIONMEMORY_DEREFERENCE === [thr1Err0ASSERT_VIOLATIONMEMORY_LEAK, ULTIMATE.startErr0REQUIRES_VIOLATIONMEMORY_DEREFERENCE, ULTIMATE.startErr1REQUIRES_VIOLATIONMEMORY_DEREFERENCE (and 3 more)] === [2023-11-23 21:39:38,527 INFO L160 PredicateUnifier]: Initialized classic predicate unifier [2023-11-23 21:39:38,528 INFO L85 PathProgramCache]: Analyzing trace with hash 238238, now seen corresponding path program 1 times [2023-11-23 21:39:38,529 INFO L118 FreeRefinementEngine]: Executing refinement strategy CAMEL [2023-11-23 21:39:38,529 INFO L334 FreeRefinementEngine]: Using trace check IpTcStrategyModuleSmtInterpolCraig [989725514] [2023-11-23 21:39:38,530 INFO L95 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2023-11-23 21:39:38,530 INFO L127 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout -1 ms and remaining time -1 ms [2023-11-23 21:39:38,609 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2023-11-23 21:39:38,764 INFO L134 CoverageAnalysis]: Checked inductivity of 0 backedges. 0 proven. 0 refuted. 0 times theorem prover too weak. 0 trivial. 0 not checked. [2023-11-23 21:39:38,764 INFO L136 FreeRefinementEngine]: Strategy CAMEL found an infeasible trace [2023-11-23 21:39:38,765 INFO L334 FreeRefinementEngine]: Using interpolant generator IpTcStrategyModuleSmtInterpolCraig [989725514] [2023-11-23 21:39:38,766 INFO L158 FreeRefinementEngine]: IpTcStrategyModuleSmtInterpolCraig [989725514] provided 1 perfect and 0 imperfect interpolant sequences [2023-11-23 21:39:38,767 INFO L185 FreeRefinementEngine]: Found 1 perfect and 0 imperfect interpolant sequences. [2023-11-23 21:39:38,767 INFO L198 FreeRefinementEngine]: Number of different interpolants: perfect sequences [1] imperfect sequences [] total 1 [2023-11-23 21:39:38,767 INFO L121 tionRefinementEngine]: Using interpolant automaton builder IpAbStrategyModuleStraightlineAll [1299751031] [2023-11-23 21:39:38,768 INFO L85 oduleStraightlineAll]: Using 1 perfect interpolants to construct interpolant automaton [2023-11-23 21:39:38,769 INFO L571 AbstractCegarLoop]: INTERPOLANT automaton has 3 states [2023-11-23 21:39:38,770 INFO L100 FreeRefinementEngine]: Using predicate unifier PredicateUnifier provided by strategy CAMEL [2023-11-23 21:39:38,771 INFO L143 InterpolantAutomaton]: Constructing interpolant automaton starting with 3 interpolants. [2023-11-23 21:39:38,772 INFO L145 InterpolantAutomaton]: CoverageRelationStatistics Valid=3, Invalid=3, Unknown=0, NotChecked=0, Total=6 [2023-11-23 21:39:38,784 INFO L471 CegarLoopForPetriNet]: Number of universal loopers: 9 out of 31 [2023-11-23 21:39:38,786 INFO L103 encePairwiseOnDemand]: Start differencePairwiseOnDemand. First operand has 25 places, 22 transitions, 50 flow. Second operand has 3 states, 3 states have (on average 10.0) internal successors, (30), 3 states have internal predecessors, (30), 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) [2023-11-23 21:39:38,786 INFO L112 encePairwiseOnDemand]: Universal subtrahend loopers provided by user. [2023-11-23 21:39:38,786 INFO L113 encePairwiseOnDemand]: Number of universal subtrahend loopers: 9 of 31 [2023-11-23 21:39:38,787 INFO L73 FinitePrefix]: Start finitePrefix. Operand will be constructed on-demand [2023-11-23 21:39:38,869 INFO L124 PetriNetUnfolderBase]: 22/69 cut-off events. [2023-11-23 21:39:38,870 INFO L125 PetriNetUnfolderBase]: For 1/1 co-relation queries the response was YES. [2023-11-23 21:39:38,871 INFO L83 FinitePrefix]: Finished finitePrefix Result has 127 conditions, 69 events. 22/69 cut-off events. For 1/1 co-relation queries the response was YES. Maximal size of possible extension queue 6. Compared 164 event pairs, 16 based on Foata normal form. 10/79 useless extension candidates. Maximal degree in co-relation 120. Up to 51 conditions per place. [2023-11-23 21:39:38,872 INFO L140 encePairwiseOnDemand]: 29/31 looper letters, 13 selfloop transitions, 1 changer transitions 0/21 dead transitions. [2023-11-23 21:39:38,873 INFO L145 encePairwiseOnDemand]: Finished differencePairwiseOnDemand. Result has 26 places, 21 transitions, 76 flow [2023-11-23 21:39:38,873 INFO L141 InterpolantAutomaton]: Switched to read-only mode: deterministic interpolant automaton has 3 states. [2023-11-23 21:39:38,874 INFO L82 GeneralOperation]: Start removeUnreachable. Operand 3 states. [2023-11-23 21:39:38,875 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 3 states to 3 states and 42 transitions. [2023-11-23 21:39:38,875 INFO L516 CegarLoopForPetriNet]: DFA transition density 0.45161290322580644 [2023-11-23 21:39:38,876 INFO L72 ComplementDD]: Start complementDD. Operand 3 states and 42 transitions. [2023-11-23 21:39:38,876 INFO L73 IsDeterministic]: Start isDeterministic. Operand 3 states and 42 transitions. [2023-11-23 21:39:38,876 INFO L80 IsDeterministic]: Finished isDeterministic. Operand is deterministic. [2023-11-23 21:39:38,877 INFO L117 ReachableStatesCopy]: Start reachableStatesCopy. Operand 3 states and 42 transitions. [2023-11-23 21:39:38,878 INFO L343 DoubleDeckerVisitor]: Before removal of dead ends has 4 states, 3 states have (on average 14.0) internal successors, (42), 3 states have internal predecessors, (42), 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) [2023-11-23 21:39:38,879 INFO L131 ReachableStatesCopy]: Finished reachableStatesCopy Result has 4 states, 4 states have (on average 31.0) internal successors, (124), 4 states have internal predecessors, (124), 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) [2023-11-23 21:39:38,880 INFO L81 ComplementDD]: Finished complementDD. Result has 4 states, 4 states have (on average 31.0) internal successors, (124), 4 states have internal predecessors, (124), 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) [2023-11-23 21:39:38,880 INFO L175 Difference]: Start difference. First operand has 25 places, 22 transitions, 50 flow. Second operand 3 states and 42 transitions. [2023-11-23 21:39:38,880 INFO L82 GeneralOperation]: Start removeRedundantFlow. Operand has 26 places, 21 transitions, 76 flow [2023-11-23 21:39:38,881 INFO L88 GeneralOperation]: Finished removeRedundantFlow, result has has 25 places, 21 transitions, 75 flow, removed 0 selfloop flow, removed 1 redundant places. [2023-11-23 21:39:38,883 INFO L231 Difference]: Finished difference. Result has 25 places, 21 transitions, 49 flow [2023-11-23 21:39:38,883 INFO L264 CegarLoopForPetriNet]: {PETRI_ALPHABET=31, PETRI_DIFFERENCE_MINUEND_FLOW=47, PETRI_DIFFERENCE_MINUEND_PLACES=23, PETRI_DIFFERENCE_MINUEND_TRANSITIONS=21, PETRI_DIFFERENCE_SUBTRAHEND_LETTERS_WITH_MORE_CHANGERS_THAN_LOOPERS=1, PETRI_DIFFERENCE_SUBTRAHEND_LOOPER_ONLY_LETTERS=20, PETRI_DIFFERENCE_SUBTRAHEND_STATES=3, PETRI_FLOW=49, PETRI_PLACES=25, PETRI_TRANSITIONS=21} [2023-11-23 21:39:38,884 INFO L281 CegarLoopForPetriNet]: 30 programPoint places, -5 predicate places. [2023-11-23 21:39:38,885 INFO L495 AbstractCegarLoop]: Abstraction has has 25 places, 21 transitions, 49 flow [2023-11-23 21:39:38,885 INFO L496 AbstractCegarLoop]: INTERPOLANT automaton has has 3 states, 3 states have (on average 10.0) internal successors, (30), 3 states have internal predecessors, (30), 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) [2023-11-23 21:39:38,886 INFO L200 CegarLoopForPetriNet]: Found error trace [2023-11-23 21:39:38,886 INFO L208 CegarLoopForPetriNet]: trace histogram [2, 2, 1, 1, 1, 1] [2023-11-23 21:39:38,886 WARN L477 AbstractCegarLoop]: Destroyed unattended storables created during the last iteration: SelfDestructingSolverStorable1 [2023-11-23 21:39:38,887 INFO L420 AbstractCegarLoop]: === Iteration 3 === Targeting ULTIMATE.startErr0INUSE_VIOLATIONSUFFICIENT_THREAD_INSTANCES === [thr1Err0ASSERT_VIOLATIONMEMORY_LEAK, ULTIMATE.startErr0REQUIRES_VIOLATIONMEMORY_DEREFERENCE, ULTIMATE.startErr1REQUIRES_VIOLATIONMEMORY_DEREFERENCE (and 3 more)] === [2023-11-23 21:39:38,890 INFO L160 PredicateUnifier]: Initialized classic predicate unifier [2023-11-23 21:39:38,890 INFO L85 PathProgramCache]: Analyzing trace with hash 308589829, now seen corresponding path program 1 times [2023-11-23 21:39:38,891 INFO L118 FreeRefinementEngine]: Executing refinement strategy CAMEL [2023-11-23 21:39:38,893 INFO L334 FreeRefinementEngine]: Using trace check IpTcStrategyModuleSmtInterpolCraig [2116661357] [2023-11-23 21:39:38,895 INFO L95 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2023-11-23 21:39:38,896 INFO L127 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout -1 ms and remaining time -1 ms [2023-11-23 21:39:38,949 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2023-11-23 21:39:38,949 INFO L356 TraceCheck]: Trace is feasible, we will do another trace check, this time with branch encoders. [2023-11-23 21:39:38,967 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2023-11-23 21:39:38,993 INFO L130 FreeRefinementEngine]: Strategy CAMEL found a feasible trace [2023-11-23 21:39:38,993 INFO L360 BasicCegarLoop]: Counterexample is feasible [2023-11-23 21:39:38,995 INFO L805 garLoopResultBuilder]: Registering result UNSAFE for location ULTIMATE.startErr0INUSE_VIOLATIONSUFFICIENT_THREAD_INSTANCES (5 of 6 remaining) [2023-11-23 21:39:38,998 INFO L805 garLoopResultBuilder]: Registering result UNKNOWN for location thr1Err0ASSERT_VIOLATIONMEMORY_LEAK (4 of 6 remaining) [2023-11-23 21:39:38,998 INFO L805 garLoopResultBuilder]: Registering result UNKNOWN for location ULTIMATE.startErr0REQUIRES_VIOLATIONMEMORY_DEREFERENCE (3 of 6 remaining) [2023-11-23 21:39:38,999 INFO L805 garLoopResultBuilder]: Registering result UNKNOWN for location ULTIMATE.startErr1REQUIRES_VIOLATIONMEMORY_DEREFERENCE (2 of 6 remaining) [2023-11-23 21:39:38,999 INFO L805 garLoopResultBuilder]: Registering result UNKNOWN for location ULTIMATE.startErr2ASSERT_VIOLATIONMEMORY_LEAK (1 of 6 remaining) [2023-11-23 21:39:39,000 INFO L805 garLoopResultBuilder]: Registering result UNKNOWN for location thr1Err0ASSERT_VIOLATIONMEMORY_LEAK (0 of 6 remaining) [2023-11-23 21:39:39,000 WARN L477 AbstractCegarLoop]: Destroyed unattended storables created during the last iteration: SelfDestructingSolverStorable2 [2023-11-23 21:39:39,001 INFO L445 BasicCegarLoop]: Path program histogram: [1, 1, 1] [2023-11-23 21:39:39,005 WARN L233 ceAbstractionStarter]: 1 thread instances were not sufficient, I will increase this number and restart the analysis [2023-11-23 21:39:39,005 INFO L514 ceAbstractionStarter]: Constructing petrified ICFG for 2 thread instances. [2023-11-23 21:39:39,034 INFO L144 ThreadInstanceAdder]: Constructed 0 joinOtherThreadTransitions. [2023-11-23 21:39:39,038 INFO L73 FinitePrefix]: Start finitePrefix. Operand has 49 places, 52 transitions, 114 flow [2023-11-23 21:39:39,055 INFO L124 PetriNetUnfolderBase]: 8/67 cut-off events. [2023-11-23 21:39:39,056 INFO L125 PetriNetUnfolderBase]: For 2/2 co-relation queries the response was YES. [2023-11-23 21:39:39,057 INFO L83 FinitePrefix]: Finished finitePrefix Result has 75 conditions, 67 events. 8/67 cut-off events. For 2/2 co-relation queries the response was YES. Maximal size of possible extension queue 9. Compared 183 event pairs, 0 based on Foata normal form. 0/45 useless extension candidates. Maximal degree in co-relation 48. Up to 3 conditions per place. [2023-11-23 21:39:39,057 INFO L82 GeneralOperation]: Start removeDead. Operand has 49 places, 52 transitions, 114 flow [2023-11-23 21:39:39,059 INFO L88 GeneralOperation]: Finished RemoveDead, result has has 49 places, 52 transitions, 114 flow [2023-11-23 21:39:39,062 INFO L356 AbstractCegarLoop]: ======== Iteration 0 == of CEGAR loop == AllErrorsAtOnce ======== [2023-11-23 21:39:39,063 INFO L357 AbstractCegarLoop]: Settings: SEPARATE_VIOLATION_CHECK=true, mInterprocedural=true, mMaxIterations=1000000, mWatchIteration=1000000, mArtifact=RCFG, mInterpolation=FPandBP, mInterpolantAutomaton=STRAIGHT_LINE, mDumpAutomata=false, mAutomataFormat=ATS_NUMERATE, mDumpPath=., mDeterminiation=PREDICATE_ABSTRACTION, mMinimize=MINIMIZE_SEVPA, mHoare=false, mAutomataTypeConcurrency=PETRI_NET, mHoareTripleChecks=INCREMENTAL, mHoareAnnotationPositions=All, 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;@50d831e3, mLbeIndependenceSettings=[IndependenceType=SEMANTIC, AbstractionType=NONE, UseConditional=false, UseSemiCommutativity=true, Solver=Z3, SolverTimeout=1000ms] [2023-11-23 21:39:39,064 INFO L358 AbstractCegarLoop]: Starting to check reachability of 7 error locations. [2023-11-23 21:39:39,067 INFO L185 PetriNetUnfolderBase]: Found word, exiting Unfolder. [2023-11-23 21:39:39,068 INFO L124 PetriNetUnfolderBase]: 0/4 cut-off events. [2023-11-23 21:39:39,068 INFO L125 PetriNetUnfolderBase]: For 0/0 co-relation queries the response was YES. [2023-11-23 21:39:39,068 INFO L200 CegarLoopForPetriNet]: Found error trace [2023-11-23 21:39:39,068 INFO L208 CegarLoopForPetriNet]: trace histogram [1, 1, 1] [2023-11-23 21:39:39,069 INFO L420 AbstractCegarLoop]: === Iteration 1 === Targeting ULTIMATE.startErr0REQUIRES_VIOLATIONMEMORY_DEREFERENCE === [thr1Err0ASSERT_VIOLATIONMEMORY_LEAK, ULTIMATE.startErr0REQUIRES_VIOLATIONMEMORY_DEREFERENCE, ULTIMATE.startErr1REQUIRES_VIOLATIONMEMORY_DEREFERENCE (and 4 more)] === [2023-11-23 21:39:39,069 INFO L160 PredicateUnifier]: Initialized classic predicate unifier [2023-11-23 21:39:39,070 INFO L85 PathProgramCache]: Analyzing trace with hash 289873, now seen corresponding path program 1 times [2023-11-23 21:39:39,070 INFO L118 FreeRefinementEngine]: Executing refinement strategy CAMEL [2023-11-23 21:39:39,070 INFO L334 FreeRefinementEngine]: Using trace check IpTcStrategyModuleSmtInterpolCraig [316507606] [2023-11-23 21:39:39,071 INFO L95 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2023-11-23 21:39:39,071 INFO L127 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout -1 ms and remaining time -1 ms [2023-11-23 21:39:39,085 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2023-11-23 21:39:39,131 INFO L134 CoverageAnalysis]: Checked inductivity of 0 backedges. 0 proven. 0 refuted. 0 times theorem prover too weak. 0 trivial. 0 not checked. [2023-11-23 21:39:39,132 INFO L136 FreeRefinementEngine]: Strategy CAMEL found an infeasible trace [2023-11-23 21:39:39,132 INFO L334 FreeRefinementEngine]: Using interpolant generator IpTcStrategyModuleSmtInterpolCraig [316507606] [2023-11-23 21:39:39,133 INFO L158 FreeRefinementEngine]: IpTcStrategyModuleSmtInterpolCraig [316507606] provided 1 perfect and 0 imperfect interpolant sequences [2023-11-23 21:39:39,133 INFO L185 FreeRefinementEngine]: Found 1 perfect and 0 imperfect interpolant sequences. [2023-11-23 21:39:39,133 INFO L198 FreeRefinementEngine]: Number of different interpolants: perfect sequences [1] imperfect sequences [] total 1 [2023-11-23 21:39:39,134 INFO L121 tionRefinementEngine]: Using interpolant automaton builder IpAbStrategyModuleStraightlineAll [1753771093] [2023-11-23 21:39:39,134 INFO L85 oduleStraightlineAll]: Using 1 perfect interpolants to construct interpolant automaton [2023-11-23 21:39:39,134 INFO L571 AbstractCegarLoop]: INTERPOLANT automaton has 3 states [2023-11-23 21:39:39,135 INFO L100 FreeRefinementEngine]: Using predicate unifier PredicateUnifier provided by strategy CAMEL [2023-11-23 21:39:39,135 INFO L143 InterpolantAutomaton]: Constructing interpolant automaton starting with 3 interpolants. [2023-11-23 21:39:39,136 INFO L145 InterpolantAutomaton]: CoverageRelationStatistics Valid=3, Invalid=3, Unknown=0, NotChecked=0, Total=6 [2023-11-23 21:39:39,145 INFO L471 CegarLoopForPetriNet]: Number of universal loopers: 13 out of 52 [2023-11-23 21:39:39,146 INFO L103 encePairwiseOnDemand]: Start differencePairwiseOnDemand. First operand has 49 places, 52 transitions, 114 flow. Second operand has 3 states, 3 states have (on average 14.0) internal successors, (42), 3 states have internal predecessors, (42), 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) [2023-11-23 21:39:39,146 INFO L112 encePairwiseOnDemand]: Universal subtrahend loopers provided by user. [2023-11-23 21:39:39,146 INFO L113 encePairwiseOnDemand]: Number of universal subtrahend loopers: 13 of 52 [2023-11-23 21:39:39,147 INFO L73 FinitePrefix]: Start finitePrefix. Operand will be constructed on-demand [2023-11-23 21:39:39,442 INFO L124 PetriNetUnfolderBase]: 809/1500 cut-off events. [2023-11-23 21:39:39,442 INFO L125 PetriNetUnfolderBase]: For 30/30 co-relation queries the response was YES. [2023-11-23 21:39:39,451 INFO L83 FinitePrefix]: Finished finitePrefix Result has 2749 conditions, 1500 events. 809/1500 cut-off events. For 30/30 co-relation queries the response was YES. Maximal size of possible extension queue 80. Compared 7811 event pairs, 597 based on Foata normal form. 228/1712 useless extension candidates. Maximal degree in co-relation 1015. Up to 1216 conditions per place. [2023-11-23 21:39:39,466 INFO L140 encePairwiseOnDemand]: 43/52 looper letters, 25 selfloop transitions, 1 changer transitions 0/38 dead transitions. [2023-11-23 21:39:39,467 INFO L145 encePairwiseOnDemand]: Finished differencePairwiseOnDemand. Result has 41 places, 38 transitions, 138 flow [2023-11-23 21:39:39,467 INFO L141 InterpolantAutomaton]: Switched to read-only mode: deterministic interpolant automaton has 3 states. [2023-11-23 21:39:39,468 INFO L82 GeneralOperation]: Start removeUnreachable. Operand 3 states. [2023-11-23 21:39:39,469 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 3 states to 3 states and 73 transitions. [2023-11-23 21:39:39,470 INFO L516 CegarLoopForPetriNet]: DFA transition density 0.46794871794871795 [2023-11-23 21:39:39,470 INFO L72 ComplementDD]: Start complementDD. Operand 3 states and 73 transitions. [2023-11-23 21:39:39,470 INFO L73 IsDeterministic]: Start isDeterministic. Operand 3 states and 73 transitions. [2023-11-23 21:39:39,471 INFO L80 IsDeterministic]: Finished isDeterministic. Operand is deterministic. [2023-11-23 21:39:39,471 INFO L117 ReachableStatesCopy]: Start reachableStatesCopy. Operand 3 states and 73 transitions. [2023-11-23 21:39:39,472 INFO L343 DoubleDeckerVisitor]: Before removal of dead ends has 4 states, 3 states have (on average 24.333333333333332) internal successors, (73), 3 states have internal predecessors, (73), 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) [2023-11-23 21:39:39,473 INFO L131 ReachableStatesCopy]: Finished reachableStatesCopy Result has 4 states, 4 states have (on average 52.0) internal successors, (208), 4 states have internal predecessors, (208), 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) [2023-11-23 21:39:39,473 INFO L81 ComplementDD]: Finished complementDD. Result has 4 states, 4 states have (on average 52.0) internal successors, (208), 4 states have internal predecessors, (208), 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) [2023-11-23 21:39:39,474 INFO L175 Difference]: Start difference. First operand has 49 places, 52 transitions, 114 flow. Second operand 3 states and 73 transitions. [2023-11-23 21:39:39,474 INFO L82 GeneralOperation]: Start removeRedundantFlow. Operand has 41 places, 38 transitions, 138 flow [2023-11-23 21:39:39,475 INFO L88 GeneralOperation]: Finished removeRedundantFlow, result has has 41 places, 38 transitions, 138 flow, removed 0 selfloop flow, removed 0 redundant places. [2023-11-23 21:39:39,477 INFO L231 Difference]: Finished difference. Result has 41 places, 38 transitions, 88 flow [2023-11-23 21:39:39,478 INFO L264 CegarLoopForPetriNet]: {PETRI_ALPHABET=52, PETRI_DIFFERENCE_MINUEND_FLOW=86, PETRI_DIFFERENCE_MINUEND_PLACES=39, PETRI_DIFFERENCE_MINUEND_TRANSITIONS=38, PETRI_DIFFERENCE_SUBTRAHEND_LETTERS_WITH_MORE_CHANGERS_THAN_LOOPERS=1, PETRI_DIFFERENCE_SUBTRAHEND_LOOPER_ONLY_LETTERS=37, PETRI_DIFFERENCE_SUBTRAHEND_STATES=3, PETRI_FLOW=88, PETRI_PLACES=41, PETRI_TRANSITIONS=38} [2023-11-23 21:39:39,479 INFO L281 CegarLoopForPetriNet]: 49 programPoint places, -8 predicate places. [2023-11-23 21:39:39,479 INFO L495 AbstractCegarLoop]: Abstraction has has 41 places, 38 transitions, 88 flow [2023-11-23 21:39:39,479 INFO L496 AbstractCegarLoop]: INTERPOLANT automaton has has 3 states, 3 states have (on average 14.0) internal successors, (42), 3 states have internal predecessors, (42), 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) [2023-11-23 21:39:39,479 INFO L200 CegarLoopForPetriNet]: Found error trace [2023-11-23 21:39:39,480 INFO L208 CegarLoopForPetriNet]: trace histogram [1, 1, 1] [2023-11-23 21:39:39,480 WARN L477 AbstractCegarLoop]: Destroyed unattended storables created during the last iteration: SelfDestructingSolverStorable3 [2023-11-23 21:39:39,480 INFO L420 AbstractCegarLoop]: === Iteration 2 === Targeting ULTIMATE.startErr1REQUIRES_VIOLATIONMEMORY_DEREFERENCE === [thr1Err0ASSERT_VIOLATIONMEMORY_LEAK, ULTIMATE.startErr0REQUIRES_VIOLATIONMEMORY_DEREFERENCE, ULTIMATE.startErr1REQUIRES_VIOLATIONMEMORY_DEREFERENCE (and 4 more)] === [2023-11-23 21:39:39,481 INFO L160 PredicateUnifier]: Initialized classic predicate unifier [2023-11-23 21:39:39,481 INFO L85 PathProgramCache]: Analyzing trace with hash 289874, now seen corresponding path program 1 times [2023-11-23 21:39:39,481 INFO L118 FreeRefinementEngine]: Executing refinement strategy CAMEL [2023-11-23 21:39:39,481 INFO L334 FreeRefinementEngine]: Using trace check IpTcStrategyModuleSmtInterpolCraig [546355529] [2023-11-23 21:39:39,481 INFO L95 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2023-11-23 21:39:39,482 INFO L127 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout -1 ms and remaining time -1 ms [2023-11-23 21:39:39,501 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2023-11-23 21:39:39,621 INFO L134 CoverageAnalysis]: Checked inductivity of 0 backedges. 0 proven. 0 refuted. 0 times theorem prover too weak. 0 trivial. 0 not checked. [2023-11-23 21:39:39,623 INFO L136 FreeRefinementEngine]: Strategy CAMEL found an infeasible trace [2023-11-23 21:39:39,623 INFO L334 FreeRefinementEngine]: Using interpolant generator IpTcStrategyModuleSmtInterpolCraig [546355529] [2023-11-23 21:39:39,623 INFO L158 FreeRefinementEngine]: IpTcStrategyModuleSmtInterpolCraig [546355529] provided 1 perfect and 0 imperfect interpolant sequences [2023-11-23 21:39:39,624 INFO L185 FreeRefinementEngine]: Found 1 perfect and 0 imperfect interpolant sequences. [2023-11-23 21:39:39,624 INFO L198 FreeRefinementEngine]: Number of different interpolants: perfect sequences [1] imperfect sequences [] total 1 [2023-11-23 21:39:39,624 INFO L121 tionRefinementEngine]: Using interpolant automaton builder IpAbStrategyModuleStraightlineAll [1472728285] [2023-11-23 21:39:39,625 INFO L85 oduleStraightlineAll]: Using 1 perfect interpolants to construct interpolant automaton [2023-11-23 21:39:39,625 INFO L571 AbstractCegarLoop]: INTERPOLANT automaton has 3 states [2023-11-23 21:39:39,626 INFO L100 FreeRefinementEngine]: Using predicate unifier PredicateUnifier provided by strategy CAMEL [2023-11-23 21:39:39,626 INFO L143 InterpolantAutomaton]: Constructing interpolant automaton starting with 3 interpolants. [2023-11-23 21:39:39,627 INFO L145 InterpolantAutomaton]: CoverageRelationStatistics Valid=3, Invalid=3, Unknown=0, NotChecked=0, Total=6 [2023-11-23 21:39:39,638 INFO L471 CegarLoopForPetriNet]: Number of universal loopers: 14 out of 52 [2023-11-23 21:39:39,639 INFO L103 encePairwiseOnDemand]: Start differencePairwiseOnDemand. First operand has 41 places, 38 transitions, 88 flow. Second operand has 3 states, 3 states have (on average 15.0) internal successors, (45), 3 states have internal predecessors, (45), 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) [2023-11-23 21:39:39,640 INFO L112 encePairwiseOnDemand]: Universal subtrahend loopers provided by user. [2023-11-23 21:39:39,640 INFO L113 encePairwiseOnDemand]: Number of universal subtrahend loopers: 14 of 52 [2023-11-23 21:39:39,640 INFO L73 FinitePrefix]: Start finitePrefix. Operand will be constructed on-demand [2023-11-23 21:39:39,874 INFO L124 PetriNetUnfolderBase]: 576/1089 cut-off events. [2023-11-23 21:39:39,875 INFO L125 PetriNetUnfolderBase]: For 29/29 co-relation queries the response was YES. [2023-11-23 21:39:39,878 INFO L83 FinitePrefix]: Finished finitePrefix Result has 2002 conditions, 1089 events. 576/1089 cut-off events. For 29/29 co-relation queries the response was YES. Maximal size of possible extension queue 61. Compared 5348 event pairs, 420 based on Foata normal form. 101/1178 useless extension candidates. Maximal degree in co-relation 1994. Up to 878 conditions per place. [2023-11-23 21:39:39,887 INFO L140 encePairwiseOnDemand]: 50/52 looper letters, 24 selfloop transitions, 1 changer transitions 0/37 dead transitions. [2023-11-23 21:39:39,888 INFO L145 encePairwiseOnDemand]: Finished differencePairwiseOnDemand. Result has 42 places, 37 transitions, 136 flow [2023-11-23 21:39:39,889 INFO L141 InterpolantAutomaton]: Switched to read-only mode: deterministic interpolant automaton has 3 states. [2023-11-23 21:39:39,889 INFO L82 GeneralOperation]: Start removeUnreachable. Operand 3 states. [2023-11-23 21:39:39,890 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 3 states to 3 states and 68 transitions. [2023-11-23 21:39:39,892 INFO L516 CegarLoopForPetriNet]: DFA transition density 0.4358974358974359 [2023-11-23 21:39:39,892 INFO L72 ComplementDD]: Start complementDD. Operand 3 states and 68 transitions. [2023-11-23 21:39:39,893 INFO L73 IsDeterministic]: Start isDeterministic. Operand 3 states and 68 transitions. [2023-11-23 21:39:39,894 INFO L80 IsDeterministic]: Finished isDeterministic. Operand is deterministic. [2023-11-23 21:39:39,895 INFO L117 ReachableStatesCopy]: Start reachableStatesCopy. Operand 3 states and 68 transitions. [2023-11-23 21:39:39,896 INFO L343 DoubleDeckerVisitor]: Before removal of dead ends has 4 states, 3 states have (on average 22.666666666666668) internal successors, (68), 3 states have internal predecessors, (68), 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) [2023-11-23 21:39:39,898 INFO L131 ReachableStatesCopy]: Finished reachableStatesCopy Result has 4 states, 4 states have (on average 52.0) internal successors, (208), 4 states have internal predecessors, (208), 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) [2023-11-23 21:39:39,898 INFO L81 ComplementDD]: Finished complementDD. Result has 4 states, 4 states have (on average 52.0) internal successors, (208), 4 states have internal predecessors, (208), 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) [2023-11-23 21:39:39,899 INFO L175 Difference]: Start difference. First operand has 41 places, 38 transitions, 88 flow. Second operand 3 states and 68 transitions. [2023-11-23 21:39:39,900 INFO L82 GeneralOperation]: Start removeRedundantFlow. Operand has 42 places, 37 transitions, 136 flow [2023-11-23 21:39:39,906 INFO L88 GeneralOperation]: Finished removeRedundantFlow, result has has 41 places, 37 transitions, 135 flow, removed 0 selfloop flow, removed 1 redundant places. [2023-11-23 21:39:39,908 INFO L231 Difference]: Finished difference. Result has 41 places, 37 transitions, 87 flow [2023-11-23 21:39:39,909 INFO L264 CegarLoopForPetriNet]: {PETRI_ALPHABET=52, PETRI_DIFFERENCE_MINUEND_FLOW=85, PETRI_DIFFERENCE_MINUEND_PLACES=39, PETRI_DIFFERENCE_MINUEND_TRANSITIONS=37, PETRI_DIFFERENCE_SUBTRAHEND_LETTERS_WITH_MORE_CHANGERS_THAN_LOOPERS=1, PETRI_DIFFERENCE_SUBTRAHEND_LOOPER_ONLY_LETTERS=36, PETRI_DIFFERENCE_SUBTRAHEND_STATES=3, PETRI_FLOW=87, PETRI_PLACES=41, PETRI_TRANSITIONS=37} [2023-11-23 21:39:39,911 INFO L281 CegarLoopForPetriNet]: 49 programPoint places, -8 predicate places. [2023-11-23 21:39:39,912 INFO L495 AbstractCegarLoop]: Abstraction has has 41 places, 37 transitions, 87 flow [2023-11-23 21:39:39,912 INFO L496 AbstractCegarLoop]: INTERPOLANT automaton has has 3 states, 3 states have (on average 15.0) internal successors, (45), 3 states have internal predecessors, (45), 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) [2023-11-23 21:39:39,912 INFO L200 CegarLoopForPetriNet]: Found error trace [2023-11-23 21:39:39,914 INFO L208 CegarLoopForPetriNet]: trace histogram [3, 3, 2, 1, 1, 1, 1] [2023-11-23 21:39:39,914 WARN L477 AbstractCegarLoop]: Destroyed unattended storables created during the last iteration: SelfDestructingSolverStorable4 [2023-11-23 21:39:39,914 INFO L420 AbstractCegarLoop]: === Iteration 3 === Targeting ULTIMATE.startErr0INUSE_VIOLATIONSUFFICIENT_THREAD_INSTANCES === [thr1Err0ASSERT_VIOLATIONMEMORY_LEAK, ULTIMATE.startErr0REQUIRES_VIOLATIONMEMORY_DEREFERENCE, ULTIMATE.startErr1REQUIRES_VIOLATIONMEMORY_DEREFERENCE (and 4 more)] === [2023-11-23 21:39:39,921 INFO L160 PredicateUnifier]: Initialized classic predicate unifier [2023-11-23 21:39:39,921 INFO L85 PathProgramCache]: Analyzing trace with hash -1916617478, now seen corresponding path program 1 times [2023-11-23 21:39:39,922 INFO L118 FreeRefinementEngine]: Executing refinement strategy CAMEL [2023-11-23 21:39:39,925 INFO L334 FreeRefinementEngine]: Using trace check IpTcStrategyModuleSmtInterpolCraig [1345755547] [2023-11-23 21:39:39,929 INFO L95 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2023-11-23 21:39:39,929 INFO L127 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout -1 ms and remaining time -1 ms [2023-11-23 21:39:39,965 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2023-11-23 21:39:39,965 INFO L356 TraceCheck]: Trace is feasible, we will do another trace check, this time with branch encoders. [2023-11-23 21:39:39,985 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2023-11-23 21:39:40,001 INFO L130 FreeRefinementEngine]: Strategy CAMEL found a feasible trace [2023-11-23 21:39:40,002 INFO L360 BasicCegarLoop]: Counterexample is feasible [2023-11-23 21:39:40,002 INFO L805 garLoopResultBuilder]: Registering result UNSAFE for location ULTIMATE.startErr0INUSE_VIOLATIONSUFFICIENT_THREAD_INSTANCES (6 of 7 remaining) [2023-11-23 21:39:40,002 INFO L805 garLoopResultBuilder]: Registering result UNKNOWN for location thr1Err0ASSERT_VIOLATIONMEMORY_LEAK (5 of 7 remaining) [2023-11-23 21:39:40,003 INFO L805 garLoopResultBuilder]: Registering result UNKNOWN for location ULTIMATE.startErr0REQUIRES_VIOLATIONMEMORY_DEREFERENCE (4 of 7 remaining) [2023-11-23 21:39:40,003 INFO L805 garLoopResultBuilder]: Registering result UNKNOWN for location ULTIMATE.startErr1REQUIRES_VIOLATIONMEMORY_DEREFERENCE (3 of 7 remaining) [2023-11-23 21:39:40,003 INFO L805 garLoopResultBuilder]: Registering result UNKNOWN for location ULTIMATE.startErr2ASSERT_VIOLATIONMEMORY_LEAK (2 of 7 remaining) [2023-11-23 21:39:40,004 INFO L805 garLoopResultBuilder]: Registering result UNKNOWN for location thr1Err0ASSERT_VIOLATIONMEMORY_LEAK (1 of 7 remaining) [2023-11-23 21:39:40,004 INFO L805 garLoopResultBuilder]: Registering result UNKNOWN for location thr1Err0ASSERT_VIOLATIONMEMORY_LEAK (0 of 7 remaining) [2023-11-23 21:39:40,005 WARN L477 AbstractCegarLoop]: Destroyed unattended storables created during the last iteration: SelfDestructingSolverStorable5 [2023-11-23 21:39:40,005 INFO L445 BasicCegarLoop]: Path program histogram: [1, 1, 1] [2023-11-23 21:39:40,006 WARN L233 ceAbstractionStarter]: 2 thread instances were not sufficient, I will increase this number and restart the analysis [2023-11-23 21:39:40,006 INFO L514 ceAbstractionStarter]: Constructing petrified ICFG for 3 thread instances. [2023-11-23 21:39:40,050 INFO L144 ThreadInstanceAdder]: Constructed 0 joinOtherThreadTransitions. [2023-11-23 21:39:40,056 INFO L73 FinitePrefix]: Start finitePrefix. Operand has 68 places, 73 transitions, 164 flow [2023-11-23 21:39:40,071 INFO L124 PetriNetUnfolderBase]: 12/96 cut-off events. [2023-11-23 21:39:40,071 INFO L125 PetriNetUnfolderBase]: For 7/7 co-relation queries the response was YES. [2023-11-23 21:39:40,074 INFO L83 FinitePrefix]: Finished finitePrefix Result has 109 conditions, 96 events. 12/96 cut-off events. For 7/7 co-relation queries the response was YES. Maximal size of possible extension queue 10. Compared 301 event pairs, 0 based on Foata normal form. 0/65 useless extension candidates. Maximal degree in co-relation 74. Up to 4 conditions per place. [2023-11-23 21:39:40,074 INFO L82 GeneralOperation]: Start removeDead. Operand has 68 places, 73 transitions, 164 flow [2023-11-23 21:39:40,076 INFO L88 GeneralOperation]: Finished RemoveDead, result has has 68 places, 73 transitions, 164 flow [2023-11-23 21:39:40,079 INFO L356 AbstractCegarLoop]: ======== Iteration 0 == of CEGAR loop == AllErrorsAtOnce ======== [2023-11-23 21:39:40,082 INFO L357 AbstractCegarLoop]: Settings: SEPARATE_VIOLATION_CHECK=true, mInterprocedural=true, mMaxIterations=1000000, mWatchIteration=1000000, mArtifact=RCFG, mInterpolation=FPandBP, mInterpolantAutomaton=STRAIGHT_LINE, mDumpAutomata=false, mAutomataFormat=ATS_NUMERATE, mDumpPath=., mDeterminiation=PREDICATE_ABSTRACTION, mMinimize=MINIMIZE_SEVPA, mHoare=false, mAutomataTypeConcurrency=PETRI_NET, mHoareTripleChecks=INCREMENTAL, mHoareAnnotationPositions=All, 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;@50d831e3, mLbeIndependenceSettings=[IndependenceType=SEMANTIC, AbstractionType=NONE, UseConditional=false, UseSemiCommutativity=true, Solver=Z3, SolverTimeout=1000ms] [2023-11-23 21:39:40,083 INFO L358 AbstractCegarLoop]: Starting to check reachability of 8 error locations. [2023-11-23 21:39:40,085 INFO L185 PetriNetUnfolderBase]: Found word, exiting Unfolder. [2023-11-23 21:39:40,085 INFO L124 PetriNetUnfolderBase]: 0/4 cut-off events. [2023-11-23 21:39:40,085 INFO L125 PetriNetUnfolderBase]: For 0/0 co-relation queries the response was YES. [2023-11-23 21:39:40,085 INFO L200 CegarLoopForPetriNet]: Found error trace [2023-11-23 21:39:40,085 INFO L208 CegarLoopForPetriNet]: trace histogram [1, 1, 1] [2023-11-23 21:39:40,086 INFO L420 AbstractCegarLoop]: === Iteration 1 === Targeting ULTIMATE.startErr0REQUIRES_VIOLATIONMEMORY_DEREFERENCE === [thr1Err0ASSERT_VIOLATIONMEMORY_LEAK, ULTIMATE.startErr0REQUIRES_VIOLATIONMEMORY_DEREFERENCE, ULTIMATE.startErr1REQUIRES_VIOLATIONMEMORY_DEREFERENCE (and 5 more)] === [2023-11-23 21:39:40,086 INFO L160 PredicateUnifier]: Initialized classic predicate unifier [2023-11-23 21:39:40,086 INFO L85 PathProgramCache]: Analyzing trace with hash 362362, now seen corresponding path program 1 times [2023-11-23 21:39:40,087 INFO L118 FreeRefinementEngine]: Executing refinement strategy CAMEL [2023-11-23 21:39:40,087 INFO L334 FreeRefinementEngine]: Using trace check IpTcStrategyModuleSmtInterpolCraig [1354454449] [2023-11-23 21:39:40,087 INFO L95 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2023-11-23 21:39:40,087 INFO L127 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout -1 ms and remaining time -1 ms [2023-11-23 21:39:40,099 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2023-11-23 21:39:40,141 INFO L134 CoverageAnalysis]: Checked inductivity of 0 backedges. 0 proven. 0 refuted. 0 times theorem prover too weak. 0 trivial. 0 not checked. [2023-11-23 21:39:40,142 INFO L136 FreeRefinementEngine]: Strategy CAMEL found an infeasible trace [2023-11-23 21:39:40,142 INFO L334 FreeRefinementEngine]: Using interpolant generator IpTcStrategyModuleSmtInterpolCraig [1354454449] [2023-11-23 21:39:40,142 INFO L158 FreeRefinementEngine]: IpTcStrategyModuleSmtInterpolCraig [1354454449] provided 1 perfect and 0 imperfect interpolant sequences [2023-11-23 21:39:40,142 INFO L185 FreeRefinementEngine]: Found 1 perfect and 0 imperfect interpolant sequences. [2023-11-23 21:39:40,142 INFO L198 FreeRefinementEngine]: Number of different interpolants: perfect sequences [1] imperfect sequences [] total 1 [2023-11-23 21:39:40,146 INFO L121 tionRefinementEngine]: Using interpolant automaton builder IpAbStrategyModuleStraightlineAll [46123102] [2023-11-23 21:39:40,147 INFO L85 oduleStraightlineAll]: Using 1 perfect interpolants to construct interpolant automaton [2023-11-23 21:39:40,147 INFO L571 AbstractCegarLoop]: INTERPOLANT automaton has 3 states [2023-11-23 21:39:40,147 INFO L100 FreeRefinementEngine]: Using predicate unifier PredicateUnifier provided by strategy CAMEL [2023-11-23 21:39:40,148 INFO L143 InterpolantAutomaton]: Constructing interpolant automaton starting with 3 interpolants. [2023-11-23 21:39:40,148 INFO L145 InterpolantAutomaton]: CoverageRelationStatistics Valid=3, Invalid=3, Unknown=0, NotChecked=0, Total=6 [2023-11-23 21:39:40,157 INFO L471 CegarLoopForPetriNet]: Number of universal loopers: 18 out of 73 [2023-11-23 21:39:40,157 INFO L103 encePairwiseOnDemand]: Start differencePairwiseOnDemand. First operand has 68 places, 73 transitions, 164 flow. Second operand has 3 states, 3 states have (on average 19.0) internal successors, (57), 3 states have internal predecessors, (57), 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) [2023-11-23 21:39:40,158 INFO L112 encePairwiseOnDemand]: Universal subtrahend loopers provided by user. [2023-11-23 21:39:40,158 INFO L113 encePairwiseOnDemand]: Number of universal subtrahend loopers: 18 of 73 [2023-11-23 21:39:40,158 INFO L73 FinitePrefix]: Start finitePrefix. Operand will be constructed on-demand [2023-11-23 21:39:42,796 INFO L124 PetriNetUnfolderBase]: 12997/19998 cut-off events. [2023-11-23 21:39:42,797 INFO L125 PetriNetUnfolderBase]: For 695/695 co-relation queries the response was YES. [2023-11-23 21:39:42,841 INFO L83 FinitePrefix]: Finished finitePrefix Result has 37484 conditions, 19998 events. 12997/19998 cut-off events. For 695/695 co-relation queries the response was YES. Maximal size of possible extension queue 708. Compared 130117 event pairs, 9641 based on Foata normal form. 3485/23314 useless extension candidates. Maximal degree in co-relation 2899. Up to 17084 conditions per place. [2023-11-23 21:39:42,985 INFO L140 encePairwiseOnDemand]: 61/73 looper letters, 36 selfloop transitions, 1 changer transitions 0/54 dead transitions. [2023-11-23 21:39:42,985 INFO L145 encePairwiseOnDemand]: Finished differencePairwiseOnDemand. Result has 57 places, 54 transitions, 200 flow [2023-11-23 21:39:42,986 INFO L141 InterpolantAutomaton]: Switched to read-only mode: deterministic interpolant automaton has 3 states. [2023-11-23 21:39:42,986 INFO L82 GeneralOperation]: Start removeUnreachable. Operand 3 states. [2023-11-23 21:39:42,989 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 3 states to 3 states and 102 transitions. [2023-11-23 21:39:42,990 INFO L516 CegarLoopForPetriNet]: DFA transition density 0.4657534246575342 [2023-11-23 21:39:42,990 INFO L72 ComplementDD]: Start complementDD. Operand 3 states and 102 transitions. [2023-11-23 21:39:42,990 INFO L73 IsDeterministic]: Start isDeterministic. Operand 3 states and 102 transitions. [2023-11-23 21:39:42,991 INFO L80 IsDeterministic]: Finished isDeterministic. Operand is deterministic. [2023-11-23 21:39:42,993 INFO L117 ReachableStatesCopy]: Start reachableStatesCopy. Operand 3 states and 102 transitions. [2023-11-23 21:39:42,995 INFO L343 DoubleDeckerVisitor]: Before removal of dead ends has 4 states, 3 states have (on average 34.0) internal successors, (102), 3 states have internal predecessors, (102), 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) [2023-11-23 21:39:42,996 INFO L131 ReachableStatesCopy]: Finished reachableStatesCopy Result has 4 states, 4 states have (on average 73.0) internal successors, (292), 4 states have internal predecessors, (292), 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) [2023-11-23 21:39:42,996 INFO L81 ComplementDD]: Finished complementDD. Result has 4 states, 4 states have (on average 73.0) internal successors, (292), 4 states have internal predecessors, (292), 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) [2023-11-23 21:39:42,996 INFO L175 Difference]: Start difference. First operand has 68 places, 73 transitions, 164 flow. Second operand 3 states and 102 transitions. [2023-11-23 21:39:42,997 INFO L82 GeneralOperation]: Start removeRedundantFlow. Operand has 57 places, 54 transitions, 200 flow [2023-11-23 21:39:43,001 INFO L88 GeneralOperation]: Finished removeRedundantFlow, result has has 57 places, 54 transitions, 198 flow, removed 1 selfloop flow, removed 0 redundant places. [2023-11-23 21:39:43,003 INFO L231 Difference]: Finished difference. Result has 57 places, 54 transitions, 126 flow [2023-11-23 21:39:43,004 INFO L264 CegarLoopForPetriNet]: {PETRI_ALPHABET=73, PETRI_DIFFERENCE_MINUEND_FLOW=124, PETRI_DIFFERENCE_MINUEND_PLACES=55, PETRI_DIFFERENCE_MINUEND_TRANSITIONS=54, PETRI_DIFFERENCE_SUBTRAHEND_LETTERS_WITH_MORE_CHANGERS_THAN_LOOPERS=1, PETRI_DIFFERENCE_SUBTRAHEND_LOOPER_ONLY_LETTERS=53, PETRI_DIFFERENCE_SUBTRAHEND_STATES=3, PETRI_FLOW=126, PETRI_PLACES=57, PETRI_TRANSITIONS=54} [2023-11-23 21:39:43,006 INFO L281 CegarLoopForPetriNet]: 68 programPoint places, -11 predicate places. [2023-11-23 21:39:43,006 INFO L495 AbstractCegarLoop]: Abstraction has has 57 places, 54 transitions, 126 flow [2023-11-23 21:39:43,007 INFO L496 AbstractCegarLoop]: INTERPOLANT automaton has has 3 states, 3 states have (on average 19.0) internal successors, (57), 3 states have internal predecessors, (57), 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) [2023-11-23 21:39:43,007 INFO L200 CegarLoopForPetriNet]: Found error trace [2023-11-23 21:39:43,007 INFO L208 CegarLoopForPetriNet]: trace histogram [1, 1, 1] [2023-11-23 21:39:43,007 WARN L477 AbstractCegarLoop]: Destroyed unattended storables created during the last iteration: SelfDestructingSolverStorable6 [2023-11-23 21:39:43,007 INFO L420 AbstractCegarLoop]: === Iteration 2 === Targeting ULTIMATE.startErr1REQUIRES_VIOLATIONMEMORY_DEREFERENCE === [thr1Err0ASSERT_VIOLATIONMEMORY_LEAK, ULTIMATE.startErr0REQUIRES_VIOLATIONMEMORY_DEREFERENCE, ULTIMATE.startErr1REQUIRES_VIOLATIONMEMORY_DEREFERENCE (and 5 more)] === [2023-11-23 21:39:43,008 INFO L160 PredicateUnifier]: Initialized classic predicate unifier [2023-11-23 21:39:43,008 INFO L85 PathProgramCache]: Analyzing trace with hash 362363, now seen corresponding path program 1 times [2023-11-23 21:39:43,008 INFO L118 FreeRefinementEngine]: Executing refinement strategy CAMEL [2023-11-23 21:39:43,009 INFO L334 FreeRefinementEngine]: Using trace check IpTcStrategyModuleSmtInterpolCraig [1709112593] [2023-11-23 21:39:43,009 INFO L95 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2023-11-23 21:39:43,011 INFO L127 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout -1 ms and remaining time -1 ms [2023-11-23 21:39:43,023 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2023-11-23 21:39:43,104 INFO L134 CoverageAnalysis]: Checked inductivity of 0 backedges. 0 proven. 0 refuted. 0 times theorem prover too weak. 0 trivial. 0 not checked. [2023-11-23 21:39:43,104 INFO L136 FreeRefinementEngine]: Strategy CAMEL found an infeasible trace [2023-11-23 21:39:43,107 INFO L334 FreeRefinementEngine]: Using interpolant generator IpTcStrategyModuleSmtInterpolCraig [1709112593] [2023-11-23 21:39:43,108 INFO L158 FreeRefinementEngine]: IpTcStrategyModuleSmtInterpolCraig [1709112593] provided 1 perfect and 0 imperfect interpolant sequences [2023-11-23 21:39:43,108 INFO L185 FreeRefinementEngine]: Found 1 perfect and 0 imperfect interpolant sequences. [2023-11-23 21:39:43,108 INFO L198 FreeRefinementEngine]: Number of different interpolants: perfect sequences [1] imperfect sequences [] total 1 [2023-11-23 21:39:43,108 INFO L121 tionRefinementEngine]: Using interpolant automaton builder IpAbStrategyModuleStraightlineAll [1052712338] [2023-11-23 21:39:43,108 INFO L85 oduleStraightlineAll]: Using 1 perfect interpolants to construct interpolant automaton [2023-11-23 21:39:43,109 INFO L571 AbstractCegarLoop]: INTERPOLANT automaton has 3 states [2023-11-23 21:39:43,109 INFO L100 FreeRefinementEngine]: Using predicate unifier PredicateUnifier provided by strategy CAMEL [2023-11-23 21:39:43,109 INFO L143 InterpolantAutomaton]: Constructing interpolant automaton starting with 3 interpolants. [2023-11-23 21:39:43,110 INFO L145 InterpolantAutomaton]: CoverageRelationStatistics Valid=3, Invalid=3, Unknown=0, NotChecked=0, Total=6 [2023-11-23 21:39:43,117 INFO L471 CegarLoopForPetriNet]: Number of universal loopers: 19 out of 73 [2023-11-23 21:39:43,117 INFO L103 encePairwiseOnDemand]: Start differencePairwiseOnDemand. First operand has 57 places, 54 transitions, 126 flow. Second operand has 3 states, 3 states have (on average 20.0) internal successors, (60), 3 states have internal predecessors, (60), 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) [2023-11-23 21:39:43,118 INFO L112 encePairwiseOnDemand]: Universal subtrahend loopers provided by user. [2023-11-23 21:39:43,118 INFO L113 encePairwiseOnDemand]: Number of universal subtrahend loopers: 19 of 73 [2023-11-23 21:39:43,118 INFO L73 FinitePrefix]: Start finitePrefix. Operand will be constructed on-demand [2023-11-23 21:39:44,770 INFO L124 PetriNetUnfolderBase]: 9407/14623 cut-off events. [2023-11-23 21:39:44,771 INFO L125 PetriNetUnfolderBase]: For 307/307 co-relation queries the response was YES. [2023-11-23 21:39:44,806 INFO L83 FinitePrefix]: Finished finitePrefix Result has 27374 conditions, 14623 events. 9407/14623 cut-off events. For 307/307 co-relation queries the response was YES. Maximal size of possible extension queue 529. Compared 91982 event pairs, 6923 based on Foata normal form. 1012/15491 useless extension candidates. Maximal degree in co-relation 27365. Up to 12442 conditions per place. [2023-11-23 21:39:44,888 INFO L140 encePairwiseOnDemand]: 71/73 looper letters, 35 selfloop transitions, 1 changer transitions 0/53 dead transitions. [2023-11-23 21:39:44,888 INFO L145 encePairwiseOnDemand]: Finished differencePairwiseOnDemand. Result has 58 places, 53 transitions, 196 flow [2023-11-23 21:39:44,889 INFO L141 InterpolantAutomaton]: Switched to read-only mode: deterministic interpolant automaton has 3 states. [2023-11-23 21:39:44,889 INFO L82 GeneralOperation]: Start removeUnreachable. Operand 3 states. [2023-11-23 21:39:44,890 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 3 states to 3 states and 94 transitions. [2023-11-23 21:39:44,890 INFO L516 CegarLoopForPetriNet]: DFA transition density 0.4292237442922374 [2023-11-23 21:39:44,890 INFO L72 ComplementDD]: Start complementDD. Operand 3 states and 94 transitions. [2023-11-23 21:39:44,891 INFO L73 IsDeterministic]: Start isDeterministic. Operand 3 states and 94 transitions. [2023-11-23 21:39:44,891 INFO L80 IsDeterministic]: Finished isDeterministic. Operand is deterministic. [2023-11-23 21:39:44,891 INFO L117 ReachableStatesCopy]: Start reachableStatesCopy. Operand 3 states and 94 transitions. [2023-11-23 21:39:44,892 INFO L343 DoubleDeckerVisitor]: Before removal of dead ends has 4 states, 3 states have (on average 31.333333333333332) internal successors, (94), 3 states have internal predecessors, (94), 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) [2023-11-23 21:39:44,893 INFO L131 ReachableStatesCopy]: Finished reachableStatesCopy Result has 4 states, 4 states have (on average 73.0) internal successors, (292), 4 states have internal predecessors, (292), 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) [2023-11-23 21:39:44,893 INFO L81 ComplementDD]: Finished complementDD. Result has 4 states, 4 states have (on average 73.0) internal successors, (292), 4 states have internal predecessors, (292), 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) [2023-11-23 21:39:44,894 INFO L175 Difference]: Start difference. First operand has 57 places, 54 transitions, 126 flow. Second operand 3 states and 94 transitions. [2023-11-23 21:39:44,894 INFO L82 GeneralOperation]: Start removeRedundantFlow. Operand has 58 places, 53 transitions, 196 flow [2023-11-23 21:39:44,895 INFO L88 GeneralOperation]: Finished removeRedundantFlow, result has has 57 places, 53 transitions, 195 flow, removed 0 selfloop flow, removed 1 redundant places. [2023-11-23 21:39:44,897 INFO L231 Difference]: Finished difference. Result has 57 places, 53 transitions, 125 flow [2023-11-23 21:39:44,897 INFO L264 CegarLoopForPetriNet]: {PETRI_ALPHABET=73, PETRI_DIFFERENCE_MINUEND_FLOW=123, PETRI_DIFFERENCE_MINUEND_PLACES=55, PETRI_DIFFERENCE_MINUEND_TRANSITIONS=53, PETRI_DIFFERENCE_SUBTRAHEND_LETTERS_WITH_MORE_CHANGERS_THAN_LOOPERS=1, PETRI_DIFFERENCE_SUBTRAHEND_LOOPER_ONLY_LETTERS=52, PETRI_DIFFERENCE_SUBTRAHEND_STATES=3, PETRI_FLOW=125, PETRI_PLACES=57, PETRI_TRANSITIONS=53} [2023-11-23 21:39:44,898 INFO L281 CegarLoopForPetriNet]: 68 programPoint places, -11 predicate places. [2023-11-23 21:39:44,898 INFO L495 AbstractCegarLoop]: Abstraction has has 57 places, 53 transitions, 125 flow [2023-11-23 21:39:44,898 INFO L496 AbstractCegarLoop]: INTERPOLANT automaton has has 3 states, 3 states have (on average 20.0) internal successors, (60), 3 states have internal predecessors, (60), 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) [2023-11-23 21:39:44,899 INFO L200 CegarLoopForPetriNet]: Found error trace [2023-11-23 21:39:44,899 INFO L208 CegarLoopForPetriNet]: trace histogram [1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1] [2023-11-23 21:39:44,899 WARN L477 AbstractCegarLoop]: Destroyed unattended storables created during the last iteration: SelfDestructingSolverStorable7 [2023-11-23 21:39:44,899 INFO L420 AbstractCegarLoop]: === Iteration 3 === Targeting thr1Err0ASSERT_VIOLATIONMEMORY_LEAK === [thr1Err0ASSERT_VIOLATIONMEMORY_LEAK, ULTIMATE.startErr0REQUIRES_VIOLATIONMEMORY_DEREFERENCE, ULTIMATE.startErr1REQUIRES_VIOLATIONMEMORY_DEREFERENCE (and 5 more)] === [2023-11-23 21:39:44,900 INFO L160 PredicateUnifier]: Initialized classic predicate unifier [2023-11-23 21:39:44,900 INFO L85 PathProgramCache]: Analyzing trace with hash 491999929, now seen corresponding path program 1 times [2023-11-23 21:39:44,900 INFO L118 FreeRefinementEngine]: Executing refinement strategy CAMEL [2023-11-23 21:39:44,900 INFO L334 FreeRefinementEngine]: Using trace check IpTcStrategyModuleSmtInterpolCraig [1392640614] [2023-11-23 21:39:44,900 INFO L95 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2023-11-23 21:39:44,901 INFO L127 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout -1 ms and remaining time -1 ms [2023-11-23 21:39:44,922 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2023-11-23 21:39:45,041 INFO L134 CoverageAnalysis]: Checked inductivity of 0 backedges. 0 proven. 0 refuted. 0 times theorem prover too weak. 0 trivial. 0 not checked. [2023-11-23 21:39:45,041 INFO L136 FreeRefinementEngine]: Strategy CAMEL found an infeasible trace [2023-11-23 21:39:45,041 INFO L334 FreeRefinementEngine]: Using interpolant generator IpTcStrategyModuleSmtInterpolCraig [1392640614] [2023-11-23 21:39:45,042 INFO L158 FreeRefinementEngine]: IpTcStrategyModuleSmtInterpolCraig [1392640614] provided 1 perfect and 0 imperfect interpolant sequences [2023-11-23 21:39:45,042 INFO L185 FreeRefinementEngine]: Found 1 perfect and 0 imperfect interpolant sequences. [2023-11-23 21:39:45,042 INFO L198 FreeRefinementEngine]: Number of different interpolants: perfect sequences [3] imperfect sequences [] total 3 [2023-11-23 21:39:45,042 INFO L121 tionRefinementEngine]: Using interpolant automaton builder IpAbStrategyModuleStraightlineAll [1019499529] [2023-11-23 21:39:45,042 INFO L85 oduleStraightlineAll]: Using 1 perfect interpolants to construct interpolant automaton [2023-11-23 21:39:45,043 INFO L571 AbstractCegarLoop]: INTERPOLANT automaton has 4 states [2023-11-23 21:39:45,044 INFO L100 FreeRefinementEngine]: Using predicate unifier PredicateUnifier provided by strategy CAMEL [2023-11-23 21:39:45,044 INFO L143 InterpolantAutomaton]: Constructing interpolant automaton starting with 4 interpolants. [2023-11-23 21:39:45,044 INFO L145 InterpolantAutomaton]: CoverageRelationStatistics Valid=6, Invalid=6, Unknown=0, NotChecked=0, Total=12 [2023-11-23 21:39:45,060 INFO L471 CegarLoopForPetriNet]: Number of universal loopers: 20 out of 73 [2023-11-23 21:39:45,061 INFO L103 encePairwiseOnDemand]: Start differencePairwiseOnDemand. First operand has 57 places, 53 transitions, 125 flow. Second operand has 4 states, 4 states have (on average 22.25) internal successors, (89), 4 states have internal predecessors, (89), 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) [2023-11-23 21:39:45,061 INFO L112 encePairwiseOnDemand]: Universal subtrahend loopers provided by user. [2023-11-23 21:39:45,061 INFO L113 encePairwiseOnDemand]: Number of universal subtrahend loopers: 20 of 73 [2023-11-23 21:39:45,061 INFO L73 FinitePrefix]: Start finitePrefix. Operand will be constructed on-demand [2023-11-23 21:39:47,668 INFO L124 PetriNetUnfolderBase]: 16074/26711 cut-off events. [2023-11-23 21:39:47,668 INFO L125 PetriNetUnfolderBase]: For 397/397 co-relation queries the response was YES. [2023-11-23 21:39:47,732 INFO L83 FinitePrefix]: Finished finitePrefix Result has 48746 conditions, 26711 events. 16074/26711 cut-off events. For 397/397 co-relation queries the response was YES. Maximal size of possible extension queue 1300. Compared 212946 event pairs, 4333 based on Foata normal form. 867/27419 useless extension candidates. Maximal degree in co-relation 48736. Up to 8833 conditions per place. [2023-11-23 21:39:48,025 INFO L140 encePairwiseOnDemand]: 66/73 looper letters, 87 selfloop transitions, 10 changer transitions 0/114 dead transitions. [2023-11-23 21:39:48,026 INFO L145 encePairwiseOnDemand]: Finished differencePairwiseOnDemand. Result has 60 places, 114 transitions, 456 flow [2023-11-23 21:39:48,026 INFO L141 InterpolantAutomaton]: Switched to read-only mode: deterministic interpolant automaton has 4 states. [2023-11-23 21:39:48,027 INFO L82 GeneralOperation]: Start removeUnreachable. Operand 4 states. [2023-11-23 21:39:48,027 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 4 states to 4 states and 183 transitions. [2023-11-23 21:39:48,028 INFO L516 CegarLoopForPetriNet]: DFA transition density 0.6267123287671232 [2023-11-23 21:39:48,028 INFO L72 ComplementDD]: Start complementDD. Operand 4 states and 183 transitions. [2023-11-23 21:39:48,028 INFO L73 IsDeterministic]: Start isDeterministic. Operand 4 states and 183 transitions. [2023-11-23 21:39:48,029 INFO L80 IsDeterministic]: Finished isDeterministic. Operand is deterministic. [2023-11-23 21:39:48,029 INFO L117 ReachableStatesCopy]: Start reachableStatesCopy. Operand 4 states and 183 transitions. [2023-11-23 21:39:48,030 INFO L343 DoubleDeckerVisitor]: Before removal of dead ends has 5 states, 4 states have (on average 45.75) internal successors, (183), 4 states have internal predecessors, (183), 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) [2023-11-23 21:39:48,031 INFO L131 ReachableStatesCopy]: Finished reachableStatesCopy Result has 5 states, 5 states have (on average 73.0) internal successors, (365), 5 states have internal predecessors, (365), 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) [2023-11-23 21:39:48,032 INFO L81 ComplementDD]: Finished complementDD. Result has 5 states, 5 states have (on average 73.0) internal successors, (365), 5 states have internal predecessors, (365), 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) [2023-11-23 21:39:48,032 INFO L175 Difference]: Start difference. First operand has 57 places, 53 transitions, 125 flow. Second operand 4 states and 183 transitions. [2023-11-23 21:39:48,032 INFO L82 GeneralOperation]: Start removeRedundantFlow. Operand has 60 places, 114 transitions, 456 flow [2023-11-23 21:39:48,034 INFO L88 GeneralOperation]: Finished removeRedundantFlow, result has has 59 places, 114 transitions, 455 flow, removed 0 selfloop flow, removed 1 redundant places. [2023-11-23 21:39:48,036 INFO L231 Difference]: Finished difference. Result has 59 places, 59 transitions, 162 flow [2023-11-23 21:39:48,037 INFO L264 CegarLoopForPetriNet]: {PETRI_ALPHABET=73, PETRI_DIFFERENCE_MINUEND_FLOW=124, PETRI_DIFFERENCE_MINUEND_PLACES=56, PETRI_DIFFERENCE_MINUEND_TRANSITIONS=53, PETRI_DIFFERENCE_SUBTRAHEND_LETTERS_WITH_MORE_CHANGERS_THAN_LOOPERS=7, PETRI_DIFFERENCE_SUBTRAHEND_LOOPER_ONLY_LETTERS=46, PETRI_DIFFERENCE_SUBTRAHEND_STATES=4, PETRI_FLOW=162, PETRI_PLACES=59, PETRI_TRANSITIONS=59} [2023-11-23 21:39:48,037 INFO L281 CegarLoopForPetriNet]: 68 programPoint places, -9 predicate places. [2023-11-23 21:39:48,038 INFO L495 AbstractCegarLoop]: Abstraction has has 59 places, 59 transitions, 162 flow [2023-11-23 21:39:48,038 INFO L496 AbstractCegarLoop]: INTERPOLANT automaton has has 4 states, 4 states have (on average 22.25) internal successors, (89), 4 states have internal predecessors, (89), 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) [2023-11-23 21:39:48,038 INFO L200 CegarLoopForPetriNet]: Found error trace [2023-11-23 21:39:48,038 INFO L208 CegarLoopForPetriNet]: trace histogram [1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1] [2023-11-23 21:39:48,038 WARN L477 AbstractCegarLoop]: Destroyed unattended storables created during the last iteration: SelfDestructingSolverStorable8 [2023-11-23 21:39:48,039 INFO L420 AbstractCegarLoop]: === Iteration 4 === Targeting thr1Err0ASSERT_VIOLATIONMEMORY_LEAK === [thr1Err0ASSERT_VIOLATIONMEMORY_LEAK, ULTIMATE.startErr0REQUIRES_VIOLATIONMEMORY_DEREFERENCE, ULTIMATE.startErr1REQUIRES_VIOLATIONMEMORY_DEREFERENCE (and 5 more)] === [2023-11-23 21:39:48,039 INFO L160 PredicateUnifier]: Initialized classic predicate unifier [2023-11-23 21:39:48,039 INFO L85 PathProgramCache]: Analyzing trace with hash 1449023134, now seen corresponding path program 1 times [2023-11-23 21:39:48,040 INFO L118 FreeRefinementEngine]: Executing refinement strategy CAMEL [2023-11-23 21:39:48,040 INFO L334 FreeRefinementEngine]: Using trace check IpTcStrategyModuleSmtInterpolCraig [1567759494] [2023-11-23 21:39:48,040 INFO L95 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2023-11-23 21:39:48,040 INFO L127 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout -1 ms and remaining time -1 ms [2023-11-23 21:39:48,059 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2023-11-23 21:39:48,121 INFO L134 CoverageAnalysis]: Checked inductivity of 0 backedges. 0 proven. 0 refuted. 0 times theorem prover too weak. 0 trivial. 0 not checked. [2023-11-23 21:39:48,122 INFO L136 FreeRefinementEngine]: Strategy CAMEL found an infeasible trace [2023-11-23 21:39:48,122 INFO L334 FreeRefinementEngine]: Using interpolant generator IpTcStrategyModuleSmtInterpolCraig [1567759494] [2023-11-23 21:39:48,122 INFO L158 FreeRefinementEngine]: IpTcStrategyModuleSmtInterpolCraig [1567759494] provided 1 perfect and 0 imperfect interpolant sequences [2023-11-23 21:39:48,122 INFO L185 FreeRefinementEngine]: Found 1 perfect and 0 imperfect interpolant sequences. [2023-11-23 21:39:48,122 INFO L198 FreeRefinementEngine]: Number of different interpolants: perfect sequences [2] imperfect sequences [] total 2 [2023-11-23 21:39:48,123 INFO L121 tionRefinementEngine]: Using interpolant automaton builder IpAbStrategyModuleStraightlineAll [1880622426] [2023-11-23 21:39:48,123 INFO L85 oduleStraightlineAll]: Using 1 perfect interpolants to construct interpolant automaton [2023-11-23 21:39:48,123 INFO L571 AbstractCegarLoop]: INTERPOLANT automaton has 3 states [2023-11-23 21:39:48,123 INFO L100 FreeRefinementEngine]: Using predicate unifier PredicateUnifier provided by strategy CAMEL [2023-11-23 21:39:48,124 INFO L143 InterpolantAutomaton]: Constructing interpolant automaton starting with 3 interpolants. [2023-11-23 21:39:48,124 INFO L145 InterpolantAutomaton]: CoverageRelationStatistics Valid=3, Invalid=3, Unknown=0, NotChecked=0, Total=6 [2023-11-23 21:39:48,130 INFO L471 CegarLoopForPetriNet]: Number of universal loopers: 20 out of 73 [2023-11-23 21:39:48,130 INFO L103 encePairwiseOnDemand]: Start differencePairwiseOnDemand. First operand has 59 places, 59 transitions, 162 flow. Second operand has 3 states, 3 states have (on average 23.0) internal successors, (69), 3 states have internal predecessors, (69), 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) [2023-11-23 21:39:48,131 INFO L112 encePairwiseOnDemand]: Universal subtrahend loopers provided by user. [2023-11-23 21:39:48,131 INFO L113 encePairwiseOnDemand]: Number of universal subtrahend loopers: 20 of 73 [2023-11-23 21:39:48,131 INFO L73 FinitePrefix]: Start finitePrefix. Operand will be constructed on-demand [2023-11-23 21:39:49,842 INFO L124 PetriNetUnfolderBase]: 9562/16188 cut-off events. [2023-11-23 21:39:49,842 INFO L125 PetriNetUnfolderBase]: For 853/853 co-relation queries the response was YES. [2023-11-23 21:39:49,885 INFO L83 FinitePrefix]: Finished finitePrefix Result has 30548 conditions, 16188 events. 9562/16188 cut-off events. For 853/853 co-relation queries the response was YES. Maximal size of possible extension queue 838. Compared 123759 event pairs, 3286 based on Foata normal form. 672/16770 useless extension candidates. Maximal degree in co-relation 30537. Up to 9544 conditions per place. [2023-11-23 21:39:49,954 INFO L140 encePairwiseOnDemand]: 66/73 looper letters, 59 selfloop transitions, 4 changer transitions 0/80 dead transitions. [2023-11-23 21:39:49,954 INFO L145 encePairwiseOnDemand]: Finished differencePairwiseOnDemand. Result has 61 places, 80 transitions, 341 flow [2023-11-23 21:39:49,954 INFO L141 InterpolantAutomaton]: Switched to read-only mode: deterministic interpolant automaton has 3 states. [2023-11-23 21:39:49,955 INFO L82 GeneralOperation]: Start removeUnreachable. Operand 3 states. [2023-11-23 21:39:49,955 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 3 states to 3 states and 120 transitions. [2023-11-23 21:39:49,956 INFO L516 CegarLoopForPetriNet]: DFA transition density 0.547945205479452 [2023-11-23 21:39:49,956 INFO L72 ComplementDD]: Start complementDD. Operand 3 states and 120 transitions. [2023-11-23 21:39:49,956 INFO L73 IsDeterministic]: Start isDeterministic. Operand 3 states and 120 transitions. [2023-11-23 21:39:49,957 INFO L80 IsDeterministic]: Finished isDeterministic. Operand is deterministic. [2023-11-23 21:39:49,957 INFO L117 ReachableStatesCopy]: Start reachableStatesCopy. Operand 3 states and 120 transitions. [2023-11-23 21:39:49,958 INFO L343 DoubleDeckerVisitor]: Before removal of dead ends has 4 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) [2023-11-23 21:39:49,959 INFO L131 ReachableStatesCopy]: Finished reachableStatesCopy Result has 4 states, 4 states have (on average 73.0) internal successors, (292), 4 states have internal predecessors, (292), 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) [2023-11-23 21:39:49,959 INFO L81 ComplementDD]: Finished complementDD. Result has 4 states, 4 states have (on average 73.0) internal successors, (292), 4 states have internal predecessors, (292), 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) [2023-11-23 21:39:49,960 INFO L175 Difference]: Start difference. First operand has 59 places, 59 transitions, 162 flow. Second operand 3 states and 120 transitions. [2023-11-23 21:39:49,960 INFO L82 GeneralOperation]: Start removeRedundantFlow. Operand has 61 places, 80 transitions, 341 flow [2023-11-23 21:39:49,963 INFO L88 GeneralOperation]: Finished removeRedundantFlow, result has has 61 places, 80 transitions, 341 flow, removed 0 selfloop flow, removed 0 redundant places. [2023-11-23 21:39:49,966 INFO L231 Difference]: Finished difference. Result has 62 places, 59 transitions, 180 flow [2023-11-23 21:39:49,967 INFO L264 CegarLoopForPetriNet]: {PETRI_ALPHABET=73, PETRI_DIFFERENCE_MINUEND_FLOW=162, PETRI_DIFFERENCE_MINUEND_PLACES=59, PETRI_DIFFERENCE_MINUEND_TRANSITIONS=59, PETRI_DIFFERENCE_SUBTRAHEND_LETTERS_WITH_MORE_CHANGERS_THAN_LOOPERS=4, PETRI_DIFFERENCE_SUBTRAHEND_LOOPER_ONLY_LETTERS=55, PETRI_DIFFERENCE_SUBTRAHEND_STATES=3, PETRI_FLOW=180, PETRI_PLACES=62, PETRI_TRANSITIONS=59} [2023-11-23 21:39:49,969 INFO L281 CegarLoopForPetriNet]: 68 programPoint places, -6 predicate places. [2023-11-23 21:39:49,969 INFO L495 AbstractCegarLoop]: Abstraction has has 62 places, 59 transitions, 180 flow [2023-11-23 21:39:49,970 INFO L496 AbstractCegarLoop]: INTERPOLANT automaton has has 3 states, 3 states have (on average 23.0) internal successors, (69), 3 states have internal predecessors, (69), 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) [2023-11-23 21:39:49,970 INFO L200 CegarLoopForPetriNet]: Found error trace [2023-11-23 21:39:49,970 INFO L208 CegarLoopForPetriNet]: trace histogram [4, 4, 3, 1, 1, 1, 1, 1] [2023-11-23 21:39:49,970 WARN L477 AbstractCegarLoop]: Destroyed unattended storables created during the last iteration: SelfDestructingSolverStorable9 [2023-11-23 21:39:49,971 INFO L420 AbstractCegarLoop]: === Iteration 5 === Targeting ULTIMATE.startErr0INUSE_VIOLATIONSUFFICIENT_THREAD_INSTANCES === [thr1Err0ASSERT_VIOLATIONMEMORY_LEAK, ULTIMATE.startErr0REQUIRES_VIOLATIONMEMORY_DEREFERENCE, ULTIMATE.startErr1REQUIRES_VIOLATIONMEMORY_DEREFERENCE (and 5 more)] === [2023-11-23 21:39:49,971 INFO L160 PredicateUnifier]: Initialized classic predicate unifier [2023-11-23 21:39:49,971 INFO L85 PathProgramCache]: Analyzing trace with hash -1480234216, now seen corresponding path program 1 times [2023-11-23 21:39:49,971 INFO L118 FreeRefinementEngine]: Executing refinement strategy CAMEL [2023-11-23 21:39:49,972 INFO L334 FreeRefinementEngine]: Using trace check IpTcStrategyModuleSmtInterpolCraig [1322714234] [2023-11-23 21:39:49,972 INFO L95 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2023-11-23 21:39:49,972 INFO L127 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout -1 ms and remaining time -1 ms [2023-11-23 21:39:50,002 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2023-11-23 21:39:50,002 INFO L356 TraceCheck]: Trace is feasible, we will do another trace check, this time with branch encoders. [2023-11-23 21:39:50,015 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2023-11-23 21:39:50,025 INFO L130 FreeRefinementEngine]: Strategy CAMEL found a feasible trace [2023-11-23 21:39:50,025 INFO L360 BasicCegarLoop]: Counterexample is feasible [2023-11-23 21:39:50,026 INFO L805 garLoopResultBuilder]: Registering result UNSAFE for location ULTIMATE.startErr0INUSE_VIOLATIONSUFFICIENT_THREAD_INSTANCES (7 of 8 remaining) [2023-11-23 21:39:50,026 INFO L805 garLoopResultBuilder]: Registering result UNKNOWN for location thr1Err0ASSERT_VIOLATIONMEMORY_LEAK (6 of 8 remaining) [2023-11-23 21:39:50,026 INFO L805 garLoopResultBuilder]: Registering result UNKNOWN for location ULTIMATE.startErr0REQUIRES_VIOLATIONMEMORY_DEREFERENCE (5 of 8 remaining) [2023-11-23 21:39:50,026 INFO L805 garLoopResultBuilder]: Registering result UNKNOWN for location ULTIMATE.startErr1REQUIRES_VIOLATIONMEMORY_DEREFERENCE (4 of 8 remaining) [2023-11-23 21:39:50,027 INFO L805 garLoopResultBuilder]: Registering result UNKNOWN for location ULTIMATE.startErr2ASSERT_VIOLATIONMEMORY_LEAK (3 of 8 remaining) [2023-11-23 21:39:50,027 INFO L805 garLoopResultBuilder]: Registering result UNKNOWN for location thr1Err0ASSERT_VIOLATIONMEMORY_LEAK (2 of 8 remaining) [2023-11-23 21:39:50,027 INFO L805 garLoopResultBuilder]: Registering result UNKNOWN for location thr1Err0ASSERT_VIOLATIONMEMORY_LEAK (1 of 8 remaining) [2023-11-23 21:39:50,027 INFO L805 garLoopResultBuilder]: Registering result UNKNOWN for location thr1Err0ASSERT_VIOLATIONMEMORY_LEAK (0 of 8 remaining) [2023-11-23 21:39:50,027 WARN L477 AbstractCegarLoop]: Destroyed unattended storables created during the last iteration: SelfDestructingSolverStorable10 [2023-11-23 21:39:50,028 INFO L445 BasicCegarLoop]: Path program histogram: [1, 1, 1, 1, 1] [2023-11-23 21:39:50,030 WARN L233 ceAbstractionStarter]: 3 thread instances were not sufficient, I will increase this number and restart the analysis [2023-11-23 21:39:50,031 INFO L514 ceAbstractionStarter]: Constructing petrified ICFG for 4 thread instances. [2023-11-23 21:39:50,080 INFO L144 ThreadInstanceAdder]: Constructed 0 joinOtherThreadTransitions. [2023-11-23 21:39:50,085 INFO L73 FinitePrefix]: Start finitePrefix. Operand has 87 places, 94 transitions, 216 flow [2023-11-23 21:39:50,103 INFO L124 PetriNetUnfolderBase]: 16/125 cut-off events. [2023-11-23 21:39:50,104 INFO L125 PetriNetUnfolderBase]: For 16/16 co-relation queries the response was YES. [2023-11-23 21:39:50,105 INFO L83 FinitePrefix]: Finished finitePrefix Result has 144 conditions, 125 events. 16/125 cut-off events. For 16/16 co-relation queries the response was YES. Maximal size of possible extension queue 10. Compared 401 event pairs, 0 based on Foata normal form. 0/85 useless extension candidates. Maximal degree in co-relation 108. Up to 5 conditions per place. [2023-11-23 21:39:50,105 INFO L82 GeneralOperation]: Start removeDead. Operand has 87 places, 94 transitions, 216 flow [2023-11-23 21:39:50,107 INFO L88 GeneralOperation]: Finished RemoveDead, result has has 87 places, 94 transitions, 216 flow [2023-11-23 21:39:50,108 INFO L356 AbstractCegarLoop]: ======== Iteration 0 == of CEGAR loop == AllErrorsAtOnce ======== [2023-11-23 21:39:50,109 INFO L357 AbstractCegarLoop]: Settings: SEPARATE_VIOLATION_CHECK=true, mInterprocedural=true, mMaxIterations=1000000, mWatchIteration=1000000, mArtifact=RCFG, mInterpolation=FPandBP, mInterpolantAutomaton=STRAIGHT_LINE, mDumpAutomata=false, mAutomataFormat=ATS_NUMERATE, mDumpPath=., mDeterminiation=PREDICATE_ABSTRACTION, mMinimize=MINIMIZE_SEVPA, mHoare=false, mAutomataTypeConcurrency=PETRI_NET, mHoareTripleChecks=INCREMENTAL, mHoareAnnotationPositions=All, 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;@50d831e3, mLbeIndependenceSettings=[IndependenceType=SEMANTIC, AbstractionType=NONE, UseConditional=false, UseSemiCommutativity=true, Solver=Z3, SolverTimeout=1000ms] [2023-11-23 21:39:50,109 INFO L358 AbstractCegarLoop]: Starting to check reachability of 9 error locations. [2023-11-23 21:39:50,111 INFO L185 PetriNetUnfolderBase]: Found word, exiting Unfolder. [2023-11-23 21:39:50,111 INFO L124 PetriNetUnfolderBase]: 0/4 cut-off events. [2023-11-23 21:39:50,112 INFO L125 PetriNetUnfolderBase]: For 0/0 co-relation queries the response was YES. [2023-11-23 21:39:50,112 INFO L200 CegarLoopForPetriNet]: Found error trace [2023-11-23 21:39:50,112 INFO L208 CegarLoopForPetriNet]: trace histogram [1, 1, 1] [2023-11-23 21:39:50,112 INFO L420 AbstractCegarLoop]: === Iteration 1 === Targeting ULTIMATE.startErr0REQUIRES_VIOLATIONMEMORY_DEREFERENCE === [thr1Err0ASSERT_VIOLATIONMEMORY_LEAK, ULTIMATE.startErr0REQUIRES_VIOLATIONMEMORY_DEREFERENCE, ULTIMATE.startErr1REQUIRES_VIOLATIONMEMORY_DEREFERENCE (and 6 more)] === [2023-11-23 21:39:50,113 INFO L160 PredicateUnifier]: Initialized classic predicate unifier [2023-11-23 21:39:50,113 INFO L85 PathProgramCache]: Analyzing trace with hash 455704, now seen corresponding path program 1 times [2023-11-23 21:39:50,113 INFO L118 FreeRefinementEngine]: Executing refinement strategy CAMEL [2023-11-23 21:39:50,113 INFO L334 FreeRefinementEngine]: Using trace check IpTcStrategyModuleSmtInterpolCraig [1727715065] [2023-11-23 21:39:50,113 INFO L95 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2023-11-23 21:39:50,113 INFO L127 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout -1 ms and remaining time -1 ms [2023-11-23 21:39:50,126 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2023-11-23 21:39:50,156 INFO L134 CoverageAnalysis]: Checked inductivity of 0 backedges. 0 proven. 0 refuted. 0 times theorem prover too weak. 0 trivial. 0 not checked. [2023-11-23 21:39:50,157 INFO L136 FreeRefinementEngine]: Strategy CAMEL found an infeasible trace [2023-11-23 21:39:50,157 INFO L334 FreeRefinementEngine]: Using interpolant generator IpTcStrategyModuleSmtInterpolCraig [1727715065] [2023-11-23 21:39:50,157 INFO L158 FreeRefinementEngine]: IpTcStrategyModuleSmtInterpolCraig [1727715065] provided 1 perfect and 0 imperfect interpolant sequences [2023-11-23 21:39:50,157 INFO L185 FreeRefinementEngine]: Found 1 perfect and 0 imperfect interpolant sequences. [2023-11-23 21:39:50,157 INFO L198 FreeRefinementEngine]: Number of different interpolants: perfect sequences [1] imperfect sequences [] total 1 [2023-11-23 21:39:50,157 INFO L121 tionRefinementEngine]: Using interpolant automaton builder IpAbStrategyModuleStraightlineAll [1033232302] [2023-11-23 21:39:50,158 INFO L85 oduleStraightlineAll]: Using 1 perfect interpolants to construct interpolant automaton [2023-11-23 21:39:50,158 INFO L571 AbstractCegarLoop]: INTERPOLANT automaton has 3 states [2023-11-23 21:39:50,158 INFO L100 FreeRefinementEngine]: Using predicate unifier PredicateUnifier provided by strategy CAMEL [2023-11-23 21:39:50,159 INFO L143 InterpolantAutomaton]: Constructing interpolant automaton starting with 3 interpolants. [2023-11-23 21:39:50,159 INFO L145 InterpolantAutomaton]: CoverageRelationStatistics Valid=3, Invalid=3, Unknown=0, NotChecked=0, Total=6 [2023-11-23 21:39:50,165 INFO L471 CegarLoopForPetriNet]: Number of universal loopers: 23 out of 94 [2023-11-23 21:39:50,166 INFO L103 encePairwiseOnDemand]: Start differencePairwiseOnDemand. First operand has 87 places, 94 transitions, 216 flow. Second operand has 3 states, 3 states have (on average 24.0) internal successors, (72), 3 states have internal predecessors, (72), 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) [2023-11-23 21:39:50,166 INFO L112 encePairwiseOnDemand]: Universal subtrahend loopers provided by user. [2023-11-23 21:39:50,166 INFO L113 encePairwiseOnDemand]: Number of universal subtrahend loopers: 23 of 94 [2023-11-23 21:39:50,166 INFO L73 FinitePrefix]: Start finitePrefix. Operand will be constructed on-demand [2023-11-23 21:40:13,980 INFO L124 PetriNetUnfolderBase]: 179037/249132 cut-off events. [2023-11-23 21:40:13,980 INFO L125 PetriNetUnfolderBase]: For 12282/12282 co-relation queries the response was YES. [2023-11-23 21:40:14,363 INFO L83 FinitePrefix]: Finished finitePrefix Result has 474059 conditions, 249132 events. 179037/249132 cut-off events. For 12282/12282 co-relation queries the response was YES. Maximal size of possible extension queue 6733. Compared 1818083 event pairs, 133201 based on Foata normal form. 47095/294528 useless extension candidates. Maximal degree in co-relation 37580. Up to 219924 conditions per place. [2023-11-23 21:40:16,217 INFO L140 encePairwiseOnDemand]: 79/94 looper letters, 47 selfloop transitions, 1 changer transitions 0/70 dead transitions. [2023-11-23 21:40:16,218 INFO L145 encePairwiseOnDemand]: Finished differencePairwiseOnDemand. Result has 73 places, 70 transitions, 264 flow [2023-11-23 21:40:16,228 INFO L141 InterpolantAutomaton]: Switched to read-only mode: deterministic interpolant automaton has 3 states. [2023-11-23 21:40:16,228 INFO L82 GeneralOperation]: Start removeUnreachable. Operand 3 states. [2023-11-23 21:40:16,229 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 3 states to 3 states and 131 transitions. [2023-11-23 21:40:16,229 INFO L516 CegarLoopForPetriNet]: DFA transition density 0.4645390070921986 [2023-11-23 21:40:16,230 INFO L72 ComplementDD]: Start complementDD. Operand 3 states and 131 transitions. [2023-11-23 21:40:16,230 INFO L73 IsDeterministic]: Start isDeterministic. Operand 3 states and 131 transitions. [2023-11-23 21:40:16,230 INFO L80 IsDeterministic]: Finished isDeterministic. Operand is deterministic. [2023-11-23 21:40:16,230 INFO L117 ReachableStatesCopy]: Start reachableStatesCopy. Operand 3 states and 131 transitions. [2023-11-23 21:40:16,231 INFO L343 DoubleDeckerVisitor]: Before removal of dead ends has 4 states, 3 states have (on average 43.666666666666664) internal successors, (131), 3 states have internal predecessors, (131), 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) [2023-11-23 21:40:16,233 INFO L131 ReachableStatesCopy]: Finished reachableStatesCopy Result has 4 states, 4 states have (on average 94.0) internal successors, (376), 4 states have internal predecessors, (376), 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) [2023-11-23 21:40:16,233 INFO L81 ComplementDD]: Finished complementDD. Result has 4 states, 4 states have (on average 94.0) internal successors, (376), 4 states have internal predecessors, (376), 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) [2023-11-23 21:40:16,233 INFO L175 Difference]: Start difference. First operand has 87 places, 94 transitions, 216 flow. Second operand 3 states and 131 transitions. [2023-11-23 21:40:16,234 INFO L82 GeneralOperation]: Start removeRedundantFlow. Operand has 73 places, 70 transitions, 264 flow [2023-11-23 21:40:16,243 INFO L88 GeneralOperation]: Finished removeRedundantFlow, result has has 73 places, 70 transitions, 258 flow, removed 3 selfloop flow, removed 0 redundant places. [2023-11-23 21:40:16,245 INFO L231 Difference]: Finished difference. Result has 73 places, 70 transitions, 164 flow [2023-11-23 21:40:16,246 INFO L264 CegarLoopForPetriNet]: {PETRI_ALPHABET=94, PETRI_DIFFERENCE_MINUEND_FLOW=162, PETRI_DIFFERENCE_MINUEND_PLACES=71, PETRI_DIFFERENCE_MINUEND_TRANSITIONS=70, PETRI_DIFFERENCE_SUBTRAHEND_LETTERS_WITH_MORE_CHANGERS_THAN_LOOPERS=1, PETRI_DIFFERENCE_SUBTRAHEND_LOOPER_ONLY_LETTERS=69, PETRI_DIFFERENCE_SUBTRAHEND_STATES=3, PETRI_FLOW=164, PETRI_PLACES=73, PETRI_TRANSITIONS=70} [2023-11-23 21:40:16,248 INFO L281 CegarLoopForPetriNet]: 87 programPoint places, -14 predicate places. [2023-11-23 21:40:16,248 INFO L495 AbstractCegarLoop]: Abstraction has has 73 places, 70 transitions, 164 flow [2023-11-23 21:40:16,249 INFO L496 AbstractCegarLoop]: INTERPOLANT automaton has has 3 states, 3 states have (on average 24.0) internal successors, (72), 3 states have internal predecessors, (72), 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) [2023-11-23 21:40:16,249 INFO L200 CegarLoopForPetriNet]: Found error trace [2023-11-23 21:40:16,249 INFO L208 CegarLoopForPetriNet]: trace histogram [1, 1, 1] [2023-11-23 21:40:16,249 WARN L477 AbstractCegarLoop]: Destroyed unattended storables created during the last iteration: SelfDestructingSolverStorable11 [2023-11-23 21:40:16,249 INFO L420 AbstractCegarLoop]: === Iteration 2 === Targeting ULTIMATE.startErr1REQUIRES_VIOLATIONMEMORY_DEREFERENCE === [thr1Err0ASSERT_VIOLATIONMEMORY_LEAK, ULTIMATE.startErr0REQUIRES_VIOLATIONMEMORY_DEREFERENCE, ULTIMATE.startErr1REQUIRES_VIOLATIONMEMORY_DEREFERENCE (and 6 more)] === [2023-11-23 21:40:16,250 INFO L160 PredicateUnifier]: Initialized classic predicate unifier [2023-11-23 21:40:16,250 INFO L85 PathProgramCache]: Analyzing trace with hash 455705, now seen corresponding path program 1 times [2023-11-23 21:40:16,250 INFO L118 FreeRefinementEngine]: Executing refinement strategy CAMEL [2023-11-23 21:40:16,251 INFO L334 FreeRefinementEngine]: Using trace check IpTcStrategyModuleSmtInterpolCraig [985541464] [2023-11-23 21:40:16,251 INFO L95 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2023-11-23 21:40:16,251 INFO L127 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout -1 ms and remaining time -1 ms [2023-11-23 21:40:16,263 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2023-11-23 21:40:16,325 INFO L134 CoverageAnalysis]: Checked inductivity of 0 backedges. 0 proven. 0 refuted. 0 times theorem prover too weak. 0 trivial. 0 not checked. [2023-11-23 21:40:16,325 INFO L136 FreeRefinementEngine]: Strategy CAMEL found an infeasible trace [2023-11-23 21:40:16,326 INFO L334 FreeRefinementEngine]: Using interpolant generator IpTcStrategyModuleSmtInterpolCraig [985541464] [2023-11-23 21:40:16,326 INFO L158 FreeRefinementEngine]: IpTcStrategyModuleSmtInterpolCraig [985541464] provided 1 perfect and 0 imperfect interpolant sequences [2023-11-23 21:40:16,326 INFO L185 FreeRefinementEngine]: Found 1 perfect and 0 imperfect interpolant sequences. [2023-11-23 21:40:16,326 INFO L198 FreeRefinementEngine]: Number of different interpolants: perfect sequences [1] imperfect sequences [] total 1 [2023-11-23 21:40:16,327 INFO L121 tionRefinementEngine]: Using interpolant automaton builder IpAbStrategyModuleStraightlineAll [710539675] [2023-11-23 21:40:16,327 INFO L85 oduleStraightlineAll]: Using 1 perfect interpolants to construct interpolant automaton [2023-11-23 21:40:16,328 INFO L571 AbstractCegarLoop]: INTERPOLANT automaton has 3 states [2023-11-23 21:40:16,328 INFO L100 FreeRefinementEngine]: Using predicate unifier PredicateUnifier provided by strategy CAMEL [2023-11-23 21:40:16,329 INFO L143 InterpolantAutomaton]: Constructing interpolant automaton starting with 3 interpolants. [2023-11-23 21:40:16,329 INFO L145 InterpolantAutomaton]: CoverageRelationStatistics Valid=3, Invalid=3, Unknown=0, NotChecked=0, Total=6 [2023-11-23 21:40:16,335 INFO L471 CegarLoopForPetriNet]: Number of universal loopers: 24 out of 94 [2023-11-23 21:40:16,335 INFO L103 encePairwiseOnDemand]: Start differencePairwiseOnDemand. First operand has 73 places, 70 transitions, 164 flow. Second operand has 3 states, 3 states have (on average 25.0) internal successors, (75), 3 states have internal predecessors, (75), 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) [2023-11-23 21:40:16,335 INFO L112 encePairwiseOnDemand]: Universal subtrahend loopers provided by user. [2023-11-23 21:40:16,336 INFO L113 encePairwiseOnDemand]: Number of universal subtrahend loopers: 24 of 94 [2023-11-23 21:40:16,336 INFO L73 FinitePrefix]: Start finitePrefix. Operand will be constructed on-demand