./Ultimate.py --spec ../../sv-benchmarks/c/properties/valid-memsafety.prp --file ../../sv-benchmarks/c/goblint-regression/04-mutex_17-ps_add1_nr.i --full-output --architecture 32bit -------------------------------------------------------------------------------- Checking for memory safety (deref-memtrack) Using default analysis Version 0e0057cc Calling Ultimate with: /usr/lib/jvm/java-11-openjdk-amd64/bin/java -Dosgi.configuration.area=/tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_3f638b20-2e61-4560-a41c-d669e1f3ea9f/bin/uautomizer-verify-BQ2R08f2Ya/data/config -Xmx15G -Xms4m -jar /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_3f638b20-2e61-4560-a41c-d669e1f3ea9f/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_3f638b20-2e61-4560-a41c-d669e1f3ea9f/bin/uautomizer-verify-BQ2R08f2Ya/data -tc /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_3f638b20-2e61-4560-a41c-d669e1f3ea9f/bin/uautomizer-verify-BQ2R08f2Ya/config/AutomizerMemDerefMemtrack.xml -i ../../sv-benchmarks/c/goblint-regression/04-mutex_17-ps_add1_nr.i -s /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_3f638b20-2e61-4560-a41c-d669e1f3ea9f/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_3f638b20-2e61-4560-a41c-d669e1f3ea9f/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 013bb91f520a17a9cdc0cfee70ba812e0f5d104f38897431df1c1d9fa0ad9ebb --- Real Ultimate output --- This is Ultimate 0.2.4-dev-0e0057c [2023-11-29 04:21:07,047 INFO L188 SettingsManager]: Resetting all preferences to default values... [2023-11-29 04:21:07,120 INFO L114 SettingsManager]: Loading settings from /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_3f638b20-2e61-4560-a41c-d669e1f3ea9f/bin/uautomizer-verify-BQ2R08f2Ya/config/svcomp-DerefFreeMemtrack-32bit-Automizer_Default.epf [2023-11-29 04:21:07,124 WARN L101 SettingsManager]: Preference file contains the following unknown settings: [2023-11-29 04:21:07,125 WARN L103 SettingsManager]: * de.uni_freiburg.informatik.ultimate.core.Log level for class [2023-11-29 04:21:07,149 INFO L130 SettingsManager]: Preferences different from defaults after loading the file: [2023-11-29 04:21:07,150 INFO L151 SettingsManager]: Preferences of UltimateCore differ from their defaults: [2023-11-29 04:21:07,150 INFO L153 SettingsManager]: * Log level for class=de.uni_freiburg.informatik.ultimate.lib.smtlibutils.quantifier.QuantifierPusher=ERROR; [2023-11-29 04:21:07,151 INFO L151 SettingsManager]: Preferences of Boogie Preprocessor differ from their defaults: [2023-11-29 04:21:07,152 INFO L153 SettingsManager]: * Use memory slicer=true [2023-11-29 04:21:07,152 INFO L151 SettingsManager]: Preferences of Boogie Procedure Inliner differ from their defaults: [2023-11-29 04:21:07,153 INFO L153 SettingsManager]: * Ignore calls to procedures called more than once=ONLY_FOR_SEQUENTIAL_PROGRAMS [2023-11-29 04:21:07,153 INFO L151 SettingsManager]: Preferences of BlockEncodingV2 differ from their defaults: [2023-11-29 04:21:07,154 INFO L153 SettingsManager]: * Create parallel compositions if possible=false [2023-11-29 04:21:07,154 INFO L153 SettingsManager]: * Use SBE=true [2023-11-29 04:21:07,155 INFO L151 SettingsManager]: Preferences of CACSL2BoogieTranslator differ from their defaults: [2023-11-29 04:21:07,156 INFO L153 SettingsManager]: * sizeof long=4 [2023-11-29 04:21:07,156 INFO L153 SettingsManager]: * Overapproximate operations on floating types=true [2023-11-29 04:21:07,156 INFO L153 SettingsManager]: * sizeof POINTER=4 [2023-11-29 04:21:07,157 INFO L153 SettingsManager]: * Check division by zero=IGNORE [2023-11-29 04:21:07,157 INFO L153 SettingsManager]: * Check for the main procedure if all allocated memory was freed=true [2023-11-29 04:21:07,158 INFO L153 SettingsManager]: * Bitprecise bitfields=true [2023-11-29 04:21:07,158 INFO L153 SettingsManager]: * SV-COMP memtrack compatibility mode=true [2023-11-29 04:21:07,159 INFO L153 SettingsManager]: * If two pointers are subtracted or compared they have the same base address=IGNORE [2023-11-29 04:21:07,159 INFO L153 SettingsManager]: * Adapt memory model on pointer casts if necessary=true [2023-11-29 04:21:07,160 INFO L153 SettingsManager]: * Check unreachability of reach_error function=false [2023-11-29 04:21:07,160 INFO L153 SettingsManager]: * sizeof long double=12 [2023-11-29 04:21:07,160 INFO L153 SettingsManager]: * Use constant arrays=true [2023-11-29 04:21:07,161 INFO L151 SettingsManager]: Preferences of RCFGBuilder differ from their defaults: [2023-11-29 04:21:07,161 INFO L153 SettingsManager]: * Size of a code block=SequenceOfStatements [2023-11-29 04:21:07,161 INFO L153 SettingsManager]: * Only consider context switches at boundaries of atomic blocks=true [2023-11-29 04:21:07,162 INFO L153 SettingsManager]: * SMT solver=External_DefaultMode [2023-11-29 04:21:07,162 INFO L153 SettingsManager]: * Command for external solver=z3 SMTLIB2_COMPLIANT=true -memory:2024 -smt2 -in -t:4000 [2023-11-29 04:21:07,162 INFO L151 SettingsManager]: Preferences of TraceAbstraction differ from their defaults: [2023-11-29 04:21:07,163 INFO L153 SettingsManager]: * Compute Interpolants along a Counterexample=FPandBP [2023-11-29 04:21:07,163 INFO L153 SettingsManager]: * Trace refinement strategy=CAMEL [2023-11-29 04:21:07,163 INFO L153 SettingsManager]: * Command for external solver=z3 SMTLIB2_COMPLIANT=true -memory:2024 -smt2 -in [2023-11-29 04:21:07,163 INFO L153 SettingsManager]: * Apply one-shot large block encoding in concurrent analysis=false [2023-11-29 04:21:07,163 INFO L153 SettingsManager]: * Automaton type used in concurrency analysis=PETRI_NET [2023-11-29 04:21:07,163 INFO L153 SettingsManager]: * Order on configurations for Petri net unfoldings=DBO [2023-11-29 04:21:07,164 INFO L153 SettingsManager]: * SMT solver=External_ModelsAndUnsatCoreMode [2023-11-29 04:21:07,164 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_3f638b20-2e61-4560-a41c-d669e1f3ea9f/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_3f638b20-2e61-4560-a41c-d669e1f3ea9f/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 -> 013bb91f520a17a9cdc0cfee70ba812e0f5d104f38897431df1c1d9fa0ad9ebb [2023-11-29 04:21:07,434 INFO L75 nceAwareModelManager]: Repository-Root is: /tmp [2023-11-29 04:21:07,467 INFO L261 ainManager$Toolchain]: [Toolchain 1]: Applicable parser(s) successfully (re)initialized [2023-11-29 04:21:07,469 INFO L217 ainManager$Toolchain]: [Toolchain 1]: Toolchain selected. [2023-11-29 04:21:07,470 INFO L270 PluginConnector]: Initializing CDTParser... [2023-11-29 04:21:07,470 INFO L274 PluginConnector]: CDTParser initialized [2023-11-29 04:21:07,472 INFO L431 ainManager$Toolchain]: [Toolchain 1]: Parsing single file: /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_3f638b20-2e61-4560-a41c-d669e1f3ea9f/bin/uautomizer-verify-BQ2R08f2Ya/../../sv-benchmarks/c/goblint-regression/04-mutex_17-ps_add1_nr.i [2023-11-29 04:21:10,288 INFO L533 CDTParser]: Created temporary CDT project at NULL [2023-11-29 04:21:10,530 INFO L384 CDTParser]: Found 1 translation units. [2023-11-29 04:21:10,531 INFO L180 CDTParser]: Scanning /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_3f638b20-2e61-4560-a41c-d669e1f3ea9f/sv-benchmarks/c/goblint-regression/04-mutex_17-ps_add1_nr.i [2023-11-29 04:21:10,549 INFO L427 CDTParser]: About to delete temporary CDT project at /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_3f638b20-2e61-4560-a41c-d669e1f3ea9f/bin/uautomizer-verify-BQ2R08f2Ya/data/eb1b86d74/e29db880ec26482683d98bf20e70c4f0/FLAG510396f87 [2023-11-29 04:21:10,563 INFO L435 CDTParser]: Successfully deleted /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_3f638b20-2e61-4560-a41c-d669e1f3ea9f/bin/uautomizer-verify-BQ2R08f2Ya/data/eb1b86d74/e29db880ec26482683d98bf20e70c4f0 [2023-11-29 04:21:10,566 INFO L299 ainManager$Toolchain]: ####################### [Toolchain 1] ####################### [2023-11-29 04:21:10,567 INFO L133 ToolchainWalker]: Walking toolchain with 6 elements. [2023-11-29 04:21:10,569 INFO L112 PluginConnector]: ------------------------CACSL2BoogieTranslator---------------------------- [2023-11-29 04:21:10,569 INFO L270 PluginConnector]: Initializing CACSL2BoogieTranslator... [2023-11-29 04:21:10,575 INFO L274 PluginConnector]: CACSL2BoogieTranslator initialized [2023-11-29 04:21:10,576 INFO L184 PluginConnector]: Executing the observer ACSLObjectContainerObserver from plugin CACSL2BoogieTranslator for "CDTParser AST 29.11 04:21:10" (1/1) ... [2023-11-29 04:21:10,577 INFO L204 PluginConnector]: Invalid model from CACSL2BoogieTranslator for observer de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator.ACSLObjectContainerObserver@63e67308 and model type de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 29.11 04:21:10, skipping insertion in model container [2023-11-29 04:21:10,577 INFO L184 PluginConnector]: Executing the observer CACSL2BoogieTranslatorObserver from plugin CACSL2BoogieTranslator for "CDTParser AST 29.11 04:21:10" (1/1) ... [2023-11-29 04:21:10,624 INFO L177 MainTranslator]: Built tables and reachable declarations [2023-11-29 04:21:11,018 INFO L209 PostProcessor]: Analyzing one entry point: main [2023-11-29 04:21:11,032 INFO L202 MainTranslator]: Completed pre-run [2023-11-29 04:21:11,074 INFO L209 PostProcessor]: Analyzing one entry point: main [2023-11-29 04:21:11,125 INFO L206 MainTranslator]: Completed translation [2023-11-29 04:21:11,126 INFO L201 PluginConnector]: Adding new model de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 29.11 04:21:11 WrapperNode [2023-11-29 04:21:11,126 INFO L131 PluginConnector]: ------------------------ END CACSL2BoogieTranslator---------------------------- [2023-11-29 04:21:11,127 INFO L112 PluginConnector]: ------------------------Boogie Procedure Inliner---------------------------- [2023-11-29 04:21:11,127 INFO L270 PluginConnector]: Initializing Boogie Procedure Inliner... [2023-11-29 04:21:11,127 INFO L274 PluginConnector]: Boogie Procedure Inliner initialized [2023-11-29 04:21:11,133 INFO L184 PluginConnector]: Executing the observer TypeChecker from plugin Boogie Procedure Inliner for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 29.11 04:21:11" (1/1) ... [2023-11-29 04:21:11,151 INFO L184 PluginConnector]: Executing the observer Inliner from plugin Boogie Procedure Inliner for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 29.11 04:21:11" (1/1) ... [2023-11-29 04:21:11,173 INFO L138 Inliner]: procedures = 267, calls = 18, calls flagged for inlining = 2, calls inlined = 2, statements flattened = 55 [2023-11-29 04:21:11,174 INFO L131 PluginConnector]: ------------------------ END Boogie Procedure Inliner---------------------------- [2023-11-29 04:21:11,174 INFO L112 PluginConnector]: ------------------------Boogie Preprocessor---------------------------- [2023-11-29 04:21:11,175 INFO L270 PluginConnector]: Initializing Boogie Preprocessor... [2023-11-29 04:21:11,175 INFO L274 PluginConnector]: Boogie Preprocessor initialized [2023-11-29 04:21:11,186 INFO L184 PluginConnector]: Executing the observer EnsureBoogieModelObserver from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 29.11 04:21:11" (1/1) ... [2023-11-29 04:21:11,187 INFO L184 PluginConnector]: Executing the observer TypeChecker from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 29.11 04:21:11" (1/1) ... [2023-11-29 04:21:11,191 INFO L184 PluginConnector]: Executing the observer MemorySlicer from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 29.11 04:21:11" (1/1) ... [2023-11-29 04:21:11,207 INFO L175 MemorySlicer]: Split 6 memory accesses to 2 slices as follows [5, 1]. 83 percent of accesses are in the largest equivalence class. The 5 initializations are split as follows [5, 0]. The 1 writes are split as follows [0, 1]. [2023-11-29 04:21:11,207 INFO L184 PluginConnector]: Executing the observer ConstExpander from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 29.11 04:21:11" (1/1) ... [2023-11-29 04:21:11,207 INFO L184 PluginConnector]: Executing the observer StructExpander from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 29.11 04:21:11" (1/1) ... [2023-11-29 04:21:11,214 INFO L184 PluginConnector]: Executing the observer UnstructureCode from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 29.11 04:21:11" (1/1) ... [2023-11-29 04:21:11,216 INFO L184 PluginConnector]: Executing the observer FunctionInliner from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 29.11 04:21:11" (1/1) ... [2023-11-29 04:21:11,218 INFO L184 PluginConnector]: Executing the observer LTLStepAnnotator from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 29.11 04:21:11" (1/1) ... [2023-11-29 04:21:11,220 INFO L184 PluginConnector]: Executing the observer BoogieSymbolTableConstructor from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 29.11 04:21:11" (1/1) ... [2023-11-29 04:21:11,224 INFO L131 PluginConnector]: ------------------------ END Boogie Preprocessor---------------------------- [2023-11-29 04:21:11,225 INFO L112 PluginConnector]: ------------------------RCFGBuilder---------------------------- [2023-11-29 04:21:11,225 INFO L270 PluginConnector]: Initializing RCFGBuilder... [2023-11-29 04:21:11,225 INFO L274 PluginConnector]: RCFGBuilder initialized [2023-11-29 04:21:11,226 INFO L184 PluginConnector]: Executing the observer RCFGBuilderObserver from plugin RCFGBuilder for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 29.11 04:21:11" (1/1) ... [2023-11-29 04:21:11,232 INFO L173 SolverBuilder]: Constructing external solver with command: z3 SMTLIB2_COMPLIANT=true -memory:2024 -smt2 -in -t:4000 [2023-11-29 04:21:11,243 INFO L189 MonitoredProcess]: No working directory specified, using /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_3f638b20-2e61-4560-a41c-d669e1f3ea9f/bin/uautomizer-verify-BQ2R08f2Ya/z3 [2023-11-29 04:21:11,257 INFO L229 MonitoredProcess]: Starting monitored process 1 with /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_3f638b20-2e61-4560-a41c-d669e1f3ea9f/bin/uautomizer-verify-BQ2R08f2Ya/z3 SMTLIB2_COMPLIANT=true -memory:2024 -smt2 -in -t:4000 (exit command is (exit), workingDir is null) [2023-11-29 04:21:11,272 INFO L327 MonitoredProcess]: [MP /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_3f638b20-2e61-4560-a41c-d669e1f3ea9f/bin/uautomizer-verify-BQ2R08f2Ya/z3 SMTLIB2_COMPLIANT=true -memory:2024 -smt2 -in -t:4000 (1)] Waiting until timeout for monitored process [2023-11-29 04:21:11,302 INFO L130 BoogieDeclarations]: Found specification of procedure #Ultimate.allocOnStack [2023-11-29 04:21:11,302 INFO L130 BoogieDeclarations]: Found specification of procedure ULTIMATE.dealloc [2023-11-29 04:21:11,302 INFO L130 BoogieDeclarations]: Found specification of procedure #PthreadsMutexUnlock [2023-11-29 04:21:11,302 INFO L130 BoogieDeclarations]: Found specification of procedure write~int#0 [2023-11-29 04:21:11,302 INFO L130 BoogieDeclarations]: Found specification of procedure write~int#1 [2023-11-29 04:21:11,302 INFO L130 BoogieDeclarations]: Found specification of procedure #PthreadsMutexLock [2023-11-29 04:21:11,303 INFO L130 BoogieDeclarations]: Found specification of procedure #Ultimate.allocInit [2023-11-29 04:21:11,303 INFO L130 BoogieDeclarations]: Found specification of procedure t_fun [2023-11-29 04:21:11,303 INFO L138 BoogieDeclarations]: Found implementation of procedure t_fun [2023-11-29 04:21:11,303 INFO L130 BoogieDeclarations]: Found specification of procedure write~init~int#0 [2023-11-29 04:21:11,303 INFO L130 BoogieDeclarations]: Found specification of procedure write~init~int#1 [2023-11-29 04:21:11,303 INFO L130 BoogieDeclarations]: Found specification of procedure ULTIMATE.start [2023-11-29 04:21:11,304 INFO L138 BoogieDeclarations]: Found implementation of procedure ULTIMATE.start [2023-11-29 04:21:11,305 WARN L213 CfgBuilder]: User set CodeBlockSize to SequenceOfStatements but program contains fork statements. Overwriting the user preferences and setting CodeBlockSize to OneNontrivialStatement [2023-11-29 04:21:11,441 INFO L241 CfgBuilder]: Building ICFG [2023-11-29 04:21:11,443 INFO L267 CfgBuilder]: Building CFG for each procedure with an implementation [2023-11-29 04:21:11,590 INFO L282 CfgBuilder]: Performing block encoding [2023-11-29 04:21:11,728 INFO L304 CfgBuilder]: Using the 1 location(s) as analysis (start of procedure ULTIMATE.start) [2023-11-29 04:21:11,728 INFO L309 CfgBuilder]: Removed 0 assume(true) statements. [2023-11-29 04:21:11,729 INFO L201 PluginConnector]: Adding new model de.uni_freiburg.informatik.ultimate.plugins.generator.rcfgbuilder CFG 29.11 04:21:11 BoogieIcfgContainer [2023-11-29 04:21:11,729 INFO L131 PluginConnector]: ------------------------ END RCFGBuilder---------------------------- [2023-11-29 04:21:11,731 INFO L112 PluginConnector]: ------------------------TraceAbstraction---------------------------- [2023-11-29 04:21:11,731 INFO L270 PluginConnector]: Initializing TraceAbstraction... [2023-11-29 04:21:11,734 INFO L274 PluginConnector]: TraceAbstraction initialized [2023-11-29 04:21:11,735 INFO L184 PluginConnector]: Executing the observer TraceAbstractionObserver from plugin TraceAbstraction for "CDTParser AST 29.11 04:21:10" (1/3) ... [2023-11-29 04:21:11,735 INFO L204 PluginConnector]: Invalid model from TraceAbstraction for observer de.uni_freiburg.informatik.ultimate.plugins.generator.traceabstraction.TraceAbstractionObserver@622636ad and model type de.uni_freiburg.informatik.ultimate.plugins.generator.traceabstraction AST 29.11 04:21:11, skipping insertion in model container [2023-11-29 04:21:11,736 INFO L184 PluginConnector]: Executing the observer TraceAbstractionObserver from plugin TraceAbstraction for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 29.11 04:21:11" (2/3) ... [2023-11-29 04:21:11,736 INFO L204 PluginConnector]: Invalid model from TraceAbstraction for observer de.uni_freiburg.informatik.ultimate.plugins.generator.traceabstraction.TraceAbstractionObserver@622636ad and model type de.uni_freiburg.informatik.ultimate.plugins.generator.traceabstraction AST 29.11 04:21:11, skipping insertion in model container [2023-11-29 04:21:11,736 INFO L184 PluginConnector]: Executing the observer TraceAbstractionObserver from plugin TraceAbstraction for "de.uni_freiburg.informatik.ultimate.plugins.generator.rcfgbuilder CFG 29.11 04:21:11" (3/3) ... [2023-11-29 04:21:11,737 INFO L112 eAbstractionObserver]: Analyzing ICFG 04-mutex_17-ps_add1_nr.i [2023-11-29 04:21:11,766 INFO L203 ceAbstractionStarter]: Automizer settings: Hoare:false NWA Interpolation:FPandBP Determinization: PREDICATE_ABSTRACTION [2023-11-29 04:21:11,766 INFO L162 ceAbstractionStarter]: Applying trace abstraction to program that has 3 error locations. [2023-11-29 04:21:11,766 INFO L514 ceAbstractionStarter]: Constructing petrified ICFG for 1 thread instances. [2023-11-29 04:21:11,794 INFO L144 ThreadInstanceAdder]: Constructed 0 joinOtherThreadTransitions. [2023-11-29 04:21:11,826 INFO L73 FinitePrefix]: Start finitePrefix. Operand has 27 places, 26 transitions, 56 flow [2023-11-29 04:21:11,847 INFO L124 PetriNetUnfolderBase]: 3/25 cut-off events. [2023-11-29 04:21:11,847 INFO L125 PetriNetUnfolderBase]: For 0/0 co-relation queries the response was YES. [2023-11-29 04:21:11,850 INFO L83 FinitePrefix]: Finished finitePrefix Result has 29 conditions, 25 events. 3/25 cut-off events. For 0/0 co-relation queries the response was YES. Maximal size of possible extension queue 5. Compared 46 event pairs, 0 based on Foata normal form. 0/19 useless extension candidates. Maximal degree in co-relation 20. Up to 2 conditions per place. [2023-11-29 04:21:11,850 INFO L82 GeneralOperation]: Start removeDead. Operand has 27 places, 26 transitions, 56 flow [2023-11-29 04:21:11,854 INFO L88 GeneralOperation]: Finished RemoveDead, result has has 25 places, 24 transitions, 51 flow [2023-11-29 04:21:11,865 INFO L356 AbstractCegarLoop]: ======== Iteration 0 == of CEGAR loop == AllErrorsAtOnce ======== [2023-11-29 04:21:11,871 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;@5d2bd0cd, mLbeIndependenceSettings=[IndependenceType=SEMANTIC, AbstractionType=NONE, UseConditional=false, UseSemiCommutativity=true, Solver=Z3, SolverTimeout=1000ms] [2023-11-29 04:21:11,871 INFO L358 AbstractCegarLoop]: Starting to check reachability of 4 error locations. [2023-11-29 04:21:11,874 INFO L185 PetriNetUnfolderBase]: Found word, exiting Unfolder. [2023-11-29 04:21:11,875 INFO L124 PetriNetUnfolderBase]: 0/2 cut-off events. [2023-11-29 04:21:11,875 INFO L125 PetriNetUnfolderBase]: For 0/0 co-relation queries the response was YES. [2023-11-29 04:21:11,875 INFO L200 CegarLoopForPetriNet]: Found error trace [2023-11-29 04:21:11,876 INFO L208 CegarLoopForPetriNet]: trace histogram [1, 1] [2023-11-29 04:21:11,877 INFO L420 AbstractCegarLoop]: === Iteration 1 === Targeting ULTIMATE.startErr0REQUIRES_VIOLATIONMEMORY_DEREFERENCE === [ULTIMATE.startErr0REQUIRES_VIOLATIONMEMORY_DEREFERENCE, ULTIMATE.startErr1REQUIRES_VIOLATIONMEMORY_DEREFERENCE, ULTIMATE.startErr2ASSERT_VIOLATIONMEMORY_LEAK (and 1 more)] === [2023-11-29 04:21:11,881 INFO L160 PredicateUnifier]: Initialized classic predicate unifier [2023-11-29 04:21:11,881 INFO L85 PathProgramCache]: Analyzing trace with hash 6230, now seen corresponding path program 1 times [2023-11-29 04:21:11,889 INFO L118 FreeRefinementEngine]: Executing refinement strategy CAMEL [2023-11-29 04:21:11,889 INFO L334 FreeRefinementEngine]: Using trace check IpTcStrategyModuleSmtInterpolCraig [703182135] [2023-11-29 04:21:11,889 INFO L95 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2023-11-29 04:21:11,890 INFO L127 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout -1 ms and remaining time -1 ms [2023-11-29 04:21:11,994 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2023-11-29 04:21:12,118 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-29 04:21:12,119 INFO L136 FreeRefinementEngine]: Strategy CAMEL found an infeasible trace [2023-11-29 04:21:12,120 INFO L334 FreeRefinementEngine]: Using interpolant generator IpTcStrategyModuleSmtInterpolCraig [703182135] [2023-11-29 04:21:12,120 INFO L158 FreeRefinementEngine]: IpTcStrategyModuleSmtInterpolCraig [703182135] provided 1 perfect and 0 imperfect interpolant sequences [2023-11-29 04:21:12,121 INFO L185 FreeRefinementEngine]: Found 1 perfect and 0 imperfect interpolant sequences. [2023-11-29 04:21:12,121 INFO L198 FreeRefinementEngine]: Number of different interpolants: perfect sequences [1] imperfect sequences [] total 1 [2023-11-29 04:21:12,123 INFO L121 tionRefinementEngine]: Using interpolant automaton builder IpAbStrategyModuleStraightlineAll [812835617] [2023-11-29 04:21:12,123 INFO L85 oduleStraightlineAll]: Using 1 perfect interpolants to construct interpolant automaton [2023-11-29 04:21:12,132 INFO L571 AbstractCegarLoop]: INTERPOLANT automaton has 3 states [2023-11-29 04:21:12,137 INFO L100 FreeRefinementEngine]: Using predicate unifier PredicateUnifier provided by strategy CAMEL [2023-11-29 04:21:12,157 INFO L143 InterpolantAutomaton]: Constructing interpolant automaton starting with 3 interpolants. [2023-11-29 04:21:12,158 INFO L145 InterpolantAutomaton]: CoverageRelationStatistics Valid=3, Invalid=3, Unknown=0, NotChecked=0, Total=6 [2023-11-29 04:21:12,170 INFO L471 CegarLoopForPetriNet]: Number of universal loopers: 10 out of 26 [2023-11-29 04:21:12,172 INFO L103 encePairwiseOnDemand]: Start differencePairwiseOnDemand. First operand has 25 places, 24 transitions, 51 flow. Second operand has 3 states, 3 states have (on average 10.666666666666666) internal successors, (32), 3 states have internal predecessors, (32), 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-29 04:21:12,173 INFO L112 encePairwiseOnDemand]: Universal subtrahend loopers provided by user. [2023-11-29 04:21:12,173 INFO L113 encePairwiseOnDemand]: Number of universal subtrahend loopers: 10 of 26 [2023-11-29 04:21:12,174 INFO L73 FinitePrefix]: Start finitePrefix. Operand will be constructed on-demand [2023-11-29 04:21:12,239 INFO L124 PetriNetUnfolderBase]: 33/85 cut-off events. [2023-11-29 04:21:12,239 INFO L125 PetriNetUnfolderBase]: For 0/0 co-relation queries the response was YES. [2023-11-29 04:21:12,241 INFO L83 FinitePrefix]: Finished finitePrefix Result has 156 conditions, 85 events. 33/85 cut-off events. For 0/0 co-relation queries the response was YES. Maximal size of possible extension queue 11. Compared 290 event pairs, 20 based on Foata normal form. 0/73 useless extension candidates. Maximal degree in co-relation 144. Up to 52 conditions per place. [2023-11-29 04:21:12,243 INFO L140 encePairwiseOnDemand]: 22/26 looper letters, 15 selfloop transitions, 3 changer transitions 0/27 dead transitions. [2023-11-29 04:21:12,243 INFO L145 encePairwiseOnDemand]: Finished differencePairwiseOnDemand. Result has 26 places, 27 transitions, 93 flow [2023-11-29 04:21:12,245 INFO L141 InterpolantAutomaton]: Switched to read-only mode: deterministic interpolant automaton has 3 states. [2023-11-29 04:21:12,247 INFO L82 GeneralOperation]: Start removeUnreachable. Operand 3 states. [2023-11-29 04:21:12,252 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 3 states to 3 states and 49 transitions. [2023-11-29 04:21:12,254 INFO L516 CegarLoopForPetriNet]: DFA transition density 0.6282051282051282 [2023-11-29 04:21:12,255 INFO L72 ComplementDD]: Start complementDD. Operand 3 states and 49 transitions. [2023-11-29 04:21:12,256 INFO L73 IsDeterministic]: Start isDeterministic. Operand 3 states and 49 transitions. [2023-11-29 04:21:12,257 INFO L80 IsDeterministic]: Finished isDeterministic. Operand is deterministic. [2023-11-29 04:21:12,260 INFO L117 ReachableStatesCopy]: Start reachableStatesCopy. Operand 3 states and 49 transitions. [2023-11-29 04:21:12,262 INFO L343 DoubleDeckerVisitor]: Before removal of dead ends has 4 states, 3 states have (on average 16.333333333333332) internal successors, (49), 3 states have internal predecessors, (49), 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-29 04:21:12,266 INFO L131 ReachableStatesCopy]: Finished reachableStatesCopy Result has 4 states, 4 states have (on average 26.0) internal successors, (104), 4 states have internal predecessors, (104), 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-29 04:21:12,266 INFO L81 ComplementDD]: Finished complementDD. Result has 4 states, 4 states have (on average 26.0) internal successors, (104), 4 states have internal predecessors, (104), 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-29 04:21:12,269 INFO L175 Difference]: Start difference. First operand has 25 places, 24 transitions, 51 flow. Second operand 3 states and 49 transitions. [2023-11-29 04:21:12,270 INFO L82 GeneralOperation]: Start removeRedundantFlow. Operand has 26 places, 27 transitions, 93 flow [2023-11-29 04:21:12,272 INFO L88 GeneralOperation]: Finished removeRedundantFlow, result has has 25 places, 27 transitions, 92 flow, removed 0 selfloop flow, removed 1 redundant places. [2023-11-29 04:21:12,275 INFO L231 Difference]: Finished difference. Result has 25 places, 23 transitions, 54 flow [2023-11-29 04:21:12,277 INFO L264 CegarLoopForPetriNet]: {PETRI_ALPHABET=26, PETRI_DIFFERENCE_MINUEND_FLOW=48, PETRI_DIFFERENCE_MINUEND_PLACES=23, PETRI_DIFFERENCE_MINUEND_TRANSITIONS=23, PETRI_DIFFERENCE_SUBTRAHEND_LETTERS_WITH_MORE_CHANGERS_THAN_LOOPERS=3, PETRI_DIFFERENCE_SUBTRAHEND_LOOPER_ONLY_LETTERS=20, PETRI_DIFFERENCE_SUBTRAHEND_STATES=3, PETRI_FLOW=54, PETRI_PLACES=25, PETRI_TRANSITIONS=23} [2023-11-29 04:21:12,281 INFO L281 CegarLoopForPetriNet]: 25 programPoint places, 0 predicate places. [2023-11-29 04:21:12,282 INFO L495 AbstractCegarLoop]: Abstraction has has 25 places, 23 transitions, 54 flow [2023-11-29 04:21:12,282 INFO L496 AbstractCegarLoop]: INTERPOLANT automaton has has 3 states, 3 states have (on average 10.666666666666666) internal successors, (32), 3 states have internal predecessors, (32), 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-29 04:21:12,282 INFO L200 CegarLoopForPetriNet]: Found error trace [2023-11-29 04:21:12,282 INFO L208 CegarLoopForPetriNet]: trace histogram [1, 1] [2023-11-29 04:21:12,283 WARN L477 AbstractCegarLoop]: Destroyed unattended storables created during the last iteration: SelfDestructingSolverStorable0 [2023-11-29 04:21:12,283 INFO L420 AbstractCegarLoop]: === Iteration 2 === Targeting ULTIMATE.startErr1REQUIRES_VIOLATIONMEMORY_DEREFERENCE === [ULTIMATE.startErr0REQUIRES_VIOLATIONMEMORY_DEREFERENCE, ULTIMATE.startErr1REQUIRES_VIOLATIONMEMORY_DEREFERENCE, ULTIMATE.startErr2ASSERT_VIOLATIONMEMORY_LEAK (and 1 more)] === [2023-11-29 04:21:12,284 INFO L160 PredicateUnifier]: Initialized classic predicate unifier [2023-11-29 04:21:12,284 INFO L85 PathProgramCache]: Analyzing trace with hash 6231, now seen corresponding path program 1 times [2023-11-29 04:21:12,284 INFO L118 FreeRefinementEngine]: Executing refinement strategy CAMEL [2023-11-29 04:21:12,285 INFO L334 FreeRefinementEngine]: Using trace check IpTcStrategyModuleSmtInterpolCraig [2036172489] [2023-11-29 04:21:12,285 INFO L95 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2023-11-29 04:21:12,285 INFO L127 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout -1 ms and remaining time -1 ms [2023-11-29 04:21:12,306 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2023-11-29 04:21:12,406 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-29 04:21:12,406 INFO L136 FreeRefinementEngine]: Strategy CAMEL found an infeasible trace [2023-11-29 04:21:12,406 INFO L334 FreeRefinementEngine]: Using interpolant generator IpTcStrategyModuleSmtInterpolCraig [2036172489] [2023-11-29 04:21:12,407 INFO L158 FreeRefinementEngine]: IpTcStrategyModuleSmtInterpolCraig [2036172489] provided 1 perfect and 0 imperfect interpolant sequences [2023-11-29 04:21:12,407 INFO L185 FreeRefinementEngine]: Found 1 perfect and 0 imperfect interpolant sequences. [2023-11-29 04:21:12,407 INFO L198 FreeRefinementEngine]: Number of different interpolants: perfect sequences [1] imperfect sequences [] total 1 [2023-11-29 04:21:12,407 INFO L121 tionRefinementEngine]: Using interpolant automaton builder IpAbStrategyModuleStraightlineAll [951771187] [2023-11-29 04:21:12,407 INFO L85 oduleStraightlineAll]: Using 1 perfect interpolants to construct interpolant automaton [2023-11-29 04:21:12,409 INFO L571 AbstractCegarLoop]: INTERPOLANT automaton has 3 states [2023-11-29 04:21:12,409 INFO L100 FreeRefinementEngine]: Using predicate unifier PredicateUnifier provided by strategy CAMEL [2023-11-29 04:21:12,410 INFO L143 InterpolantAutomaton]: Constructing interpolant automaton starting with 3 interpolants. [2023-11-29 04:21:12,410 INFO L145 InterpolantAutomaton]: CoverageRelationStatistics Valid=3, Invalid=3, Unknown=0, NotChecked=0, Total=6 [2023-11-29 04:21:12,418 INFO L471 CegarLoopForPetriNet]: Number of universal loopers: 11 out of 26 [2023-11-29 04:21:12,418 INFO L103 encePairwiseOnDemand]: Start differencePairwiseOnDemand. First operand has 25 places, 23 transitions, 54 flow. Second operand has 3 states, 3 states have (on average 11.666666666666666) internal successors, (35), 3 states have internal predecessors, (35), 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-29 04:21:12,419 INFO L112 encePairwiseOnDemand]: Universal subtrahend loopers provided by user. [2023-11-29 04:21:12,419 INFO L113 encePairwiseOnDemand]: Number of universal subtrahend loopers: 11 of 26 [2023-11-29 04:21:12,419 INFO L73 FinitePrefix]: Start finitePrefix. Operand will be constructed on-demand [2023-11-29 04:21:12,473 INFO L124 PetriNetUnfolderBase]: 33/84 cut-off events. [2023-11-29 04:21:12,474 INFO L125 PetriNetUnfolderBase]: For 8/8 co-relation queries the response was YES. [2023-11-29 04:21:12,475 INFO L83 FinitePrefix]: Finished finitePrefix Result has 165 conditions, 84 events. 33/84 cut-off events. For 8/8 co-relation queries the response was YES. Maximal size of possible extension queue 11. Compared 293 event pairs, 20 based on Foata normal form. 1/78 useless extension candidates. Maximal degree in co-relation 154. Up to 51 conditions per place. [2023-11-29 04:21:12,476 INFO L140 encePairwiseOnDemand]: 22/26 looper letters, 14 selfloop transitions, 3 changer transitions 0/26 dead transitions. [2023-11-29 04:21:12,476 INFO L145 encePairwiseOnDemand]: Finished differencePairwiseOnDemand. Result has 26 places, 26 transitions, 94 flow [2023-11-29 04:21:12,477 INFO L141 InterpolantAutomaton]: Switched to read-only mode: deterministic interpolant automaton has 3 states. [2023-11-29 04:21:12,477 INFO L82 GeneralOperation]: Start removeUnreachable. Operand 3 states. [2023-11-29 04:21:12,478 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 3 states to 3 states and 51 transitions. [2023-11-29 04:21:12,478 INFO L516 CegarLoopForPetriNet]: DFA transition density 0.6538461538461539 [2023-11-29 04:21:12,478 INFO L72 ComplementDD]: Start complementDD. Operand 3 states and 51 transitions. [2023-11-29 04:21:12,478 INFO L73 IsDeterministic]: Start isDeterministic. Operand 3 states and 51 transitions. [2023-11-29 04:21:12,479 INFO L80 IsDeterministic]: Finished isDeterministic. Operand is deterministic. [2023-11-29 04:21:12,479 INFO L117 ReachableStatesCopy]: Start reachableStatesCopy. Operand 3 states and 51 transitions. [2023-11-29 04:21:12,480 INFO L343 DoubleDeckerVisitor]: Before removal of dead ends has 4 states, 3 states have (on average 17.0) internal successors, (51), 3 states have internal predecessors, (51), 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-29 04:21:12,481 INFO L131 ReachableStatesCopy]: Finished reachableStatesCopy Result has 4 states, 4 states have (on average 26.0) internal successors, (104), 4 states have internal predecessors, (104), 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-29 04:21:12,481 INFO L81 ComplementDD]: Finished complementDD. Result has 4 states, 4 states have (on average 26.0) internal successors, (104), 4 states have internal predecessors, (104), 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-29 04:21:12,481 INFO L175 Difference]: Start difference. First operand has 25 places, 23 transitions, 54 flow. Second operand 3 states and 51 transitions. [2023-11-29 04:21:12,481 INFO L82 GeneralOperation]: Start removeRedundantFlow. Operand has 26 places, 26 transitions, 94 flow [2023-11-29 04:21:12,482 INFO L88 GeneralOperation]: Finished removeRedundantFlow, result has has 24 places, 26 transitions, 88 flow, removed 0 selfloop flow, removed 2 redundant places. [2023-11-29 04:21:12,483 INFO L231 Difference]: Finished difference. Result has 24 places, 22 transitions, 52 flow [2023-11-29 04:21:12,484 INFO L264 CegarLoopForPetriNet]: {PETRI_ALPHABET=26, PETRI_DIFFERENCE_MINUEND_FLOW=46, PETRI_DIFFERENCE_MINUEND_PLACES=22, PETRI_DIFFERENCE_MINUEND_TRANSITIONS=22, PETRI_DIFFERENCE_SUBTRAHEND_LETTERS_WITH_MORE_CHANGERS_THAN_LOOPERS=3, PETRI_DIFFERENCE_SUBTRAHEND_LOOPER_ONLY_LETTERS=19, PETRI_DIFFERENCE_SUBTRAHEND_STATES=3, PETRI_FLOW=52, PETRI_PLACES=24, PETRI_TRANSITIONS=22} [2023-11-29 04:21:12,484 INFO L281 CegarLoopForPetriNet]: 25 programPoint places, -1 predicate places. [2023-11-29 04:21:12,484 INFO L495 AbstractCegarLoop]: Abstraction has has 24 places, 22 transitions, 52 flow [2023-11-29 04:21:12,485 INFO L496 AbstractCegarLoop]: INTERPOLANT automaton has has 3 states, 3 states have (on average 11.666666666666666) internal successors, (35), 3 states have internal predecessors, (35), 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-29 04:21:12,485 INFO L200 CegarLoopForPetriNet]: Found error trace [2023-11-29 04:21:12,485 INFO L208 CegarLoopForPetriNet]: trace histogram [1, 1, 1, 1, 1, 1] [2023-11-29 04:21:12,485 WARN L477 AbstractCegarLoop]: Destroyed unattended storables created during the last iteration: SelfDestructingSolverStorable1 [2023-11-29 04:21:12,485 INFO L420 AbstractCegarLoop]: === Iteration 3 === Targeting ULTIMATE.startErr2ASSERT_VIOLATIONMEMORY_LEAK === [ULTIMATE.startErr0REQUIRES_VIOLATIONMEMORY_DEREFERENCE, ULTIMATE.startErr1REQUIRES_VIOLATIONMEMORY_DEREFERENCE, ULTIMATE.startErr2ASSERT_VIOLATIONMEMORY_LEAK (and 1 more)] === [2023-11-29 04:21:12,486 INFO L160 PredicateUnifier]: Initialized classic predicate unifier [2023-11-29 04:21:12,486 INFO L85 PathProgramCache]: Analyzing trace with hash 1463268977, now seen corresponding path program 1 times [2023-11-29 04:21:12,486 INFO L118 FreeRefinementEngine]: Executing refinement strategy CAMEL [2023-11-29 04:21:12,486 INFO L334 FreeRefinementEngine]: Using trace check IpTcStrategyModuleSmtInterpolCraig [1408958350] [2023-11-29 04:21:12,486 INFO L95 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2023-11-29 04:21:12,486 INFO L127 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout -1 ms and remaining time -1 ms [2023-11-29 04:21:12,509 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2023-11-29 04:21:12,612 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-29 04:21:12,613 INFO L136 FreeRefinementEngine]: Strategy CAMEL found an infeasible trace [2023-11-29 04:21:12,613 INFO L334 FreeRefinementEngine]: Using interpolant generator IpTcStrategyModuleSmtInterpolCraig [1408958350] [2023-11-29 04:21:12,613 INFO L158 FreeRefinementEngine]: IpTcStrategyModuleSmtInterpolCraig [1408958350] provided 1 perfect and 0 imperfect interpolant sequences [2023-11-29 04:21:12,613 INFO L185 FreeRefinementEngine]: Found 1 perfect and 0 imperfect interpolant sequences. [2023-11-29 04:21:12,614 INFO L198 FreeRefinementEngine]: Number of different interpolants: perfect sequences [2] imperfect sequences [] total 2 [2023-11-29 04:21:12,614 INFO L121 tionRefinementEngine]: Using interpolant automaton builder IpAbStrategyModuleStraightlineAll [1765508136] [2023-11-29 04:21:12,614 INFO L85 oduleStraightlineAll]: Using 1 perfect interpolants to construct interpolant automaton [2023-11-29 04:21:12,614 INFO L571 AbstractCegarLoop]: INTERPOLANT automaton has 4 states [2023-11-29 04:21:12,615 INFO L100 FreeRefinementEngine]: Using predicate unifier PredicateUnifier provided by strategy CAMEL [2023-11-29 04:21:12,615 INFO L143 InterpolantAutomaton]: Constructing interpolant automaton starting with 4 interpolants. [2023-11-29 04:21:12,615 INFO L145 InterpolantAutomaton]: CoverageRelationStatistics Valid=5, Invalid=7, Unknown=0, NotChecked=0, Total=12 [2023-11-29 04:21:12,631 INFO L471 CegarLoopForPetriNet]: Number of universal loopers: 11 out of 26 [2023-11-29 04:21:12,631 INFO L103 encePairwiseOnDemand]: Start differencePairwiseOnDemand. First operand has 24 places, 22 transitions, 52 flow. Second operand has 4 states, 4 states have (on average 12.25) internal successors, (49), 4 states have internal predecessors, (49), 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-29 04:21:12,632 INFO L112 encePairwiseOnDemand]: Universal subtrahend loopers provided by user. [2023-11-29 04:21:12,632 INFO L113 encePairwiseOnDemand]: Number of universal subtrahend loopers: 11 of 26 [2023-11-29 04:21:12,632 INFO L73 FinitePrefix]: Start finitePrefix. Operand will be constructed on-demand [2023-11-29 04:21:12,687 INFO L124 PetriNetUnfolderBase]: 33/79 cut-off events. [2023-11-29 04:21:12,687 INFO L125 PetriNetUnfolderBase]: For 8/8 co-relation queries the response was YES. [2023-11-29 04:21:12,687 INFO L83 FinitePrefix]: Finished finitePrefix Result has 160 conditions, 79 events. 33/79 cut-off events. For 8/8 co-relation queries the response was YES. Maximal size of possible extension queue 10. Compared 249 event pairs, 20 based on Foata normal form. 5/77 useless extension candidates. Maximal degree in co-relation 149. Up to 51 conditions per place. [2023-11-29 04:21:12,688 INFO L140 encePairwiseOnDemand]: 22/26 looper letters, 0 selfloop transitions, 0 changer transitions 25/25 dead transitions. [2023-11-29 04:21:12,688 INFO L145 encePairwiseOnDemand]: Finished differencePairwiseOnDemand. Result has 26 places, 25 transitions, 92 flow [2023-11-29 04:21:12,688 INFO L141 InterpolantAutomaton]: Switched to read-only mode: deterministic interpolant automaton has 4 states. [2023-11-29 04:21:12,689 INFO L82 GeneralOperation]: Start removeUnreachable. Operand 4 states. [2023-11-29 04:21:12,689 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 4 states to 4 states and 62 transitions. [2023-11-29 04:21:12,690 INFO L516 CegarLoopForPetriNet]: DFA transition density 0.5961538461538461 [2023-11-29 04:21:12,690 INFO L72 ComplementDD]: Start complementDD. Operand 4 states and 62 transitions. [2023-11-29 04:21:12,690 INFO L73 IsDeterministic]: Start isDeterministic. Operand 4 states and 62 transitions. [2023-11-29 04:21:12,690 INFO L80 IsDeterministic]: Finished isDeterministic. Operand is deterministic. [2023-11-29 04:21:12,690 INFO L117 ReachableStatesCopy]: Start reachableStatesCopy. Operand 4 states and 62 transitions. [2023-11-29 04:21:12,691 INFO L343 DoubleDeckerVisitor]: Before removal of dead ends has 5 states, 4 states have (on average 15.5) internal successors, (62), 4 states have internal predecessors, (62), 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-29 04:21:12,692 INFO L131 ReachableStatesCopy]: Finished reachableStatesCopy Result has 5 states, 5 states have (on average 26.0) internal successors, (130), 5 states have internal predecessors, (130), 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-29 04:21:12,692 INFO L81 ComplementDD]: Finished complementDD. Result has 5 states, 5 states have (on average 26.0) internal successors, (130), 5 states have internal predecessors, (130), 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-29 04:21:12,692 INFO L175 Difference]: Start difference. First operand has 24 places, 22 transitions, 52 flow. Second operand 4 states and 62 transitions. [2023-11-29 04:21:12,693 INFO L82 GeneralOperation]: Start removeRedundantFlow. Operand has 26 places, 25 transitions, 92 flow [2023-11-29 04:21:12,694 INFO L88 GeneralOperation]: Finished removeRedundantFlow, result has has 24 places, 25 transitions, 86 flow, removed 0 selfloop flow, removed 2 redundant places. [2023-11-29 04:21:12,694 INFO L231 Difference]: Finished difference. Result has 24 places, 0 transitions, 0 flow [2023-11-29 04:21:12,694 INFO L264 CegarLoopForPetriNet]: {PETRI_ALPHABET=26, PETRI_DIFFERENCE_MINUEND_FLOW=44, PETRI_DIFFERENCE_MINUEND_PLACES=21, PETRI_DIFFERENCE_MINUEND_TRANSITIONS=21, PETRI_DIFFERENCE_SUBTRAHEND_LETTERS_WITH_MORE_CHANGERS_THAN_LOOPERS=0, PETRI_DIFFERENCE_SUBTRAHEND_LOOPER_ONLY_LETTERS=21, PETRI_DIFFERENCE_SUBTRAHEND_STATES=4, PETRI_FLOW=0, PETRI_PLACES=24, PETRI_TRANSITIONS=0} [2023-11-29 04:21:12,695 INFO L281 CegarLoopForPetriNet]: 25 programPoint places, -1 predicate places. [2023-11-29 04:21:12,695 INFO L495 AbstractCegarLoop]: Abstraction has has 24 places, 0 transitions, 0 flow [2023-11-29 04:21:12,696 INFO L496 AbstractCegarLoop]: INTERPOLANT automaton has has 4 states, 4 states have (on average 12.25) internal successors, (49), 4 states have internal predecessors, (49), 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-29 04:21:12,698 INFO L805 garLoopResultBuilder]: Registering result SAFE for location ULTIMATE.startErr0REQUIRES_VIOLATIONMEMORY_DEREFERENCE (3 of 4 remaining) [2023-11-29 04:21:12,699 INFO L805 garLoopResultBuilder]: Registering result SAFE for location ULTIMATE.startErr1REQUIRES_VIOLATIONMEMORY_DEREFERENCE (2 of 4 remaining) [2023-11-29 04:21:12,699 INFO L805 garLoopResultBuilder]: Registering result SAFE for location ULTIMATE.startErr2ASSERT_VIOLATIONMEMORY_LEAK (1 of 4 remaining) [2023-11-29 04:21:12,699 INFO L805 garLoopResultBuilder]: Registering result SAFE for location ULTIMATE.startErr0INUSE_VIOLATIONSUFFICIENT_THREAD_INSTANCES (0 of 4 remaining) [2023-11-29 04:21:12,699 WARN L477 AbstractCegarLoop]: Destroyed unattended storables created during the last iteration: SelfDestructingSolverStorable2 [2023-11-29 04:21:12,700 INFO L445 BasicCegarLoop]: Path program histogram: [1, 1, 1] [2023-11-29 04:21:12,704 INFO L228 ceAbstractionStarter]: Analysis of concurrent program completed with 1 thread instances [2023-11-29 04:21:12,704 INFO L178 ceAbstractionStarter]: Computing trace abstraction results [2023-11-29 04:21:12,711 INFO L201 PluginConnector]: Adding new model de.uni_freiburg.informatik.ultimate.plugins.generator.traceabstraction CFG 29.11 04:21:12 BasicIcfg [2023-11-29 04:21:12,711 INFO L131 PluginConnector]: ------------------------ END TraceAbstraction---------------------------- [2023-11-29 04:21:12,712 INFO L112 PluginConnector]: ------------------------Witness Printer---------------------------- [2023-11-29 04:21:12,712 INFO L270 PluginConnector]: Initializing Witness Printer... [2023-11-29 04:21:12,712 INFO L274 PluginConnector]: Witness Printer initialized [2023-11-29 04:21:12,712 INFO L184 PluginConnector]: Executing the observer RCFGCatcher from plugin Witness Printer for "de.uni_freiburg.informatik.ultimate.plugins.generator.rcfgbuilder CFG 29.11 04:21:11" (3/4) ... [2023-11-29 04:21:12,714 INFO L137 WitnessPrinter]: Generating witness for correct program [2023-11-29 04:21:12,718 INFO L361 RCFGBacktranslator]: Ignoring RootEdge to procedure t_fun [2023-11-29 04:21:12,724 INFO L943 BoogieBacktranslator]: Reduced CFG by removing 42 nodes and edges [2023-11-29 04:21:12,724 INFO L943 BoogieBacktranslator]: Reduced CFG by removing 11 nodes and edges [2023-11-29 04:21:12,724 INFO L943 BoogieBacktranslator]: Reduced CFG by removing 3 nodes and edges [2023-11-29 04:21:12,724 INFO L943 BoogieBacktranslator]: Reduced CFG by removing 2 nodes and edges [2023-11-29 04:21:12,817 INFO L149 WitnessManager]: Wrote witness to /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_3f638b20-2e61-4560-a41c-d669e1f3ea9f/bin/uautomizer-verify-BQ2R08f2Ya/witness.graphml [2023-11-29 04:21:12,818 INFO L149 WitnessManager]: Wrote witness to /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_3f638b20-2e61-4560-a41c-d669e1f3ea9f/bin/uautomizer-verify-BQ2R08f2Ya/witness.yml [2023-11-29 04:21:12,818 INFO L131 PluginConnector]: ------------------------ END Witness Printer---------------------------- [2023-11-29 04:21:12,819 INFO L158 Benchmark]: Toolchain (without parser) took 2251.85ms. Allocated memory was 163.6MB in the beginning and 205.5MB in the end (delta: 41.9MB). Free memory was 121.7MB in the beginning and 108.6MB in the end (delta: 13.2MB). Peak memory consumption was 55.5MB. Max. memory is 16.1GB. [2023-11-29 04:21:12,820 INFO L158 Benchmark]: CDTParser took 0.17ms. Allocated memory is still 163.6MB. Free memory is still 135.9MB. There was no memory consumed. Max. memory is 16.1GB. [2023-11-29 04:21:12,820 INFO L158 Benchmark]: CACSL2BoogieTranslator took 557.25ms. Allocated memory is still 163.6MB. Free memory was 121.7MB in the beginning and 93.6MB in the end (delta: 28.1MB). Peak memory consumption was 27.3MB. Max. memory is 16.1GB. [2023-11-29 04:21:12,821 INFO L158 Benchmark]: Boogie Procedure Inliner took 47.21ms. Allocated memory is still 163.6MB. Free memory was 93.6MB in the beginning and 91.5MB in the end (delta: 2.1MB). Peak memory consumption was 2.1MB. Max. memory is 16.1GB. [2023-11-29 04:21:12,821 INFO L158 Benchmark]: Boogie Preprocessor took 49.56ms. Allocated memory is still 163.6MB. Free memory was 91.5MB in the beginning and 89.4MB in the end (delta: 2.1MB). Peak memory consumption was 2.1MB. Max. memory is 16.1GB. [2023-11-29 04:21:12,822 INFO L158 Benchmark]: RCFGBuilder took 503.92ms. Allocated memory is still 163.6MB. Free memory was 89.4MB in the beginning and 130.1MB in the end (delta: -40.6MB). Peak memory consumption was 29.5MB. Max. memory is 16.1GB. [2023-11-29 04:21:12,822 INFO L158 Benchmark]: TraceAbstraction took 979.98ms. Allocated memory was 163.6MB in the beginning and 205.5MB in the end (delta: 41.9MB). Free memory was 129.3MB in the beginning and 112.8MB in the end (delta: 16.6MB). Peak memory consumption was 57.5MB. Max. memory is 16.1GB. [2023-11-29 04:21:12,823 INFO L158 Benchmark]: Witness Printer took 107.01ms. Allocated memory is still 205.5MB. Free memory was 112.8MB in the beginning and 108.6MB in the end (delta: 4.2MB). Peak memory consumption was 4.2MB. Max. memory is 16.1GB. [2023-11-29 04:21:12,825 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.17ms. Allocated memory is still 163.6MB. Free memory is still 135.9MB. There was no memory consumed. Max. memory is 16.1GB. * CACSL2BoogieTranslator took 557.25ms. Allocated memory is still 163.6MB. Free memory was 121.7MB in the beginning and 93.6MB in the end (delta: 28.1MB). Peak memory consumption was 27.3MB. Max. memory is 16.1GB. * Boogie Procedure Inliner took 47.21ms. Allocated memory is still 163.6MB. Free memory was 93.6MB in the beginning and 91.5MB in the end (delta: 2.1MB). Peak memory consumption was 2.1MB. Max. memory is 16.1GB. * Boogie Preprocessor took 49.56ms. Allocated memory is still 163.6MB. Free memory was 91.5MB in the beginning and 89.4MB in the end (delta: 2.1MB). Peak memory consumption was 2.1MB. Max. memory is 16.1GB. * RCFGBuilder took 503.92ms. Allocated memory is still 163.6MB. Free memory was 89.4MB in the beginning and 130.1MB in the end (delta: -40.6MB). Peak memory consumption was 29.5MB. Max. memory is 16.1GB. * TraceAbstraction took 979.98ms. Allocated memory was 163.6MB in the beginning and 205.5MB in the end (delta: 41.9MB). Free memory was 129.3MB in the beginning and 112.8MB in the end (delta: 16.6MB). Peak memory consumption was 57.5MB. Max. memory is 16.1GB. * Witness Printer took 107.01ms. Allocated memory is still 205.5MB. Free memory was 112.8MB in the beginning and 108.6MB in the end (delta: 4.2MB). Peak memory consumption was 4.2MB. Max. memory is 16.1GB. * Results from de.uni_freiburg.informatik.ultimate.plugins.generator.traceabstraction: - 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: 936]: all allocated memory was freed For all program executions holds that all allocated memory was freed at this location - StatisticsResult: Ultimate Automizer benchmark data with 1 thread instances CFG has 3 procedures, 31 locations, 4 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: 0.9s, OverallIterations: 3, TraceHistogramMax: 1, PathProgramHistogramMax: 1, EmptinessCheckTime: 0.0s, AutomataDifference: 0.3s, DeadEndRemovalTime: 0.0s, HoareAnnotationTime: 0.0s, InitialAbstractionConstructionTime: 0.0s, HoareTripleCheckerStatistics: 0 mSolverCounterUnknown, 60 SdHoareTripleChecker+Valid, 0.1s IncrementalHoareTripleChecker+Time, 0 mSdLazyCounter, 42 mSDsluCounter, 4 SdHoareTripleChecker+Invalid, 0.1s Time, 0 mProtectedAction, 0 SdHoareTripleChecker+Unchecked, 0 IncrementalHoareTripleChecker+Unchecked, 1 mSDsCounter, 2 IncrementalHoareTripleChecker+Valid, 0 mProtectedPredicate, 101 IncrementalHoareTripleChecker+Invalid, 103 SdHoareTripleChecker+Unknown, 0 mSolverCounterNotChecked, 2 mSolverCounterUnsat, 3 mSDtfsCounter, 101 mSolverCounterSat, 0.0s SdHoareTripleChecker+Time, 0 IncrementalHoareTripleChecker+Unknown, PredicateUnifierStatistics: 0 DeclaredPredicates, 4 GetRequests, 0 SyntacticMatches, 0 SemanticMatches, 4 ConstructedPredicates, 0 IntricatePredicates, 0 DeprecatedPredicates, 0 ImplicationChecksByTransitivity, 0.0s Time, 0.0s BasicInterpolantAutomatonTime, BiggestAbstraction: size=54occurred in iteration=1, InterpolantAutomatonStates: 10, 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.0s SatisfiabilityAnalysisTime, 0.3s InterpolantComputationTime, 10 NumberOfCodeBlocks, 10 NumberOfCodeBlocksAsserted, 3 NumberOfCheckSat, 7 ConstructedInterpolants, 0 QuantifiedInterpolants, 41 SizeOfPredicates, 0 NumberOfNonLiveVariables, 0 ConjunctsInSsa, 0 ConjunctsInUnsatCore, 3 InterpolantComputations, 3 PerfectInterpolantSequences, 0/0 InterpolantCoveringCapability, INVARIANT_SYNTHESIS: No data available, INTERPOLANT_CONSOLIDATION: No data available, ABSTRACT_INTERPRETATION: No data available, PDR: No data available, ACCELERATED_INTERPOLATION: No data available, SIFA: No data available, ReuseStatistics: No data available - AllSpecificationsHoldResult: All specifications hold 3 specifications checked. All of them hold RESULT: Ultimate proved your program to be correct! [2023-11-29 04:21:12,840 INFO L540 MonitoredProcess]: [MP /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_3f638b20-2e61-4560-a41c-d669e1f3ea9f/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