./Ultimate.py --spec ../../sv-benchmarks/c/properties/valid-memsafety.prp --file ../../sv-benchmarks/c/goblint-regression/04-mutex_36-trylock_nr.i --full-output --architecture 32bit -------------------------------------------------------------------------------- Checking for memory safety (deref-memtrack) Using default analysis Version 0e0057cc 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_84a83a1f-0e9e-4d53-9f7d-34988d71c052/bin/uautomizer-verify-BQ2R08f2Ya/data/config -Xmx15G -Xms4m -jar /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_84a83a1f-0e9e-4d53-9f7d-34988d71c052/bin/uautomizer-verify-BQ2R08f2Ya/plugins/org.eclipse.equinox.launcher_1.5.800.v20200727-1323.jar -data @noDefault -ultimatedata /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_84a83a1f-0e9e-4d53-9f7d-34988d71c052/bin/uautomizer-verify-BQ2R08f2Ya/data -tc /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_84a83a1f-0e9e-4d53-9f7d-34988d71c052/bin/uautomizer-verify-BQ2R08f2Ya/config/AutomizerMemDerefMemtrack.xml -i ../../sv-benchmarks/c/goblint-regression/04-mutex_36-trylock_nr.i -s /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_84a83a1f-0e9e-4d53-9f7d-34988d71c052/bin/uautomizer-verify-BQ2R08f2Ya/config/svcomp-DerefFreeMemtrack-32bit-Automizer_Default.epf --cacsl2boogietranslator.entry.function main --witnessprinter.witness.directory /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_84a83a1f-0e9e-4d53-9f7d-34988d71c052/bin/uautomizer-verify-BQ2R08f2Ya --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 0bf2f5f336333cdf96c271b32cdeb9b70ee932e1c07acf27a63b4425ec902f3e --- Real Ultimate output --- This is Ultimate 0.2.4-dev-0e0057c [2023-11-28 23:55:29,514 INFO L188 SettingsManager]: Resetting all preferences to default values... [2023-11-28 23:55:29,576 INFO L114 SettingsManager]: Loading settings from /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_84a83a1f-0e9e-4d53-9f7d-34988d71c052/bin/uautomizer-verify-BQ2R08f2Ya/config/svcomp-DerefFreeMemtrack-32bit-Automizer_Default.epf [2023-11-28 23:55:29,580 WARN L101 SettingsManager]: Preference file contains the following unknown settings: [2023-11-28 23:55:29,581 WARN L103 SettingsManager]: * de.uni_freiburg.informatik.ultimate.core.Log level for class [2023-11-28 23:55:29,602 INFO L130 SettingsManager]: Preferences different from defaults after loading the file: [2023-11-28 23:55:29,602 INFO L151 SettingsManager]: Preferences of UltimateCore differ from their defaults: [2023-11-28 23:55:29,603 INFO L153 SettingsManager]: * Log level for class=de.uni_freiburg.informatik.ultimate.lib.smtlibutils.quantifier.QuantifierPusher=ERROR; [2023-11-28 23:55:29,603 INFO L151 SettingsManager]: Preferences of Boogie Preprocessor differ from their defaults: [2023-11-28 23:55:29,604 INFO L153 SettingsManager]: * Use memory slicer=true [2023-11-28 23:55:29,605 INFO L151 SettingsManager]: Preferences of Boogie Procedure Inliner differ from their defaults: [2023-11-28 23:55:29,605 INFO L153 SettingsManager]: * Ignore calls to procedures called more than once=ONLY_FOR_SEQUENTIAL_PROGRAMS [2023-11-28 23:55:29,606 INFO L151 SettingsManager]: Preferences of BlockEncodingV2 differ from their defaults: [2023-11-28 23:55:29,606 INFO L153 SettingsManager]: * Create parallel compositions if possible=false [2023-11-28 23:55:29,607 INFO L153 SettingsManager]: * Use SBE=true [2023-11-28 23:55:29,607 INFO L151 SettingsManager]: Preferences of CACSL2BoogieTranslator differ from their defaults: [2023-11-28 23:55:29,608 INFO L153 SettingsManager]: * sizeof long=4 [2023-11-28 23:55:29,608 INFO L153 SettingsManager]: * Overapproximate operations on floating types=true [2023-11-28 23:55:29,609 INFO L153 SettingsManager]: * sizeof POINTER=4 [2023-11-28 23:55:29,609 INFO L153 SettingsManager]: * Check division by zero=IGNORE [2023-11-28 23:55:29,610 INFO L153 SettingsManager]: * Check for the main procedure if all allocated memory was freed=true [2023-11-28 23:55:29,610 INFO L153 SettingsManager]: * Bitprecise bitfields=true [2023-11-28 23:55:29,611 INFO L153 SettingsManager]: * SV-COMP memtrack compatibility mode=true [2023-11-28 23:55:29,611 INFO L153 SettingsManager]: * If two pointers are subtracted or compared they have the same base address=IGNORE [2023-11-28 23:55:29,612 INFO L153 SettingsManager]: * Adapt memory model on pointer casts if necessary=true [2023-11-28 23:55:29,612 INFO L153 SettingsManager]: * Check unreachability of reach_error function=false [2023-11-28 23:55:29,613 INFO L153 SettingsManager]: * sizeof long double=12 [2023-11-28 23:55:29,613 INFO L153 SettingsManager]: * Use constant arrays=true [2023-11-28 23:55:29,613 INFO L151 SettingsManager]: Preferences of RCFGBuilder differ from their defaults: [2023-11-28 23:55:29,614 INFO L153 SettingsManager]: * Size of a code block=SequenceOfStatements [2023-11-28 23:55:29,614 INFO L153 SettingsManager]: * Only consider context switches at boundaries of atomic blocks=true [2023-11-28 23:55:29,615 INFO L153 SettingsManager]: * SMT solver=External_DefaultMode [2023-11-28 23:55:29,615 INFO L153 SettingsManager]: * Command for external solver=z3 SMTLIB2_COMPLIANT=true -memory:2024 -smt2 -in -t:4000 [2023-11-28 23:55:29,615 INFO L151 SettingsManager]: Preferences of TraceAbstraction differ from their defaults: [2023-11-28 23:55:29,615 INFO L153 SettingsManager]: * Compute Interpolants along a Counterexample=FPandBP [2023-11-28 23:55:29,616 INFO L153 SettingsManager]: * Trace refinement strategy=CAMEL [2023-11-28 23:55:29,616 INFO L153 SettingsManager]: * Command for external solver=z3 SMTLIB2_COMPLIANT=true -memory:2024 -smt2 -in [2023-11-28 23:55:29,616 INFO L153 SettingsManager]: * Apply one-shot large block encoding in concurrent analysis=false [2023-11-28 23:55:29,616 INFO L153 SettingsManager]: * Automaton type used in concurrency analysis=PETRI_NET [2023-11-28 23:55:29,616 INFO L153 SettingsManager]: * Order on configurations for Petri net unfoldings=DBO [2023-11-28 23:55:29,617 INFO L153 SettingsManager]: * SMT solver=External_ModelsAndUnsatCoreMode [2023-11-28 23:55:29,617 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_84a83a1f-0e9e-4d53-9f7d-34988d71c052/bin/uautomizer-verify-BQ2R08f2Ya/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_84a83a1f-0e9e-4d53-9f7d-34988d71c052/bin/uautomizer-verify-BQ2R08f2Ya 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 -> 0bf2f5f336333cdf96c271b32cdeb9b70ee932e1c07acf27a63b4425ec902f3e [2023-11-28 23:55:29,821 INFO L75 nceAwareModelManager]: Repository-Root is: /tmp [2023-11-28 23:55:29,842 INFO L261 ainManager$Toolchain]: [Toolchain 1]: Applicable parser(s) successfully (re)initialized [2023-11-28 23:55:29,844 INFO L217 ainManager$Toolchain]: [Toolchain 1]: Toolchain selected. [2023-11-28 23:55:29,845 INFO L270 PluginConnector]: Initializing CDTParser... [2023-11-28 23:55:29,845 INFO L274 PluginConnector]: CDTParser initialized [2023-11-28 23:55:29,846 INFO L431 ainManager$Toolchain]: [Toolchain 1]: Parsing single file: /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_84a83a1f-0e9e-4d53-9f7d-34988d71c052/bin/uautomizer-verify-BQ2R08f2Ya/../../sv-benchmarks/c/goblint-regression/04-mutex_36-trylock_nr.i [2023-11-28 23:55:32,645 INFO L533 CDTParser]: Created temporary CDT project at NULL [2023-11-28 23:55:32,915 INFO L384 CDTParser]: Found 1 translation units. [2023-11-28 23:55:32,916 INFO L180 CDTParser]: Scanning /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_84a83a1f-0e9e-4d53-9f7d-34988d71c052/sv-benchmarks/c/goblint-regression/04-mutex_36-trylock_nr.i [2023-11-28 23:55:32,936 INFO L427 CDTParser]: About to delete temporary CDT project at /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_84a83a1f-0e9e-4d53-9f7d-34988d71c052/bin/uautomizer-verify-BQ2R08f2Ya/data/aa436f9eb/b36a22ed47bc412bb869995f8b2949e5/FLAG751db2198 [2023-11-28 23:55:32,949 INFO L435 CDTParser]: Successfully deleted /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_84a83a1f-0e9e-4d53-9f7d-34988d71c052/bin/uautomizer-verify-BQ2R08f2Ya/data/aa436f9eb/b36a22ed47bc412bb869995f8b2949e5 [2023-11-28 23:55:32,951 INFO L299 ainManager$Toolchain]: ####################### [Toolchain 1] ####################### [2023-11-28 23:55:32,953 INFO L133 ToolchainWalker]: Walking toolchain with 6 elements. [2023-11-28 23:55:32,954 INFO L112 PluginConnector]: ------------------------CACSL2BoogieTranslator---------------------------- [2023-11-28 23:55:32,954 INFO L270 PluginConnector]: Initializing CACSL2BoogieTranslator... [2023-11-28 23:55:32,959 INFO L274 PluginConnector]: CACSL2BoogieTranslator initialized [2023-11-28 23:55:32,960 INFO L184 PluginConnector]: Executing the observer ACSLObjectContainerObserver from plugin CACSL2BoogieTranslator for "CDTParser AST 28.11 11:55:32" (1/1) ... [2023-11-28 23:55:32,961 INFO L204 PluginConnector]: Invalid model from CACSL2BoogieTranslator for observer de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator.ACSLObjectContainerObserver@62008bd6 and model type de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 28.11 11:55:32, skipping insertion in model container [2023-11-28 23:55:32,961 INFO L184 PluginConnector]: Executing the observer CACSL2BoogieTranslatorObserver from plugin CACSL2BoogieTranslator for "CDTParser AST 28.11 11:55:32" (1/1) ... [2023-11-28 23:55:33,012 INFO L177 MainTranslator]: Built tables and reachable declarations [2023-11-28 23:55:33,634 INFO L209 PostProcessor]: Analyzing one entry point: main [2023-11-28 23:55:33,651 INFO L202 MainTranslator]: Completed pre-run [2023-11-28 23:55:33,725 INFO L209 PostProcessor]: Analyzing one entry point: main [2023-11-28 23:55:33,882 WARN L675 CHandler]: The function strerror is called, but not defined or handled by StandardFunctionHandler. [2023-11-28 23:55:33,882 WARN L675 CHandler]: The function sleep is called, but not defined or handled by StandardFunctionHandler. [2023-11-28 23:55:33,882 WARN L675 CHandler]: The function time is called, but not defined or handled by StandardFunctionHandler. [2023-11-28 23:55:33,883 WARN L675 CHandler]: The function fprintf is called, but not defined or handled by StandardFunctionHandler. [2023-11-28 23:55:33,890 INFO L206 MainTranslator]: Completed translation [2023-11-28 23:55:33,891 INFO L201 PluginConnector]: Adding new model de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 28.11 11:55:33 WrapperNode [2023-11-28 23:55:33,891 INFO L131 PluginConnector]: ------------------------ END CACSL2BoogieTranslator---------------------------- [2023-11-28 23:55:33,892 INFO L112 PluginConnector]: ------------------------Boogie Procedure Inliner---------------------------- [2023-11-28 23:55:33,892 INFO L270 PluginConnector]: Initializing Boogie Procedure Inliner... [2023-11-28 23:55:33,892 INFO L274 PluginConnector]: Boogie Procedure Inliner initialized [2023-11-28 23:55:33,898 INFO L184 PluginConnector]: Executing the observer TypeChecker from plugin Boogie Procedure Inliner for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 28.11 11:55:33" (1/1) ... [2023-11-28 23:55:33,929 INFO L184 PluginConnector]: Executing the observer Inliner from plugin Boogie Procedure Inliner for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 28.11 11:55:33" (1/1) ... [2023-11-28 23:55:33,960 INFO L138 Inliner]: procedures = 525, calls = 71, calls flagged for inlining = 2, calls inlined = 2, statements flattened = 137 [2023-11-28 23:55:33,960 INFO L131 PluginConnector]: ------------------------ END Boogie Procedure Inliner---------------------------- [2023-11-28 23:55:33,961 INFO L112 PluginConnector]: ------------------------Boogie Preprocessor---------------------------- [2023-11-28 23:55:33,961 INFO L270 PluginConnector]: Initializing Boogie Preprocessor... [2023-11-28 23:55:33,962 INFO L274 PluginConnector]: Boogie Preprocessor initialized [2023-11-28 23:55:33,974 INFO L184 PluginConnector]: Executing the observer EnsureBoogieModelObserver from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 28.11 11:55:33" (1/1) ... [2023-11-28 23:55:33,974 INFO L184 PluginConnector]: Executing the observer TypeChecker from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 28.11 11:55:33" (1/1) ... [2023-11-28 23:55:33,981 INFO L184 PluginConnector]: Executing the observer MemorySlicer from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 28.11 11:55:33" (1/1) ... [2023-11-28 23:55:34,000 INFO L175 MemorySlicer]: Split 9 memory accesses to 3 slices as follows [2, 5, 2]. 56 percent of accesses are in the largest equivalence class. The 5 initializations are split as follows [0, 5, 0]. The 2 writes are split as follows [1, 0, 1]. [2023-11-28 23:55:34,001 INFO L184 PluginConnector]: Executing the observer ConstExpander from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 28.11 11:55:33" (1/1) ... [2023-11-28 23:55:34,001 INFO L184 PluginConnector]: Executing the observer StructExpander from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 28.11 11:55:33" (1/1) ... [2023-11-28 23:55:34,012 INFO L184 PluginConnector]: Executing the observer UnstructureCode from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 28.11 11:55:33" (1/1) ... [2023-11-28 23:55:34,016 INFO L184 PluginConnector]: Executing the observer FunctionInliner from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 28.11 11:55:33" (1/1) ... [2023-11-28 23:55:34,020 INFO L184 PluginConnector]: Executing the observer LTLStepAnnotator from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 28.11 11:55:33" (1/1) ... [2023-11-28 23:55:34,024 INFO L184 PluginConnector]: Executing the observer BoogieSymbolTableConstructor from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 28.11 11:55:33" (1/1) ... [2023-11-28 23:55:34,032 INFO L131 PluginConnector]: ------------------------ END Boogie Preprocessor---------------------------- [2023-11-28 23:55:34,033 INFO L112 PluginConnector]: ------------------------RCFGBuilder---------------------------- [2023-11-28 23:55:34,033 INFO L270 PluginConnector]: Initializing RCFGBuilder... [2023-11-28 23:55:34,033 INFO L274 PluginConnector]: RCFGBuilder initialized [2023-11-28 23:55:34,034 INFO L184 PluginConnector]: Executing the observer RCFGBuilderObserver from plugin RCFGBuilder for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 28.11 11:55:33" (1/1) ... [2023-11-28 23:55:34,041 INFO L173 SolverBuilder]: Constructing external solver with command: z3 SMTLIB2_COMPLIANT=true -memory:2024 -smt2 -in -t:4000 [2023-11-28 23:55:34,053 INFO L189 MonitoredProcess]: No working directory specified, using /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_84a83a1f-0e9e-4d53-9f7d-34988d71c052/bin/uautomizer-verify-BQ2R08f2Ya/z3 [2023-11-28 23:55:34,065 INFO L229 MonitoredProcess]: Starting monitored process 1 with /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_84a83a1f-0e9e-4d53-9f7d-34988d71c052/bin/uautomizer-verify-BQ2R08f2Ya/z3 SMTLIB2_COMPLIANT=true -memory:2024 -smt2 -in -t:4000 (exit command is (exit), workingDir is null) [2023-11-28 23:55:34,067 INFO L327 MonitoredProcess]: [MP /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_84a83a1f-0e9e-4d53-9f7d-34988d71c052/bin/uautomizer-verify-BQ2R08f2Ya/z3 SMTLIB2_COMPLIANT=true -memory:2024 -smt2 -in -t:4000 (1)] Waiting until timeout for monitored process [2023-11-28 23:55:34,096 INFO L130 BoogieDeclarations]: Found specification of procedure counter_thread [2023-11-28 23:55:34,097 INFO L138 BoogieDeclarations]: Found implementation of procedure counter_thread [2023-11-28 23:55:34,097 INFO L130 BoogieDeclarations]: Found specification of procedure sleep [2023-11-28 23:55:34,097 INFO L130 BoogieDeclarations]: Found specification of procedure monitor_thread [2023-11-28 23:55:34,097 INFO L138 BoogieDeclarations]: Found implementation of procedure monitor_thread [2023-11-28 23:55:34,097 INFO L130 BoogieDeclarations]: Found specification of procedure strerror [2023-11-28 23:55:34,097 INFO L130 BoogieDeclarations]: Found specification of procedure ULTIMATE.dealloc [2023-11-28 23:55:34,097 INFO L130 BoogieDeclarations]: Found specification of procedure read~int#0 [2023-11-28 23:55:34,098 INFO L130 BoogieDeclarations]: Found specification of procedure read~int#1 [2023-11-28 23:55:34,098 INFO L130 BoogieDeclarations]: Found specification of procedure read~int#2 [2023-11-28 23:55:34,098 INFO L130 BoogieDeclarations]: Found specification of procedure #PthreadsMutexLock [2023-11-28 23:55:34,098 INFO L130 BoogieDeclarations]: Found specification of procedure #Ultimate.allocInit [2023-11-28 23:55:34,098 INFO L130 BoogieDeclarations]: Found specification of procedure ULTIMATE.start [2023-11-28 23:55:34,099 INFO L138 BoogieDeclarations]: Found implementation of procedure ULTIMATE.start [2023-11-28 23:55:34,099 INFO L130 BoogieDeclarations]: Found specification of procedure fprintf [2023-11-28 23:55:34,099 INFO L130 BoogieDeclarations]: Found specification of procedure #Ultimate.allocOnStack [2023-11-28 23:55:34,099 INFO L130 BoogieDeclarations]: Found specification of procedure #PthreadsMutexTryLock [2023-11-28 23:55:34,099 INFO L130 BoogieDeclarations]: Found specification of procedure #PthreadsMutexUnlock [2023-11-28 23:55:34,100 INFO L130 BoogieDeclarations]: Found specification of procedure time [2023-11-28 23:55:34,100 INFO L130 BoogieDeclarations]: Found specification of procedure write~int#0 [2023-11-28 23:55:34,100 INFO L130 BoogieDeclarations]: Found specification of procedure write~int#1 [2023-11-28 23:55:34,100 INFO L130 BoogieDeclarations]: Found specification of procedure write~int#2 [2023-11-28 23:55:34,100 INFO L130 BoogieDeclarations]: Found specification of procedure write~init~int#0 [2023-11-28 23:55:34,101 INFO L130 BoogieDeclarations]: Found specification of procedure write~init~int#1 [2023-11-28 23:55:34,101 INFO L130 BoogieDeclarations]: Found specification of procedure write~init~int#2 [2023-11-28 23:55:34,102 WARN L213 CfgBuilder]: User set CodeBlockSize to SequenceOfStatements but program contains fork statements. Overwriting the user preferences and setting CodeBlockSize to OneNontrivialStatement [2023-11-28 23:55:34,360 INFO L241 CfgBuilder]: Building ICFG [2023-11-28 23:55:34,361 INFO L267 CfgBuilder]: Building CFG for each procedure with an implementation [2023-11-28 23:55:34,648 INFO L282 CfgBuilder]: Performing block encoding [2023-11-28 23:55:34,819 INFO L304 CfgBuilder]: Using the 1 location(s) as analysis (start of procedure ULTIMATE.start) [2023-11-28 23:55:34,819 INFO L309 CfgBuilder]: Removed 19 assume(true) statements. [2023-11-28 23:55:34,819 INFO L201 PluginConnector]: Adding new model de.uni_freiburg.informatik.ultimate.plugins.generator.rcfgbuilder CFG 28.11 11:55:34 BoogieIcfgContainer [2023-11-28 23:55:34,820 INFO L131 PluginConnector]: ------------------------ END RCFGBuilder---------------------------- [2023-11-28 23:55:34,822 INFO L112 PluginConnector]: ------------------------TraceAbstraction---------------------------- [2023-11-28 23:55:34,822 INFO L270 PluginConnector]: Initializing TraceAbstraction... [2023-11-28 23:55:34,825 INFO L274 PluginConnector]: TraceAbstraction initialized [2023-11-28 23:55:34,825 INFO L184 PluginConnector]: Executing the observer TraceAbstractionObserver from plugin TraceAbstraction for "CDTParser AST 28.11 11:55:32" (1/3) ... [2023-11-28 23:55:34,826 INFO L204 PluginConnector]: Invalid model from TraceAbstraction for observer de.uni_freiburg.informatik.ultimate.plugins.generator.traceabstraction.TraceAbstractionObserver@22b2101f and model type de.uni_freiburg.informatik.ultimate.plugins.generator.traceabstraction AST 28.11 11:55:34, skipping insertion in model container [2023-11-28 23:55:34,826 INFO L184 PluginConnector]: Executing the observer TraceAbstractionObserver from plugin TraceAbstraction for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 28.11 11:55:33" (2/3) ... [2023-11-28 23:55:34,827 INFO L204 PluginConnector]: Invalid model from TraceAbstraction for observer de.uni_freiburg.informatik.ultimate.plugins.generator.traceabstraction.TraceAbstractionObserver@22b2101f and model type de.uni_freiburg.informatik.ultimate.plugins.generator.traceabstraction AST 28.11 11:55:34, skipping insertion in model container [2023-11-28 23:55:34,827 INFO L184 PluginConnector]: Executing the observer TraceAbstractionObserver from plugin TraceAbstraction for "de.uni_freiburg.informatik.ultimate.plugins.generator.rcfgbuilder CFG 28.11 11:55:34" (3/3) ... [2023-11-28 23:55:34,828 INFO L112 eAbstractionObserver]: Analyzing ICFG 04-mutex_36-trylock_nr.i [2023-11-28 23:55:34,847 INFO L203 ceAbstractionStarter]: Automizer settings: Hoare:false NWA Interpolation:FPandBP Determinization: PREDICATE_ABSTRACTION [2023-11-28 23:55:34,847 INFO L162 ceAbstractionStarter]: Applying trace abstraction to program that has 9 error locations. [2023-11-28 23:55:34,847 INFO L514 ceAbstractionStarter]: Constructing petrified ICFG for 1 thread instances. [2023-11-28 23:55:34,897 INFO L144 ThreadInstanceAdder]: Constructed 2 joinOtherThreadTransitions. [2023-11-28 23:55:34,933 INFO L73 FinitePrefix]: Start finitePrefix. Operand has 80 places, 104 transitions, 222 flow [2023-11-28 23:55:34,973 INFO L124 PetriNetUnfolderBase]: 31/102 cut-off events. [2023-11-28 23:55:34,973 INFO L125 PetriNetUnfolderBase]: For 2/2 co-relation queries the response was YES. [2023-11-28 23:55:34,977 INFO L83 FinitePrefix]: Finished finitePrefix Result has 111 conditions, 102 events. 31/102 cut-off events. For 2/2 co-relation queries the response was YES. Maximal size of possible extension queue 8. Compared 214 event pairs, 0 based on Foata normal form. 0/62 useless extension candidates. Maximal degree in co-relation 75. Up to 5 conditions per place. [2023-11-28 23:55:34,978 INFO L82 GeneralOperation]: Start removeDead. Operand has 80 places, 104 transitions, 222 flow [2023-11-28 23:55:34,983 INFO L88 GeneralOperation]: Finished RemoveDead, result has has 77 places, 101 transitions, 214 flow [2023-11-28 23:55:34,993 INFO L356 AbstractCegarLoop]: ======== Iteration 0 == of CEGAR loop == AllErrorsAtOnce ======== [2023-11-28 23:55:35,000 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;@758d61b9, mLbeIndependenceSettings=[IndependenceType=SEMANTIC, AbstractionType=NONE, UseConditional=false, UseSemiCommutativity=true, Solver=Z3, SolverTimeout=1000ms] [2023-11-28 23:55:35,000 INFO L358 AbstractCegarLoop]: Starting to check reachability of 11 error locations. [2023-11-28 23:55:35,005 INFO L185 PetriNetUnfolderBase]: Found word, exiting Unfolder. [2023-11-28 23:55:35,005 INFO L124 PetriNetUnfolderBase]: 0/3 cut-off events. [2023-11-28 23:55:35,005 INFO L125 PetriNetUnfolderBase]: For 0/0 co-relation queries the response was YES. [2023-11-28 23:55:35,005 INFO L200 CegarLoopForPetriNet]: Found error trace [2023-11-28 23:55:35,006 INFO L208 CegarLoopForPetriNet]: trace histogram [1, 1, 1] [2023-11-28 23:55:35,006 INFO L420 AbstractCegarLoop]: === Iteration 1 === Targeting ULTIMATE.startErr8ASSERT_VIOLATIONMEMORY_LEAK === [ULTIMATE.startErr8ASSERT_VIOLATIONMEMORY_LEAK, ULTIMATE.startErr0REQUIRES_VIOLATIONMEMORY_DEREFERENCE, ULTIMATE.startErr1REQUIRES_VIOLATIONMEMORY_DEREFERENCE (and 8 more)] === [2023-11-28 23:55:35,011 INFO L160 PredicateUnifier]: Initialized classic predicate unifier [2023-11-28 23:55:35,012 INFO L85 PathProgramCache]: Analyzing trace with hash 631847, now seen corresponding path program 1 times [2023-11-28 23:55:35,021 INFO L118 FreeRefinementEngine]: Executing refinement strategy CAMEL [2023-11-28 23:55:35,021 INFO L334 FreeRefinementEngine]: Using trace check IpTcStrategyModuleSmtInterpolCraig [822010231] [2023-11-28 23:55:35,022 INFO L95 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2023-11-28 23:55:35,022 INFO L127 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout -1 ms and remaining time -1 ms [2023-11-28 23:55:35,227 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2023-11-28 23:55:35,573 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-28 23:55:35,574 INFO L136 FreeRefinementEngine]: Strategy CAMEL found an infeasible trace [2023-11-28 23:55:35,574 INFO L334 FreeRefinementEngine]: Using interpolant generator IpTcStrategyModuleSmtInterpolCraig [822010231] [2023-11-28 23:55:35,575 INFO L158 FreeRefinementEngine]: IpTcStrategyModuleSmtInterpolCraig [822010231] provided 1 perfect and 0 imperfect interpolant sequences [2023-11-28 23:55:35,575 INFO L185 FreeRefinementEngine]: Found 1 perfect and 0 imperfect interpolant sequences. [2023-11-28 23:55:35,575 INFO L198 FreeRefinementEngine]: Number of different interpolants: perfect sequences [2] imperfect sequences [] total 2 [2023-11-28 23:55:35,577 INFO L121 tionRefinementEngine]: Using interpolant automaton builder IpAbStrategyModuleStraightlineAll [1576395395] [2023-11-28 23:55:35,578 INFO L85 oduleStraightlineAll]: Using 1 perfect interpolants to construct interpolant automaton [2023-11-28 23:55:35,587 INFO L571 AbstractCegarLoop]: INTERPOLANT automaton has 4 states [2023-11-28 23:55:35,594 INFO L100 FreeRefinementEngine]: Using predicate unifier PredicateUnifier provided by strategy CAMEL [2023-11-28 23:55:35,620 INFO L143 InterpolantAutomaton]: Constructing interpolant automaton starting with 4 interpolants. [2023-11-28 23:55:35,621 INFO L145 InterpolantAutomaton]: CoverageRelationStatistics Valid=5, Invalid=7, Unknown=0, NotChecked=0, Total=12 [2023-11-28 23:55:35,681 INFO L471 CegarLoopForPetriNet]: Number of universal loopers: 41 out of 104 [2023-11-28 23:55:35,684 INFO L103 encePairwiseOnDemand]: Start differencePairwiseOnDemand. First operand has 77 places, 101 transitions, 214 flow. Second operand has 4 states, 4 states have (on average 41.75) internal successors, (167), 4 states have internal predecessors, (167), 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-28 23:55:35,684 INFO L112 encePairwiseOnDemand]: Universal subtrahend loopers provided by user. [2023-11-28 23:55:35,684 INFO L113 encePairwiseOnDemand]: Number of universal subtrahend loopers: 41 of 104 [2023-11-28 23:55:35,686 INFO L73 FinitePrefix]: Start finitePrefix. Operand will be constructed on-demand [2023-11-28 23:55:35,935 INFO L124 PetriNetUnfolderBase]: 481/1100 cut-off events. [2023-11-28 23:55:35,935 INFO L125 PetriNetUnfolderBase]: For 45/45 co-relation queries the response was YES. [2023-11-28 23:55:35,940 INFO L83 FinitePrefix]: Finished finitePrefix Result has 1891 conditions, 1100 events. 481/1100 cut-off events. For 45/45 co-relation queries the response was YES. Maximal size of possible extension queue 67. Compared 6457 event pairs, 363 based on Foata normal form. 225/1057 useless extension candidates. Maximal degree in co-relation 1722. Up to 750 conditions per place. [2023-11-28 23:55:35,949 INFO L140 encePairwiseOnDemand]: 82/104 looper letters, 30 selfloop transitions, 1 changer transitions 6/66 dead transitions. [2023-11-28 23:55:35,949 INFO L145 encePairwiseOnDemand]: Finished differencePairwiseOnDemand. Result has 71 places, 66 transitions, 214 flow [2023-11-28 23:55:35,950 INFO L141 InterpolantAutomaton]: Switched to read-only mode: deterministic interpolant automaton has 4 states. [2023-11-28 23:55:35,953 INFO L82 GeneralOperation]: Start removeUnreachable. Operand 4 states. [2023-11-28 23:55:35,959 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 4 states to 4 states and 218 transitions. [2023-11-28 23:55:35,961 INFO L516 CegarLoopForPetriNet]: DFA transition density 0.5240384615384616 [2023-11-28 23:55:35,962 INFO L72 ComplementDD]: Start complementDD. Operand 4 states and 218 transitions. [2023-11-28 23:55:35,962 INFO L73 IsDeterministic]: Start isDeterministic. Operand 4 states and 218 transitions. [2023-11-28 23:55:35,963 INFO L80 IsDeterministic]: Finished isDeterministic. Operand is deterministic. [2023-11-28 23:55:35,965 INFO L117 ReachableStatesCopy]: Start reachableStatesCopy. Operand 4 states and 218 transitions. [2023-11-28 23:55:35,968 INFO L343 DoubleDeckerVisitor]: Before removal of dead ends has 5 states, 4 states have (on average 54.5) internal successors, (218), 4 states have internal predecessors, (218), 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-28 23:55:35,972 INFO L131 ReachableStatesCopy]: Finished reachableStatesCopy Result has 5 states, 5 states have (on average 104.0) internal successors, (520), 5 states have internal predecessors, (520), 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-28 23:55:35,972 INFO L81 ComplementDD]: Finished complementDD. Result has 5 states, 5 states have (on average 104.0) internal successors, (520), 5 states have internal predecessors, (520), 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-28 23:55:35,973 INFO L175 Difference]: Start difference. First operand has 77 places, 101 transitions, 214 flow. Second operand 4 states and 218 transitions. [2023-11-28 23:55:35,974 INFO L82 GeneralOperation]: Start removeRedundantFlow. Operand has 71 places, 66 transitions, 214 flow [2023-11-28 23:55:35,978 INFO L88 GeneralOperation]: Finished removeRedundantFlow, result has has 67 places, 66 transitions, 206 flow, removed 0 selfloop flow, removed 4 redundant places. [2023-11-28 23:55:35,981 INFO L231 Difference]: Finished difference. Result has 67 places, 60 transitions, 125 flow [2023-11-28 23:55:35,983 INFO L264 CegarLoopForPetriNet]: {PETRI_ALPHABET=104, PETRI_DIFFERENCE_MINUEND_FLOW=136, PETRI_DIFFERENCE_MINUEND_PLACES=64, PETRI_DIFFERENCE_MINUEND_TRANSITIONS=66, PETRI_DIFFERENCE_SUBTRAHEND_LETTERS_WITH_MORE_CHANGERS_THAN_LOOPERS=1, PETRI_DIFFERENCE_SUBTRAHEND_LOOPER_ONLY_LETTERS=65, PETRI_DIFFERENCE_SUBTRAHEND_STATES=4, PETRI_FLOW=125, PETRI_PLACES=67, PETRI_TRANSITIONS=60} [2023-11-28 23:55:35,986 INFO L281 CegarLoopForPetriNet]: 77 programPoint places, -10 predicate places. [2023-11-28 23:55:35,986 INFO L495 AbstractCegarLoop]: Abstraction has has 67 places, 60 transitions, 125 flow [2023-11-28 23:55:35,987 INFO L496 AbstractCegarLoop]: INTERPOLANT automaton has has 4 states, 4 states have (on average 41.75) internal successors, (167), 4 states have internal predecessors, (167), 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-28 23:55:35,987 INFO L200 CegarLoopForPetriNet]: Found error trace [2023-11-28 23:55:35,987 INFO L208 CegarLoopForPetriNet]: trace histogram [1, 1, 1] [2023-11-28 23:55:35,987 WARN L477 AbstractCegarLoop]: Destroyed unattended storables created during the last iteration: SelfDestructingSolverStorable0 [2023-11-28 23:55:35,987 INFO L420 AbstractCegarLoop]: === Iteration 2 === Targeting ULTIMATE.startErr0REQUIRES_VIOLATIONMEMORY_DEREFERENCE === [ULTIMATE.startErr8ASSERT_VIOLATIONMEMORY_LEAK, ULTIMATE.startErr0REQUIRES_VIOLATIONMEMORY_DEREFERENCE, ULTIMATE.startErr1REQUIRES_VIOLATIONMEMORY_DEREFERENCE (and 8 more)] === [2023-11-28 23:55:35,988 INFO L160 PredicateUnifier]: Initialized classic predicate unifier [2023-11-28 23:55:35,988 INFO L85 PathProgramCache]: Analyzing trace with hash 631840, now seen corresponding path program 1 times [2023-11-28 23:55:35,988 INFO L118 FreeRefinementEngine]: Executing refinement strategy CAMEL [2023-11-28 23:55:35,989 INFO L334 FreeRefinementEngine]: Using trace check IpTcStrategyModuleSmtInterpolCraig [447213599] [2023-11-28 23:55:35,989 INFO L95 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2023-11-28 23:55:35,989 INFO L127 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout -1 ms and remaining time -1 ms [2023-11-28 23:55:36,013 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2023-11-28 23:55:36,085 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-28 23:55:36,085 INFO L136 FreeRefinementEngine]: Strategy CAMEL found an infeasible trace [2023-11-28 23:55:36,085 INFO L334 FreeRefinementEngine]: Using interpolant generator IpTcStrategyModuleSmtInterpolCraig [447213599] [2023-11-28 23:55:36,085 INFO L158 FreeRefinementEngine]: IpTcStrategyModuleSmtInterpolCraig [447213599] provided 1 perfect and 0 imperfect interpolant sequences [2023-11-28 23:55:36,086 INFO L185 FreeRefinementEngine]: Found 1 perfect and 0 imperfect interpolant sequences. [2023-11-28 23:55:36,086 INFO L198 FreeRefinementEngine]: Number of different interpolants: perfect sequences [1] imperfect sequences [] total 1 [2023-11-28 23:55:36,086 INFO L121 tionRefinementEngine]: Using interpolant automaton builder IpAbStrategyModuleStraightlineAll [1765401187] [2023-11-28 23:55:36,086 INFO L85 oduleStraightlineAll]: Using 1 perfect interpolants to construct interpolant automaton [2023-11-28 23:55:36,087 INFO L571 AbstractCegarLoop]: INTERPOLANT automaton has 3 states [2023-11-28 23:55:36,087 INFO L100 FreeRefinementEngine]: Using predicate unifier PredicateUnifier provided by strategy CAMEL [2023-11-28 23:55:36,088 INFO L143 InterpolantAutomaton]: Constructing interpolant automaton starting with 3 interpolants. [2023-11-28 23:55:36,088 INFO L145 InterpolantAutomaton]: CoverageRelationStatistics Valid=3, Invalid=3, Unknown=0, NotChecked=0, Total=6 [2023-11-28 23:55:36,108 INFO L471 CegarLoopForPetriNet]: Number of universal loopers: 38 out of 104 [2023-11-28 23:55:36,109 INFO L103 encePairwiseOnDemand]: Start differencePairwiseOnDemand. First operand has 67 places, 60 transitions, 125 flow. Second operand has 3 states, 3 states have (on average 39.0) internal successors, (117), 3 states have internal predecessors, (117), 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-28 23:55:36,109 INFO L112 encePairwiseOnDemand]: Universal subtrahend loopers provided by user. [2023-11-28 23:55:36,109 INFO L113 encePairwiseOnDemand]: Number of universal subtrahend loopers: 38 of 104 [2023-11-28 23:55:36,109 INFO L73 FinitePrefix]: Start finitePrefix. Operand will be constructed on-demand [2023-11-28 23:55:36,254 INFO L124 PetriNetUnfolderBase]: 752/1517 cut-off events. [2023-11-28 23:55:36,255 INFO L125 PetriNetUnfolderBase]: For 8/8 co-relation queries the response was YES. [2023-11-28 23:55:36,257 INFO L83 FinitePrefix]: Finished finitePrefix Result has 2662 conditions, 1517 events. 752/1517 cut-off events. For 8/8 co-relation queries the response was YES. Maximal size of possible extension queue 86. Compared 8943 event pairs, 581 based on Foata normal form. 0/1209 useless extension candidates. Maximal degree in co-relation 2656. Up to 1129 conditions per place. [2023-11-28 23:55:36,263 INFO L140 encePairwiseOnDemand]: 101/104 looper letters, 32 selfloop transitions, 1 changer transitions 0/58 dead transitions. [2023-11-28 23:55:36,263 INFO L145 encePairwiseOnDemand]: Finished differencePairwiseOnDemand. Result has 61 places, 58 transitions, 187 flow [2023-11-28 23:55:36,263 INFO L141 InterpolantAutomaton]: Switched to read-only mode: deterministic interpolant automaton has 3 states. [2023-11-28 23:55:36,264 INFO L82 GeneralOperation]: Start removeUnreachable. Operand 3 states. [2023-11-28 23:55:36,265 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 3 states to 3 states and 149 transitions. [2023-11-28 23:55:36,265 INFO L516 CegarLoopForPetriNet]: DFA transition density 0.4775641025641026 [2023-11-28 23:55:36,265 INFO L72 ComplementDD]: Start complementDD. Operand 3 states and 149 transitions. [2023-11-28 23:55:36,266 INFO L73 IsDeterministic]: Start isDeterministic. Operand 3 states and 149 transitions. [2023-11-28 23:55:36,266 INFO L80 IsDeterministic]: Finished isDeterministic. Operand is deterministic. [2023-11-28 23:55:36,266 INFO L117 ReachableStatesCopy]: Start reachableStatesCopy. Operand 3 states and 149 transitions. [2023-11-28 23:55:36,268 INFO L343 DoubleDeckerVisitor]: Before removal of dead ends has 4 states, 3 states have (on average 49.666666666666664) internal successors, (149), 3 states have internal predecessors, (149), 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-28 23:55:36,269 INFO L131 ReachableStatesCopy]: Finished reachableStatesCopy Result has 4 states, 4 states have (on average 104.0) internal successors, (416), 4 states have internal predecessors, (416), 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-28 23:55:36,270 INFO L81 ComplementDD]: Finished complementDD. Result has 4 states, 4 states have (on average 104.0) internal successors, (416), 4 states have internal predecessors, (416), 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-28 23:55:36,270 INFO L175 Difference]: Start difference. First operand has 67 places, 60 transitions, 125 flow. Second operand 3 states and 149 transitions. [2023-11-28 23:55:36,270 INFO L82 GeneralOperation]: Start removeRedundantFlow. Operand has 61 places, 58 transitions, 187 flow [2023-11-28 23:55:36,271 INFO L88 GeneralOperation]: Finished removeRedundantFlow, result has has 60 places, 58 transitions, 186 flow, removed 0 selfloop flow, removed 1 redundant places. [2023-11-28 23:55:36,272 INFO L231 Difference]: Finished difference. Result has 60 places, 58 transitions, 122 flow [2023-11-28 23:55:36,272 INFO L264 CegarLoopForPetriNet]: {PETRI_ALPHABET=104, PETRI_DIFFERENCE_MINUEND_FLOW=120, PETRI_DIFFERENCE_MINUEND_PLACES=58, PETRI_DIFFERENCE_MINUEND_TRANSITIONS=58, PETRI_DIFFERENCE_SUBTRAHEND_LETTERS_WITH_MORE_CHANGERS_THAN_LOOPERS=1, PETRI_DIFFERENCE_SUBTRAHEND_LOOPER_ONLY_LETTERS=57, PETRI_DIFFERENCE_SUBTRAHEND_STATES=3, PETRI_FLOW=122, PETRI_PLACES=60, PETRI_TRANSITIONS=58} [2023-11-28 23:55:36,273 INFO L281 CegarLoopForPetriNet]: 77 programPoint places, -17 predicate places. [2023-11-28 23:55:36,273 INFO L495 AbstractCegarLoop]: Abstraction has has 60 places, 58 transitions, 122 flow [2023-11-28 23:55:36,274 INFO L496 AbstractCegarLoop]: INTERPOLANT automaton has has 3 states, 3 states have (on average 39.0) internal successors, (117), 3 states have internal predecessors, (117), 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-28 23:55:36,289 INFO L200 CegarLoopForPetriNet]: Found error trace [2023-11-28 23:55:36,289 INFO L208 CegarLoopForPetriNet]: trace histogram [1, 1, 1] [2023-11-28 23:55:36,289 WARN L477 AbstractCegarLoop]: Destroyed unattended storables created during the last iteration: SelfDestructingSolverStorable1 [2023-11-28 23:55:36,290 INFO L420 AbstractCegarLoop]: === Iteration 3 === Targeting ULTIMATE.startErr1REQUIRES_VIOLATIONMEMORY_DEREFERENCE === [ULTIMATE.startErr8ASSERT_VIOLATIONMEMORY_LEAK, ULTIMATE.startErr0REQUIRES_VIOLATIONMEMORY_DEREFERENCE, ULTIMATE.startErr1REQUIRES_VIOLATIONMEMORY_DEREFERENCE (and 8 more)] === [2023-11-28 23:55:36,290 INFO L160 PredicateUnifier]: Initialized classic predicate unifier [2023-11-28 23:55:36,290 INFO L85 PathProgramCache]: Analyzing trace with hash 631841, now seen corresponding path program 1 times [2023-11-28 23:55:36,290 INFO L118 FreeRefinementEngine]: Executing refinement strategy CAMEL [2023-11-28 23:55:36,291 INFO L334 FreeRefinementEngine]: Using trace check IpTcStrategyModuleSmtInterpolCraig [1013604646] [2023-11-28 23:55:36,291 INFO L95 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2023-11-28 23:55:36,291 INFO L127 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout -1 ms and remaining time -1 ms [2023-11-28 23:55:36,318 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2023-11-28 23:55:36,430 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-28 23:55:36,430 INFO L136 FreeRefinementEngine]: Strategy CAMEL found an infeasible trace [2023-11-28 23:55:36,430 INFO L334 FreeRefinementEngine]: Using interpolant generator IpTcStrategyModuleSmtInterpolCraig [1013604646] [2023-11-28 23:55:36,431 INFO L158 FreeRefinementEngine]: IpTcStrategyModuleSmtInterpolCraig [1013604646] provided 1 perfect and 0 imperfect interpolant sequences [2023-11-28 23:55:36,431 INFO L185 FreeRefinementEngine]: Found 1 perfect and 0 imperfect interpolant sequences. [2023-11-28 23:55:36,431 INFO L198 FreeRefinementEngine]: Number of different interpolants: perfect sequences [1] imperfect sequences [] total 1 [2023-11-28 23:55:36,431 INFO L121 tionRefinementEngine]: Using interpolant automaton builder IpAbStrategyModuleStraightlineAll [1524827485] [2023-11-28 23:55:36,431 INFO L85 oduleStraightlineAll]: Using 1 perfect interpolants to construct interpolant automaton [2023-11-28 23:55:36,432 INFO L571 AbstractCegarLoop]: INTERPOLANT automaton has 3 states [2023-11-28 23:55:36,432 INFO L100 FreeRefinementEngine]: Using predicate unifier PredicateUnifier provided by strategy CAMEL [2023-11-28 23:55:36,432 INFO L143 InterpolantAutomaton]: Constructing interpolant automaton starting with 3 interpolants. [2023-11-28 23:55:36,432 INFO L145 InterpolantAutomaton]: CoverageRelationStatistics Valid=3, Invalid=3, Unknown=0, NotChecked=0, Total=6 [2023-11-28 23:55:36,454 INFO L471 CegarLoopForPetriNet]: Number of universal loopers: 40 out of 104 [2023-11-28 23:55:36,454 INFO L103 encePairwiseOnDemand]: Start differencePairwiseOnDemand. First operand has 60 places, 58 transitions, 122 flow. Second operand has 3 states, 3 states have (on average 41.0) internal successors, (123), 3 states have internal predecessors, (123), 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-28 23:55:36,454 INFO L112 encePairwiseOnDemand]: Universal subtrahend loopers provided by user. [2023-11-28 23:55:36,454 INFO L113 encePairwiseOnDemand]: Number of universal subtrahend loopers: 40 of 104 [2023-11-28 23:55:36,455 INFO L73 FinitePrefix]: Start finitePrefix. Operand will be constructed on-demand [2023-11-28 23:55:36,599 INFO L124 PetriNetUnfolderBase]: 480/1054 cut-off events. [2023-11-28 23:55:36,599 INFO L125 PetriNetUnfolderBase]: For 10/10 co-relation queries the response was YES. [2023-11-28 23:55:36,601 INFO L83 FinitePrefix]: Finished finitePrefix Result has 1819 conditions, 1054 events. 480/1054 cut-off events. For 10/10 co-relation queries the response was YES. Maximal size of possible extension queue 65. Compared 5919 event pairs, 363 based on Foata normal form. 111/939 useless extension candidates. Maximal degree in co-relation 1812. Up to 748 conditions per place. [2023-11-28 23:55:36,607 INFO L140 encePairwiseOnDemand]: 101/104 looper letters, 30 selfloop transitions, 1 changer transitions 0/56 dead transitions. [2023-11-28 23:55:36,608 INFO L145 encePairwiseOnDemand]: Finished differencePairwiseOnDemand. Result has 60 places, 56 transitions, 180 flow [2023-11-28 23:55:36,608 INFO L141 InterpolantAutomaton]: Switched to read-only mode: deterministic interpolant automaton has 3 states. [2023-11-28 23:55:36,608 INFO L82 GeneralOperation]: Start removeUnreachable. Operand 3 states. [2023-11-28 23:55:36,609 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 3 states to 3 states and 153 transitions. [2023-11-28 23:55:36,609 INFO L516 CegarLoopForPetriNet]: DFA transition density 0.49038461538461536 [2023-11-28 23:55:36,610 INFO L72 ComplementDD]: Start complementDD. Operand 3 states and 153 transitions. [2023-11-28 23:55:36,610 INFO L73 IsDeterministic]: Start isDeterministic. Operand 3 states and 153 transitions. [2023-11-28 23:55:36,610 INFO L80 IsDeterministic]: Finished isDeterministic. Operand is deterministic. [2023-11-28 23:55:36,610 INFO L117 ReachableStatesCopy]: Start reachableStatesCopy. Operand 3 states and 153 transitions. [2023-11-28 23:55:36,611 INFO L343 DoubleDeckerVisitor]: Before removal of dead ends has 4 states, 3 states have (on average 51.0) internal successors, (153), 3 states have internal predecessors, (153), 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-28 23:55:36,612 INFO L131 ReachableStatesCopy]: Finished reachableStatesCopy Result has 4 states, 4 states have (on average 104.0) internal successors, (416), 4 states have internal predecessors, (416), 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-28 23:55:36,613 INFO L81 ComplementDD]: Finished complementDD. Result has 4 states, 4 states have (on average 104.0) internal successors, (416), 4 states have internal predecessors, (416), 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-28 23:55:36,613 INFO L175 Difference]: Start difference. First operand has 60 places, 58 transitions, 122 flow. Second operand 3 states and 153 transitions. [2023-11-28 23:55:36,613 INFO L82 GeneralOperation]: Start removeRedundantFlow. Operand has 60 places, 56 transitions, 180 flow [2023-11-28 23:55:36,614 INFO L88 GeneralOperation]: Finished removeRedundantFlow, result has has 59 places, 56 transitions, 179 flow, removed 0 selfloop flow, removed 1 redundant places. [2023-11-28 23:55:36,615 INFO L231 Difference]: Finished difference. Result has 59 places, 56 transitions, 119 flow [2023-11-28 23:55:36,615 INFO L264 CegarLoopForPetriNet]: {PETRI_ALPHABET=104, PETRI_DIFFERENCE_MINUEND_FLOW=117, PETRI_DIFFERENCE_MINUEND_PLACES=57, PETRI_DIFFERENCE_MINUEND_TRANSITIONS=56, PETRI_DIFFERENCE_SUBTRAHEND_LETTERS_WITH_MORE_CHANGERS_THAN_LOOPERS=1, PETRI_DIFFERENCE_SUBTRAHEND_LOOPER_ONLY_LETTERS=55, PETRI_DIFFERENCE_SUBTRAHEND_STATES=3, PETRI_FLOW=119, PETRI_PLACES=59, PETRI_TRANSITIONS=56} [2023-11-28 23:55:36,616 INFO L281 CegarLoopForPetriNet]: 77 programPoint places, -18 predicate places. [2023-11-28 23:55:36,616 INFO L495 AbstractCegarLoop]: Abstraction has has 59 places, 56 transitions, 119 flow [2023-11-28 23:55:36,617 INFO L496 AbstractCegarLoop]: INTERPOLANT automaton has has 3 states, 3 states have (on average 41.0) internal successors, (123), 3 states have internal predecessors, (123), 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-28 23:55:36,617 INFO L200 CegarLoopForPetriNet]: Found error trace [2023-11-28 23:55:36,617 INFO L208 CegarLoopForPetriNet]: trace histogram [1, 1, 1, 1, 1, 1, 1, 1] [2023-11-28 23:55:36,617 WARN L477 AbstractCegarLoop]: Destroyed unattended storables created during the last iteration: SelfDestructingSolverStorable2 [2023-11-28 23:55:36,617 INFO L420 AbstractCegarLoop]: === Iteration 4 === Targeting ULTIMATE.startErr3REQUIRES_VIOLATIONMEMORY_DEREFERENCE === [ULTIMATE.startErr8ASSERT_VIOLATIONMEMORY_LEAK, ULTIMATE.startErr0REQUIRES_VIOLATIONMEMORY_DEREFERENCE, ULTIMATE.startErr1REQUIRES_VIOLATIONMEMORY_DEREFERENCE (and 8 more)] === [2023-11-28 23:55:36,618 INFO L160 PredicateUnifier]: Initialized classic predicate unifier [2023-11-28 23:55:36,618 INFO L85 PathProgramCache]: Analyzing trace with hash -708550609, now seen corresponding path program 1 times [2023-11-28 23:55:36,618 INFO L118 FreeRefinementEngine]: Executing refinement strategy CAMEL [2023-11-28 23:55:36,618 INFO L334 FreeRefinementEngine]: Using trace check IpTcStrategyModuleSmtInterpolCraig [339595600] [2023-11-28 23:55:36,618 INFO L95 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2023-11-28 23:55:36,619 INFO L127 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout -1 ms and remaining time -1 ms [2023-11-28 23:55:36,651 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2023-11-28 23:55:36,744 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-28 23:55:36,744 INFO L136 FreeRefinementEngine]: Strategy CAMEL found an infeasible trace [2023-11-28 23:55:36,745 INFO L334 FreeRefinementEngine]: Using interpolant generator IpTcStrategyModuleSmtInterpolCraig [339595600] [2023-11-28 23:55:36,745 INFO L158 FreeRefinementEngine]: IpTcStrategyModuleSmtInterpolCraig [339595600] provided 1 perfect and 0 imperfect interpolant sequences [2023-11-28 23:55:36,745 INFO L185 FreeRefinementEngine]: Found 1 perfect and 0 imperfect interpolant sequences. [2023-11-28 23:55:36,745 INFO L198 FreeRefinementEngine]: Number of different interpolants: perfect sequences [1] imperfect sequences [] total 1 [2023-11-28 23:55:36,746 INFO L121 tionRefinementEngine]: Using interpolant automaton builder IpAbStrategyModuleStraightlineAll [1750113965] [2023-11-28 23:55:36,746 INFO L85 oduleStraightlineAll]: Using 1 perfect interpolants to construct interpolant automaton [2023-11-28 23:55:36,746 INFO L571 AbstractCegarLoop]: INTERPOLANT automaton has 3 states [2023-11-28 23:55:36,746 INFO L100 FreeRefinementEngine]: Using predicate unifier PredicateUnifier provided by strategy CAMEL [2023-11-28 23:55:36,747 INFO L143 InterpolantAutomaton]: Constructing interpolant automaton starting with 3 interpolants. [2023-11-28 23:55:36,747 INFO L145 InterpolantAutomaton]: CoverageRelationStatistics Valid=3, Invalid=3, Unknown=0, NotChecked=0, Total=6 [2023-11-28 23:55:36,767 INFO L471 CegarLoopForPetriNet]: Number of universal loopers: 40 out of 104 [2023-11-28 23:55:36,768 INFO L103 encePairwiseOnDemand]: Start differencePairwiseOnDemand. First operand has 59 places, 56 transitions, 119 flow. Second operand has 3 states, 3 states have (on average 42.0) internal successors, (126), 3 states have internal predecessors, (126), 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-28 23:55:36,768 INFO L112 encePairwiseOnDemand]: Universal subtrahend loopers provided by user. [2023-11-28 23:55:36,768 INFO L113 encePairwiseOnDemand]: Number of universal subtrahend loopers: 40 of 104 [2023-11-28 23:55:36,768 INFO L73 FinitePrefix]: Start finitePrefix. Operand will be constructed on-demand [2023-11-28 23:55:36,919 INFO L124 PetriNetUnfolderBase]: 480/1044 cut-off events. [2023-11-28 23:55:36,919 INFO L125 PetriNetUnfolderBase]: For 10/10 co-relation queries the response was YES. [2023-11-28 23:55:36,921 INFO L83 FinitePrefix]: Finished finitePrefix Result has 1810 conditions, 1044 events. 480/1044 cut-off events. For 10/10 co-relation queries the response was YES. Maximal size of possible extension queue 63. Compared 5791 event pairs, 363 based on Foata normal form. 21/849 useless extension candidates. Maximal degree in co-relation 1802. Up to 748 conditions per place. [2023-11-28 23:55:36,926 INFO L140 encePairwiseOnDemand]: 101/104 looper letters, 30 selfloop transitions, 1 changer transitions 0/54 dead transitions. [2023-11-28 23:55:36,927 INFO L145 encePairwiseOnDemand]: Finished differencePairwiseOnDemand. Result has 59 places, 54 transitions, 177 flow [2023-11-28 23:55:36,927 INFO L141 InterpolantAutomaton]: Switched to read-only mode: deterministic interpolant automaton has 3 states. [2023-11-28 23:55:36,927 INFO L82 GeneralOperation]: Start removeUnreachable. Operand 3 states. [2023-11-28 23:55:36,928 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 3 states to 3 states and 153 transitions. [2023-11-28 23:55:36,928 INFO L516 CegarLoopForPetriNet]: DFA transition density 0.49038461538461536 [2023-11-28 23:55:36,928 INFO L72 ComplementDD]: Start complementDD. Operand 3 states and 153 transitions. [2023-11-28 23:55:36,928 INFO L73 IsDeterministic]: Start isDeterministic. Operand 3 states and 153 transitions. [2023-11-28 23:55:36,929 INFO L80 IsDeterministic]: Finished isDeterministic. Operand is deterministic. [2023-11-28 23:55:36,929 INFO L117 ReachableStatesCopy]: Start reachableStatesCopy. Operand 3 states and 153 transitions. [2023-11-28 23:55:36,929 INFO L343 DoubleDeckerVisitor]: Before removal of dead ends has 4 states, 3 states have (on average 51.0) internal successors, (153), 3 states have internal predecessors, (153), 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-28 23:55:36,931 INFO L131 ReachableStatesCopy]: Finished reachableStatesCopy Result has 4 states, 4 states have (on average 104.0) internal successors, (416), 4 states have internal predecessors, (416), 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-28 23:55:36,931 INFO L81 ComplementDD]: Finished complementDD. Result has 4 states, 4 states have (on average 104.0) internal successors, (416), 4 states have internal predecessors, (416), 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-28 23:55:36,931 INFO L175 Difference]: Start difference. First operand has 59 places, 56 transitions, 119 flow. Second operand 3 states and 153 transitions. [2023-11-28 23:55:36,931 INFO L82 GeneralOperation]: Start removeRedundantFlow. Operand has 59 places, 54 transitions, 177 flow [2023-11-28 23:55:36,932 INFO L88 GeneralOperation]: Finished removeRedundantFlow, result has has 58 places, 54 transitions, 176 flow, removed 0 selfloop flow, removed 1 redundant places. [2023-11-28 23:55:36,933 INFO L231 Difference]: Finished difference. Result has 58 places, 54 transitions, 116 flow [2023-11-28 23:55:36,933 INFO L264 CegarLoopForPetriNet]: {PETRI_ALPHABET=104, PETRI_DIFFERENCE_MINUEND_FLOW=114, PETRI_DIFFERENCE_MINUEND_PLACES=56, 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=116, PETRI_PLACES=58, PETRI_TRANSITIONS=54} [2023-11-28 23:55:36,934 INFO L281 CegarLoopForPetriNet]: 77 programPoint places, -19 predicate places. [2023-11-28 23:55:36,934 INFO L495 AbstractCegarLoop]: Abstraction has has 58 places, 54 transitions, 116 flow [2023-11-28 23:55:36,935 INFO L496 AbstractCegarLoop]: INTERPOLANT automaton has has 3 states, 3 states have (on average 42.0) internal successors, (126), 3 states have internal predecessors, (126), 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-28 23:55:36,935 INFO L200 CegarLoopForPetriNet]: Found error trace [2023-11-28 23:55:36,935 INFO L208 CegarLoopForPetriNet]: trace histogram [1, 1, 1, 1, 1, 1, 1, 1] [2023-11-28 23:55:36,935 WARN L477 AbstractCegarLoop]: Destroyed unattended storables created during the last iteration: SelfDestructingSolverStorable3 [2023-11-28 23:55:36,935 INFO L420 AbstractCegarLoop]: === Iteration 5 === Targeting ULTIMATE.startErr2REQUIRES_VIOLATIONMEMORY_DEREFERENCE === [ULTIMATE.startErr8ASSERT_VIOLATIONMEMORY_LEAK, ULTIMATE.startErr0REQUIRES_VIOLATIONMEMORY_DEREFERENCE, ULTIMATE.startErr1REQUIRES_VIOLATIONMEMORY_DEREFERENCE (and 8 more)] === [2023-11-28 23:55:36,936 INFO L160 PredicateUnifier]: Initialized classic predicate unifier [2023-11-28 23:55:36,936 INFO L85 PathProgramCache]: Analyzing trace with hash -708550610, now seen corresponding path program 1 times [2023-11-28 23:55:36,936 INFO L118 FreeRefinementEngine]: Executing refinement strategy CAMEL [2023-11-28 23:55:36,936 INFO L334 FreeRefinementEngine]: Using trace check IpTcStrategyModuleSmtInterpolCraig [529643884] [2023-11-28 23:55:36,936 INFO L95 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2023-11-28 23:55:36,937 INFO L127 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout -1 ms and remaining time -1 ms [2023-11-28 23:55:36,968 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2023-11-28 23:55:37,025 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-28 23:55:37,025 INFO L136 FreeRefinementEngine]: Strategy CAMEL found an infeasible trace [2023-11-28 23:55:37,026 INFO L334 FreeRefinementEngine]: Using interpolant generator IpTcStrategyModuleSmtInterpolCraig [529643884] [2023-11-28 23:55:37,026 INFO L158 FreeRefinementEngine]: IpTcStrategyModuleSmtInterpolCraig [529643884] provided 1 perfect and 0 imperfect interpolant sequences [2023-11-28 23:55:37,026 INFO L185 FreeRefinementEngine]: Found 1 perfect and 0 imperfect interpolant sequences. [2023-11-28 23:55:37,026 INFO L198 FreeRefinementEngine]: Number of different interpolants: perfect sequences [1] imperfect sequences [] total 1 [2023-11-28 23:55:37,026 INFO L121 tionRefinementEngine]: Using interpolant automaton builder IpAbStrategyModuleStraightlineAll [911629458] [2023-11-28 23:55:37,027 INFO L85 oduleStraightlineAll]: Using 1 perfect interpolants to construct interpolant automaton [2023-11-28 23:55:37,027 INFO L571 AbstractCegarLoop]: INTERPOLANT automaton has 3 states [2023-11-28 23:55:37,027 INFO L100 FreeRefinementEngine]: Using predicate unifier PredicateUnifier provided by strategy CAMEL [2023-11-28 23:55:37,028 INFO L143 InterpolantAutomaton]: Constructing interpolant automaton starting with 3 interpolants. [2023-11-28 23:55:37,028 INFO L145 InterpolantAutomaton]: CoverageRelationStatistics Valid=3, Invalid=3, Unknown=0, NotChecked=0, Total=6 [2023-11-28 23:55:37,046 INFO L471 CegarLoopForPetriNet]: Number of universal loopers: 38 out of 104 [2023-11-28 23:55:37,047 INFO L103 encePairwiseOnDemand]: Start differencePairwiseOnDemand. First operand has 58 places, 54 transitions, 116 flow. Second operand has 3 states, 3 states have (on average 40.0) internal successors, (120), 3 states have internal predecessors, (120), 0 states have call successors, (0), 0 states have call predecessors, (0), 0 states have return successors, (0), 0 states have call predecessors, (0), 0 states have call successors, (0) [2023-11-28 23:55:37,047 INFO L112 encePairwiseOnDemand]: Universal subtrahend loopers provided by user. [2023-11-28 23:55:37,047 INFO L113 encePairwiseOnDemand]: Number of universal subtrahend loopers: 38 of 104 [2023-11-28 23:55:37,047 INFO L73 FinitePrefix]: Start finitePrefix. Operand will be constructed on-demand [2023-11-28 23:55:37,166 INFO L124 PetriNetUnfolderBase]: 503/1074 cut-off events. [2023-11-28 23:55:37,166 INFO L125 PetriNetUnfolderBase]: For 10/10 co-relation queries the response was YES. [2023-11-28 23:55:37,167 INFO L83 FinitePrefix]: Finished finitePrefix Result has 1884 conditions, 1074 events. 503/1074 cut-off events. For 10/10 co-relation queries the response was YES. Maximal size of possible extension queue 63. Compared 5823 event pairs, 382 based on Foata normal form. 0/863 useless extension candidates. Maximal degree in co-relation 1875. Up to 791 conditions per place. [2023-11-28 23:55:37,168 INFO L140 encePairwiseOnDemand]: 101/104 looper letters, 0 selfloop transitions, 0 changer transitions 52/52 dead transitions. [2023-11-28 23:55:37,168 INFO L145 encePairwiseOnDemand]: Finished differencePairwiseOnDemand. Result has 58 places, 52 transitions, 178 flow [2023-11-28 23:55:37,169 INFO L141 InterpolantAutomaton]: Switched to read-only mode: deterministic interpolant automaton has 3 states. [2023-11-28 23:55:37,169 INFO L82 GeneralOperation]: Start removeUnreachable. Operand 3 states. [2023-11-28 23:55:37,169 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 3 states to 3 states and 149 transitions. [2023-11-28 23:55:37,170 INFO L516 CegarLoopForPetriNet]: DFA transition density 0.4775641025641026 [2023-11-28 23:55:37,170 INFO L72 ComplementDD]: Start complementDD. Operand 3 states and 149 transitions. [2023-11-28 23:55:37,170 INFO L73 IsDeterministic]: Start isDeterministic. Operand 3 states and 149 transitions. [2023-11-28 23:55:37,170 INFO L80 IsDeterministic]: Finished isDeterministic. Operand is deterministic. [2023-11-28 23:55:37,170 INFO L117 ReachableStatesCopy]: Start reachableStatesCopy. Operand 3 states and 149 transitions. [2023-11-28 23:55:37,171 INFO L343 DoubleDeckerVisitor]: Before removal of dead ends has 4 states, 3 states have (on average 49.666666666666664) internal successors, (149), 3 states have internal predecessors, (149), 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-28 23:55:37,172 INFO L131 ReachableStatesCopy]: Finished reachableStatesCopy Result has 4 states, 4 states have (on average 104.0) internal successors, (416), 4 states have internal predecessors, (416), 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-28 23:55:37,173 INFO L81 ComplementDD]: Finished complementDD. Result has 4 states, 4 states have (on average 104.0) internal successors, (416), 4 states have internal predecessors, (416), 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-28 23:55:37,173 INFO L175 Difference]: Start difference. First operand has 58 places, 54 transitions, 116 flow. Second operand 3 states and 149 transitions. [2023-11-28 23:55:37,173 INFO L82 GeneralOperation]: Start removeRedundantFlow. Operand has 58 places, 52 transitions, 178 flow [2023-11-28 23:55:37,174 INFO L88 GeneralOperation]: Finished removeRedundantFlow, result has has 57 places, 52 transitions, 177 flow, removed 0 selfloop flow, removed 1 redundant places. [2023-11-28 23:55:37,174 INFO L231 Difference]: Finished difference. Result has 57 places, 0 transitions, 0 flow [2023-11-28 23:55:37,174 INFO L264 CegarLoopForPetriNet]: {PETRI_ALPHABET=104, PETRI_DIFFERENCE_MINUEND_FLOW=111, PETRI_DIFFERENCE_MINUEND_PLACES=55, PETRI_DIFFERENCE_MINUEND_TRANSITIONS=52, PETRI_DIFFERENCE_SUBTRAHEND_LETTERS_WITH_MORE_CHANGERS_THAN_LOOPERS=0, PETRI_DIFFERENCE_SUBTRAHEND_LOOPER_ONLY_LETTERS=52, PETRI_DIFFERENCE_SUBTRAHEND_STATES=3, PETRI_FLOW=0, PETRI_PLACES=57, PETRI_TRANSITIONS=0} [2023-11-28 23:55:37,175 INFO L281 CegarLoopForPetriNet]: 77 programPoint places, -20 predicate places. [2023-11-28 23:55:37,175 INFO L495 AbstractCegarLoop]: Abstraction has has 57 places, 0 transitions, 0 flow [2023-11-28 23:55:37,176 INFO L496 AbstractCegarLoop]: INTERPOLANT automaton has has 3 states, 3 states have (on average 40.0) internal successors, (120), 3 states have internal predecessors, (120), 0 states have call successors, (0), 0 states have call predecessors, (0), 0 states have return successors, (0), 0 states have call predecessors, (0), 0 states have call successors, (0) [2023-11-28 23:55:37,178 INFO L805 garLoopResultBuilder]: Registering result SAFE for location ULTIMATE.startErr8ASSERT_VIOLATIONMEMORY_LEAK (10 of 11 remaining) [2023-11-28 23:55:37,178 INFO L805 garLoopResultBuilder]: Registering result SAFE for location ULTIMATE.startErr0REQUIRES_VIOLATIONMEMORY_DEREFERENCE (9 of 11 remaining) [2023-11-28 23:55:37,178 INFO L805 garLoopResultBuilder]: Registering result SAFE for location ULTIMATE.startErr1REQUIRES_VIOLATIONMEMORY_DEREFERENCE (8 of 11 remaining) [2023-11-28 23:55:37,178 INFO L805 garLoopResultBuilder]: Registering result SAFE for location ULTIMATE.startErr2REQUIRES_VIOLATIONMEMORY_DEREFERENCE (7 of 11 remaining) [2023-11-28 23:55:37,178 INFO L805 garLoopResultBuilder]: Registering result SAFE for location ULTIMATE.startErr3REQUIRES_VIOLATIONMEMORY_DEREFERENCE (6 of 11 remaining) [2023-11-28 23:55:37,179 INFO L805 garLoopResultBuilder]: Registering result SAFE for location ULTIMATE.startErr4REQUIRES_VIOLATIONMEMORY_DEREFERENCE (5 of 11 remaining) [2023-11-28 23:55:37,179 INFO L805 garLoopResultBuilder]: Registering result SAFE for location ULTIMATE.startErr5REQUIRES_VIOLATIONMEMORY_DEREFERENCE (4 of 11 remaining) [2023-11-28 23:55:37,179 INFO L805 garLoopResultBuilder]: Registering result SAFE for location ULTIMATE.startErr6REQUIRES_VIOLATIONMEMORY_DEREFERENCE (3 of 11 remaining) [2023-11-28 23:55:37,179 INFO L805 garLoopResultBuilder]: Registering result SAFE for location ULTIMATE.startErr7REQUIRES_VIOLATIONMEMORY_DEREFERENCE (2 of 11 remaining) [2023-11-28 23:55:37,179 INFO L805 garLoopResultBuilder]: Registering result SAFE for location ULTIMATE.startErr0INUSE_VIOLATIONSUFFICIENT_THREAD_INSTANCES (1 of 11 remaining) [2023-11-28 23:55:37,180 INFO L805 garLoopResultBuilder]: Registering result SAFE for location ULTIMATE.startErr1INUSE_VIOLATIONSUFFICIENT_THREAD_INSTANCES (0 of 11 remaining) [2023-11-28 23:55:37,180 WARN L477 AbstractCegarLoop]: Destroyed unattended storables created during the last iteration: SelfDestructingSolverStorable4 [2023-11-28 23:55:37,180 INFO L445 BasicCegarLoop]: Path program histogram: [1, 1, 1, 1, 1] [2023-11-28 23:55:37,183 INFO L228 ceAbstractionStarter]: Analysis of concurrent program completed with 1 thread instances [2023-11-28 23:55:37,184 INFO L178 ceAbstractionStarter]: Computing trace abstraction results [2023-11-28 23:55:37,189 INFO L201 PluginConnector]: Adding new model de.uni_freiburg.informatik.ultimate.plugins.generator.traceabstraction CFG 28.11 11:55:37 BasicIcfg [2023-11-28 23:55:37,189 INFO L131 PluginConnector]: ------------------------ END TraceAbstraction---------------------------- [2023-11-28 23:55:37,189 INFO L112 PluginConnector]: ------------------------Witness Printer---------------------------- [2023-11-28 23:55:37,189 INFO L270 PluginConnector]: Initializing Witness Printer... [2023-11-28 23:55:37,190 INFO L274 PluginConnector]: Witness Printer initialized [2023-11-28 23:55:37,190 INFO L184 PluginConnector]: Executing the observer RCFGCatcher from plugin Witness Printer for "de.uni_freiburg.informatik.ultimate.plugins.generator.rcfgbuilder CFG 28.11 11:55:34" (3/4) ... [2023-11-28 23:55:37,191 INFO L137 WitnessPrinter]: Generating witness for correct program [2023-11-28 23:55:37,194 INFO L361 RCFGBacktranslator]: Ignoring RootEdge to procedure monitor_thread [2023-11-28 23:55:37,194 INFO L361 RCFGBacktranslator]: Ignoring RootEdge to procedure counter_thread [2023-11-28 23:55:37,200 INFO L943 BoogieBacktranslator]: Reduced CFG by removing 102 nodes and edges [2023-11-28 23:55:37,200 INFO L943 BoogieBacktranslator]: Reduced CFG by removing 26 nodes and edges [2023-11-28 23:55:37,200 INFO L943 BoogieBacktranslator]: Reduced CFG by removing 11 nodes and edges [2023-11-28 23:55:37,201 INFO L943 BoogieBacktranslator]: Reduced CFG by removing 5 nodes and edges [2023-11-28 23:55:37,201 INFO L943 BoogieBacktranslator]: Reduced CFG by removing 2 nodes and edges [2023-11-28 23:55:37,201 INFO L943 BoogieBacktranslator]: Reduced CFG by removing 1 nodes and edges [2023-11-28 23:55:37,280 INFO L149 WitnessManager]: Wrote witness to /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_84a83a1f-0e9e-4d53-9f7d-34988d71c052/bin/uautomizer-verify-BQ2R08f2Ya/witness.graphml [2023-11-28 23:55:37,281 INFO L149 WitnessManager]: Wrote witness to /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_84a83a1f-0e9e-4d53-9f7d-34988d71c052/bin/uautomizer-verify-BQ2R08f2Ya/witness.yml [2023-11-28 23:55:37,281 INFO L131 PluginConnector]: ------------------------ END Witness Printer---------------------------- [2023-11-28 23:55:37,282 INFO L158 Benchmark]: Toolchain (without parser) took 4329.29ms. Allocated memory was 155.2MB in the beginning and 199.2MB in the end (delta: 44.0MB). Free memory was 114.3MB in the beginning and 48.8MB in the end (delta: 65.4MB). Peak memory consumption was 109.9MB. Max. memory is 16.1GB. [2023-11-28 23:55:37,282 INFO L158 Benchmark]: CDTParser took 0.15ms. Allocated memory is still 104.9MB. Free memory is still 53.7MB. There was no memory consumed. Max. memory is 16.1GB. [2023-11-28 23:55:37,283 INFO L158 Benchmark]: CACSL2BoogieTranslator took 937.11ms. Allocated memory is still 155.2MB. Free memory was 113.9MB in the beginning and 87.2MB in the end (delta: 26.6MB). Peak memory consumption was 41.4MB. Max. memory is 16.1GB. [2023-11-28 23:55:37,283 INFO L158 Benchmark]: Boogie Procedure Inliner took 68.90ms. Allocated memory is still 155.2MB. Free memory was 87.2MB in the beginning and 84.3MB in the end (delta: 2.9MB). Peak memory consumption was 2.1MB. Max. memory is 16.1GB. [2023-11-28 23:55:37,283 INFO L158 Benchmark]: Boogie Preprocessor took 70.88ms. Allocated memory is still 155.2MB. Free memory was 84.3MB in the beginning and 79.6MB in the end (delta: 4.7MB). Peak memory consumption was 4.2MB. Max. memory is 16.1GB. [2023-11-28 23:55:37,284 INFO L158 Benchmark]: RCFGBuilder took 786.79ms. Allocated memory is still 155.2MB. Free memory was 79.6MB in the beginning and 78.2MB in the end (delta: 1.4MB). Peak memory consumption was 24.7MB. Max. memory is 16.1GB. [2023-11-28 23:55:37,284 INFO L158 Benchmark]: TraceAbstraction took 2367.24ms. Allocated memory was 155.2MB in the beginning and 199.2MB in the end (delta: 44.0MB). Free memory was 78.0MB in the beginning and 54.1MB in the end (delta: 23.9MB). Peak memory consumption was 69.0MB. Max. memory is 16.1GB. [2023-11-28 23:55:37,285 INFO L158 Benchmark]: Witness Printer took 91.85ms. Allocated memory is still 199.2MB. Free memory was 54.1MB in the beginning and 48.8MB in the end (delta: 5.2MB). Peak memory consumption was 4.2MB. Max. memory is 16.1GB. [2023-11-28 23:55:37,287 INFO L338 ainManager$Toolchain]: ####################### End [Toolchain 1] ####################### --- Results --- * Results from de.uni_freiburg.informatik.ultimate.core: - StatisticsResult: Toolchain Benchmarks Benchmark results are: * CDTParser took 0.15ms. Allocated memory is still 104.9MB. Free memory is still 53.7MB. There was no memory consumed. Max. memory is 16.1GB. * CACSL2BoogieTranslator took 937.11ms. Allocated memory is still 155.2MB. Free memory was 113.9MB in the beginning and 87.2MB in the end (delta: 26.6MB). Peak memory consumption was 41.4MB. Max. memory is 16.1GB. * Boogie Procedure Inliner took 68.90ms. Allocated memory is still 155.2MB. Free memory was 87.2MB in the beginning and 84.3MB in the end (delta: 2.9MB). Peak memory consumption was 2.1MB. Max. memory is 16.1GB. * Boogie Preprocessor took 70.88ms. Allocated memory is still 155.2MB. Free memory was 84.3MB in the beginning and 79.6MB in the end (delta: 4.7MB). Peak memory consumption was 4.2MB. Max. memory is 16.1GB. * RCFGBuilder took 786.79ms. Allocated memory is still 155.2MB. Free memory was 79.6MB in the beginning and 78.2MB in the end (delta: 1.4MB). Peak memory consumption was 24.7MB. Max. memory is 16.1GB. * TraceAbstraction took 2367.24ms. Allocated memory was 155.2MB in the beginning and 199.2MB in the end (delta: 44.0MB). Free memory was 78.0MB in the beginning and 54.1MB in the end (delta: 23.9MB). Peak memory consumption was 69.0MB. Max. memory is 16.1GB. * Witness Printer took 91.85ms. Allocated memory is still 199.2MB. Free memory was 54.1MB in the beginning and 48.8MB in the end (delta: 5.2MB). Peak memory consumption was 4.2MB. Max. memory is 16.1GB. * Results from de.uni_freiburg.informatik.ultimate.plugins.generator.traceabstraction: - PositiveResult [Line: 1835]: all allocated memory was freed For all program executions holds that all allocated memory was freed at this location - PositiveResult [Line: -1]: pointer dereference always succeeds For all program executions holds that pointer dereference always succeeds at this location - PositiveResult [Line: -1]: pointer dereference always succeeds For all program executions holds that pointer dereference always succeeds at this location - PositiveResult [Line: -1]: pointer dereference always succeeds For all program executions holds that pointer dereference always succeeds at this location - PositiveResult [Line: -1]: pointer dereference always succeeds For all program executions holds that pointer dereference always succeeds at this location - PositiveResult [Line: -1]: pointer dereference always succeeds For all program executions holds that pointer dereference always succeeds at this location - PositiveResult [Line: -1]: pointer dereference always succeeds For all program executions holds that pointer dereference always succeeds at this location - PositiveResult [Line: -1]: pointer dereference always succeeds For all program executions holds that pointer dereference always succeeds at this location - PositiveResult [Line: -1]: pointer dereference always succeeds For all program executions holds that pointer dereference always succeeds at this location - StatisticsResult: Ultimate Automizer benchmark data with 1 thread instances CFG has 5 procedures, 111 locations, 11 error locations. Started 1 CEGAR loops. EmptinessCheckTime: 0.0s, RemoveRedundantFlowTime: 0.0s, RemoveRedundantFlowUnfoldingTime: 0.0s, BackfoldingTime: 0.0s, BackfoldingUnfoldingTime: 0.0s, FlowIncreaseByBackfolding: 0, BasicCegarLoop: OverallTime: 2.3s, OverallIterations: 5, TraceHistogramMax: 1, PathProgramHistogramMax: 1, EmptinessCheckTime: 0.0s, AutomataDifference: 1.1s, DeadEndRemovalTime: 0.0s, HoareAnnotationTime: 0.0s, InitialAbstractionConstructionTime: 0.1s, HoareTripleCheckerStatistics: 0 mSolverCounterUnknown, 300 SdHoareTripleChecker+Valid, 0.4s IncrementalHoareTripleChecker+Time, 0 mSdLazyCounter, 203 mSDsluCounter, 14 SdHoareTripleChecker+Invalid, 0.3s Time, 0 mProtectedAction, 0 SdHoareTripleChecker+Unchecked, 0 IncrementalHoareTripleChecker+Unchecked, 4 mSDsCounter, 9 IncrementalHoareTripleChecker+Valid, 0 mProtectedPredicate, 309 IncrementalHoareTripleChecker+Invalid, 318 SdHoareTripleChecker+Unknown, 0 mSolverCounterNotChecked, 9 mSolverCounterUnsat, 10 mSDtfsCounter, 309 mSolverCounterSat, 0.0s SdHoareTripleChecker+Time, 0 IncrementalHoareTripleChecker+Unknown, PredicateUnifierStatistics: 0 DeclaredPredicates, 6 GetRequests, 0 SyntacticMatches, 0 SemanticMatches, 6 ConstructedPredicates, 0 IntricatePredicates, 0 DeprecatedPredicates, 0 ImplicationChecksByTransitivity, 0.0s Time, 0.0s BasicInterpolantAutomatonTime, BiggestAbstraction: size=214occurred in iteration=0, InterpolantAutomatonStates: 16, traceCheckStatistics: No data available, InterpolantConsolidationStatistics: No data available, PathInvariantsStatistics: No data available, 0/0 InterpolantCoveringCapability, TotalInterpolationStatistics: No data available, 0.0s DumpTime, AutomataMinimizationStatistics: No data available, HoareAnnotationStatistics: No data available, RefinementEngineStatistics: TRACE_CHECK: 0.0s SsaConstructionTime, 0.1s SatisfiabilityAnalysisTime, 0.7s InterpolantComputationTime, 25 NumberOfCodeBlocks, 25 NumberOfCodeBlocksAsserted, 5 NumberOfCheckSat, 20 ConstructedInterpolants, 0 QuantifiedInterpolants, 143 SizeOfPredicates, 0 NumberOfNonLiveVariables, 0 ConjunctsInSsa, 0 ConjunctsInUnsatCore, 5 InterpolantComputations, 5 PerfectInterpolantSequences, 0/0 InterpolantCoveringCapability, INVARIANT_SYNTHESIS: No data available, INTERPOLANT_CONSOLIDATION: No data available, ABSTRACT_INTERPRETATION: No data available, PDR: No data available, ACCELERATED_INTERPOLATION: No data available, SIFA: No data available, ReuseStatistics: No data available - AllSpecificationsHoldResult: All specifications hold 9 specifications checked. All of them hold RESULT: Ultimate proved your program to be correct! [2023-11-28 23:55:37,308 INFO L540 MonitoredProcess]: [MP /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_84a83a1f-0e9e-4d53-9f7d-34988d71c052/bin/uautomizer-verify-BQ2R08f2Ya/z3 SMTLIB2_COMPLIANT=true -memory:2024 -smt2 -in -t:4000 (1)] Forceful destruction successful, exit code 0 Received shutdown request... --- End real Ultimate output --- Execution finished normally Writing output log to file Ultimate.log Result: TRUE