./Ultimate.py --spec ../../sv-benchmarks/c/properties/valid-memsafety.prp --file ../../sv-benchmarks/c/pthread-ext/25_stack_longest-2-pthread.i --full-output --architecture 32bit -------------------------------------------------------------------------------- Checking for memory safety (deref-memtrack) Using default analysis Version 9bd2c7ff 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_07e237cd-d0e5-441f-b643-6e98eda9b3d7/bin/utaipan-verify-t7M7D8N6sZ/data/config -Xmx15G -Xms4m -jar /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_07e237cd-d0e5-441f-b643-6e98eda9b3d7/bin/utaipan-verify-t7M7D8N6sZ/plugins/org.eclipse.equinox.launcher_1.5.800.v20200727-1323.jar -data @noDefault -ultimatedata /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_07e237cd-d0e5-441f-b643-6e98eda9b3d7/bin/utaipan-verify-t7M7D8N6sZ/data -tc /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_07e237cd-d0e5-441f-b643-6e98eda9b3d7/bin/utaipan-verify-t7M7D8N6sZ/config/TaipanMemDerefMemtrack.xml -i ../../sv-benchmarks/c/pthread-ext/25_stack_longest-2-pthread.i -s /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_07e237cd-d0e5-441f-b643-6e98eda9b3d7/bin/utaipan-verify-t7M7D8N6sZ/config/svcomp-DerefFreeMemtrack-32bit-Taipan_Default.epf --cacsl2boogietranslator.entry.function main --witnessprinter.witness.directory /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_07e237cd-d0e5-441f-b643-6e98eda9b3d7/bin/utaipan-verify-t7M7D8N6sZ --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 Taipan --witnessprinter.graph.data.architecture 32bit --witnessprinter.graph.data.programhash 6bed9188bb7b7687ebd02ffac8f3cae5646a3288850778355d808dde868a6cf7 --- Real Ultimate output --- This is Ultimate 0.2.3-dev-9bd2c7f [2023-11-19 04:16:35,997 INFO L188 SettingsManager]: Resetting all preferences to default values... [2023-11-19 04:16:36,113 INFO L114 SettingsManager]: Loading settings from /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_07e237cd-d0e5-441f-b643-6e98eda9b3d7/bin/utaipan-verify-t7M7D8N6sZ/config/svcomp-DerefFreeMemtrack-32bit-Taipan_Default.epf [2023-11-19 04:16:36,120 WARN L101 SettingsManager]: Preference file contains the following unknown settings: [2023-11-19 04:16:36,121 WARN L103 SettingsManager]: * de.uni_freiburg.informatik.ultimate.core.Log level for class [2023-11-19 04:16:36,160 INFO L130 SettingsManager]: Preferences different from defaults after loading the file: [2023-11-19 04:16:36,160 INFO L151 SettingsManager]: Preferences of UltimateCore differ from their defaults: [2023-11-19 04:16:36,161 INFO L153 SettingsManager]: * Log level for class=de.uni_freiburg.informatik.ultimate.lib.smtlibutils.quantifier.QuantifierPusher=ERROR; [2023-11-19 04:16:36,162 INFO L151 SettingsManager]: Preferences of Boogie Procedure Inliner differ from their defaults: [2023-11-19 04:16:36,167 INFO L153 SettingsManager]: * Ignore calls to procedures called more than once=ONLY_FOR_SEQUENTIAL_PROGRAMS [2023-11-19 04:16:36,168 INFO L153 SettingsManager]: * User list type=DISABLED [2023-11-19 04:16:36,168 INFO L151 SettingsManager]: Preferences of Abstract Interpretation differ from their defaults: [2023-11-19 04:16:36,169 INFO L153 SettingsManager]: * Explicit value domain=true [2023-11-19 04:16:36,170 INFO L153 SettingsManager]: * Abstract domain for RCFG-of-the-future=PoormanAbstractDomain [2023-11-19 04:16:36,171 INFO L153 SettingsManager]: * Octagon Domain=false [2023-11-19 04:16:36,171 INFO L153 SettingsManager]: * Abstract domain=CompoundDomain [2023-11-19 04:16:36,172 INFO L153 SettingsManager]: * Check feasibility of abstract posts with an SMT solver=true [2023-11-19 04:16:36,172 INFO L153 SettingsManager]: * Use the RCFG-of-the-future interface=true [2023-11-19 04:16:36,173 INFO L153 SettingsManager]: * Interval Domain=false [2023-11-19 04:16:36,173 INFO L151 SettingsManager]: Preferences of Sifa differ from their defaults: [2023-11-19 04:16:36,174 INFO L153 SettingsManager]: * Call Summarizer=TopInputCallSummarizer [2023-11-19 04:16:36,174 INFO L153 SettingsManager]: * Simplification Technique=POLY_PAC [2023-11-19 04:16:36,175 INFO L151 SettingsManager]: Preferences of BlockEncodingV2 differ from their defaults: [2023-11-19 04:16:36,175 INFO L153 SettingsManager]: * Create parallel compositions if possible=false [2023-11-19 04:16:36,176 INFO L151 SettingsManager]: Preferences of CACSL2BoogieTranslator differ from their defaults: [2023-11-19 04:16:36,177 INFO L153 SettingsManager]: * sizeof long=4 [2023-11-19 04:16:36,177 INFO L153 SettingsManager]: * Overapproximate operations on floating types=true [2023-11-19 04:16:36,178 INFO L153 SettingsManager]: * sizeof POINTER=4 [2023-11-19 04:16:36,178 INFO L153 SettingsManager]: * Check division by zero=IGNORE [2023-11-19 04:16:36,179 INFO L153 SettingsManager]: * Check for the main procedure if all allocated memory was freed=true [2023-11-19 04:16:36,180 INFO L153 SettingsManager]: * Bitprecise bitfields=true [2023-11-19 04:16:36,180 INFO L153 SettingsManager]: * SV-COMP memtrack compatibility mode=true [2023-11-19 04:16:36,181 INFO L153 SettingsManager]: * If two pointers are subtracted or compared they have the same base address=IGNORE [2023-11-19 04:16:36,181 INFO L153 SettingsManager]: * Adapt memory model on pointer casts if necessary=true [2023-11-19 04:16:36,181 INFO L153 SettingsManager]: * Check unreachability of reach_error function=false [2023-11-19 04:16:36,181 INFO L153 SettingsManager]: * sizeof long double=12 [2023-11-19 04:16:36,182 INFO L153 SettingsManager]: * Use constant arrays=true [2023-11-19 04:16:36,182 INFO L151 SettingsManager]: Preferences of RCFGBuilder differ from their defaults: [2023-11-19 04:16:36,182 INFO L153 SettingsManager]: * SMT solver=External_DefaultMode [2023-11-19 04:16:36,183 INFO L153 SettingsManager]: * Command for external solver=z3 SMTLIB2_COMPLIANT=true -memory:2024 -smt2 -in -t:2000 [2023-11-19 04:16:36,183 INFO L151 SettingsManager]: Preferences of TraceAbstraction differ from their defaults: [2023-11-19 04:16:36,183 INFO L153 SettingsManager]: * Compute Interpolants along a Counterexample=FPandBP [2023-11-19 04:16:36,184 INFO L153 SettingsManager]: * Trace refinement strategy=SIFA_TAIPAN [2023-11-19 04:16:36,184 INFO L153 SettingsManager]: * Command for external solver=z3 SMTLIB2_COMPLIANT=true -memory:2024 -smt2 -in [2023-11-19 04:16:36,184 INFO L153 SettingsManager]: * Trace refinement exception blacklist=NONE [2023-11-19 04:16:36,185 INFO L153 SettingsManager]: * SMT solver=External_ModelsAndUnsatCoreMode [2023-11-19 04:16:36,185 INFO L153 SettingsManager]: * Abstract interpretation Mode=USE_PREDICATES 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_07e237cd-d0e5-441f-b643-6e98eda9b3d7/bin/utaipan-verify-t7M7D8N6sZ/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_07e237cd-d0e5-441f-b643-6e98eda9b3d7/bin/utaipan-verify-t7M7D8N6sZ 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 -> Taipan 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 -> 6bed9188bb7b7687ebd02ffac8f3cae5646a3288850778355d808dde868a6cf7 [2023-11-19 04:16:36,497 INFO L75 nceAwareModelManager]: Repository-Root is: /tmp [2023-11-19 04:16:36,532 INFO L261 ainManager$Toolchain]: [Toolchain 1]: Applicable parser(s) successfully (re)initialized [2023-11-19 04:16:36,535 INFO L217 ainManager$Toolchain]: [Toolchain 1]: Toolchain selected. [2023-11-19 04:16:36,536 INFO L270 PluginConnector]: Initializing CDTParser... [2023-11-19 04:16:36,538 INFO L274 PluginConnector]: CDTParser initialized [2023-11-19 04:16:36,539 INFO L431 ainManager$Toolchain]: [Toolchain 1]: Parsing single file: /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_07e237cd-d0e5-441f-b643-6e98eda9b3d7/bin/utaipan-verify-t7M7D8N6sZ/../../sv-benchmarks/c/pthread-ext/25_stack_longest-2-pthread.i [2023-11-19 04:16:39,704 INFO L533 CDTParser]: Created temporary CDT project at NULL [2023-11-19 04:16:39,998 INFO L384 CDTParser]: Found 1 translation units. [2023-11-19 04:16:39,999 INFO L180 CDTParser]: Scanning /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_07e237cd-d0e5-441f-b643-6e98eda9b3d7/sv-benchmarks/c/pthread-ext/25_stack_longest-2-pthread.i [2023-11-19 04:16:40,014 INFO L427 CDTParser]: About to delete temporary CDT project at /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_07e237cd-d0e5-441f-b643-6e98eda9b3d7/bin/utaipan-verify-t7M7D8N6sZ/data/d0010da8d/e6fc34900d074667bcf97580bb0afc7b/FLAGfa4ec8aa4 [2023-11-19 04:16:40,029 INFO L435 CDTParser]: Successfully deleted /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_07e237cd-d0e5-441f-b643-6e98eda9b3d7/bin/utaipan-verify-t7M7D8N6sZ/data/d0010da8d/e6fc34900d074667bcf97580bb0afc7b [2023-11-19 04:16:40,032 INFO L299 ainManager$Toolchain]: ####################### [Toolchain 1] ####################### [2023-11-19 04:16:40,036 INFO L133 ToolchainWalker]: Walking toolchain with 6 elements. [2023-11-19 04:16:40,039 INFO L112 PluginConnector]: ------------------------CACSL2BoogieTranslator---------------------------- [2023-11-19 04:16:40,040 INFO L270 PluginConnector]: Initializing CACSL2BoogieTranslator... [2023-11-19 04:16:40,046 INFO L274 PluginConnector]: CACSL2BoogieTranslator initialized [2023-11-19 04:16:40,047 INFO L184 PluginConnector]: Executing the observer ACSLObjectContainerObserver from plugin CACSL2BoogieTranslator for "CDTParser AST 19.11 04:16:40" (1/1) ... [2023-11-19 04:16:40,048 INFO L204 PluginConnector]: Invalid model from CACSL2BoogieTranslator for observer de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator.ACSLObjectContainerObserver@3c47b1fa and model type de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 19.11 04:16:40, skipping insertion in model container [2023-11-19 04:16:40,048 INFO L184 PluginConnector]: Executing the observer CACSL2BoogieTranslatorObserver from plugin CACSL2BoogieTranslator for "CDTParser AST 19.11 04:16:40" (1/1) ... [2023-11-19 04:16:40,099 INFO L177 MainTranslator]: Built tables and reachable declarations [2023-11-19 04:16:40,455 INFO L209 PostProcessor]: Analyzing one entry point: main [2023-11-19 04:16:40,470 INFO L202 MainTranslator]: Completed pre-run [2023-11-19 04:16:40,514 INFO L209 PostProcessor]: Analyzing one entry point: main [2023-11-19 04:16:40,551 WARN L675 CHandler]: The function __VERIFIER_atomic_begin is called, but not defined or handled by StandardFunctionHandler. [2023-11-19 04:16:40,551 WARN L675 CHandler]: The function __VERIFIER_atomic_end is called, but not defined or handled by StandardFunctionHandler. [2023-11-19 04:16:40,559 INFO L206 MainTranslator]: Completed translation [2023-11-19 04:16:40,560 INFO L201 PluginConnector]: Adding new model de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 19.11 04:16:40 WrapperNode [2023-11-19 04:16:40,560 INFO L131 PluginConnector]: ------------------------ END CACSL2BoogieTranslator---------------------------- [2023-11-19 04:16:40,561 INFO L112 PluginConnector]: ------------------------Boogie Procedure Inliner---------------------------- [2023-11-19 04:16:40,562 INFO L270 PluginConnector]: Initializing Boogie Procedure Inliner... [2023-11-19 04:16:40,562 INFO L274 PluginConnector]: Boogie Procedure Inliner initialized [2023-11-19 04:16:40,569 INFO L184 PluginConnector]: Executing the observer TypeChecker from plugin Boogie Procedure Inliner for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 19.11 04:16:40" (1/1) ... [2023-11-19 04:16:40,584 INFO L184 PluginConnector]: Executing the observer Inliner from plugin Boogie Procedure Inliner for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 19.11 04:16:40" (1/1) ... [2023-11-19 04:16:40,611 INFO L138 Inliner]: procedures = 171, calls = 35, calls flagged for inlining = 10, calls inlined = 9, statements flattened = 127 [2023-11-19 04:16:40,611 INFO L131 PluginConnector]: ------------------------ END Boogie Procedure Inliner---------------------------- [2023-11-19 04:16:40,612 INFO L112 PluginConnector]: ------------------------Boogie Preprocessor---------------------------- [2023-11-19 04:16:40,612 INFO L270 PluginConnector]: Initializing Boogie Preprocessor... [2023-11-19 04:16:40,613 INFO L274 PluginConnector]: Boogie Preprocessor initialized [2023-11-19 04:16:40,622 INFO L184 PluginConnector]: Executing the observer EnsureBoogieModelObserver from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 19.11 04:16:40" (1/1) ... [2023-11-19 04:16:40,622 INFO L184 PluginConnector]: Executing the observer TypeChecker from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 19.11 04:16:40" (1/1) ... [2023-11-19 04:16:40,626 INFO L184 PluginConnector]: Executing the observer ConstExpander from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 19.11 04:16:40" (1/1) ... [2023-11-19 04:16:40,627 INFO L184 PluginConnector]: Executing the observer StructExpander from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 19.11 04:16:40" (1/1) ... [2023-11-19 04:16:40,633 INFO L184 PluginConnector]: Executing the observer UnstructureCode from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 19.11 04:16:40" (1/1) ... [2023-11-19 04:16:40,637 INFO L184 PluginConnector]: Executing the observer FunctionInliner from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 19.11 04:16:40" (1/1) ... [2023-11-19 04:16:40,640 INFO L184 PluginConnector]: Executing the observer LTLStepAnnotator from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 19.11 04:16:40" (1/1) ... [2023-11-19 04:16:40,642 INFO L184 PluginConnector]: Executing the observer BoogieSymbolTableConstructor from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 19.11 04:16:40" (1/1) ... [2023-11-19 04:16:40,646 INFO L131 PluginConnector]: ------------------------ END Boogie Preprocessor---------------------------- [2023-11-19 04:16:40,647 INFO L112 PluginConnector]: ------------------------RCFGBuilder---------------------------- [2023-11-19 04:16:40,647 INFO L270 PluginConnector]: Initializing RCFGBuilder... [2023-11-19 04:16:40,647 INFO L274 PluginConnector]: RCFGBuilder initialized [2023-11-19 04:16:40,648 INFO L184 PluginConnector]: Executing the observer RCFGBuilderObserver from plugin RCFGBuilder for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 19.11 04:16:40" (1/1) ... [2023-11-19 04:16:40,654 INFO L173 SolverBuilder]: Constructing external solver with command: z3 SMTLIB2_COMPLIANT=true -memory:2024 -smt2 -in -t:2000 [2023-11-19 04:16:40,668 INFO L189 MonitoredProcess]: No working directory specified, using /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_07e237cd-d0e5-441f-b643-6e98eda9b3d7/bin/utaipan-verify-t7M7D8N6sZ/z3 [2023-11-19 04:16:40,681 INFO L229 MonitoredProcess]: Starting monitored process 1 with /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_07e237cd-d0e5-441f-b643-6e98eda9b3d7/bin/utaipan-verify-t7M7D8N6sZ/z3 SMTLIB2_COMPLIANT=true -memory:2024 -smt2 -in -t:2000 (exit command is (exit), workingDir is null) [2023-11-19 04:16:40,703 INFO L327 MonitoredProcess]: [MP /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_07e237cd-d0e5-441f-b643-6e98eda9b3d7/bin/utaipan-verify-t7M7D8N6sZ/z3 SMTLIB2_COMPLIANT=true -memory:2024 -smt2 -in -t:2000 (1)] Waiting until timeout for monitored process [2023-11-19 04:16:40,735 INFO L130 BoogieDeclarations]: Found specification of procedure thr1 [2023-11-19 04:16:40,735 INFO L138 BoogieDeclarations]: Found implementation of procedure thr1 [2023-11-19 04:16:40,736 INFO L130 BoogieDeclarations]: Found specification of procedure write~int [2023-11-19 04:16:40,736 INFO L130 BoogieDeclarations]: Found specification of procedure #PthreadsMutexLock [2023-11-19 04:16:40,736 INFO L130 BoogieDeclarations]: Found specification of procedure __VERIFIER_atomic_begin [2023-11-19 04:16:40,736 INFO L130 BoogieDeclarations]: Found specification of procedure #Ultimate.allocInit [2023-11-19 04:16:40,738 INFO L130 BoogieDeclarations]: Found specification of procedure #Ultimate.allocOnStack [2023-11-19 04:16:40,738 INFO L130 BoogieDeclarations]: Found specification of procedure ULTIMATE.dealloc [2023-11-19 04:16:40,739 INFO L130 BoogieDeclarations]: Found specification of procedure write~init~int [2023-11-19 04:16:40,739 INFO L130 BoogieDeclarations]: Found specification of procedure __VERIFIER_atomic_end [2023-11-19 04:16:40,740 INFO L130 BoogieDeclarations]: Found specification of procedure ULTIMATE.start [2023-11-19 04:16:40,740 INFO L138 BoogieDeclarations]: Found implementation of procedure ULTIMATE.start [2023-11-19 04:16:40,742 WARN L210 CfgBuilder]: User set CodeBlockSize to LoopFreeBlock but program contains fork statements. Overwriting the user preferences and setting CodeBlockSize to OneNontrivialStatement [2023-11-19 04:16:40,988 INFO L236 CfgBuilder]: Building ICFG [2023-11-19 04:16:40,991 INFO L262 CfgBuilder]: Building CFG for each procedure with an implementation [2023-11-19 04:16:41,262 INFO L277 CfgBuilder]: Performing block encoding [2023-11-19 04:16:41,391 INFO L297 CfgBuilder]: Using the 1 location(s) as analysis (start of procedure ULTIMATE.start) [2023-11-19 04:16:41,391 INFO L302 CfgBuilder]: Removed 2 assume(true) statements. [2023-11-19 04:16:41,396 INFO L201 PluginConnector]: Adding new model de.uni_freiburg.informatik.ultimate.plugins.generator.rcfgbuilder CFG 19.11 04:16:41 BoogieIcfgContainer [2023-11-19 04:16:41,396 INFO L131 PluginConnector]: ------------------------ END RCFGBuilder---------------------------- [2023-11-19 04:16:41,399 INFO L112 PluginConnector]: ------------------------TraceAbstraction---------------------------- [2023-11-19 04:16:41,400 INFO L270 PluginConnector]: Initializing TraceAbstraction... [2023-11-19 04:16:41,403 INFO L274 PluginConnector]: TraceAbstraction initialized [2023-11-19 04:16:41,404 INFO L184 PluginConnector]: Executing the observer TraceAbstractionObserver from plugin TraceAbstraction for "CDTParser AST 19.11 04:16:40" (1/3) ... [2023-11-19 04:16:41,405 INFO L204 PluginConnector]: Invalid model from TraceAbstraction for observer de.uni_freiburg.informatik.ultimate.plugins.generator.traceabstraction.TraceAbstractionObserver@148f0f1c and model type de.uni_freiburg.informatik.ultimate.plugins.generator.traceabstraction AST 19.11 04:16:41, skipping insertion in model container [2023-11-19 04:16:41,405 INFO L184 PluginConnector]: Executing the observer TraceAbstractionObserver from plugin TraceAbstraction for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 19.11 04:16:40" (2/3) ... [2023-11-19 04:16:41,405 INFO L204 PluginConnector]: Invalid model from TraceAbstraction for observer de.uni_freiburg.informatik.ultimate.plugins.generator.traceabstraction.TraceAbstractionObserver@148f0f1c and model type de.uni_freiburg.informatik.ultimate.plugins.generator.traceabstraction AST 19.11 04:16:41, skipping insertion in model container [2023-11-19 04:16:41,406 INFO L184 PluginConnector]: Executing the observer TraceAbstractionObserver from plugin TraceAbstraction for "de.uni_freiburg.informatik.ultimate.plugins.generator.rcfgbuilder CFG 19.11 04:16:41" (3/3) ... [2023-11-19 04:16:41,407 INFO L112 eAbstractionObserver]: Analyzing ICFG 25_stack_longest-2-pthread.i [2023-11-19 04:16:41,430 INFO L203 ceAbstractionStarter]: Automizer settings: Hoare:false NWA Interpolation:FPandBP Determinization: PREDICATE_ABSTRACTION [2023-11-19 04:16:41,430 INFO L162 ceAbstractionStarter]: Applying trace abstraction to program that has 6 error locations. [2023-11-19 04:16:41,430 INFO L514 ceAbstractionStarter]: Constructing petrified ICFG for 1 thread instances. [2023-11-19 04:16:41,545 INFO L144 ThreadInstanceAdder]: Constructed 0 joinOtherThreadTransitions. [2023-11-19 04:16:41,587 INFO L115 etLargeBlockEncoding]: Petri net LBE is using semantic-based independence relation. [2023-11-19 04:16:41,605 INFO L131 etLargeBlockEncoding]: Starting large block encoding on Petri net that has 116 places, 121 transitions, 246 flow [2023-11-19 04:16:41,608 INFO L113 LiptonReduction]: Starting Lipton reduction on Petri net that has 116 places, 121 transitions, 246 flow [2023-11-19 04:16:41,610 INFO L73 FinitePrefix]: Start finitePrefix. Operand has 116 places, 121 transitions, 246 flow [2023-11-19 04:16:41,686 INFO L124 PetriNetUnfolderBase]: 9/137 cut-off events. [2023-11-19 04:16:41,687 INFO L125 PetriNetUnfolderBase]: For 0/0 co-relation queries the response was YES. [2023-11-19 04:16:41,695 INFO L83 FinitePrefix]: Finished finitePrefix Result has 141 conditions, 137 events. 9/137 cut-off events. For 0/0 co-relation queries the response was YES. Maximal size of possible extension queue 7. Compared 173 event pairs, 0 based on Foata normal form. 0/117 useless extension candidates. Maximal degree in co-relation 91. Up to 4 conditions per place. [2023-11-19 04:16:41,699 INFO L119 LiptonReduction]: Number of co-enabled transitions 2774 [2023-11-19 04:16:50,135 INFO L134 LiptonReduction]: Checked pairs total: 2464 [2023-11-19 04:16:50,135 INFO L136 LiptonReduction]: Total number of compositions: 134 [2023-11-19 04:16:50,144 INFO L113 iNet2FiniteAutomaton]: Start petriNet2FiniteAutomaton. Operand has 17 places, 16 transitions, 36 flow [2023-11-19 04:16:50,166 INFO L135 iNet2FiniteAutomaton]: Finished petriNet2FiniteAutomaton. Result has 53 states, 31 states have (on average 3.2580645161290325) internal successors, (101), 52 states have internal predecessors, (101), 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-19 04:16:50,192 INFO L356 AbstractCegarLoop]: ======== Iteration 0 == of CEGAR loop == AllErrorsAtOnce ======== [2023-11-19 04:16:50,200 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=FINITE_AUTOMATA, 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;@351c8cb0, mLbeIndependenceSettings=[IndependenceType=SEMANTIC, AbstractionType=NONE, UseConditional=false, UseSemiCommutativity=true, Solver=Z3, SolverTimeout=1000ms] [2023-11-19 04:16:50,200 INFO L358 AbstractCegarLoop]: Starting to check reachability of 10 error locations. [2023-11-19 04:16:50,203 INFO L276 IsEmpty]: Start isEmpty. Operand has 53 states, 31 states have (on average 3.2580645161290325) internal successors, (101), 52 states have internal predecessors, (101), 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-19 04:16:50,208 INFO L282 IsEmpty]: Finished isEmpty. Found accepting run of length 3 [2023-11-19 04:16:50,209 INFO L187 NwaCegarLoop]: Found error trace [2023-11-19 04:16:50,209 INFO L195 NwaCegarLoop]: trace histogram [1, 1] [2023-11-19 04:16:50,210 INFO L420 AbstractCegarLoop]: === Iteration 1 === Targeting ULTIMATE.startErr2ASSERT_VIOLATIONMEMORY_LEAK === [thr1Err0ASSERT_VIOLATIONARRAY_INDEX, thr1Err1ASSERT_VIOLATIONARRAY_INDEX, thr1Err2ASSERT_VIOLATIONMEMORY_LEAK, ULTIMATE.startErr0REQUIRES_VIOLATIONMEMORY_DEREFERENCE (and 6 more)] === [2023-11-19 04:16:50,218 INFO L160 PredicateUnifier]: Initialized classic predicate unifier [2023-11-19 04:16:50,218 INFO L85 PathProgramCache]: Analyzing trace with hash 18678, now seen corresponding path program 1 times [2023-11-19 04:16:50,229 INFO L118 FreeRefinementEngine]: Executing refinement strategy SIFA_TAIPAN [2023-11-19 04:16:50,230 INFO L334 FreeRefinementEngine]: Using trace check IpTcStrategyModuleSmtInterpolCraig [580200469] [2023-11-19 04:16:50,230 INFO L95 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2023-11-19 04:16:50,230 INFO L127 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout -1 ms and remaining time -1 ms [2023-11-19 04:16:50,360 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2023-11-19 04:16:50,468 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-19 04:16:50,469 INFO L136 FreeRefinementEngine]: Strategy SIFA_TAIPAN found an infeasible trace [2023-11-19 04:16:50,470 INFO L334 FreeRefinementEngine]: Using interpolant generator IpTcStrategyModuleSmtInterpolCraig [580200469] [2023-11-19 04:16:50,471 INFO L158 FreeRefinementEngine]: IpTcStrategyModuleSmtInterpolCraig [580200469] provided 1 perfect and 0 imperfect interpolant sequences [2023-11-19 04:16:50,471 INFO L185 FreeRefinementEngine]: Found 1 perfect and 0 imperfect interpolant sequences. [2023-11-19 04:16:50,471 INFO L198 FreeRefinementEngine]: Number of different interpolants: perfect sequences [1] imperfect sequences [] total 1 [2023-11-19 04:16:50,473 INFO L121 tionRefinementEngine]: Using interpolant automaton builder IpAbStrategyModuleStraightlineAll [65737982] [2023-11-19 04:16:50,474 INFO L85 oduleStraightlineAll]: Using 1 perfect interpolants to construct interpolant automaton [2023-11-19 04:16:50,478 INFO L571 AbstractCegarLoop]: INTERPOLANT automaton has 2 states [2023-11-19 04:16:50,479 INFO L100 FreeRefinementEngine]: Using predicate unifier PredicateUnifier provided by strategy SIFA_TAIPAN [2023-11-19 04:16:50,503 INFO L143 InterpolantAutomaton]: Constructing interpolant automaton starting with 2 interpolants. [2023-11-19 04:16:50,504 INFO L145 InterpolantAutomaton]: CoverageRelationStatistics Valid=1, Invalid=1, Unknown=0, NotChecked=0, Total=2 [2023-11-19 04:16:50,510 INFO L87 Difference]: Start difference. First operand has 53 states, 31 states have (on average 3.2580645161290325) internal successors, (101), 52 states have internal predecessors, (101), 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) Second operand has 2 states, 1 states have (on average 2.0) internal successors, (2), 2 states have internal predecessors, (2), 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-19 04:16:50,562 INFO L144 Difference]: Subtrahend was deterministic. Have not used determinization. [2023-11-19 04:16:50,562 INFO L93 Difference]: Finished difference Result 41 states and 65 transitions. [2023-11-19 04:16:50,566 INFO L141 InterpolantAutomaton]: Switched to read-only mode: deterministic interpolant automaton has 2 states. [2023-11-19 04:16:50,567 INFO L78 Accepts]: Start accepts. Automaton has has 2 states, 1 states have (on average 2.0) internal successors, (2), 2 states have internal predecessors, (2), 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) Word has length 2 [2023-11-19 04:16:50,568 INFO L84 Accepts]: Finished accepts. some prefix is accepted. [2023-11-19 04:16:50,577 INFO L225 Difference]: With dead ends: 41 [2023-11-19 04:16:50,577 INFO L226 Difference]: Without dead ends: 41 [2023-11-19 04:16:50,578 INFO L412 NwaCegarLoop]: 0 DeclaredPredicates, 1 GetRequests, 1 SyntacticMatches, 0 SemanticMatches, 0 ConstructedPredicates, 0 IntricatePredicates, 0 DeprecatedPredicates, 0 ImplicationChecksByTransitivity, 0.0s TimeCoverageRelationStatistics Valid=1, Invalid=1, Unknown=0, NotChecked=0, Total=2 [2023-11-19 04:16:50,585 INFO L413 NwaCegarLoop]: 1 mSDtfsCounter, 0 mSDsluCounter, 0 mSDsCounter, 0 mSdLazyCounter, 11 mSolverCounterSat, 0 mSolverCounterUnsat, 0 mSolverCounterUnknown, 0 mSolverCounterNotChecked, 0.0s Time, 0 mProtectedPredicate, 0 mProtectedAction, 0 SdHoareTripleChecker+Valid, 1 SdHoareTripleChecker+Invalid, 11 SdHoareTripleChecker+Unknown, 0 SdHoareTripleChecker+Unchecked, 0.0s SdHoareTripleChecker+Time, 0 IncrementalHoareTripleChecker+Valid, 11 IncrementalHoareTripleChecker+Invalid, 0 IncrementalHoareTripleChecker+Unknown, 0 IncrementalHoareTripleChecker+Unchecked, 0.0s IncrementalHoareTripleChecker+Time [2023-11-19 04:16:50,591 INFO L414 NwaCegarLoop]: SdHoareTripleChecker [0 Valid, 1 Invalid, 11 Unknown, 0 Unchecked, 0.0s Time], IncrementalHoareTripleChecker [0 Valid, 11 Invalid, 0 Unknown, 0 Unchecked, 0.0s Time] [2023-11-19 04:16:50,611 INFO L82 GeneralOperation]: Start minimizeSevpa. Operand 41 states. [2023-11-19 04:16:50,632 INFO L88 GeneralOperation]: Finished minimizeSevpa. Reduced states from 41 to 41. [2023-11-19 04:16:50,635 INFO L82 GeneralOperation]: Start removeUnreachable. Operand has 41 states, 27 states have (on average 2.4074074074074074) internal successors, (65), 40 states have internal predecessors, (65), 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-19 04:16:50,639 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 41 states to 41 states and 65 transitions. [2023-11-19 04:16:50,641 INFO L78 Accepts]: Start accepts. Automaton has 41 states and 65 transitions. Word has length 2 [2023-11-19 04:16:50,641 INFO L84 Accepts]: Finished accepts. word is rejected. [2023-11-19 04:16:50,641 INFO L495 AbstractCegarLoop]: Abstraction has 41 states and 65 transitions. [2023-11-19 04:16:50,642 INFO L496 AbstractCegarLoop]: INTERPOLANT automaton has has 2 states, 1 states have (on average 2.0) internal successors, (2), 2 states have internal predecessors, (2), 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-19 04:16:50,643 INFO L276 IsEmpty]: Start isEmpty. Operand 41 states and 65 transitions. [2023-11-19 04:16:50,643 INFO L282 IsEmpty]: Finished isEmpty. Found accepting run of length 3 [2023-11-19 04:16:50,643 INFO L187 NwaCegarLoop]: Found error trace [2023-11-19 04:16:50,643 INFO L195 NwaCegarLoop]: trace histogram [1, 1] [2023-11-19 04:16:50,644 WARN L477 AbstractCegarLoop]: Destroyed unattended storables created during the last iteration: SelfDestructingSolverStorable0 [2023-11-19 04:16:50,644 INFO L420 AbstractCegarLoop]: === Iteration 2 === Targeting ULTIMATE.startErr0REQUIRES_VIOLATIONMEMORY_DEREFERENCE === [thr1Err0ASSERT_VIOLATIONARRAY_INDEX, thr1Err1ASSERT_VIOLATIONARRAY_INDEX, thr1Err2ASSERT_VIOLATIONMEMORY_LEAK, ULTIMATE.startErr0REQUIRES_VIOLATIONMEMORY_DEREFERENCE (and 6 more)] === [2023-11-19 04:16:50,645 INFO L160 PredicateUnifier]: Initialized classic predicate unifier [2023-11-19 04:16:50,645 INFO L85 PathProgramCache]: Analyzing trace with hash 18696, now seen corresponding path program 1 times [2023-11-19 04:16:50,646 INFO L118 FreeRefinementEngine]: Executing refinement strategy SIFA_TAIPAN [2023-11-19 04:16:50,646 INFO L334 FreeRefinementEngine]: Using trace check IpTcStrategyModuleSmtInterpolCraig [769275499] [2023-11-19 04:16:50,646 INFO L95 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2023-11-19 04:16:50,646 INFO L127 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout -1 ms and remaining time -1 ms [2023-11-19 04:16:50,691 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2023-11-19 04:16:50,837 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-19 04:16:50,838 INFO L136 FreeRefinementEngine]: Strategy SIFA_TAIPAN found an infeasible trace [2023-11-19 04:16:50,838 INFO L334 FreeRefinementEngine]: Using interpolant generator IpTcStrategyModuleSmtInterpolCraig [769275499] [2023-11-19 04:16:50,838 INFO L158 FreeRefinementEngine]: IpTcStrategyModuleSmtInterpolCraig [769275499] provided 1 perfect and 0 imperfect interpolant sequences [2023-11-19 04:16:50,838 INFO L185 FreeRefinementEngine]: Found 1 perfect and 0 imperfect interpolant sequences. [2023-11-19 04:16:50,838 INFO L198 FreeRefinementEngine]: Number of different interpolants: perfect sequences [1] imperfect sequences [] total 1 [2023-11-19 04:16:50,839 INFO L121 tionRefinementEngine]: Using interpolant automaton builder IpAbStrategyModuleStraightlineAll [38442611] [2023-11-19 04:16:50,839 INFO L85 oduleStraightlineAll]: Using 1 perfect interpolants to construct interpolant automaton [2023-11-19 04:16:50,840 INFO L571 AbstractCegarLoop]: INTERPOLANT automaton has 3 states [2023-11-19 04:16:50,840 INFO L100 FreeRefinementEngine]: Using predicate unifier PredicateUnifier provided by strategy SIFA_TAIPAN [2023-11-19 04:16:50,841 INFO L143 InterpolantAutomaton]: Constructing interpolant automaton starting with 3 interpolants. [2023-11-19 04:16:50,841 INFO L145 InterpolantAutomaton]: CoverageRelationStatistics Valid=3, Invalid=3, Unknown=0, NotChecked=0, Total=6 [2023-11-19 04:16:50,842 INFO L87 Difference]: Start difference. First operand 41 states and 65 transitions. Second operand has 3 states, 2 states have (on average 1.0) internal successors, (2), 2 states have internal predecessors, (2), 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-19 04:16:50,863 INFO L144 Difference]: Subtrahend was deterministic. Have not used determinization. [2023-11-19 04:16:50,863 INFO L93 Difference]: Finished difference Result 34 states and 53 transitions. [2023-11-19 04:16:50,864 INFO L141 InterpolantAutomaton]: Switched to read-only mode: deterministic interpolant automaton has 3 states. [2023-11-19 04:16:50,864 INFO L78 Accepts]: Start accepts. Automaton has has 3 states, 2 states have (on average 1.0) internal successors, (2), 2 states have internal predecessors, (2), 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) Word has length 2 [2023-11-19 04:16:50,864 INFO L84 Accepts]: Finished accepts. some prefix is accepted. [2023-11-19 04:16:50,865 INFO L225 Difference]: With dead ends: 34 [2023-11-19 04:16:50,865 INFO L226 Difference]: Without dead ends: 34 [2023-11-19 04:16:50,865 INFO L412 NwaCegarLoop]: 0 DeclaredPredicates, 1 GetRequests, 0 SyntacticMatches, 0 SemanticMatches, 1 ConstructedPredicates, 0 IntricatePredicates, 0 DeprecatedPredicates, 0 ImplicationChecksByTransitivity, 0.0s TimeCoverageRelationStatistics Valid=3, Invalid=3, Unknown=0, NotChecked=0, Total=6 [2023-11-19 04:16:50,867 INFO L413 NwaCegarLoop]: 1 mSDtfsCounter, 10 mSDsluCounter, 0 mSDsCounter, 0 mSdLazyCounter, 10 mSolverCounterSat, 0 mSolverCounterUnsat, 0 mSolverCounterUnknown, 0 mSolverCounterNotChecked, 0.0s Time, 0 mProtectedPredicate, 0 mProtectedAction, 10 SdHoareTripleChecker+Valid, 1 SdHoareTripleChecker+Invalid, 10 SdHoareTripleChecker+Unknown, 0 SdHoareTripleChecker+Unchecked, 0.0s SdHoareTripleChecker+Time, 0 IncrementalHoareTripleChecker+Valid, 10 IncrementalHoareTripleChecker+Invalid, 0 IncrementalHoareTripleChecker+Unknown, 0 IncrementalHoareTripleChecker+Unchecked, 0.0s IncrementalHoareTripleChecker+Time [2023-11-19 04:16:50,867 INFO L414 NwaCegarLoop]: SdHoareTripleChecker [10 Valid, 1 Invalid, 10 Unknown, 0 Unchecked, 0.0s Time], IncrementalHoareTripleChecker [0 Valid, 10 Invalid, 0 Unknown, 0 Unchecked, 0.0s Time] [2023-11-19 04:16:50,870 INFO L82 GeneralOperation]: Start minimizeSevpa. Operand 34 states. [2023-11-19 04:16:50,874 INFO L88 GeneralOperation]: Finished minimizeSevpa. Reduced states from 34 to 34. [2023-11-19 04:16:50,876 INFO L82 GeneralOperation]: Start removeUnreachable. Operand has 34 states, 25 states have (on average 2.12) internal successors, (53), 33 states have internal predecessors, (53), 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-19 04:16:50,878 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 34 states to 34 states and 53 transitions. [2023-11-19 04:16:50,878 INFO L78 Accepts]: Start accepts. Automaton has 34 states and 53 transitions. Word has length 2 [2023-11-19 04:16:50,879 INFO L84 Accepts]: Finished accepts. word is rejected. [2023-11-19 04:16:50,879 INFO L495 AbstractCegarLoop]: Abstraction has 34 states and 53 transitions. [2023-11-19 04:16:50,882 INFO L496 AbstractCegarLoop]: INTERPOLANT automaton has has 3 states, 2 states have (on average 1.0) internal successors, (2), 2 states have internal predecessors, (2), 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-19 04:16:50,884 INFO L276 IsEmpty]: Start isEmpty. Operand 34 states and 53 transitions. [2023-11-19 04:16:50,884 INFO L282 IsEmpty]: Finished isEmpty. Found accepting run of length 3 [2023-11-19 04:16:50,885 INFO L187 NwaCegarLoop]: Found error trace [2023-11-19 04:16:50,885 INFO L195 NwaCegarLoop]: trace histogram [1, 1] [2023-11-19 04:16:50,885 WARN L477 AbstractCegarLoop]: Destroyed unattended storables created during the last iteration: SelfDestructingSolverStorable1 [2023-11-19 04:16:50,885 INFO L420 AbstractCegarLoop]: === Iteration 3 === Targeting ULTIMATE.startErr1REQUIRES_VIOLATIONMEMORY_DEREFERENCE === [thr1Err0ASSERT_VIOLATIONARRAY_INDEX, thr1Err1ASSERT_VIOLATIONARRAY_INDEX, thr1Err2ASSERT_VIOLATIONMEMORY_LEAK, ULTIMATE.startErr0REQUIRES_VIOLATIONMEMORY_DEREFERENCE (and 6 more)] === [2023-11-19 04:16:50,886 INFO L160 PredicateUnifier]: Initialized classic predicate unifier [2023-11-19 04:16:50,886 INFO L85 PathProgramCache]: Analyzing trace with hash 18697, now seen corresponding path program 1 times [2023-11-19 04:16:50,886 INFO L118 FreeRefinementEngine]: Executing refinement strategy SIFA_TAIPAN [2023-11-19 04:16:50,886 INFO L334 FreeRefinementEngine]: Using trace check IpTcStrategyModuleSmtInterpolCraig [1193051334] [2023-11-19 04:16:50,887 INFO L95 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2023-11-19 04:16:50,887 INFO L127 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout -1 ms and remaining time -1 ms [2023-11-19 04:16:50,918 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2023-11-19 04:16:51,038 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-19 04:16:51,038 INFO L136 FreeRefinementEngine]: Strategy SIFA_TAIPAN found an infeasible trace [2023-11-19 04:16:51,038 INFO L334 FreeRefinementEngine]: Using interpolant generator IpTcStrategyModuleSmtInterpolCraig [1193051334] [2023-11-19 04:16:51,038 INFO L158 FreeRefinementEngine]: IpTcStrategyModuleSmtInterpolCraig [1193051334] provided 1 perfect and 0 imperfect interpolant sequences [2023-11-19 04:16:51,040 INFO L185 FreeRefinementEngine]: Found 1 perfect and 0 imperfect interpolant sequences. [2023-11-19 04:16:51,041 INFO L198 FreeRefinementEngine]: Number of different interpolants: perfect sequences [1] imperfect sequences [] total 1 [2023-11-19 04:16:51,041 INFO L121 tionRefinementEngine]: Using interpolant automaton builder IpAbStrategyModuleStraightlineAll [599567195] [2023-11-19 04:16:51,047 INFO L85 oduleStraightlineAll]: Using 1 perfect interpolants to construct interpolant automaton [2023-11-19 04:16:51,047 INFO L571 AbstractCegarLoop]: INTERPOLANT automaton has 3 states [2023-11-19 04:16:51,048 INFO L100 FreeRefinementEngine]: Using predicate unifier PredicateUnifier provided by strategy SIFA_TAIPAN [2023-11-19 04:16:51,049 INFO L143 InterpolantAutomaton]: Constructing interpolant automaton starting with 3 interpolants. [2023-11-19 04:16:51,049 INFO L145 InterpolantAutomaton]: CoverageRelationStatistics Valid=3, Invalid=3, Unknown=0, NotChecked=0, Total=6 [2023-11-19 04:16:51,049 INFO L87 Difference]: Start difference. First operand 34 states and 53 transitions. Second operand has 3 states, 2 states have (on average 1.0) internal successors, (2), 2 states have internal predecessors, (2), 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-19 04:16:51,075 INFO L144 Difference]: Subtrahend was deterministic. Have not used determinization. [2023-11-19 04:16:51,075 INFO L93 Difference]: Finished difference Result 27 states and 41 transitions. [2023-11-19 04:16:51,076 INFO L141 InterpolantAutomaton]: Switched to read-only mode: deterministic interpolant automaton has 3 states. [2023-11-19 04:16:51,076 INFO L78 Accepts]: Start accepts. Automaton has has 3 states, 2 states have (on average 1.0) internal successors, (2), 2 states have internal predecessors, (2), 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) Word has length 2 [2023-11-19 04:16:51,076 INFO L84 Accepts]: Finished accepts. some prefix is accepted. [2023-11-19 04:16:51,077 INFO L225 Difference]: With dead ends: 27 [2023-11-19 04:16:51,077 INFO L226 Difference]: Without dead ends: 27 [2023-11-19 04:16:51,079 INFO L412 NwaCegarLoop]: 0 DeclaredPredicates, 1 GetRequests, 0 SyntacticMatches, 0 SemanticMatches, 1 ConstructedPredicates, 0 IntricatePredicates, 0 DeprecatedPredicates, 0 ImplicationChecksByTransitivity, 0.0s TimeCoverageRelationStatistics Valid=3, Invalid=3, Unknown=0, NotChecked=0, Total=6 [2023-11-19 04:16:51,082 INFO L413 NwaCegarLoop]: 1 mSDtfsCounter, 9 mSDsluCounter, 0 mSDsCounter, 0 mSdLazyCounter, 9 mSolverCounterSat, 0 mSolverCounterUnsat, 0 mSolverCounterUnknown, 0 mSolverCounterNotChecked, 0.0s Time, 0 mProtectedPredicate, 0 mProtectedAction, 9 SdHoareTripleChecker+Valid, 1 SdHoareTripleChecker+Invalid, 9 SdHoareTripleChecker+Unknown, 0 SdHoareTripleChecker+Unchecked, 0.0s SdHoareTripleChecker+Time, 0 IncrementalHoareTripleChecker+Valid, 9 IncrementalHoareTripleChecker+Invalid, 0 IncrementalHoareTripleChecker+Unknown, 0 IncrementalHoareTripleChecker+Unchecked, 0.0s IncrementalHoareTripleChecker+Time [2023-11-19 04:16:51,084 INFO L414 NwaCegarLoop]: SdHoareTripleChecker [9 Valid, 1 Invalid, 9 Unknown, 0 Unchecked, 0.0s Time], IncrementalHoareTripleChecker [0 Valid, 9 Invalid, 0 Unknown, 0 Unchecked, 0.0s Time] [2023-11-19 04:16:51,085 INFO L82 GeneralOperation]: Start minimizeSevpa. Operand 27 states. [2023-11-19 04:16:51,094 INFO L88 GeneralOperation]: Finished minimizeSevpa. Reduced states from 27 to 27. [2023-11-19 04:16:51,095 INFO L82 GeneralOperation]: Start removeUnreachable. Operand has 27 states, 23 states have (on average 1.7826086956521738) internal successors, (41), 26 states have internal predecessors, (41), 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-19 04:16:51,099 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 27 states to 27 states and 41 transitions. [2023-11-19 04:16:51,100 INFO L78 Accepts]: Start accepts. Automaton has 27 states and 41 transitions. Word has length 2 [2023-11-19 04:16:51,100 INFO L84 Accepts]: Finished accepts. word is rejected. [2023-11-19 04:16:51,100 INFO L495 AbstractCegarLoop]: Abstraction has 27 states and 41 transitions. [2023-11-19 04:16:51,101 INFO L496 AbstractCegarLoop]: INTERPOLANT automaton has has 3 states, 2 states have (on average 1.0) internal successors, (2), 2 states have internal predecessors, (2), 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-19 04:16:51,101 INFO L276 IsEmpty]: Start isEmpty. Operand 27 states and 41 transitions. [2023-11-19 04:16:51,102 INFO L282 IsEmpty]: Finished isEmpty. Found accepting run of length 6 [2023-11-19 04:16:51,102 INFO L187 NwaCegarLoop]: Found error trace [2023-11-19 04:16:51,102 INFO L195 NwaCegarLoop]: trace histogram [1, 1, 1, 1, 1] [2023-11-19 04:16:51,102 WARN L477 AbstractCegarLoop]: Destroyed unattended storables created during the last iteration: SelfDestructingSolverStorable2 [2023-11-19 04:16:51,103 INFO L420 AbstractCegarLoop]: === Iteration 4 === Targeting thr1Err2ASSERT_VIOLATIONMEMORY_LEAK === [thr1Err0ASSERT_VIOLATIONARRAY_INDEX, thr1Err1ASSERT_VIOLATIONARRAY_INDEX, thr1Err2ASSERT_VIOLATIONMEMORY_LEAK, ULTIMATE.startErr0REQUIRES_VIOLATIONMEMORY_DEREFERENCE (and 6 more)] === [2023-11-19 04:16:51,103 INFO L160 PredicateUnifier]: Initialized classic predicate unifier [2023-11-19 04:16:51,103 INFO L85 PathProgramCache]: Analyzing trace with hash 557371664, now seen corresponding path program 1 times [2023-11-19 04:16:51,104 INFO L118 FreeRefinementEngine]: Executing refinement strategy SIFA_TAIPAN [2023-11-19 04:16:51,104 INFO L334 FreeRefinementEngine]: Using trace check IpTcStrategyModuleSmtInterpolCraig [301204579] [2023-11-19 04:16:51,104 INFO L95 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2023-11-19 04:16:51,104 INFO L127 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout -1 ms and remaining time -1 ms [2023-11-19 04:16:51,205 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2023-11-19 04:16:51,206 INFO L356 TraceCheck]: Trace is feasible, we will do another trace check, this time with branch encoders. [2023-11-19 04:16:51,233 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2023-11-19 04:16:51,261 INFO L130 FreeRefinementEngine]: Strategy SIFA_TAIPAN found a feasible trace [2023-11-19 04:16:51,261 INFO L360 BasicCegarLoop]: Counterexample is feasible [2023-11-19 04:16:51,263 INFO L805 garLoopResultBuilder]: Registering result UNSAFE for location thr1Err2ASSERT_VIOLATIONMEMORY_LEAK (9 of 10 remaining) [2023-11-19 04:16:51,265 INFO L805 garLoopResultBuilder]: Registering result UNKNOWN for location thr1Err0ASSERT_VIOLATIONARRAY_INDEX (8 of 10 remaining) [2023-11-19 04:16:51,265 INFO L805 garLoopResultBuilder]: Registering result UNKNOWN for location thr1Err1ASSERT_VIOLATIONARRAY_INDEX (7 of 10 remaining) [2023-11-19 04:16:51,266 INFO L805 garLoopResultBuilder]: Registering result UNKNOWN for location thr1Err2ASSERT_VIOLATIONMEMORY_LEAK (6 of 10 remaining) [2023-11-19 04:16:51,266 INFO L805 garLoopResultBuilder]: Registering result UNKNOWN for location ULTIMATE.startErr0REQUIRES_VIOLATIONMEMORY_DEREFERENCE (5 of 10 remaining) [2023-11-19 04:16:51,266 INFO L805 garLoopResultBuilder]: Registering result UNKNOWN for location ULTIMATE.startErr1REQUIRES_VIOLATIONMEMORY_DEREFERENCE (4 of 10 remaining) [2023-11-19 04:16:51,267 INFO L805 garLoopResultBuilder]: Registering result UNKNOWN for location ULTIMATE.startErr2ASSERT_VIOLATIONMEMORY_LEAK (3 of 10 remaining) [2023-11-19 04:16:51,267 INFO L805 garLoopResultBuilder]: Registering result UNKNOWN for location ULTIMATE.startErr0INUSE_VIOLATIONSUFFICIENT_THREAD_INSTANCES (2 of 10 remaining) [2023-11-19 04:16:51,267 INFO L805 garLoopResultBuilder]: Registering result UNKNOWN for location thr1Err0ASSERT_VIOLATIONARRAY_INDEX (1 of 10 remaining) [2023-11-19 04:16:51,267 INFO L805 garLoopResultBuilder]: Registering result UNKNOWN for location thr1Err1ASSERT_VIOLATIONARRAY_INDEX (0 of 10 remaining) [2023-11-19 04:16:51,268 WARN L477 AbstractCegarLoop]: Destroyed unattended storables created during the last iteration: SelfDestructingSolverStorable3 [2023-11-19 04:16:51,270 INFO L445 BasicCegarLoop]: Path program histogram: [1, 1, 1, 1] [2023-11-19 04:16:51,277 INFO L228 ceAbstractionStarter]: Analysis of concurrent program completed with 1 thread instances [2023-11-19 04:16:51,277 INFO L178 ceAbstractionStarter]: Computing trace abstraction results [2023-11-19 04:16:51,298 WARN L1572 BoogieBacktranslator]: Unfinished Backtranslation: IdentifierExpression #t~pre10 could not be translated [2023-11-19 04:16:51,307 INFO L201 PluginConnector]: Adding new model de.uni_freiburg.informatik.ultimate.plugins.generator.traceabstraction CFG 19.11 04:16:51 BasicIcfg [2023-11-19 04:16:51,308 INFO L131 PluginConnector]: ------------------------ END TraceAbstraction---------------------------- [2023-11-19 04:16:51,308 INFO L112 PluginConnector]: ------------------------Witness Printer---------------------------- [2023-11-19 04:16:51,308 INFO L270 PluginConnector]: Initializing Witness Printer... [2023-11-19 04:16:51,309 INFO L274 PluginConnector]: Witness Printer initialized [2023-11-19 04:16:51,309 INFO L184 PluginConnector]: Executing the observer RCFGCatcher from plugin Witness Printer for "de.uni_freiburg.informatik.ultimate.plugins.generator.rcfgbuilder CFG 19.11 04:16:41" (3/4) ... [2023-11-19 04:16:51,311 INFO L140 WitnessPrinter]: No result that supports witness generation found [2023-11-19 04:16:51,313 INFO L131 PluginConnector]: ------------------------ END Witness Printer---------------------------- [2023-11-19 04:16:51,314 INFO L158 Benchmark]: Toolchain (without parser) took 11277.92ms. Allocated memory was 125.8MB in the beginning and 163.6MB in the end (delta: 37.7MB). Free memory was 79.4MB in the beginning and 61.5MB in the end (delta: 17.9MB). Peak memory consumption was 57.1MB. Max. memory is 16.1GB. [2023-11-19 04:16:51,314 INFO L158 Benchmark]: CDTParser took 0.26ms. Allocated memory is still 96.5MB. Free memory was 43.1MB in the beginning and 43.0MB in the end (delta: 117.5kB). There was no memory consumed. Max. memory is 16.1GB. [2023-11-19 04:16:51,314 INFO L158 Benchmark]: CACSL2BoogieTranslator took 521.32ms. Allocated memory is still 125.8MB. Free memory was 79.0MB in the beginning and 58.4MB in the end (delta: 20.6MB). Peak memory consumption was 21.0MB. Max. memory is 16.1GB. [2023-11-19 04:16:51,315 INFO L158 Benchmark]: Boogie Procedure Inliner took 50.18ms. Allocated memory is still 125.8MB. Free memory was 58.4MB in the beginning and 56.3MB in the end (delta: 2.1MB). Peak memory consumption was 2.1MB. Max. memory is 16.1GB. [2023-11-19 04:16:51,315 INFO L158 Benchmark]: Boogie Preprocessor took 33.66ms. Allocated memory is still 125.8MB. Free memory was 56.3MB in the beginning and 54.7MB in the end (delta: 1.6MB). There was no memory consumed. Max. memory is 16.1GB. [2023-11-19 04:16:51,316 INFO L158 Benchmark]: RCFGBuilder took 749.62ms. Allocated memory was 125.8MB in the beginning and 163.6MB in the end (delta: 37.7MB). Free memory was 54.6MB in the beginning and 120.8MB in the end (delta: -66.2MB). Peak memory consumption was 12.4MB. Max. memory is 16.1GB. [2023-11-19 04:16:51,316 INFO L158 Benchmark]: TraceAbstraction took 9908.47ms. Allocated memory is still 163.6MB. Free memory was 119.8MB in the beginning and 61.5MB in the end (delta: 58.4MB). Peak memory consumption was 59.4MB. Max. memory is 16.1GB. [2023-11-19 04:16:51,317 INFO L158 Benchmark]: Witness Printer took 4.61ms. Allocated memory is still 163.6MB. Free memory is still 61.5MB. There was no memory consumed. Max. memory is 16.1GB. [2023-11-19 04:16:51,319 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.26ms. Allocated memory is still 96.5MB. Free memory was 43.1MB in the beginning and 43.0MB in the end (delta: 117.5kB). There was no memory consumed. Max. memory is 16.1GB. * CACSL2BoogieTranslator took 521.32ms. Allocated memory is still 125.8MB. Free memory was 79.0MB in the beginning and 58.4MB in the end (delta: 20.6MB). Peak memory consumption was 21.0MB. Max. memory is 16.1GB. * Boogie Procedure Inliner took 50.18ms. Allocated memory is still 125.8MB. Free memory was 58.4MB in the beginning and 56.3MB in the end (delta: 2.1MB). Peak memory consumption was 2.1MB. Max. memory is 16.1GB. * Boogie Preprocessor took 33.66ms. Allocated memory is still 125.8MB. Free memory was 56.3MB in the beginning and 54.7MB in the end (delta: 1.6MB). There was no memory consumed. Max. memory is 16.1GB. * RCFGBuilder took 749.62ms. Allocated memory was 125.8MB in the beginning and 163.6MB in the end (delta: 37.7MB). Free memory was 54.6MB in the beginning and 120.8MB in the end (delta: -66.2MB). Peak memory consumption was 12.4MB. Max. memory is 16.1GB. * TraceAbstraction took 9908.47ms. Allocated memory is still 163.6MB. Free memory was 119.8MB in the beginning and 61.5MB in the end (delta: 58.4MB). Peak memory consumption was 59.4MB. Max. memory is 16.1GB. * Witness Printer took 4.61ms. Allocated memory is still 163.6MB. Free memory is still 61.5MB. There was no memory consumed. Max. memory is 16.1GB. * Results from de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator: - GenericResult: Unfinished Backtranslation Unfinished Backtranslation: IdentifierExpression #t~pre10 could not be translated - GenericResult: Unfinished Backtranslation The program execution was not completely translated back. * Results from de.uni_freiburg.informatik.ultimate.plugins.generator.traceabstraction: - StatisticsResult: PetriNetLargeBlockEncoding benchmarks Lipton Reduction Statistics: ReductionTime: 8.5s, 116 PlacesBefore, 17 PlacesAfterwards, 121 TransitionsBefore, 16 TransitionsAfterwards, 2774 CoEnabledTransitionPairs, 9 FixpointIterations, 27 TrivialSequentialCompositions, 86 ConcurrentSequentialCompositions, 0 TrivialYvCompositions, 15 ConcurrentYvCompositions, 6 ChoiceCompositions, 134 TotalNumberOfCompositions, 2464 MoverChecksTotal, Independence Relation Statistics: CachedIndependenceRelation.Independence Queries: [ total: 2464, independent: 2464, independent conditional: 0, independent unconditional: 2464, dependent: 0, dependent conditional: 0, dependent unconditional: 0, unknown: 0, unknown conditional: 0, unknown unconditional: 0] , CachedIndependenceRelation.Statistics on underlying relation: UnionIndependenceRelation.Independence Queries: [ total: 1727, independent: 1727, independent conditional: 0, independent unconditional: 1727, dependent: 0, dependent conditional: 0, dependent unconditional: 0, unknown: 0, unknown conditional: 0, unknown unconditional: 0] , UnionIndependenceRelation.Statistics on underlying relations: [ SyntacticIndependenceRelation.Independence Queries: [ total: 1727, independent: 1727, independent conditional: 0, independent unconditional: 1727, dependent: 0, dependent conditional: 0, dependent unconditional: 0, unknown: 0, unknown conditional: 0, unknown unconditional: 0] , SemanticIndependenceRelation.Independence Queries: [ total: 0, independent: 0, independent conditional: 0, independent unconditional: 0, dependent: 0, dependent conditional: 0, dependent unconditional: 0, unknown: 0, unknown conditional: 0, unknown unconditional: 0] , SemanticIndependenceRelation.Query Time [ms]: [ total: 0, independent: 0, independent conditional: 0, independent unconditional: 0, dependent: 0, dependent conditional: 0, dependent unconditional: 0, unknown: 0, unknown conditional: 0, unknown unconditional: 0] ], Cache Queries: [ total: 2464, independent: 737, independent conditional: 0, independent unconditional: 737, dependent: 0, dependent conditional: 0, dependent unconditional: 0, unknown: 1727, unknown conditional: 0, unknown unconditional: 1727] , Statistics on independence cache: Total cache size (in pairs): 7, Positive cache size: 7, Positive conditional cache size: 0, Positive unconditional cache size: 7, Negative cache size: 0, Negative conditional cache size: 0, Negative unconditional cache size: 0, Unknown cache size: 0, Unknown conditional cache size: 0, Unknown unconditional cache size: 0 - StatisticsResult: ErrorAutomatonStatistics NumberErrorTraces: 0, NumberStatementsAllTraces: 0, NumberRelevantStatements: 0, 0.0s ErrorAutomatonConstructionTimeTotal, 0.0s FaulLocalizationTime, NumberStatementsFirstTrace: -1, TraceLengthAvg: 0, 0.0s ErrorAutomatonConstructionTimeAvg, 0.0s ErrorAutomatonDifferenceTimeAvg, 0.0s ErrorAutomatonDifferenceTimeTotal, NumberOfNoEnhancement: 0, NumberOfFiniteEnhancement: 0, NumberOfInfiniteEnhancement: 0 - UnprovableResult [Line: 13]: Unable to prove that all allocated memory was freed Unable to prove that all allocated memory was freed Reason: overapproximation of memtrack at line 13. Possible FailurePath: [L688] 0 int memory[(2*960+1)]; [L689] 0 int next_alloc_idx = 1; [L690] 0 pthread_mutex_t m = { { 0, 0, 0, PTHREAD_MUTEX_TIMED_NP, 0, { { 0, 0 } } } }; [L691] 0 int top; [L746] 0 pthread_mutex_t m2 = { { 0, 0, 0, PTHREAD_MUTEX_TIMED_NP, 0, { { 0, 0 } } } }; [L747] 0 int state = 0; [L765] 0 pthread_t t; VAL [m2={4:0}, m={3:0}, next_alloc_idx=1, state=0, t={5:0}, top=0] [L766] COND TRUE 0 1 [L766] FCALL, FORK 0 pthread_create(&t, 0, thr1, 0) VAL [m2={4:0}, m={3:0}, next_alloc_idx=1, state=0, t={5:0}, top=0] [L753] 1 case 0: [L754] CALL 1 EBStack_init() [L706] 1 top = 0 [L754] RET 1 EBStack_init() [L755] 1 state = 1 [L756] 1 case 1: [L758] CALL 1 push_loop() [L739] 1 int r = -1; [L740] 1 int arg = __VERIFIER_nondet_int(); [L741] COND TRUE 1 1 [L742] CALL, EXPR 1 push(arg) [L715] 1 int oldTop = -1, newTop = -1; [L716] CALL, EXPR 1 index_malloc() [L693] 1 int curr_alloc_idx = -1; [L695] COND FALSE 1 !(next_alloc_idx+2-1 > (2*960+1)) [L699] 1 curr_alloc_idx = next_alloc_idx [L700] 1 next_alloc_idx += 2 [L703] 1 return curr_alloc_idx; [L716] RET, EXPR 1 index_malloc() [L716] 1 newTop = index_malloc() [L717] COND FALSE 1 !(newTop == 0) [L720] EXPR 1 memory[newTop+0] [L720] 1 memory[newTop+0] = d [L722] 1 oldTop = top [L723] EXPR 1 memory[newTop+1] [L723] 1 memory[newTop+1] = oldTop [L725] 1 top = newTop [L728] 1 return 1; [L742] RET, EXPR 1 push(arg) [L742] 1 r = push(arg) [L743] CALL 1 __VERIFIER_atomic_assert(r) [L736] EXPR 1 !r || !isEmpty() [L736] CALL, EXPR 1 isEmpty() [L709] COND FALSE 1 !(top == 0) [L712] 1 return 0; [L736] RET, EXPR 1 isEmpty() [L736] EXPR 1 !r || !isEmpty() [L736] COND TRUE 1 !(!(!r || !isEmpty())) [L736] CALL 1 reach_error() [L13] COND FALSE 1 !(0) [L13] 1 __assert_fail ("0", "25_stack_longest-2-pthread.c", 4, __extension__ __PRETTY_FUNCTION__) VAL [m2={4:0}, m={3:0}, next_alloc_idx=3, state=1, top=1] - UnprovableResult [Line: 720]: Unable to prove that array index is always in bounds Unable to prove that array index is always in bounds Reason: Not analyzed. - UnprovableResult [Line: 723]: Unable to prove that array index is always in bounds Unable to prove that array index is always in bounds Reason: Not analyzed. - UnprovableResult [Line: -1]: Unable to prove that pointer dereference always succeeds Unable to prove that pointer dereference always succeeds Reason: Not analyzed. - UnprovableResult [Line: -1]: Unable to prove that pointer dereference always succeeds Unable to prove that pointer dereference always succeeds Reason: Not analyzed. - UnprovableResult [Line: 763]: Unable to prove that all allocated memory was freed Unable to prove that all allocated memory was freed Reason: Not analyzed. - UnprovableResult [Line: 766]: Unable to prove that petrification did provide enough thread instances (tool internal message) Unable to prove that petrification did provide enough thread instances (tool internal message) Reason: Not analyzed. - StatisticsResult: Ultimate Automizer benchmark data with 1 thread instances CFG has 3 procedures, 181 locations, 10 error locations. Started 1 CEGAR loops. OverallTime: 9.7s, OverallIterations: 4, TraceHistogramMax: 1, PathProgramHistogramMax: 1, EmptinessCheckTime: 0.0s, AutomataDifference: 0.2s, DeadEndRemovalTime: 0.0s, HoareAnnotationTime: 0.0s, InitialAbstractionConstructionTime: 8.6s, HoareTripleCheckerStatistics: 0 mSolverCounterUnknown, 19 SdHoareTripleChecker+Valid, 0.1s IncrementalHoareTripleChecker+Time, 0 mSdLazyCounter, 19 mSDsluCounter, 3 SdHoareTripleChecker+Invalid, 0.1s Time, 0 mProtectedAction, 0 SdHoareTripleChecker+Unchecked, 0 IncrementalHoareTripleChecker+Unchecked, 0 mSDsCounter, 0 IncrementalHoareTripleChecker+Valid, 0 mProtectedPredicate, 30 IncrementalHoareTripleChecker+Invalid, 30 SdHoareTripleChecker+Unknown, 0 mSolverCounterNotChecked, 0 mSolverCounterUnsat, 3 mSDtfsCounter, 30 mSolverCounterSat, 0.0s SdHoareTripleChecker+Time, 0 IncrementalHoareTripleChecker+Unknown, PredicateUnifierStatistics: 0 DeclaredPredicates, 3 GetRequests, 1 SyntacticMatches, 0 SemanticMatches, 2 ConstructedPredicates, 0 IntricatePredicates, 0 DeprecatedPredicates, 0 ImplicationChecksByTransitivity, 0.0s Time, 0.0s BasicInterpolantAutomatonTime, BiggestAbstraction: size=53occurred in iteration=0, InterpolantAutomatonStates: 8, traceCheckStatistics: No data available, InterpolantConsolidationStatistics: No data available, PathInvariantsStatistics: No data available, 0/0 InterpolantCoveringCapability, TotalInterpolationStatistics: No data available, 0.0s DumpTime, AutomataMinimizationStatistics: 0.1s AutomataMinimizationTime, 3 MinimizatonAttempts, 0 StatesRemovedByMinimization, 0 NontrivialMinimizations, HoareAnnotationStatistics: No data available, RefinementEngineStatistics: TRACE_CHECK: 0.0s SsaConstructionTime, 0.1s SatisfiabilityAnalysisTime, 0.4s InterpolantComputationTime, 11 NumberOfCodeBlocks, 11 NumberOfCodeBlocksAsserted, 4 NumberOfCheckSat, 3 ConstructedInterpolants, 0 QuantifiedInterpolants, 15 SizeOfPredicates, 0 NumberOfNonLiveVariables, 0 ConjunctsInSsa, 0 ConjunctsInUnsatCore, 3 InterpolantComputations, 3 PerfectInterpolantSequences, 0/0 InterpolantCoveringCapability, INVARIANT_SYNTHESIS: No data available, INTERPOLANT_CONSOLIDATION: No data available, ABSTRACT_INTERPRETATION: No data available, PDR: No data available, ACCELERATED_INTERPOLATION: No data available, SIFA: No data available, ReuseStatistics: No data available RESULT: Ultimate could not prove your program: unable to determine feasibility of some traces [2023-11-19 04:16:51,342 INFO L540 MonitoredProcess]: [MP /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_07e237cd-d0e5-441f-b643-6e98eda9b3d7/bin/utaipan-verify-t7M7D8N6sZ/z3 SMTLIB2_COMPLIANT=true -memory:2024 -smt2 -in -t:2000 (1)] Forceful destruction successful, exit code 0 Received shutdown request... --- End real Ultimate output --- Execution finished normally Using bit-precise analysis Retrying with bit-precise analysis ### Bit-precise run ### 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_07e237cd-d0e5-441f-b643-6e98eda9b3d7/bin/utaipan-verify-t7M7D8N6sZ/data/config -Xmx15G -Xms4m -jar /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_07e237cd-d0e5-441f-b643-6e98eda9b3d7/bin/utaipan-verify-t7M7D8N6sZ/plugins/org.eclipse.equinox.launcher_1.5.800.v20200727-1323.jar -data @noDefault -ultimatedata /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_07e237cd-d0e5-441f-b643-6e98eda9b3d7/bin/utaipan-verify-t7M7D8N6sZ/data -tc /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_07e237cd-d0e5-441f-b643-6e98eda9b3d7/bin/utaipan-verify-t7M7D8N6sZ/config/TaipanMemDerefMemtrack.xml -i ../../sv-benchmarks/c/pthread-ext/25_stack_longest-2-pthread.i -s /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_07e237cd-d0e5-441f-b643-6e98eda9b3d7/bin/utaipan-verify-t7M7D8N6sZ/config/svcomp-DerefFreeMemtrack-32bit-Taipan_Bitvector.epf --cacsl2boogietranslator.entry.function main --witnessprinter.witness.directory /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_07e237cd-d0e5-441f-b643-6e98eda9b3d7/bin/utaipan-verify-t7M7D8N6sZ --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 Taipan --witnessprinter.graph.data.architecture 32bit --witnessprinter.graph.data.programhash 6bed9188bb7b7687ebd02ffac8f3cae5646a3288850778355d808dde868a6cf7 --- Real Ultimate output --- This is Ultimate 0.2.3-dev-9bd2c7f [2023-11-19 04:16:54,340 INFO L188 SettingsManager]: Resetting all preferences to default values... [2023-11-19 04:16:54,450 INFO L114 SettingsManager]: Loading settings from /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_07e237cd-d0e5-441f-b643-6e98eda9b3d7/bin/utaipan-verify-t7M7D8N6sZ/config/svcomp-DerefFreeMemtrack-32bit-Taipan_Bitvector.epf [2023-11-19 04:16:54,458 WARN L101 SettingsManager]: Preference file contains the following unknown settings: [2023-11-19 04:16:54,459 WARN L103 SettingsManager]: * de.uni_freiburg.informatik.ultimate.core.Log level for class [2023-11-19 04:16:54,496 INFO L130 SettingsManager]: Preferences different from defaults after loading the file: [2023-11-19 04:16:54,497 INFO L151 SettingsManager]: Preferences of UltimateCore differ from their defaults: [2023-11-19 04:16:54,498 INFO L153 SettingsManager]: * Log level for class=de.uni_freiburg.informatik.ultimate.lib.smtlibutils.quantifier.QuantifierPusher=ERROR; [2023-11-19 04:16:54,499 INFO L151 SettingsManager]: Preferences of Boogie Procedure Inliner differ from their defaults: [2023-11-19 04:16:54,500 INFO L153 SettingsManager]: * Ignore calls to procedures called more than once=ONLY_FOR_SEQUENTIAL_PROGRAMS [2023-11-19 04:16:54,500 INFO L153 SettingsManager]: * User list type=DISABLED [2023-11-19 04:16:54,501 INFO L151 SettingsManager]: Preferences of Abstract Interpretation differ from their defaults: [2023-11-19 04:16:54,502 INFO L153 SettingsManager]: * Explicit value domain=true [2023-11-19 04:16:54,503 INFO L153 SettingsManager]: * Octagon Domain=false [2023-11-19 04:16:54,504 INFO L153 SettingsManager]: * Abstract domain=CompoundDomain [2023-11-19 04:16:54,504 INFO L153 SettingsManager]: * Interval Domain=false [2023-11-19 04:16:54,506 INFO L151 SettingsManager]: Preferences of BlockEncodingV2 differ from their defaults: [2023-11-19 04:16:54,506 INFO L153 SettingsManager]: * Create parallel compositions if possible=false [2023-11-19 04:16:54,507 INFO L151 SettingsManager]: Preferences of CACSL2BoogieTranslator differ from their defaults: [2023-11-19 04:16:54,508 INFO L153 SettingsManager]: * sizeof long=4 [2023-11-19 04:16:54,508 INFO L153 SettingsManager]: * Overapproximate operations on floating types=true [2023-11-19 04:16:54,509 INFO L153 SettingsManager]: * sizeof POINTER=4 [2023-11-19 04:16:54,510 INFO L153 SettingsManager]: * Check division by zero=IGNORE [2023-11-19 04:16:54,510 INFO L153 SettingsManager]: * Check for the main procedure if all allocated memory was freed=true [2023-11-19 04:16:54,511 INFO L153 SettingsManager]: * Bitprecise bitfields=true [2023-11-19 04:16:54,512 INFO L153 SettingsManager]: * SV-COMP memtrack compatibility mode=true [2023-11-19 04:16:54,512 INFO L153 SettingsManager]: * If two pointers are subtracted or compared they have the same base address=IGNORE [2023-11-19 04:16:54,513 INFO L153 SettingsManager]: * Adapt memory model on pointer casts if necessary=true [2023-11-19 04:16:54,513 INFO L153 SettingsManager]: * Use bitvectors instead of ints=true [2023-11-19 04:16:54,514 INFO L153 SettingsManager]: * Memory model=HoenickeLindenmann_4ByteResolution [2023-11-19 04:16:54,515 INFO L153 SettingsManager]: * Check unreachability of reach_error function=false [2023-11-19 04:16:54,515 INFO L153 SettingsManager]: * sizeof long double=12 [2023-11-19 04:16:54,516 INFO L153 SettingsManager]: * Use constant arrays=true [2023-11-19 04:16:54,516 INFO L151 SettingsManager]: Preferences of RCFGBuilder differ from their defaults: [2023-11-19 04:16:54,517 INFO L153 SettingsManager]: * Size of a code block=SequenceOfStatements [2023-11-19 04:16:54,518 INFO L153 SettingsManager]: * SMT solver=External_DefaultMode [2023-11-19 04:16:54,518 INFO L153 SettingsManager]: * Command for external solver=z3 SMTLIB2_COMPLIANT=true -memory:2024 -smt2 -in -t:2000 [2023-11-19 04:16:54,519 INFO L151 SettingsManager]: Preferences of TraceAbstraction differ from their defaults: [2023-11-19 04:16:54,519 INFO L153 SettingsManager]: * Compute Interpolants along a Counterexample=FPandBP [2023-11-19 04:16:54,520 INFO L153 SettingsManager]: * Trace refinement strategy=WALRUS [2023-11-19 04:16:54,520 INFO L153 SettingsManager]: * Command for external solver=cvc4 --incremental --print-success --lang smt [2023-11-19 04:16:54,520 INFO L153 SettingsManager]: * Trace refinement exception blacklist=NONE [2023-11-19 04:16:54,521 INFO L153 SettingsManager]: * SMT solver=External_ModelsAndUnsatCoreMode [2023-11-19 04:16:54,521 INFO L153 SettingsManager]: * Logic for external solver=AUFBV 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_07e237cd-d0e5-441f-b643-6e98eda9b3d7/bin/utaipan-verify-t7M7D8N6sZ/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_07e237cd-d0e5-441f-b643-6e98eda9b3d7/bin/utaipan-verify-t7M7D8N6sZ 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 -> Taipan 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 -> 6bed9188bb7b7687ebd02ffac8f3cae5646a3288850778355d808dde868a6cf7 [2023-11-19 04:16:55,017 INFO L75 nceAwareModelManager]: Repository-Root is: /tmp [2023-11-19 04:16:55,055 INFO L261 ainManager$Toolchain]: [Toolchain 1]: Applicable parser(s) successfully (re)initialized [2023-11-19 04:16:55,058 INFO L217 ainManager$Toolchain]: [Toolchain 1]: Toolchain selected. [2023-11-19 04:16:55,059 INFO L270 PluginConnector]: Initializing CDTParser... [2023-11-19 04:16:55,060 INFO L274 PluginConnector]: CDTParser initialized [2023-11-19 04:16:55,061 INFO L431 ainManager$Toolchain]: [Toolchain 1]: Parsing single file: /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_07e237cd-d0e5-441f-b643-6e98eda9b3d7/bin/utaipan-verify-t7M7D8N6sZ/../../sv-benchmarks/c/pthread-ext/25_stack_longest-2-pthread.i [2023-11-19 04:16:58,289 INFO L533 CDTParser]: Created temporary CDT project at NULL [2023-11-19 04:16:58,622 INFO L384 CDTParser]: Found 1 translation units. [2023-11-19 04:16:58,623 INFO L180 CDTParser]: Scanning /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_07e237cd-d0e5-441f-b643-6e98eda9b3d7/sv-benchmarks/c/pthread-ext/25_stack_longest-2-pthread.i [2023-11-19 04:16:58,659 INFO L427 CDTParser]: About to delete temporary CDT project at /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_07e237cd-d0e5-441f-b643-6e98eda9b3d7/bin/utaipan-verify-t7M7D8N6sZ/data/1b50e14ac/e0e0bbe7083a413db2862d48c5dc57e8/FLAG4c43166e5 [2023-11-19 04:16:58,683 INFO L435 CDTParser]: Successfully deleted /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_07e237cd-d0e5-441f-b643-6e98eda9b3d7/bin/utaipan-verify-t7M7D8N6sZ/data/1b50e14ac/e0e0bbe7083a413db2862d48c5dc57e8 [2023-11-19 04:16:58,689 INFO L299 ainManager$Toolchain]: ####################### [Toolchain 1] ####################### [2023-11-19 04:16:58,692 INFO L133 ToolchainWalker]: Walking toolchain with 6 elements. [2023-11-19 04:16:58,696 INFO L112 PluginConnector]: ------------------------CACSL2BoogieTranslator---------------------------- [2023-11-19 04:16:58,696 INFO L270 PluginConnector]: Initializing CACSL2BoogieTranslator... [2023-11-19 04:16:58,702 INFO L274 PluginConnector]: CACSL2BoogieTranslator initialized [2023-11-19 04:16:58,705 INFO L184 PluginConnector]: Executing the observer ACSLObjectContainerObserver from plugin CACSL2BoogieTranslator for "CDTParser AST 19.11 04:16:58" (1/1) ... [2023-11-19 04:16:58,706 INFO L204 PluginConnector]: Invalid model from CACSL2BoogieTranslator for observer de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator.ACSLObjectContainerObserver@3908ceea and model type de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 19.11 04:16:58, skipping insertion in model container [2023-11-19 04:16:58,707 INFO L184 PluginConnector]: Executing the observer CACSL2BoogieTranslatorObserver from plugin CACSL2BoogieTranslator for "CDTParser AST 19.11 04:16:58" (1/1) ... [2023-11-19 04:16:58,777 INFO L177 MainTranslator]: Built tables and reachable declarations [2023-11-19 04:16:59,253 INFO L209 PostProcessor]: Analyzing one entry point: main [2023-11-19 04:16:59,276 INFO L202 MainTranslator]: Completed pre-run [2023-11-19 04:16:59,344 INFO L209 PostProcessor]: Analyzing one entry point: main [2023-11-19 04:16:59,387 WARN L675 CHandler]: The function __VERIFIER_atomic_begin is called, but not defined or handled by StandardFunctionHandler. [2023-11-19 04:16:59,388 WARN L675 CHandler]: The function __VERIFIER_atomic_end is called, but not defined or handled by StandardFunctionHandler. [2023-11-19 04:16:59,396 INFO L206 MainTranslator]: Completed translation [2023-11-19 04:16:59,397 INFO L201 PluginConnector]: Adding new model de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 19.11 04:16:59 WrapperNode [2023-11-19 04:16:59,397 INFO L131 PluginConnector]: ------------------------ END CACSL2BoogieTranslator---------------------------- [2023-11-19 04:16:59,398 INFO L112 PluginConnector]: ------------------------Boogie Procedure Inliner---------------------------- [2023-11-19 04:16:59,398 INFO L270 PluginConnector]: Initializing Boogie Procedure Inliner... [2023-11-19 04:16:59,398 INFO L274 PluginConnector]: Boogie Procedure Inliner initialized [2023-11-19 04:16:59,406 INFO L184 PluginConnector]: Executing the observer TypeChecker from plugin Boogie Procedure Inliner for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 19.11 04:16:59" (1/1) ... [2023-11-19 04:16:59,434 INFO L184 PluginConnector]: Executing the observer Inliner from plugin Boogie Procedure Inliner for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 19.11 04:16:59" (1/1) ... [2023-11-19 04:16:59,472 INFO L138 Inliner]: procedures = 175, calls = 35, calls flagged for inlining = 10, calls inlined = 9, statements flattened = 124 [2023-11-19 04:16:59,473 INFO L131 PluginConnector]: ------------------------ END Boogie Procedure Inliner---------------------------- [2023-11-19 04:16:59,475 INFO L112 PluginConnector]: ------------------------Boogie Preprocessor---------------------------- [2023-11-19 04:16:59,476 INFO L270 PluginConnector]: Initializing Boogie Preprocessor... [2023-11-19 04:16:59,476 INFO L274 PluginConnector]: Boogie Preprocessor initialized [2023-11-19 04:16:59,488 INFO L184 PluginConnector]: Executing the observer EnsureBoogieModelObserver from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 19.11 04:16:59" (1/1) ... [2023-11-19 04:16:59,489 INFO L184 PluginConnector]: Executing the observer TypeChecker from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 19.11 04:16:59" (1/1) ... [2023-11-19 04:16:59,513 INFO L184 PluginConnector]: Executing the observer ConstExpander from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 19.11 04:16:59" (1/1) ... [2023-11-19 04:16:59,513 INFO L184 PluginConnector]: Executing the observer StructExpander from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 19.11 04:16:59" (1/1) ... [2023-11-19 04:16:59,522 INFO L184 PluginConnector]: Executing the observer UnstructureCode from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 19.11 04:16:59" (1/1) ... [2023-11-19 04:16:59,540 INFO L184 PluginConnector]: Executing the observer FunctionInliner from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 19.11 04:16:59" (1/1) ... [2023-11-19 04:16:59,543 INFO L184 PluginConnector]: Executing the observer LTLStepAnnotator from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 19.11 04:16:59" (1/1) ... [2023-11-19 04:16:59,545 INFO L184 PluginConnector]: Executing the observer BoogieSymbolTableConstructor from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 19.11 04:16:59" (1/1) ... [2023-11-19 04:16:59,561 INFO L131 PluginConnector]: ------------------------ END Boogie Preprocessor---------------------------- [2023-11-19 04:16:59,562 INFO L112 PluginConnector]: ------------------------RCFGBuilder---------------------------- [2023-11-19 04:16:59,562 INFO L270 PluginConnector]: Initializing RCFGBuilder... [2023-11-19 04:16:59,562 INFO L274 PluginConnector]: RCFGBuilder initialized [2023-11-19 04:16:59,563 INFO L184 PluginConnector]: Executing the observer RCFGBuilderObserver from plugin RCFGBuilder for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 19.11 04:16:59" (1/1) ... [2023-11-19 04:16:59,584 INFO L173 SolverBuilder]: Constructing external solver with command: z3 SMTLIB2_COMPLIANT=true -memory:2024 -smt2 -in -t:2000 [2023-11-19 04:16:59,600 INFO L189 MonitoredProcess]: No working directory specified, using /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_07e237cd-d0e5-441f-b643-6e98eda9b3d7/bin/utaipan-verify-t7M7D8N6sZ/z3 [2023-11-19 04:16:59,624 INFO L229 MonitoredProcess]: Starting monitored process 1 with /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_07e237cd-d0e5-441f-b643-6e98eda9b3d7/bin/utaipan-verify-t7M7D8N6sZ/z3 SMTLIB2_COMPLIANT=true -memory:2024 -smt2 -in -t:2000 (exit command is (exit), workingDir is null) [2023-11-19 04:16:59,660 INFO L327 MonitoredProcess]: [MP /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_07e237cd-d0e5-441f-b643-6e98eda9b3d7/bin/utaipan-verify-t7M7D8N6sZ/z3 SMTLIB2_COMPLIANT=true -memory:2024 -smt2 -in -t:2000 (1)] Waiting until timeout for monitored process [2023-11-19 04:16:59,670 INFO L130 BoogieDeclarations]: Found specification of procedure thr1 [2023-11-19 04:16:59,670 INFO L138 BoogieDeclarations]: Found implementation of procedure thr1 [2023-11-19 04:16:59,671 INFO L130 BoogieDeclarations]: Found specification of procedure #PthreadsMutexLock [2023-11-19 04:16:59,671 INFO L130 BoogieDeclarations]: Found specification of procedure __VERIFIER_atomic_begin [2023-11-19 04:16:59,671 INFO L130 BoogieDeclarations]: Found specification of procedure #Ultimate.allocInit [2023-11-19 04:16:59,671 INFO L130 BoogieDeclarations]: Found specification of procedure #Ultimate.allocOnStack [2023-11-19 04:16:59,671 INFO L130 BoogieDeclarations]: Found specification of procedure ULTIMATE.dealloc [2023-11-19 04:16:59,672 INFO L130 BoogieDeclarations]: Found specification of procedure write~intINTTYPE4 [2023-11-19 04:16:59,672 INFO L130 BoogieDeclarations]: Found specification of procedure write~init~intINTTYPE1 [2023-11-19 04:16:59,673 INFO L130 BoogieDeclarations]: Found specification of procedure write~init~intINTTYPE4 [2023-11-19 04:16:59,674 INFO L130 BoogieDeclarations]: Found specification of procedure __VERIFIER_atomic_end [2023-11-19 04:16:59,674 INFO L130 BoogieDeclarations]: Found specification of procedure ULTIMATE.start [2023-11-19 04:16:59,674 INFO L138 BoogieDeclarations]: Found implementation of procedure ULTIMATE.start [2023-11-19 04:16:59,676 WARN L210 CfgBuilder]: User set CodeBlockSize to SequenceOfStatements but program contains fork statements. Overwriting the user preferences and setting CodeBlockSize to OneNontrivialStatement [2023-11-19 04:16:59,848 INFO L236 CfgBuilder]: Building ICFG [2023-11-19 04:16:59,851 INFO L262 CfgBuilder]: Building CFG for each procedure with an implementation [2023-11-19 04:17:00,209 INFO L277 CfgBuilder]: Performing block encoding [2023-11-19 04:17:00,338 INFO L297 CfgBuilder]: Using the 1 location(s) as analysis (start of procedure ULTIMATE.start) [2023-11-19 04:17:00,340 INFO L302 CfgBuilder]: Removed 2 assume(true) statements. [2023-11-19 04:17:00,346 INFO L201 PluginConnector]: Adding new model de.uni_freiburg.informatik.ultimate.plugins.generator.rcfgbuilder CFG 19.11 04:17:00 BoogieIcfgContainer [2023-11-19 04:17:00,347 INFO L131 PluginConnector]: ------------------------ END RCFGBuilder---------------------------- [2023-11-19 04:17:00,351 INFO L112 PluginConnector]: ------------------------TraceAbstraction---------------------------- [2023-11-19 04:17:00,351 INFO L270 PluginConnector]: Initializing TraceAbstraction... [2023-11-19 04:17:00,354 INFO L274 PluginConnector]: TraceAbstraction initialized [2023-11-19 04:17:00,355 INFO L184 PluginConnector]: Executing the observer TraceAbstractionObserver from plugin TraceAbstraction for "CDTParser AST 19.11 04:16:58" (1/3) ... [2023-11-19 04:17:00,355 INFO L204 PluginConnector]: Invalid model from TraceAbstraction for observer de.uni_freiburg.informatik.ultimate.plugins.generator.traceabstraction.TraceAbstractionObserver@15442fe2 and model type de.uni_freiburg.informatik.ultimate.plugins.generator.traceabstraction AST 19.11 04:17:00, skipping insertion in model container [2023-11-19 04:17:00,356 INFO L184 PluginConnector]: Executing the observer TraceAbstractionObserver from plugin TraceAbstraction for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 19.11 04:16:59" (2/3) ... [2023-11-19 04:17:00,358 INFO L204 PluginConnector]: Invalid model from TraceAbstraction for observer de.uni_freiburg.informatik.ultimate.plugins.generator.traceabstraction.TraceAbstractionObserver@15442fe2 and model type de.uni_freiburg.informatik.ultimate.plugins.generator.traceabstraction AST 19.11 04:17:00, skipping insertion in model container [2023-11-19 04:17:00,358 INFO L184 PluginConnector]: Executing the observer TraceAbstractionObserver from plugin TraceAbstraction for "de.uni_freiburg.informatik.ultimate.plugins.generator.rcfgbuilder CFG 19.11 04:17:00" (3/3) ... [2023-11-19 04:17:00,360 INFO L112 eAbstractionObserver]: Analyzing ICFG 25_stack_longest-2-pthread.i [2023-11-19 04:17:00,388 INFO L203 ceAbstractionStarter]: Automizer settings: Hoare:false NWA Interpolation:FPandBP Determinization: PREDICATE_ABSTRACTION [2023-11-19 04:17:00,389 INFO L162 ceAbstractionStarter]: Applying trace abstraction to program that has 6 error locations. [2023-11-19 04:17:00,389 INFO L514 ceAbstractionStarter]: Constructing petrified ICFG for 1 thread instances. [2023-11-19 04:17:00,513 INFO L144 ThreadInstanceAdder]: Constructed 0 joinOtherThreadTransitions. [2023-11-19 04:17:00,560 INFO L115 etLargeBlockEncoding]: Petri net LBE is using semantic-based independence relation. [2023-11-19 04:17:00,584 INFO L131 etLargeBlockEncoding]: Starting large block encoding on Petri net that has 114 places, 119 transitions, 242 flow [2023-11-19 04:17:00,589 INFO L113 LiptonReduction]: Starting Lipton reduction on Petri net that has 114 places, 119 transitions, 242 flow [2023-11-19 04:17:00,591 INFO L73 FinitePrefix]: Start finitePrefix. Operand has 114 places, 119 transitions, 242 flow [2023-11-19 04:17:00,700 INFO L124 PetriNetUnfolderBase]: 9/135 cut-off events. [2023-11-19 04:17:00,701 INFO L125 PetriNetUnfolderBase]: For 0/0 co-relation queries the response was YES. [2023-11-19 04:17:00,709 INFO L83 FinitePrefix]: Finished finitePrefix Result has 139 conditions, 135 events. 9/135 cut-off events. For 0/0 co-relation queries the response was YES. Maximal size of possible extension queue 7. Compared 171 event pairs, 0 based on Foata normal form. 0/115 useless extension candidates. Maximal degree in co-relation 88. Up to 4 conditions per place. [2023-11-19 04:17:00,714 INFO L119 LiptonReduction]: Number of co-enabled transitions 2660 [2023-11-19 04:17:17,959 INFO L134 LiptonReduction]: Checked pairs total: 2313 [2023-11-19 04:17:17,960 INFO L136 LiptonReduction]: Total number of compositions: 130 [2023-11-19 04:17:17,968 INFO L113 iNet2FiniteAutomaton]: Start petriNet2FiniteAutomaton. Operand has 17 places, 16 transitions, 36 flow [2023-11-19 04:17:17,983 INFO L135 iNet2FiniteAutomaton]: Finished petriNet2FiniteAutomaton. Result has 53 states, 31 states have (on average 3.2580645161290325) internal successors, (101), 52 states have internal predecessors, (101), 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-19 04:17:18,001 INFO L356 AbstractCegarLoop]: ======== Iteration 0 == of CEGAR loop == AllErrorsAtOnce ======== [2023-11-19 04:17:18,008 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=FINITE_AUTOMATA, 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;@65df122b, mLbeIndependenceSettings=[IndependenceType=SEMANTIC, AbstractionType=NONE, UseConditional=false, UseSemiCommutativity=true, Solver=Z3, SolverTimeout=1000ms] [2023-11-19 04:17:18,008 INFO L358 AbstractCegarLoop]: Starting to check reachability of 10 error locations. [2023-11-19 04:17:18,011 INFO L276 IsEmpty]: Start isEmpty. Operand has 53 states, 31 states have (on average 3.2580645161290325) internal successors, (101), 52 states have internal predecessors, (101), 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-19 04:17:18,015 INFO L282 IsEmpty]: Finished isEmpty. Found accepting run of length 3 [2023-11-19 04:17:18,016 INFO L187 NwaCegarLoop]: Found error trace [2023-11-19 04:17:18,016 INFO L195 NwaCegarLoop]: trace histogram [1, 1] [2023-11-19 04:17:18,017 INFO L420 AbstractCegarLoop]: === Iteration 1 === Targeting ULTIMATE.startErr2ASSERT_VIOLATIONMEMORY_LEAK === [thr1Err0ASSERT_VIOLATIONARRAY_INDEX, thr1Err1ASSERT_VIOLATIONARRAY_INDEX, thr1Err2ASSERT_VIOLATIONMEMORY_LEAK, ULTIMATE.startErr0REQUIRES_VIOLATIONMEMORY_DEREFERENCE (and 6 more)] === [2023-11-19 04:17:18,022 INFO L160 PredicateUnifier]: Initialized classic predicate unifier [2023-11-19 04:17:18,022 INFO L85 PathProgramCache]: Analyzing trace with hash 18300, now seen corresponding path program 1 times [2023-11-19 04:17:18,036 INFO L118 FreeRefinementEngine]: Executing refinement strategy WALRUS [2023-11-19 04:17:18,036 INFO L334 FreeRefinementEngine]: Using trace check IpTcStrategyModuleMathsat [1211152995] [2023-11-19 04:17:18,037 INFO L95 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2023-11-19 04:17:18,037 INFO L173 SolverBuilder]: Constructing external solver with command: mathsat -theory.fp.to_bv_overflow_mode=1 -theory.fp.minmax_zero_mode=4 -theory.bv.div_by_zero_mode=1 -unsat_core_generation=3 [2023-11-19 04:17:18,037 INFO L189 MonitoredProcess]: No working directory specified, using /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_07e237cd-d0e5-441f-b643-6e98eda9b3d7/bin/utaipan-verify-t7M7D8N6sZ/mathsat [2023-11-19 04:17:18,044 INFO L229 MonitoredProcess]: Starting monitored process 2 with /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_07e237cd-d0e5-441f-b643-6e98eda9b3d7/bin/utaipan-verify-t7M7D8N6sZ/mathsat -theory.fp.to_bv_overflow_mode=1 -theory.fp.minmax_zero_mode=4 -theory.bv.div_by_zero_mode=1 -unsat_core_generation=3 (exit command is (exit), workingDir is null) [2023-11-19 04:17:18,080 INFO L327 MonitoredProcess]: [MP /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_07e237cd-d0e5-441f-b643-6e98eda9b3d7/bin/utaipan-verify-t7M7D8N6sZ/mathsat -theory.fp.to_bv_overflow_mode=1 -theory.fp.minmax_zero_mode=4 -theory.bv.div_by_zero_mode=1 -unsat_core_generation=3 (2)] Waiting until timeout for monitored process [2023-11-19 04:17:18,170 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2023-11-19 04:17:18,185 INFO L262 TraceCheckSpWp]: Trace formula consists of 42 conjuncts, 1 conjunts are in the unsatisfiable core [2023-11-19 04:17:18,190 INFO L285 TraceCheckSpWp]: Computing forward predicates... [2023-11-19 04:17:18,209 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-19 04:17:18,210 INFO L323 TraceCheckSpWp]: Omiting computation of backward sequence because forward sequence was already perfect [2023-11-19 04:17:18,210 INFO L136 FreeRefinementEngine]: Strategy WALRUS found an infeasible trace [2023-11-19 04:17:18,211 INFO L334 FreeRefinementEngine]: Using interpolant generator IpTcStrategyModuleMathsat [1211152995] [2023-11-19 04:17:18,212 INFO L158 FreeRefinementEngine]: IpTcStrategyModuleMathsat [1211152995] provided 1 perfect and 0 imperfect interpolant sequences [2023-11-19 04:17:18,212 INFO L185 FreeRefinementEngine]: Found 1 perfect and 0 imperfect interpolant sequences. [2023-11-19 04:17:18,212 INFO L198 FreeRefinementEngine]: Number of different interpolants: perfect sequences [1] imperfect sequences [] total 1 [2023-11-19 04:17:18,214 INFO L121 tionRefinementEngine]: Using interpolant automaton builder IpAbStrategyModuleStraightlineAll [1565909727] [2023-11-19 04:17:18,215 INFO L85 oduleStraightlineAll]: Using 1 perfect interpolants to construct interpolant automaton [2023-11-19 04:17:18,219 INFO L571 AbstractCegarLoop]: INTERPOLANT automaton has 2 states [2023-11-19 04:17:18,220 INFO L100 FreeRefinementEngine]: Using predicate unifier PredicateUnifier provided by strategy WALRUS [2023-11-19 04:17:18,244 INFO L143 InterpolantAutomaton]: Constructing interpolant automaton starting with 2 interpolants. [2023-11-19 04:17:18,245 INFO L145 InterpolantAutomaton]: CoverageRelationStatistics Valid=1, Invalid=1, Unknown=0, NotChecked=0, Total=2 [2023-11-19 04:17:18,248 INFO L87 Difference]: Start difference. First operand has 53 states, 31 states have (on average 3.2580645161290325) internal successors, (101), 52 states have internal predecessors, (101), 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) Second operand has 2 states, 1 states have (on average 2.0) internal successors, (2), 2 states have internal predecessors, (2), 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-19 04:17:18,304 INFO L144 Difference]: Subtrahend was deterministic. Have not used determinization. [2023-11-19 04:17:18,305 INFO L93 Difference]: Finished difference Result 41 states and 65 transitions. [2023-11-19 04:17:18,313 INFO L141 InterpolantAutomaton]: Switched to read-only mode: deterministic interpolant automaton has 2 states. [2023-11-19 04:17:18,314 INFO L78 Accepts]: Start accepts. Automaton has has 2 states, 1 states have (on average 2.0) internal successors, (2), 2 states have internal predecessors, (2), 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) Word has length 2 [2023-11-19 04:17:18,315 INFO L84 Accepts]: Finished accepts. some prefix is accepted. [2023-11-19 04:17:18,324 INFO L225 Difference]: With dead ends: 41 [2023-11-19 04:17:18,325 INFO L226 Difference]: Without dead ends: 41 [2023-11-19 04:17:18,326 INFO L412 NwaCegarLoop]: 0 DeclaredPredicates, 1 GetRequests, 1 SyntacticMatches, 0 SemanticMatches, 0 ConstructedPredicates, 0 IntricatePredicates, 0 DeprecatedPredicates, 0 ImplicationChecksByTransitivity, 0.0s TimeCoverageRelationStatistics Valid=1, Invalid=1, Unknown=0, NotChecked=0, Total=2 [2023-11-19 04:17:18,330 INFO L413 NwaCegarLoop]: 1 mSDtfsCounter, 0 mSDsluCounter, 0 mSDsCounter, 0 mSdLazyCounter, 11 mSolverCounterSat, 0 mSolverCounterUnsat, 0 mSolverCounterUnknown, 0 mSolverCounterNotChecked, 0.0s Time, 0 mProtectedPredicate, 0 mProtectedAction, 0 SdHoareTripleChecker+Valid, 1 SdHoareTripleChecker+Invalid, 11 SdHoareTripleChecker+Unknown, 0 SdHoareTripleChecker+Unchecked, 0.0s SdHoareTripleChecker+Time, 0 IncrementalHoareTripleChecker+Valid, 11 IncrementalHoareTripleChecker+Invalid, 0 IncrementalHoareTripleChecker+Unknown, 0 IncrementalHoareTripleChecker+Unchecked, 0.0s IncrementalHoareTripleChecker+Time [2023-11-19 04:17:18,331 INFO L414 NwaCegarLoop]: SdHoareTripleChecker [0 Valid, 1 Invalid, 11 Unknown, 0 Unchecked, 0.0s Time], IncrementalHoareTripleChecker [0 Valid, 11 Invalid, 0 Unknown, 0 Unchecked, 0.0s Time] [2023-11-19 04:17:18,346 INFO L82 GeneralOperation]: Start minimizeSevpa. Operand 41 states. [2023-11-19 04:17:18,358 INFO L88 GeneralOperation]: Finished minimizeSevpa. Reduced states from 41 to 41. [2023-11-19 04:17:18,359 INFO L82 GeneralOperation]: Start removeUnreachable. Operand has 41 states, 27 states have (on average 2.4074074074074074) internal successors, (65), 40 states have internal predecessors, (65), 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-19 04:17:18,361 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 41 states to 41 states and 65 transitions. [2023-11-19 04:17:18,362 INFO L78 Accepts]: Start accepts. Automaton has 41 states and 65 transitions. Word has length 2 [2023-11-19 04:17:18,362 INFO L84 Accepts]: Finished accepts. word is rejected. [2023-11-19 04:17:18,362 INFO L495 AbstractCegarLoop]: Abstraction has 41 states and 65 transitions. [2023-11-19 04:17:18,362 INFO L496 AbstractCegarLoop]: INTERPOLANT automaton has has 2 states, 1 states have (on average 2.0) internal successors, (2), 2 states have internal predecessors, (2), 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-19 04:17:18,363 INFO L276 IsEmpty]: Start isEmpty. Operand 41 states and 65 transitions. [2023-11-19 04:17:18,363 INFO L282 IsEmpty]: Finished isEmpty. Found accepting run of length 3 [2023-11-19 04:17:18,363 INFO L187 NwaCegarLoop]: Found error trace [2023-11-19 04:17:18,363 INFO L195 NwaCegarLoop]: trace histogram [1, 1] [2023-11-19 04:17:18,376 INFO L540 MonitoredProcess]: [MP /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_07e237cd-d0e5-441f-b643-6e98eda9b3d7/bin/utaipan-verify-t7M7D8N6sZ/mathsat -theory.fp.to_bv_overflow_mode=1 -theory.fp.minmax_zero_mode=4 -theory.bv.div_by_zero_mode=1 -unsat_core_generation=3 (2)] Forceful destruction successful, exit code 0 [2023-11-19 04:17:18,571 WARN L477 AbstractCegarLoop]: Destroyed unattended storables created during the last iteration: 2 /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_07e237cd-d0e5-441f-b643-6e98eda9b3d7/bin/utaipan-verify-t7M7D8N6sZ/mathsat -theory.fp.to_bv_overflow_mode=1 -theory.fp.minmax_zero_mode=4 -theory.bv.div_by_zero_mode=1 -unsat_core_generation=3 [2023-11-19 04:17:18,571 INFO L420 AbstractCegarLoop]: === Iteration 2 === Targeting ULTIMATE.startErr0REQUIRES_VIOLATIONMEMORY_DEREFERENCE === [thr1Err0ASSERT_VIOLATIONARRAY_INDEX, thr1Err1ASSERT_VIOLATIONARRAY_INDEX, thr1Err2ASSERT_VIOLATIONMEMORY_LEAK, ULTIMATE.startErr0REQUIRES_VIOLATIONMEMORY_DEREFERENCE (and 6 more)] === [2023-11-19 04:17:18,572 INFO L160 PredicateUnifier]: Initialized classic predicate unifier [2023-11-19 04:17:18,572 INFO L85 PathProgramCache]: Analyzing trace with hash 18318, now seen corresponding path program 1 times [2023-11-19 04:17:18,573 INFO L118 FreeRefinementEngine]: Executing refinement strategy WALRUS [2023-11-19 04:17:18,573 INFO L334 FreeRefinementEngine]: Using trace check IpTcStrategyModuleMathsat [537785319] [2023-11-19 04:17:18,573 INFO L95 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2023-11-19 04:17:18,574 INFO L173 SolverBuilder]: Constructing external solver with command: mathsat -theory.fp.to_bv_overflow_mode=1 -theory.fp.minmax_zero_mode=4 -theory.bv.div_by_zero_mode=1 -unsat_core_generation=3 [2023-11-19 04:17:18,574 INFO L189 MonitoredProcess]: No working directory specified, using /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_07e237cd-d0e5-441f-b643-6e98eda9b3d7/bin/utaipan-verify-t7M7D8N6sZ/mathsat [2023-11-19 04:17:18,575 INFO L229 MonitoredProcess]: Starting monitored process 3 with /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_07e237cd-d0e5-441f-b643-6e98eda9b3d7/bin/utaipan-verify-t7M7D8N6sZ/mathsat -theory.fp.to_bv_overflow_mode=1 -theory.fp.minmax_zero_mode=4 -theory.bv.div_by_zero_mode=1 -unsat_core_generation=3 (exit command is (exit), workingDir is null) [2023-11-19 04:17:18,581 INFO L327 MonitoredProcess]: [MP /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_07e237cd-d0e5-441f-b643-6e98eda9b3d7/bin/utaipan-verify-t7M7D8N6sZ/mathsat -theory.fp.to_bv_overflow_mode=1 -theory.fp.minmax_zero_mode=4 -theory.bv.div_by_zero_mode=1 -unsat_core_generation=3 (3)] Waiting until timeout for monitored process [2023-11-19 04:17:18,647 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2023-11-19 04:17:18,649 INFO L262 TraceCheckSpWp]: Trace formula consists of 44 conjuncts, 3 conjunts are in the unsatisfiable core [2023-11-19 04:17:18,650 INFO L285 TraceCheckSpWp]: Computing forward predicates... [2023-11-19 04:17:18,733 INFO L378 Elim1Store]: Elim1 eliminated variable of array dimension 1, 1 stores, 0 select indices, 0 select index equivalence classes, 0 disjoint index pairs (out of 0 index pairs), introduced 0 new quantified variables, introduced 0 case distinctions, treesize of input 6 treesize of output 7 [2023-11-19 04:17:18,759 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-19 04:17:18,760 INFO L323 TraceCheckSpWp]: Omiting computation of backward sequence because forward sequence was already perfect [2023-11-19 04:17:18,760 INFO L136 FreeRefinementEngine]: Strategy WALRUS found an infeasible trace [2023-11-19 04:17:18,760 INFO L334 FreeRefinementEngine]: Using interpolant generator IpTcStrategyModuleMathsat [537785319] [2023-11-19 04:17:18,761 INFO L158 FreeRefinementEngine]: IpTcStrategyModuleMathsat [537785319] provided 1 perfect and 0 imperfect interpolant sequences [2023-11-19 04:17:18,761 INFO L185 FreeRefinementEngine]: Found 1 perfect and 0 imperfect interpolant sequences. [2023-11-19 04:17:18,761 INFO L198 FreeRefinementEngine]: Number of different interpolants: perfect sequences [1] imperfect sequences [] total 1 [2023-11-19 04:17:18,772 INFO L121 tionRefinementEngine]: Using interpolant automaton builder IpAbStrategyModuleStraightlineAll [1398508568] [2023-11-19 04:17:18,772 INFO L85 oduleStraightlineAll]: Using 1 perfect interpolants to construct interpolant automaton [2023-11-19 04:17:18,774 INFO L571 AbstractCegarLoop]: INTERPOLANT automaton has 3 states [2023-11-19 04:17:18,774 INFO L100 FreeRefinementEngine]: Using predicate unifier PredicateUnifier provided by strategy WALRUS [2023-11-19 04:17:18,774 INFO L143 InterpolantAutomaton]: Constructing interpolant automaton starting with 3 interpolants. [2023-11-19 04:17:18,775 INFO L145 InterpolantAutomaton]: CoverageRelationStatistics Valid=3, Invalid=3, Unknown=0, NotChecked=0, Total=6 [2023-11-19 04:17:18,775 INFO L87 Difference]: Start difference. First operand 41 states and 65 transitions. Second operand has 3 states, 2 states have (on average 1.0) internal successors, (2), 2 states have internal predecessors, (2), 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-19 04:17:18,817 INFO L144 Difference]: Subtrahend was deterministic. Have not used determinization. [2023-11-19 04:17:18,817 INFO L93 Difference]: Finished difference Result 34 states and 53 transitions. [2023-11-19 04:17:18,819 INFO L141 InterpolantAutomaton]: Switched to read-only mode: deterministic interpolant automaton has 3 states. [2023-11-19 04:17:18,819 INFO L78 Accepts]: Start accepts. Automaton has has 3 states, 2 states have (on average 1.0) internal successors, (2), 2 states have internal predecessors, (2), 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) Word has length 2 [2023-11-19 04:17:18,819 INFO L84 Accepts]: Finished accepts. some prefix is accepted. [2023-11-19 04:17:18,820 INFO L225 Difference]: With dead ends: 34 [2023-11-19 04:17:18,820 INFO L226 Difference]: Without dead ends: 34 [2023-11-19 04:17:18,821 INFO L412 NwaCegarLoop]: 0 DeclaredPredicates, 1 GetRequests, 0 SyntacticMatches, 0 SemanticMatches, 1 ConstructedPredicates, 0 IntricatePredicates, 0 DeprecatedPredicates, 0 ImplicationChecksByTransitivity, 0.0s TimeCoverageRelationStatistics Valid=3, Invalid=3, Unknown=0, NotChecked=0, Total=6 [2023-11-19 04:17:18,823 INFO L413 NwaCegarLoop]: 1 mSDtfsCounter, 10 mSDsluCounter, 0 mSDsCounter, 0 mSdLazyCounter, 10 mSolverCounterSat, 0 mSolverCounterUnsat, 0 mSolverCounterUnknown, 0 mSolverCounterNotChecked, 0.0s Time, 0 mProtectedPredicate, 0 mProtectedAction, 10 SdHoareTripleChecker+Valid, 1 SdHoareTripleChecker+Invalid, 10 SdHoareTripleChecker+Unknown, 0 SdHoareTripleChecker+Unchecked, 0.0s SdHoareTripleChecker+Time, 0 IncrementalHoareTripleChecker+Valid, 10 IncrementalHoareTripleChecker+Invalid, 0 IncrementalHoareTripleChecker+Unknown, 0 IncrementalHoareTripleChecker+Unchecked, 0.0s IncrementalHoareTripleChecker+Time [2023-11-19 04:17:18,824 INFO L414 NwaCegarLoop]: SdHoareTripleChecker [10 Valid, 1 Invalid, 10 Unknown, 0 Unchecked, 0.0s Time], IncrementalHoareTripleChecker [0 Valid, 10 Invalid, 0 Unknown, 0 Unchecked, 0.0s Time] [2023-11-19 04:17:18,825 INFO L82 GeneralOperation]: Start minimizeSevpa. Operand 34 states. [2023-11-19 04:17:18,828 INFO L88 GeneralOperation]: Finished minimizeSevpa. Reduced states from 34 to 34. [2023-11-19 04:17:18,829 INFO L82 GeneralOperation]: Start removeUnreachable. Operand has 34 states, 25 states have (on average 2.12) internal successors, (53), 33 states have internal predecessors, (53), 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-19 04:17:18,830 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 34 states to 34 states and 53 transitions. [2023-11-19 04:17:18,831 INFO L78 Accepts]: Start accepts. Automaton has 34 states and 53 transitions. Word has length 2 [2023-11-19 04:17:18,831 INFO L84 Accepts]: Finished accepts. word is rejected. [2023-11-19 04:17:18,831 INFO L495 AbstractCegarLoop]: Abstraction has 34 states and 53 transitions. [2023-11-19 04:17:18,831 INFO L496 AbstractCegarLoop]: INTERPOLANT automaton has has 3 states, 2 states have (on average 1.0) internal successors, (2), 2 states have internal predecessors, (2), 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-19 04:17:18,832 INFO L276 IsEmpty]: Start isEmpty. Operand 34 states and 53 transitions. [2023-11-19 04:17:18,832 INFO L282 IsEmpty]: Finished isEmpty. Found accepting run of length 3 [2023-11-19 04:17:18,832 INFO L187 NwaCegarLoop]: Found error trace [2023-11-19 04:17:18,832 INFO L195 NwaCegarLoop]: trace histogram [1, 1] [2023-11-19 04:17:18,837 INFO L552 MonitoredProcess]: [MP /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_07e237cd-d0e5-441f-b643-6e98eda9b3d7/bin/utaipan-verify-t7M7D8N6sZ/mathsat -theory.fp.to_bv_overflow_mode=1 -theory.fp.minmax_zero_mode=4 -theory.bv.div_by_zero_mode=1 -unsat_core_generation=3 (3)] Ended with exit code 0 [2023-11-19 04:17:19,035 WARN L477 AbstractCegarLoop]: Destroyed unattended storables created during the last iteration: 3 /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_07e237cd-d0e5-441f-b643-6e98eda9b3d7/bin/utaipan-verify-t7M7D8N6sZ/mathsat -theory.fp.to_bv_overflow_mode=1 -theory.fp.minmax_zero_mode=4 -theory.bv.div_by_zero_mode=1 -unsat_core_generation=3 [2023-11-19 04:17:19,035 INFO L420 AbstractCegarLoop]: === Iteration 3 === Targeting ULTIMATE.startErr1REQUIRES_VIOLATIONMEMORY_DEREFERENCE === [thr1Err0ASSERT_VIOLATIONARRAY_INDEX, thr1Err1ASSERT_VIOLATIONARRAY_INDEX, thr1Err2ASSERT_VIOLATIONMEMORY_LEAK, ULTIMATE.startErr0REQUIRES_VIOLATIONMEMORY_DEREFERENCE (and 6 more)] === [2023-11-19 04:17:19,035 INFO L160 PredicateUnifier]: Initialized classic predicate unifier [2023-11-19 04:17:19,036 INFO L85 PathProgramCache]: Analyzing trace with hash 18319, now seen corresponding path program 1 times [2023-11-19 04:17:19,036 INFO L118 FreeRefinementEngine]: Executing refinement strategy WALRUS [2023-11-19 04:17:19,036 INFO L334 FreeRefinementEngine]: Using trace check IpTcStrategyModuleMathsat [1900172458] [2023-11-19 04:17:19,036 INFO L95 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2023-11-19 04:17:19,037 INFO L173 SolverBuilder]: Constructing external solver with command: mathsat -theory.fp.to_bv_overflow_mode=1 -theory.fp.minmax_zero_mode=4 -theory.bv.div_by_zero_mode=1 -unsat_core_generation=3 [2023-11-19 04:17:19,037 INFO L189 MonitoredProcess]: No working directory specified, using /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_07e237cd-d0e5-441f-b643-6e98eda9b3d7/bin/utaipan-verify-t7M7D8N6sZ/mathsat [2023-11-19 04:17:19,065 INFO L229 MonitoredProcess]: Starting monitored process 4 with /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_07e237cd-d0e5-441f-b643-6e98eda9b3d7/bin/utaipan-verify-t7M7D8N6sZ/mathsat -theory.fp.to_bv_overflow_mode=1 -theory.fp.minmax_zero_mode=4 -theory.bv.div_by_zero_mode=1 -unsat_core_generation=3 (exit command is (exit), workingDir is null) [2023-11-19 04:17:19,067 INFO L327 MonitoredProcess]: [MP /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_07e237cd-d0e5-441f-b643-6e98eda9b3d7/bin/utaipan-verify-t7M7D8N6sZ/mathsat -theory.fp.to_bv_overflow_mode=1 -theory.fp.minmax_zero_mode=4 -theory.bv.div_by_zero_mode=1 -unsat_core_generation=3 (4)] Waiting until timeout for monitored process [2023-11-19 04:17:19,133 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2023-11-19 04:17:19,135 INFO L262 TraceCheckSpWp]: Trace formula consists of 44 conjuncts, 4 conjunts are in the unsatisfiable core [2023-11-19 04:17:19,136 INFO L285 TraceCheckSpWp]: Computing forward predicates... [2023-11-19 04:17:19,144 INFO L378 Elim1Store]: Elim1 eliminated variable of array dimension 1, 1 stores, 0 select indices, 0 select index equivalence classes, 0 disjoint index pairs (out of 0 index pairs), introduced 0 new quantified variables, introduced 0 case distinctions, treesize of input 6 treesize of output 5 [2023-11-19 04:17:19,158 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-19 04:17:19,158 INFO L323 TraceCheckSpWp]: Omiting computation of backward sequence because forward sequence was already perfect [2023-11-19 04:17:19,159 INFO L136 FreeRefinementEngine]: Strategy WALRUS found an infeasible trace [2023-11-19 04:17:19,159 INFO L334 FreeRefinementEngine]: Using interpolant generator IpTcStrategyModuleMathsat [1900172458] [2023-11-19 04:17:19,159 INFO L158 FreeRefinementEngine]: IpTcStrategyModuleMathsat [1900172458] provided 1 perfect and 0 imperfect interpolant sequences [2023-11-19 04:17:19,159 INFO L185 FreeRefinementEngine]: Found 1 perfect and 0 imperfect interpolant sequences. [2023-11-19 04:17:19,160 INFO L198 FreeRefinementEngine]: Number of different interpolants: perfect sequences [1] imperfect sequences [] total 1 [2023-11-19 04:17:19,160 INFO L121 tionRefinementEngine]: Using interpolant automaton builder IpAbStrategyModuleStraightlineAll [380932942] [2023-11-19 04:17:19,160 INFO L85 oduleStraightlineAll]: Using 1 perfect interpolants to construct interpolant automaton [2023-11-19 04:17:19,161 INFO L571 AbstractCegarLoop]: INTERPOLANT automaton has 3 states [2023-11-19 04:17:19,161 INFO L100 FreeRefinementEngine]: Using predicate unifier PredicateUnifier provided by strategy WALRUS [2023-11-19 04:17:19,161 INFO L143 InterpolantAutomaton]: Constructing interpolant automaton starting with 3 interpolants. [2023-11-19 04:17:19,162 INFO L145 InterpolantAutomaton]: CoverageRelationStatistics Valid=3, Invalid=3, Unknown=0, NotChecked=0, Total=6 [2023-11-19 04:17:19,162 INFO L87 Difference]: Start difference. First operand 34 states and 53 transitions. Second operand has 3 states, 2 states have (on average 1.0) internal successors, (2), 2 states have internal predecessors, (2), 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-19 04:17:19,206 INFO L144 Difference]: Subtrahend was deterministic. Have not used determinization. [2023-11-19 04:17:19,207 INFO L93 Difference]: Finished difference Result 27 states and 41 transitions. [2023-11-19 04:17:19,208 INFO L141 InterpolantAutomaton]: Switched to read-only mode: deterministic interpolant automaton has 3 states. [2023-11-19 04:17:19,208 INFO L78 Accepts]: Start accepts. Automaton has has 3 states, 2 states have (on average 1.0) internal successors, (2), 2 states have internal predecessors, (2), 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) Word has length 2 [2023-11-19 04:17:19,208 INFO L84 Accepts]: Finished accepts. some prefix is accepted. [2023-11-19 04:17:19,209 INFO L225 Difference]: With dead ends: 27 [2023-11-19 04:17:19,209 INFO L226 Difference]: Without dead ends: 27 [2023-11-19 04:17:19,210 INFO L412 NwaCegarLoop]: 0 DeclaredPredicates, 1 GetRequests, 0 SyntacticMatches, 0 SemanticMatches, 1 ConstructedPredicates, 0 IntricatePredicates, 0 DeprecatedPredicates, 0 ImplicationChecksByTransitivity, 0.0s TimeCoverageRelationStatistics Valid=3, Invalid=3, Unknown=0, NotChecked=0, Total=6 [2023-11-19 04:17:19,211 INFO L413 NwaCegarLoop]: 1 mSDtfsCounter, 9 mSDsluCounter, 0 mSDsCounter, 0 mSdLazyCounter, 9 mSolverCounterSat, 0 mSolverCounterUnsat, 0 mSolverCounterUnknown, 0 mSolverCounterNotChecked, 0.0s Time, 0 mProtectedPredicate, 0 mProtectedAction, 9 SdHoareTripleChecker+Valid, 1 SdHoareTripleChecker+Invalid, 9 SdHoareTripleChecker+Unknown, 0 SdHoareTripleChecker+Unchecked, 0.0s SdHoareTripleChecker+Time, 0 IncrementalHoareTripleChecker+Valid, 9 IncrementalHoareTripleChecker+Invalid, 0 IncrementalHoareTripleChecker+Unknown, 0 IncrementalHoareTripleChecker+Unchecked, 0.0s IncrementalHoareTripleChecker+Time [2023-11-19 04:17:19,212 INFO L414 NwaCegarLoop]: SdHoareTripleChecker [9 Valid, 1 Invalid, 9 Unknown, 0 Unchecked, 0.0s Time], IncrementalHoareTripleChecker [0 Valid, 9 Invalid, 0 Unknown, 0 Unchecked, 0.0s Time] [2023-11-19 04:17:19,213 INFO L82 GeneralOperation]: Start minimizeSevpa. Operand 27 states. [2023-11-19 04:17:19,217 INFO L88 GeneralOperation]: Finished minimizeSevpa. Reduced states from 27 to 27. [2023-11-19 04:17:19,217 INFO L82 GeneralOperation]: Start removeUnreachable. Operand has 27 states, 23 states have (on average 1.7826086956521738) internal successors, (41), 26 states have internal predecessors, (41), 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-19 04:17:19,218 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 27 states to 27 states and 41 transitions. [2023-11-19 04:17:19,218 INFO L78 Accepts]: Start accepts. Automaton has 27 states and 41 transitions. Word has length 2 [2023-11-19 04:17:19,219 INFO L84 Accepts]: Finished accepts. word is rejected. [2023-11-19 04:17:19,219 INFO L495 AbstractCegarLoop]: Abstraction has 27 states and 41 transitions. [2023-11-19 04:17:19,219 INFO L496 AbstractCegarLoop]: INTERPOLANT automaton has has 3 states, 2 states have (on average 1.0) internal successors, (2), 2 states have internal predecessors, (2), 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-19 04:17:19,220 INFO L276 IsEmpty]: Start isEmpty. Operand 27 states and 41 transitions. [2023-11-19 04:17:19,220 INFO L282 IsEmpty]: Finished isEmpty. Found accepting run of length 6 [2023-11-19 04:17:19,220 INFO L187 NwaCegarLoop]: Found error trace [2023-11-19 04:17:19,221 INFO L195 NwaCegarLoop]: trace histogram [1, 1, 1, 1, 1] [2023-11-19 04:17:19,229 INFO L540 MonitoredProcess]: [MP /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_07e237cd-d0e5-441f-b643-6e98eda9b3d7/bin/utaipan-verify-t7M7D8N6sZ/mathsat -theory.fp.to_bv_overflow_mode=1 -theory.fp.minmax_zero_mode=4 -theory.bv.div_by_zero_mode=1 -unsat_core_generation=3 (4)] Forceful destruction successful, exit code 0 [2023-11-19 04:17:19,423 WARN L477 AbstractCegarLoop]: Destroyed unattended storables created during the last iteration: 4 /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_07e237cd-d0e5-441f-b643-6e98eda9b3d7/bin/utaipan-verify-t7M7D8N6sZ/mathsat -theory.fp.to_bv_overflow_mode=1 -theory.fp.minmax_zero_mode=4 -theory.bv.div_by_zero_mode=1 -unsat_core_generation=3 [2023-11-19 04:17:19,424 INFO L420 AbstractCegarLoop]: === Iteration 4 === Targeting thr1Err0ASSERT_VIOLATIONARRAY_INDEX === [thr1Err0ASSERT_VIOLATIONARRAY_INDEX, thr1Err1ASSERT_VIOLATIONARRAY_INDEX, thr1Err2ASSERT_VIOLATIONMEMORY_LEAK, ULTIMATE.startErr0REQUIRES_VIOLATIONMEMORY_DEREFERENCE (and 6 more)] === [2023-11-19 04:17:19,424 INFO L160 PredicateUnifier]: Initialized classic predicate unifier [2023-11-19 04:17:19,424 INFO L85 PathProgramCache]: Analyzing trace with hash 546100761, now seen corresponding path program 1 times [2023-11-19 04:17:19,425 INFO L118 FreeRefinementEngine]: Executing refinement strategy WALRUS [2023-11-19 04:17:19,425 INFO L334 FreeRefinementEngine]: Using trace check IpTcStrategyModuleMathsat [1809006884] [2023-11-19 04:17:19,425 INFO L95 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2023-11-19 04:17:19,425 INFO L173 SolverBuilder]: Constructing external solver with command: mathsat -theory.fp.to_bv_overflow_mode=1 -theory.fp.minmax_zero_mode=4 -theory.bv.div_by_zero_mode=1 -unsat_core_generation=3 [2023-11-19 04:17:19,425 INFO L189 MonitoredProcess]: No working directory specified, using /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_07e237cd-d0e5-441f-b643-6e98eda9b3d7/bin/utaipan-verify-t7M7D8N6sZ/mathsat [2023-11-19 04:17:19,426 INFO L229 MonitoredProcess]: Starting monitored process 5 with /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_07e237cd-d0e5-441f-b643-6e98eda9b3d7/bin/utaipan-verify-t7M7D8N6sZ/mathsat -theory.fp.to_bv_overflow_mode=1 -theory.fp.minmax_zero_mode=4 -theory.bv.div_by_zero_mode=1 -unsat_core_generation=3 (exit command is (exit), workingDir is null) [2023-11-19 04:17:19,428 INFO L327 MonitoredProcess]: [MP /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_07e237cd-d0e5-441f-b643-6e98eda9b3d7/bin/utaipan-verify-t7M7D8N6sZ/mathsat -theory.fp.to_bv_overflow_mode=1 -theory.fp.minmax_zero_mode=4 -theory.bv.div_by_zero_mode=1 -unsat_core_generation=3 (5)] Waiting until timeout for monitored process [2023-11-19 04:17:19,524 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2023-11-19 04:17:19,527 INFO L262 TraceCheckSpWp]: Trace formula consists of 73 conjuncts, 4 conjunts are in the unsatisfiable core [2023-11-19 04:17:19,528 INFO L285 TraceCheckSpWp]: Computing forward predicates... [2023-11-19 04:17:19,542 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-19 04:17:19,543 INFO L323 TraceCheckSpWp]: Omiting computation of backward sequence because forward sequence was already perfect [2023-11-19 04:17:19,543 INFO L136 FreeRefinementEngine]: Strategy WALRUS found an infeasible trace [2023-11-19 04:17:19,543 INFO L334 FreeRefinementEngine]: Using interpolant generator IpTcStrategyModuleMathsat [1809006884] [2023-11-19 04:17:19,543 INFO L158 FreeRefinementEngine]: IpTcStrategyModuleMathsat [1809006884] provided 1 perfect and 0 imperfect interpolant sequences [2023-11-19 04:17:19,544 INFO L185 FreeRefinementEngine]: Found 1 perfect and 0 imperfect interpolant sequences. [2023-11-19 04:17:19,544 INFO L198 FreeRefinementEngine]: Number of different interpolants: perfect sequences [1] imperfect sequences [] total 1 [2023-11-19 04:17:19,544 INFO L121 tionRefinementEngine]: Using interpolant automaton builder IpAbStrategyModuleStraightlineAll [185995683] [2023-11-19 04:17:19,544 INFO L85 oduleStraightlineAll]: Using 1 perfect interpolants to construct interpolant automaton [2023-11-19 04:17:19,545 INFO L571 AbstractCegarLoop]: INTERPOLANT automaton has 3 states [2023-11-19 04:17:19,545 INFO L100 FreeRefinementEngine]: Using predicate unifier PredicateUnifier provided by strategy WALRUS [2023-11-19 04:17:19,546 INFO L143 InterpolantAutomaton]: Constructing interpolant automaton starting with 3 interpolants. [2023-11-19 04:17:19,546 INFO L145 InterpolantAutomaton]: CoverageRelationStatistics Valid=3, Invalid=3, Unknown=0, NotChecked=0, Total=6 [2023-11-19 04:17:19,546 INFO L87 Difference]: Start difference. First operand 27 states and 41 transitions. Second operand has 3 states, 2 states have (on average 2.5) internal successors, (5), 2 states have internal predecessors, (5), 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-19 04:17:19,593 INFO L144 Difference]: Subtrahend was deterministic. Have not used determinization. [2023-11-19 04:17:19,593 INFO L93 Difference]: Finished difference Result 19 states and 27 transitions. [2023-11-19 04:17:19,594 INFO L141 InterpolantAutomaton]: Switched to read-only mode: deterministic interpolant automaton has 3 states. [2023-11-19 04:17:19,594 INFO L78 Accepts]: Start accepts. Automaton has has 3 states, 2 states have (on average 2.5) internal successors, (5), 2 states have internal predecessors, (5), 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) Word has length 5 [2023-11-19 04:17:19,594 INFO L84 Accepts]: Finished accepts. some prefix is accepted. [2023-11-19 04:17:19,595 INFO L225 Difference]: With dead ends: 19 [2023-11-19 04:17:19,595 INFO L226 Difference]: Without dead ends: 19 [2023-11-19 04:17:19,595 INFO L412 NwaCegarLoop]: 0 DeclaredPredicates, 4 GetRequests, 3 SyntacticMatches, 0 SemanticMatches, 1 ConstructedPredicates, 0 IntricatePredicates, 0 DeprecatedPredicates, 0 ImplicationChecksByTransitivity, 0.0s TimeCoverageRelationStatistics Valid=3, Invalid=3, Unknown=0, NotChecked=0, Total=6 [2023-11-19 04:17:19,597 INFO L413 NwaCegarLoop]: 1 mSDtfsCounter, 3 mSDsluCounter, 1 mSDsCounter, 0 mSdLazyCounter, 10 mSolverCounterSat, 1 mSolverCounterUnsat, 0 mSolverCounterUnknown, 0 mSolverCounterNotChecked, 0.0s Time, 0 mProtectedPredicate, 0 mProtectedAction, 3 SdHoareTripleChecker+Valid, 2 SdHoareTripleChecker+Invalid, 11 SdHoareTripleChecker+Unknown, 0 SdHoareTripleChecker+Unchecked, 0.0s SdHoareTripleChecker+Time, 1 IncrementalHoareTripleChecker+Valid, 10 IncrementalHoareTripleChecker+Invalid, 0 IncrementalHoareTripleChecker+Unknown, 0 IncrementalHoareTripleChecker+Unchecked, 0.0s IncrementalHoareTripleChecker+Time [2023-11-19 04:17:19,597 INFO L414 NwaCegarLoop]: SdHoareTripleChecker [3 Valid, 2 Invalid, 11 Unknown, 0 Unchecked, 0.0s Time], IncrementalHoareTripleChecker [1 Valid, 10 Invalid, 0 Unknown, 0 Unchecked, 0.0s Time] [2023-11-19 04:17:19,598 INFO L82 GeneralOperation]: Start minimizeSevpa. Operand 19 states. [2023-11-19 04:17:19,600 INFO L88 GeneralOperation]: Finished minimizeSevpa. Reduced states from 19 to 19. [2023-11-19 04:17:19,600 INFO L82 GeneralOperation]: Start removeUnreachable. Operand has 19 states, 17 states have (on average 1.588235294117647) internal successors, (27), 18 states have internal predecessors, (27), 0 states have call successors, (0), 0 states have call predecessors, (0), 0 states have return successors, (0), 0 states have call predecessors, (0), 0 states have call successors, (0) [2023-11-19 04:17:19,601 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 19 states to 19 states and 27 transitions. [2023-11-19 04:17:19,601 INFO L78 Accepts]: Start accepts. Automaton has 19 states and 27 transitions. Word has length 5 [2023-11-19 04:17:19,601 INFO L84 Accepts]: Finished accepts. word is rejected. [2023-11-19 04:17:19,602 INFO L495 AbstractCegarLoop]: Abstraction has 19 states and 27 transitions. [2023-11-19 04:17:19,602 INFO L496 AbstractCegarLoop]: INTERPOLANT automaton has has 3 states, 2 states have (on average 2.5) internal successors, (5), 2 states have internal predecessors, (5), 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-19 04:17:19,602 INFO L276 IsEmpty]: Start isEmpty. Operand 19 states and 27 transitions. [2023-11-19 04:17:19,602 INFO L282 IsEmpty]: Finished isEmpty. Found accepting run of length 6 [2023-11-19 04:17:19,602 INFO L187 NwaCegarLoop]: Found error trace [2023-11-19 04:17:19,603 INFO L195 NwaCegarLoop]: trace histogram [1, 1, 1, 1, 1] [2023-11-19 04:17:19,613 INFO L552 MonitoredProcess]: [MP /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_07e237cd-d0e5-441f-b643-6e98eda9b3d7/bin/utaipan-verify-t7M7D8N6sZ/mathsat -theory.fp.to_bv_overflow_mode=1 -theory.fp.minmax_zero_mode=4 -theory.bv.div_by_zero_mode=1 -unsat_core_generation=3 (5)] Ended with exit code 0 [2023-11-19 04:17:19,805 WARN L477 AbstractCegarLoop]: Destroyed unattended storables created during the last iteration: 5 /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_07e237cd-d0e5-441f-b643-6e98eda9b3d7/bin/utaipan-verify-t7M7D8N6sZ/mathsat -theory.fp.to_bv_overflow_mode=1 -theory.fp.minmax_zero_mode=4 -theory.bv.div_by_zero_mode=1 -unsat_core_generation=3 [2023-11-19 04:17:19,806 INFO L420 AbstractCegarLoop]: === Iteration 5 === Targeting thr1Err2ASSERT_VIOLATIONMEMORY_LEAK === [thr1Err0ASSERT_VIOLATIONARRAY_INDEX, thr1Err1ASSERT_VIOLATIONARRAY_INDEX, thr1Err2ASSERT_VIOLATIONMEMORY_LEAK, ULTIMATE.startErr0REQUIRES_VIOLATIONMEMORY_DEREFERENCE (and 6 more)] === [2023-11-19 04:17:19,806 INFO L160 PredicateUnifier]: Initialized classic predicate unifier [2023-11-19 04:17:19,806 INFO L85 PathProgramCache]: Analyzing trace with hash 546100764, now seen corresponding path program 1 times [2023-11-19 04:17:19,806 INFO L118 FreeRefinementEngine]: Executing refinement strategy WALRUS [2023-11-19 04:17:19,807 INFO L334 FreeRefinementEngine]: Using trace check IpTcStrategyModuleMathsat [532671865] [2023-11-19 04:17:19,807 INFO L95 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2023-11-19 04:17:19,807 INFO L173 SolverBuilder]: Constructing external solver with command: mathsat -theory.fp.to_bv_overflow_mode=1 -theory.fp.minmax_zero_mode=4 -theory.bv.div_by_zero_mode=1 -unsat_core_generation=3 [2023-11-19 04:17:19,807 INFO L189 MonitoredProcess]: No working directory specified, using /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_07e237cd-d0e5-441f-b643-6e98eda9b3d7/bin/utaipan-verify-t7M7D8N6sZ/mathsat [2023-11-19 04:17:19,808 INFO L229 MonitoredProcess]: Starting monitored process 6 with /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_07e237cd-d0e5-441f-b643-6e98eda9b3d7/bin/utaipan-verify-t7M7D8N6sZ/mathsat -theory.fp.to_bv_overflow_mode=1 -theory.fp.minmax_zero_mode=4 -theory.bv.div_by_zero_mode=1 -unsat_core_generation=3 (exit command is (exit), workingDir is null) [2023-11-19 04:17:19,810 INFO L327 MonitoredProcess]: [MP /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_07e237cd-d0e5-441f-b643-6e98eda9b3d7/bin/utaipan-verify-t7M7D8N6sZ/mathsat -theory.fp.to_bv_overflow_mode=1 -theory.fp.minmax_zero_mode=4 -theory.bv.div_by_zero_mode=1 -unsat_core_generation=3 (6)] Waiting until timeout for monitored process [2023-11-19 04:17:19,910 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2023-11-19 04:17:19,910 INFO L356 TraceCheck]: Trace is feasible, we will do another trace check, this time with branch encoders. [2023-11-19 04:17:19,961 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2023-11-19 04:17:19,994 INFO L130 FreeRefinementEngine]: Strategy WALRUS found a feasible trace [2023-11-19 04:17:19,994 INFO L360 BasicCegarLoop]: Counterexample is feasible [2023-11-19 04:17:19,995 INFO L805 garLoopResultBuilder]: Registering result UNSAFE for location thr1Err2ASSERT_VIOLATIONMEMORY_LEAK (9 of 10 remaining) [2023-11-19 04:17:19,997 INFO L805 garLoopResultBuilder]: Registering result UNKNOWN for location thr1Err0ASSERT_VIOLATIONARRAY_INDEX (8 of 10 remaining) [2023-11-19 04:17:19,998 INFO L805 garLoopResultBuilder]: Registering result UNKNOWN for location thr1Err1ASSERT_VIOLATIONARRAY_INDEX (7 of 10 remaining) [2023-11-19 04:17:19,998 INFO L805 garLoopResultBuilder]: Registering result UNKNOWN for location thr1Err2ASSERT_VIOLATIONMEMORY_LEAK (6 of 10 remaining) [2023-11-19 04:17:19,998 INFO L805 garLoopResultBuilder]: Registering result UNKNOWN for location ULTIMATE.startErr0REQUIRES_VIOLATIONMEMORY_DEREFERENCE (5 of 10 remaining) [2023-11-19 04:17:19,999 INFO L805 garLoopResultBuilder]: Registering result UNKNOWN for location ULTIMATE.startErr1REQUIRES_VIOLATIONMEMORY_DEREFERENCE (4 of 10 remaining) [2023-11-19 04:17:19,999 INFO L805 garLoopResultBuilder]: Registering result UNKNOWN for location ULTIMATE.startErr2ASSERT_VIOLATIONMEMORY_LEAK (3 of 10 remaining) [2023-11-19 04:17:19,999 INFO L805 garLoopResultBuilder]: Registering result UNKNOWN for location ULTIMATE.startErr0INUSE_VIOLATIONSUFFICIENT_THREAD_INSTANCES (2 of 10 remaining) [2023-11-19 04:17:19,999 INFO L805 garLoopResultBuilder]: Registering result UNKNOWN for location thr1Err0ASSERT_VIOLATIONARRAY_INDEX (1 of 10 remaining) [2023-11-19 04:17:20,000 INFO L805 garLoopResultBuilder]: Registering result UNKNOWN for location thr1Err1ASSERT_VIOLATIONARRAY_INDEX (0 of 10 remaining) [2023-11-19 04:17:20,008 INFO L540 MonitoredProcess]: [MP /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_07e237cd-d0e5-441f-b643-6e98eda9b3d7/bin/utaipan-verify-t7M7D8N6sZ/mathsat -theory.fp.to_bv_overflow_mode=1 -theory.fp.minmax_zero_mode=4 -theory.bv.div_by_zero_mode=1 -unsat_core_generation=3 (6)] Forceful destruction successful, exit code 0 [2023-11-19 04:17:20,200 WARN L477 AbstractCegarLoop]: Destroyed unattended storables created during the last iteration: 6 /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_07e237cd-d0e5-441f-b643-6e98eda9b3d7/bin/utaipan-verify-t7M7D8N6sZ/mathsat -theory.fp.to_bv_overflow_mode=1 -theory.fp.minmax_zero_mode=4 -theory.bv.div_by_zero_mode=1 -unsat_core_generation=3 [2023-11-19 04:17:20,203 INFO L445 BasicCegarLoop]: Path program histogram: [1, 1, 1, 1, 1] [2023-11-19 04:17:20,208 INFO L228 ceAbstractionStarter]: Analysis of concurrent program completed with 1 thread instances [2023-11-19 04:17:20,209 INFO L178 ceAbstractionStarter]: Computing trace abstraction results [2023-11-19 04:17:20,229 WARN L1572 BoogieBacktranslator]: Unfinished Backtranslation: IdentifierExpression #t~pre10 could not be translated [2023-11-19 04:17:20,239 INFO L201 PluginConnector]: Adding new model de.uni_freiburg.informatik.ultimate.plugins.generator.traceabstraction CFG 19.11 04:17:20 BasicIcfg [2023-11-19 04:17:20,239 INFO L131 PluginConnector]: ------------------------ END TraceAbstraction---------------------------- [2023-11-19 04:17:20,240 INFO L112 PluginConnector]: ------------------------Witness Printer---------------------------- [2023-11-19 04:17:20,240 INFO L270 PluginConnector]: Initializing Witness Printer... [2023-11-19 04:17:20,240 INFO L274 PluginConnector]: Witness Printer initialized [2023-11-19 04:17:20,241 INFO L184 PluginConnector]: Executing the observer RCFGCatcher from plugin Witness Printer for "de.uni_freiburg.informatik.ultimate.plugins.generator.rcfgbuilder CFG 19.11 04:17:00" (3/4) ... [2023-11-19 04:17:20,243 INFO L140 WitnessPrinter]: No result that supports witness generation found [2023-11-19 04:17:20,244 INFO L131 PluginConnector]: ------------------------ END Witness Printer---------------------------- [2023-11-19 04:17:20,245 INFO L158 Benchmark]: Toolchain (without parser) took 21553.23ms. Allocated memory was 65.0MB in the beginning and 79.7MB in the end (delta: 14.7MB). Free memory was 39.9MB in the beginning and 46.7MB in the end (delta: -6.9MB). Peak memory consumption was 10.1MB. Max. memory is 16.1GB. [2023-11-19 04:17:20,246 INFO L158 Benchmark]: CDTParser took 0.33ms. Allocated memory is still 52.4MB. Free memory was 28.5MB in the beginning and 28.4MB in the end (delta: 78.2kB). There was no memory consumed. Max. memory is 16.1GB. [2023-11-19 04:17:20,246 INFO L158 Benchmark]: CACSL2BoogieTranslator took 701.35ms. Allocated memory is still 65.0MB. Free memory was 39.5MB in the beginning and 31.7MB in the end (delta: 7.8MB). Peak memory consumption was 11.6MB. Max. memory is 16.1GB. [2023-11-19 04:17:20,247 INFO L158 Benchmark]: Boogie Procedure Inliner took 76.37ms. Allocated memory is still 65.0MB. Free memory was 31.5MB in the beginning and 42.3MB in the end (delta: -10.8MB). Peak memory consumption was 3.6MB. Max. memory is 16.1GB. [2023-11-19 04:17:20,247 INFO L158 Benchmark]: Boogie Preprocessor took 86.30ms. Allocated memory is still 65.0MB. Free memory was 42.3MB in the beginning and 40.5MB in the end (delta: 1.8MB). Peak memory consumption was 2.1MB. Max. memory is 16.1GB. [2023-11-19 04:17:20,248 INFO L158 Benchmark]: RCFGBuilder took 785.93ms. Allocated memory is still 65.0MB. Free memory was 40.5MB in the beginning and 30.2MB in the end (delta: 10.3MB). Peak memory consumption was 13.7MB. Max. memory is 16.1GB. [2023-11-19 04:17:20,248 INFO L158 Benchmark]: TraceAbstraction took 19888.70ms. Allocated memory was 65.0MB in the beginning and 79.7MB in the end (delta: 14.7MB). Free memory was 29.3MB in the beginning and 47.4MB in the end (delta: -18.0MB). Peak memory consumption was 25.2MB. Max. memory is 16.1GB. [2023-11-19 04:17:20,249 INFO L158 Benchmark]: Witness Printer took 4.60ms. Allocated memory is still 79.7MB. Free memory was 47.4MB in the beginning and 46.7MB in the end (delta: 630.8kB). There was no memory consumed. Max. memory is 16.1GB. [2023-11-19 04:17:20,251 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.33ms. Allocated memory is still 52.4MB. Free memory was 28.5MB in the beginning and 28.4MB in the end (delta: 78.2kB). There was no memory consumed. Max. memory is 16.1GB. * CACSL2BoogieTranslator took 701.35ms. Allocated memory is still 65.0MB. Free memory was 39.5MB in the beginning and 31.7MB in the end (delta: 7.8MB). Peak memory consumption was 11.6MB. Max. memory is 16.1GB. * Boogie Procedure Inliner took 76.37ms. Allocated memory is still 65.0MB. Free memory was 31.5MB in the beginning and 42.3MB in the end (delta: -10.8MB). Peak memory consumption was 3.6MB. Max. memory is 16.1GB. * Boogie Preprocessor took 86.30ms. Allocated memory is still 65.0MB. Free memory was 42.3MB in the beginning and 40.5MB in the end (delta: 1.8MB). Peak memory consumption was 2.1MB. Max. memory is 16.1GB. * RCFGBuilder took 785.93ms. Allocated memory is still 65.0MB. Free memory was 40.5MB in the beginning and 30.2MB in the end (delta: 10.3MB). Peak memory consumption was 13.7MB. Max. memory is 16.1GB. * TraceAbstraction took 19888.70ms. Allocated memory was 65.0MB in the beginning and 79.7MB in the end (delta: 14.7MB). Free memory was 29.3MB in the beginning and 47.4MB in the end (delta: -18.0MB). Peak memory consumption was 25.2MB. Max. memory is 16.1GB. * Witness Printer took 4.60ms. Allocated memory is still 79.7MB. Free memory was 47.4MB in the beginning and 46.7MB in the end (delta: 630.8kB). There was no memory consumed. Max. memory is 16.1GB. * Results from de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator: - GenericResult: Unfinished Backtranslation Unfinished Backtranslation: IdentifierExpression #t~pre10 could not be translated - GenericResult: Unfinished Backtranslation The program execution was not completely translated back. * Results from de.uni_freiburg.informatik.ultimate.plugins.generator.traceabstraction: - StatisticsResult: PetriNetLargeBlockEncoding benchmarks Lipton Reduction Statistics: ReductionTime: 17.4s, 114 PlacesBefore, 17 PlacesAfterwards, 119 TransitionsBefore, 16 TransitionsAfterwards, 2660 CoEnabledTransitionPairs, 7 FixpointIterations, 28 TrivialSequentialCompositions, 81 ConcurrentSequentialCompositions, 0 TrivialYvCompositions, 15 ConcurrentYvCompositions, 6 ChoiceCompositions, 130 TotalNumberOfCompositions, 2313 MoverChecksTotal, Independence Relation Statistics: CachedIndependenceRelation.Independence Queries: [ total: 2313, independent: 2313, independent conditional: 0, independent unconditional: 2313, dependent: 0, dependent conditional: 0, dependent unconditional: 0, unknown: 0, unknown conditional: 0, unknown unconditional: 0] , CachedIndependenceRelation.Statistics on underlying relation: UnionIndependenceRelation.Independence Queries: [ total: 1639, independent: 1639, independent conditional: 0, independent unconditional: 1639, dependent: 0, dependent conditional: 0, dependent unconditional: 0, unknown: 0, unknown conditional: 0, unknown unconditional: 0] , UnionIndependenceRelation.Statistics on underlying relations: [ SyntacticIndependenceRelation.Independence Queries: [ total: 1639, independent: 1639, independent conditional: 0, independent unconditional: 1639, dependent: 0, dependent conditional: 0, dependent unconditional: 0, unknown: 0, unknown conditional: 0, unknown unconditional: 0] , SemanticIndependenceRelation.Independence Queries: [ total: 0, independent: 0, independent conditional: 0, independent unconditional: 0, dependent: 0, dependent conditional: 0, dependent unconditional: 0, unknown: 0, unknown conditional: 0, unknown unconditional: 0] , SemanticIndependenceRelation.Query Time [ms]: [ total: 0, independent: 0, independent conditional: 0, independent unconditional: 0, dependent: 0, dependent conditional: 0, dependent unconditional: 0, unknown: 0, unknown conditional: 0, unknown unconditional: 0] ], Cache Queries: [ total: 2313, independent: 674, independent conditional: 0, independent unconditional: 674, dependent: 0, dependent conditional: 0, dependent unconditional: 0, unknown: 1639, unknown conditional: 0, unknown unconditional: 1639] , Statistics on independence cache: Total cache size (in pairs): 7, Positive cache size: 7, Positive conditional cache size: 0, Positive unconditional cache size: 7, Negative cache size: 0, Negative conditional cache size: 0, Negative unconditional cache size: 0, Unknown cache size: 0, Unknown conditional cache size: 0, Unknown unconditional cache size: 0 - StatisticsResult: ErrorAutomatonStatistics NumberErrorTraces: 0, NumberStatementsAllTraces: 0, NumberRelevantStatements: 0, 0.0s ErrorAutomatonConstructionTimeTotal, 0.0s FaulLocalizationTime, NumberStatementsFirstTrace: -1, TraceLengthAvg: 0, 0.0s ErrorAutomatonConstructionTimeAvg, 0.0s ErrorAutomatonDifferenceTimeAvg, 0.0s ErrorAutomatonDifferenceTimeTotal, NumberOfNoEnhancement: 0, NumberOfFiniteEnhancement: 0, NumberOfInfiniteEnhancement: 0 - UnprovableResult [Line: 13]: Unable to prove that all allocated memory was freed Unable to prove that all allocated memory was freed Reason: overapproximation of memtrack at line 13. Possible FailurePath: [L688] 0 int memory[(2*960+1)]; [L689] 0 int next_alloc_idx = 1; [L690] 0 pthread_mutex_t m = { { 0, 0, 0, PTHREAD_MUTEX_TIMED_NP, 0, { { 0, 0 } } } }; [L691] 0 int top; [L746] 0 pthread_mutex_t m2 = { { 0, 0, 0, PTHREAD_MUTEX_TIMED_NP, 0, { { 0, 0 } } } }; [L747] 0 int state = 0; [L765] 0 pthread_t t; VAL [m2={4:0}, m={3:0}, next_alloc_idx=1, state=0, t={7:0}, top=0] [L766] COND TRUE 0 1 [L766] FCALL, FORK 0 pthread_create(&t, 0, thr1, 0) VAL [m2={4:0}, m={3:0}, next_alloc_idx=1, state=0, t={7:0}, top=0] [L753] 1 case 0: [L754] CALL 1 EBStack_init() [L706] 1 top = 0 [L754] RET 1 EBStack_init() [L755] 1 state = 1 [L756] 1 case 1: [L758] CALL 1 push_loop() [L739] 1 int r = -1; [L740] 1 int arg = __VERIFIER_nondet_int(); [L741] COND TRUE 1 1 [L742] CALL, EXPR 1 push(arg) [L715] 1 int oldTop = -1, newTop = -1; [L716] CALL, EXPR 1 index_malloc() [L693] 1 int curr_alloc_idx = -1; [L695] COND FALSE 1 !(next_alloc_idx+2-1 > (2*960+1)) [L699] 1 curr_alloc_idx = next_alloc_idx [L700] 1 next_alloc_idx += 2 [L703] 1 return curr_alloc_idx; [L716] RET, EXPR 1 index_malloc() [L716] 1 newTop = index_malloc() [L717] COND FALSE 1 !(newTop == 0) [L720] EXPR 1 memory[newTop+0] [L720] 1 memory[newTop+0] = d [L722] 1 oldTop = top [L723] EXPR 1 memory[newTop+1] [L723] 1 memory[newTop+1] = oldTop [L725] 1 top = newTop [L728] 1 return 1; [L742] RET, EXPR 1 push(arg) [L742] 1 r = push(arg) [L743] CALL 1 __VERIFIER_atomic_assert(r) [L736] EXPR 1 !r || !isEmpty() [L736] CALL, EXPR 1 isEmpty() [L709] COND FALSE 1 !(top == 0) [L712] 1 return 0; [L736] RET, EXPR 1 isEmpty() [L736] EXPR 1 !r || !isEmpty() [L736] COND TRUE 1 !(!(!r || !isEmpty())) [L736] CALL 1 reach_error() [L13] COND FALSE 1 !(0) [L13] 1 __assert_fail ("0", "25_stack_longest-2-pthread.c", 4, __extension__ __PRETTY_FUNCTION__) VAL [m2={4:0}, m={3:0}, next_alloc_idx=3, state=1, top=1] - UnprovableResult [Line: 720]: Unable to prove that array index is always in bounds Unable to prove that array index is always in bounds Reason: Not analyzed. - UnprovableResult [Line: 723]: Unable to prove that array index is always in bounds Unable to prove that array index is always in bounds Reason: Not analyzed. - UnprovableResult [Line: -1]: Unable to prove that pointer dereference always succeeds Unable to prove that pointer dereference always succeeds Reason: Not analyzed. - UnprovableResult [Line: -1]: Unable to prove that pointer dereference always succeeds Unable to prove that pointer dereference always succeeds Reason: Not analyzed. - UnprovableResult [Line: 763]: Unable to prove that all allocated memory was freed Unable to prove that all allocated memory was freed Reason: Not analyzed. - UnprovableResult [Line: 766]: Unable to prove that petrification did provide enough thread instances (tool internal message) Unable to prove that petrification did provide enough thread instances (tool internal message) Reason: Not analyzed. - StatisticsResult: Ultimate Automizer benchmark data with 1 thread instances CFG has 3 procedures, 176 locations, 10 error locations. Started 1 CEGAR loops. OverallTime: 19.7s, OverallIterations: 5, TraceHistogramMax: 1, PathProgramHistogramMax: 1, EmptinessCheckTime: 0.0s, AutomataDifference: 0.3s, DeadEndRemovalTime: 0.0s, HoareAnnotationTime: 0.0s, InitialAbstractionConstructionTime: 17.4s, HoareTripleCheckerStatistics: 0 mSolverCounterUnknown, 22 SdHoareTripleChecker+Valid, 0.2s IncrementalHoareTripleChecker+Time, 0 mSdLazyCounter, 22 mSDsluCounter, 5 SdHoareTripleChecker+Invalid, 0.1s Time, 0 mProtectedAction, 0 SdHoareTripleChecker+Unchecked, 0 IncrementalHoareTripleChecker+Unchecked, 1 mSDsCounter, 1 IncrementalHoareTripleChecker+Valid, 0 mProtectedPredicate, 40 IncrementalHoareTripleChecker+Invalid, 41 SdHoareTripleChecker+Unknown, 0 mSolverCounterNotChecked, 1 mSolverCounterUnsat, 4 mSDtfsCounter, 40 mSolverCounterSat, 0.0s SdHoareTripleChecker+Time, 0 IncrementalHoareTripleChecker+Unknown, PredicateUnifierStatistics: 0 DeclaredPredicates, 7 GetRequests, 4 SyntacticMatches, 0 SemanticMatches, 3 ConstructedPredicates, 0 IntricatePredicates, 0 DeprecatedPredicates, 0 ImplicationChecksByTransitivity, 0.0s Time, 0.0s BasicInterpolantAutomatonTime, BiggestAbstraction: size=53occurred in iteration=0, InterpolantAutomatonStates: 11, traceCheckStatistics: No data available, InterpolantConsolidationStatistics: No data available, PathInvariantsStatistics: No data available, 0/0 InterpolantCoveringCapability, TotalInterpolationStatistics: No data available, 0.0s DumpTime, AutomataMinimizationStatistics: 0.0s AutomataMinimizationTime, 4 MinimizatonAttempts, 0 StatesRemovedByMinimization, 0 NontrivialMinimizations, HoareAnnotationStatistics: No data available, RefinementEngineStatistics: TRACE_CHECK: 0.0s SsaConstructionTime, 0.1s SatisfiabilityAnalysisTime, 0.2s InterpolantComputationTime, 16 NumberOfCodeBlocks, 16 NumberOfCodeBlocksAsserted, 5 NumberOfCheckSat, 7 ConstructedInterpolants, 0 QuantifiedInterpolants, 29 SizeOfPredicates, 0 NumberOfNonLiveVariables, 203 ConjunctsInSsa, 12 ConjunctsInUnsatCore, 4 InterpolantComputations, 4 PerfectInterpolantSequences, 0/0 InterpolantCoveringCapability, INVARIANT_SYNTHESIS: No data available, INTERPOLANT_CONSOLIDATION: No data available, ABSTRACT_INTERPRETATION: No data available, PDR: No data available, ACCELERATED_INTERPOLATION: No data available, SIFA: No data available, ReuseStatistics: No data available RESULT: Ultimate could not prove your program: unable to determine feasibility of some traces [2023-11-19 04:17:20,294 INFO L540 MonitoredProcess]: [MP /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_07e237cd-d0e5-441f-b643-6e98eda9b3d7/bin/utaipan-verify-t7M7D8N6sZ/z3 SMTLIB2_COMPLIANT=true -memory:2024 -smt2 -in -t:2000 (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: UNKNOWN: Overapproximated counterexample