./Ultimate.py --spec ../../sv-benchmarks/c/properties/valid-memsafety.prp --file ../../sv-benchmarks/c/array-memsafety/strreplace-alloca-2.i --full-output --architecture 32bit -------------------------------------------------------------------------------- Checking for memory safety (deref-memtrack) Using default analysis Version 0e0057cc Calling Ultimate with: /usr/lib/jvm/java-11-openjdk-amd64/bin/java -Dosgi.configuration.area=/tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_0f5c6703-6916-48ad-b754-686851d54387/bin/utaipan-verify-SwPr7d2a91/data/config -Xmx15G -Xms4m -jar /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_0f5c6703-6916-48ad-b754-686851d54387/bin/utaipan-verify-SwPr7d2a91/plugins/org.eclipse.equinox.launcher_1.5.800.v20200727-1323.jar -data @noDefault -ultimatedata /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_0f5c6703-6916-48ad-b754-686851d54387/bin/utaipan-verify-SwPr7d2a91/data -tc /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_0f5c6703-6916-48ad-b754-686851d54387/bin/utaipan-verify-SwPr7d2a91/config/TaipanMemDerefMemtrack.xml -i ../../sv-benchmarks/c/array-memsafety/strreplace-alloca-2.i -s /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_0f5c6703-6916-48ad-b754-686851d54387/bin/utaipan-verify-SwPr7d2a91/config/svcomp-DerefFreeMemtrack-32bit-Taipan_Default.epf --cacsl2boogietranslator.entry.function main --witnessprinter.witness.directory /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_0f5c6703-6916-48ad-b754-686851d54387/bin/utaipan-verify-SwPr7d2a91 --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 961e7f6fbd61acd9d4f1771460dcf26fd486b3de35e5e0e3ca8e6e03bda0fabc --- Real Ultimate output --- This is Ultimate 0.2.4-dev-0e0057c [2023-11-24 23:55:56,241 INFO L188 SettingsManager]: Resetting all preferences to default values... [2023-11-24 23:55:56,370 INFO L114 SettingsManager]: Loading settings from /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_0f5c6703-6916-48ad-b754-686851d54387/bin/utaipan-verify-SwPr7d2a91/config/svcomp-DerefFreeMemtrack-32bit-Taipan_Default.epf [2023-11-24 23:55:56,380 WARN L101 SettingsManager]: Preference file contains the following unknown settings: [2023-11-24 23:55:56,381 WARN L103 SettingsManager]: * de.uni_freiburg.informatik.ultimate.core.Log level for class [2023-11-24 23:55:56,424 INFO L130 SettingsManager]: Preferences different from defaults after loading the file: [2023-11-24 23:55:56,425 INFO L151 SettingsManager]: Preferences of UltimateCore differ from their defaults: [2023-11-24 23:55:56,426 INFO L153 SettingsManager]: * Log level for class=de.uni_freiburg.informatik.ultimate.lib.smtlibutils.quantifier.QuantifierPusher=ERROR; [2023-11-24 23:55:56,427 INFO L151 SettingsManager]: Preferences of Boogie Procedure Inliner differ from their defaults: [2023-11-24 23:55:56,433 INFO L153 SettingsManager]: * Ignore calls to procedures called more than once=ONLY_FOR_SEQUENTIAL_PROGRAMS [2023-11-24 23:55:56,433 INFO L153 SettingsManager]: * User list type=DISABLED [2023-11-24 23:55:56,435 INFO L151 SettingsManager]: Preferences of Abstract Interpretation differ from their defaults: [2023-11-24 23:55:56,435 INFO L153 SettingsManager]: * Explicit value domain=true [2023-11-24 23:55:56,437 INFO L153 SettingsManager]: * Abstract domain for RCFG-of-the-future=PoormanAbstractDomain [2023-11-24 23:55:56,438 INFO L153 SettingsManager]: * Octagon Domain=false [2023-11-24 23:55:56,438 INFO L153 SettingsManager]: * Abstract domain=CompoundDomain [2023-11-24 23:55:56,439 INFO L153 SettingsManager]: * Check feasibility of abstract posts with an SMT solver=true [2023-11-24 23:55:56,440 INFO L153 SettingsManager]: * Use the RCFG-of-the-future interface=true [2023-11-24 23:55:56,440 INFO L153 SettingsManager]: * Interval Domain=false [2023-11-24 23:55:56,441 INFO L151 SettingsManager]: Preferences of Sifa differ from their defaults: [2023-11-24 23:55:56,441 INFO L153 SettingsManager]: * Call Summarizer=TopInputCallSummarizer [2023-11-24 23:55:56,442 INFO L153 SettingsManager]: * Simplification Technique=POLY_PAC [2023-11-24 23:55:56,443 INFO L151 SettingsManager]: Preferences of BlockEncodingV2 differ from their defaults: [2023-11-24 23:55:56,443 INFO L153 SettingsManager]: * Create parallel compositions if possible=false [2023-11-24 23:55:56,444 INFO L151 SettingsManager]: Preferences of CACSL2BoogieTranslator differ from their defaults: [2023-11-24 23:55:56,445 INFO L153 SettingsManager]: * sizeof long=4 [2023-11-24 23:55:56,445 INFO L153 SettingsManager]: * Overapproximate operations on floating types=true [2023-11-24 23:55:56,446 INFO L153 SettingsManager]: * sizeof POINTER=4 [2023-11-24 23:55:56,446 INFO L153 SettingsManager]: * Check division by zero=IGNORE [2023-11-24 23:55:56,446 INFO L153 SettingsManager]: * Check for the main procedure if all allocated memory was freed=true [2023-11-24 23:55:56,448 INFO L153 SettingsManager]: * Bitprecise bitfields=true [2023-11-24 23:55:56,448 INFO L153 SettingsManager]: * SV-COMP memtrack compatibility mode=true [2023-11-24 23:55:56,448 INFO L153 SettingsManager]: * If two pointers are subtracted or compared they have the same base address=IGNORE [2023-11-24 23:55:56,449 INFO L153 SettingsManager]: * Adapt memory model on pointer casts if necessary=true [2023-11-24 23:55:56,449 INFO L153 SettingsManager]: * Check unreachability of reach_error function=false [2023-11-24 23:55:56,449 INFO L153 SettingsManager]: * sizeof long double=12 [2023-11-24 23:55:56,449 INFO L153 SettingsManager]: * Use constant arrays=true [2023-11-24 23:55:56,450 INFO L151 SettingsManager]: Preferences of RCFGBuilder differ from their defaults: [2023-11-24 23:55:56,450 INFO L153 SettingsManager]: * Only consider context switches at boundaries of atomic blocks=true [2023-11-24 23:55:56,450 INFO L153 SettingsManager]: * SMT solver=External_DefaultMode [2023-11-24 23:55:56,451 INFO L153 SettingsManager]: * Command for external solver=z3 SMTLIB2_COMPLIANT=true -memory:2024 -smt2 -in -t:2000 [2023-11-24 23:55:56,451 INFO L151 SettingsManager]: Preferences of TraceAbstraction differ from their defaults: [2023-11-24 23:55:56,451 INFO L153 SettingsManager]: * Compute Interpolants along a Counterexample=FPandBP [2023-11-24 23:55:56,452 INFO L153 SettingsManager]: * Trace refinement strategy=SIFA_TAIPAN [2023-11-24 23:55:56,452 INFO L153 SettingsManager]: * Command for external solver=z3 SMTLIB2_COMPLIANT=true -memory:2024 -smt2 -in [2023-11-24 23:55:56,452 INFO L153 SettingsManager]: * Apply one-shot large block encoding in concurrent analysis=false [2023-11-24 23:55:56,453 INFO L153 SettingsManager]: * Trace refinement exception blacklist=NONE [2023-11-24 23:55:56,453 INFO L153 SettingsManager]: * SMT solver=External_ModelsAndUnsatCoreMode [2023-11-24 23:55:56,453 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_0f5c6703-6916-48ad-b754-686851d54387/bin/utaipan-verify-SwPr7d2a91/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_0f5c6703-6916-48ad-b754-686851d54387/bin/utaipan-verify-SwPr7d2a91 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 -> 961e7f6fbd61acd9d4f1771460dcf26fd486b3de35e5e0e3ca8e6e03bda0fabc [2023-11-24 23:55:56,809 INFO L75 nceAwareModelManager]: Repository-Root is: /tmp [2023-11-24 23:55:56,846 INFO L261 ainManager$Toolchain]: [Toolchain 1]: Applicable parser(s) successfully (re)initialized [2023-11-24 23:55:56,850 INFO L217 ainManager$Toolchain]: [Toolchain 1]: Toolchain selected. [2023-11-24 23:55:56,852 INFO L270 PluginConnector]: Initializing CDTParser... [2023-11-24 23:55:56,853 INFO L274 PluginConnector]: CDTParser initialized [2023-11-24 23:55:56,854 INFO L431 ainManager$Toolchain]: [Toolchain 1]: Parsing single file: /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_0f5c6703-6916-48ad-b754-686851d54387/bin/utaipan-verify-SwPr7d2a91/../../sv-benchmarks/c/array-memsafety/strreplace-alloca-2.i [2023-11-24 23:55:59,973 INFO L533 CDTParser]: Created temporary CDT project at NULL [2023-11-24 23:56:00,336 INFO L384 CDTParser]: Found 1 translation units. [2023-11-24 23:56:00,340 INFO L180 CDTParser]: Scanning /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_0f5c6703-6916-48ad-b754-686851d54387/sv-benchmarks/c/array-memsafety/strreplace-alloca-2.i [2023-11-24 23:56:00,362 INFO L427 CDTParser]: About to delete temporary CDT project at /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_0f5c6703-6916-48ad-b754-686851d54387/bin/utaipan-verify-SwPr7d2a91/data/db3f553af/507f1d8d76fe45f79116bfe0f04e2028/FLAG9cf403348 [2023-11-24 23:56:00,379 INFO L435 CDTParser]: Successfully deleted /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_0f5c6703-6916-48ad-b754-686851d54387/bin/utaipan-verify-SwPr7d2a91/data/db3f553af/507f1d8d76fe45f79116bfe0f04e2028 [2023-11-24 23:56:00,386 INFO L299 ainManager$Toolchain]: ####################### [Toolchain 1] ####################### [2023-11-24 23:56:00,388 INFO L133 ToolchainWalker]: Walking toolchain with 6 elements. [2023-11-24 23:56:00,393 INFO L112 PluginConnector]: ------------------------CACSL2BoogieTranslator---------------------------- [2023-11-24 23:56:00,393 INFO L270 PluginConnector]: Initializing CACSL2BoogieTranslator... [2023-11-24 23:56:00,399 INFO L274 PluginConnector]: CACSL2BoogieTranslator initialized [2023-11-24 23:56:00,400 INFO L184 PluginConnector]: Executing the observer ACSLObjectContainerObserver from plugin CACSL2BoogieTranslator for "CDTParser AST 24.11 11:56:00" (1/1) ... [2023-11-24 23:56:00,402 INFO L204 PluginConnector]: Invalid model from CACSL2BoogieTranslator for observer de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator.ACSLObjectContainerObserver@6516f3d8 and model type de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 24.11 11:56:00, skipping insertion in model container [2023-11-24 23:56:00,403 INFO L184 PluginConnector]: Executing the observer CACSL2BoogieTranslatorObserver from plugin CACSL2BoogieTranslator for "CDTParser AST 24.11 11:56:00" (1/1) ... [2023-11-24 23:56:00,476 INFO L177 MainTranslator]: Built tables and reachable declarations [2023-11-24 23:56:00,804 INFO L209 PostProcessor]: Analyzing one entry point: main [2023-11-24 23:56:00,820 INFO L202 MainTranslator]: Completed pre-run [2023-11-24 23:56:00,891 INFO L209 PostProcessor]: Analyzing one entry point: main [2023-11-24 23:56:00,930 INFO L206 MainTranslator]: Completed translation [2023-11-24 23:56:00,930 INFO L201 PluginConnector]: Adding new model de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 24.11 11:56:00 WrapperNode [2023-11-24 23:56:00,930 INFO L131 PluginConnector]: ------------------------ END CACSL2BoogieTranslator---------------------------- [2023-11-24 23:56:00,932 INFO L112 PluginConnector]: ------------------------Boogie Procedure Inliner---------------------------- [2023-11-24 23:56:00,932 INFO L270 PluginConnector]: Initializing Boogie Procedure Inliner... [2023-11-24 23:56:00,932 INFO L274 PluginConnector]: Boogie Procedure Inliner initialized [2023-11-24 23:56:00,941 INFO L184 PluginConnector]: Executing the observer TypeChecker from plugin Boogie Procedure Inliner for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 24.11 11:56:00" (1/1) ... [2023-11-24 23:56:00,959 INFO L184 PluginConnector]: Executing the observer Inliner from plugin Boogie Procedure Inliner for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 24.11 11:56:00" (1/1) ... [2023-11-24 23:56:00,980 INFO L138 Inliner]: procedures = 117, calls = 11, calls flagged for inlining = 3, calls inlined = 3, statements flattened = 66 [2023-11-24 23:56:00,980 INFO L131 PluginConnector]: ------------------------ END Boogie Procedure Inliner---------------------------- [2023-11-24 23:56:00,981 INFO L112 PluginConnector]: ------------------------Boogie Preprocessor---------------------------- [2023-11-24 23:56:00,982 INFO L270 PluginConnector]: Initializing Boogie Preprocessor... [2023-11-24 23:56:00,982 INFO L274 PluginConnector]: Boogie Preprocessor initialized [2023-11-24 23:56:00,992 INFO L184 PluginConnector]: Executing the observer EnsureBoogieModelObserver from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 24.11 11:56:00" (1/1) ... [2023-11-24 23:56:00,992 INFO L184 PluginConnector]: Executing the observer TypeChecker from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 24.11 11:56:00" (1/1) ... [2023-11-24 23:56:01,005 INFO L184 PluginConnector]: Executing the observer ConstExpander from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 24.11 11:56:00" (1/1) ... [2023-11-24 23:56:01,005 INFO L184 PluginConnector]: Executing the observer StructExpander from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 24.11 11:56:00" (1/1) ... [2023-11-24 23:56:01,011 INFO L184 PluginConnector]: Executing the observer UnstructureCode from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 24.11 11:56:00" (1/1) ... [2023-11-24 23:56:01,031 INFO L184 PluginConnector]: Executing the observer FunctionInliner from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 24.11 11:56:00" (1/1) ... [2023-11-24 23:56:01,033 INFO L184 PluginConnector]: Executing the observer LTLStepAnnotator from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 24.11 11:56:00" (1/1) ... [2023-11-24 23:56:01,034 INFO L184 PluginConnector]: Executing the observer BoogieSymbolTableConstructor from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 24.11 11:56:00" (1/1) ... [2023-11-24 23:56:01,037 INFO L131 PluginConnector]: ------------------------ END Boogie Preprocessor---------------------------- [2023-11-24 23:56:01,038 INFO L112 PluginConnector]: ------------------------RCFGBuilder---------------------------- [2023-11-24 23:56:01,039 INFO L270 PluginConnector]: Initializing RCFGBuilder... [2023-11-24 23:56:01,039 INFO L274 PluginConnector]: RCFGBuilder initialized [2023-11-24 23:56:01,040 INFO L184 PluginConnector]: Executing the observer RCFGBuilderObserver from plugin RCFGBuilder for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 24.11 11:56:00" (1/1) ... [2023-11-24 23:56:01,046 INFO L173 SolverBuilder]: Constructing external solver with command: z3 SMTLIB2_COMPLIANT=true -memory:2024 -smt2 -in -t:2000 [2023-11-24 23:56:01,077 INFO L189 MonitoredProcess]: No working directory specified, using /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_0f5c6703-6916-48ad-b754-686851d54387/bin/utaipan-verify-SwPr7d2a91/z3 [2023-11-24 23:56:01,091 INFO L229 MonitoredProcess]: Starting monitored process 1 with /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_0f5c6703-6916-48ad-b754-686851d54387/bin/utaipan-verify-SwPr7d2a91/z3 SMTLIB2_COMPLIANT=true -memory:2024 -smt2 -in -t:2000 (exit command is (exit), workingDir is null) [2023-11-24 23:56:01,121 INFO L327 MonitoredProcess]: [MP /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_0f5c6703-6916-48ad-b754-686851d54387/bin/utaipan-verify-SwPr7d2a91/z3 SMTLIB2_COMPLIANT=true -memory:2024 -smt2 -in -t:2000 (1)] Waiting until timeout for monitored process [2023-11-24 23:56:01,137 INFO L130 BoogieDeclarations]: Found specification of procedure read~int [2023-11-24 23:56:01,137 INFO L130 BoogieDeclarations]: Found specification of procedure write~int [2023-11-24 23:56:01,137 INFO L130 BoogieDeclarations]: Found specification of procedure #Ultimate.allocOnStack [2023-11-24 23:56:01,137 INFO L130 BoogieDeclarations]: Found specification of procedure ULTIMATE.dealloc [2023-11-24 23:56:01,138 INFO L130 BoogieDeclarations]: Found specification of procedure ULTIMATE.start [2023-11-24 23:56:01,138 INFO L138 BoogieDeclarations]: Found implementation of procedure ULTIMATE.start [2023-11-24 23:56:01,301 INFO L241 CfgBuilder]: Building ICFG [2023-11-24 23:56:01,303 INFO L267 CfgBuilder]: Building CFG for each procedure with an implementation [2023-11-24 23:56:01,546 INFO L282 CfgBuilder]: Performing block encoding [2023-11-24 23:56:01,609 INFO L304 CfgBuilder]: Using the 1 location(s) as analysis (start of procedure ULTIMATE.start) [2023-11-24 23:56:01,610 INFO L309 CfgBuilder]: Removed 2 assume(true) statements. [2023-11-24 23:56:01,612 INFO L201 PluginConnector]: Adding new model de.uni_freiburg.informatik.ultimate.plugins.generator.rcfgbuilder CFG 24.11 11:56:01 BoogieIcfgContainer [2023-11-24 23:56:01,612 INFO L131 PluginConnector]: ------------------------ END RCFGBuilder---------------------------- [2023-11-24 23:56:01,615 INFO L112 PluginConnector]: ------------------------TraceAbstraction---------------------------- [2023-11-24 23:56:01,615 INFO L270 PluginConnector]: Initializing TraceAbstraction... [2023-11-24 23:56:01,619 INFO L274 PluginConnector]: TraceAbstraction initialized [2023-11-24 23:56:01,619 INFO L184 PluginConnector]: Executing the observer TraceAbstractionObserver from plugin TraceAbstraction for "CDTParser AST 24.11 11:56:00" (1/3) ... [2023-11-24 23:56:01,620 INFO L204 PluginConnector]: Invalid model from TraceAbstraction for observer de.uni_freiburg.informatik.ultimate.plugins.generator.traceabstraction.TraceAbstractionObserver@5c2619e4 and model type de.uni_freiburg.informatik.ultimate.plugins.generator.traceabstraction AST 24.11 11:56:01, skipping insertion in model container [2023-11-24 23:56:01,621 INFO L184 PluginConnector]: Executing the observer TraceAbstractionObserver from plugin TraceAbstraction for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 24.11 11:56:00" (2/3) ... [2023-11-24 23:56:01,621 INFO L204 PluginConnector]: Invalid model from TraceAbstraction for observer de.uni_freiburg.informatik.ultimate.plugins.generator.traceabstraction.TraceAbstractionObserver@5c2619e4 and model type de.uni_freiburg.informatik.ultimate.plugins.generator.traceabstraction AST 24.11 11:56:01, skipping insertion in model container [2023-11-24 23:56:01,621 INFO L184 PluginConnector]: Executing the observer TraceAbstractionObserver from plugin TraceAbstraction for "de.uni_freiburg.informatik.ultimate.plugins.generator.rcfgbuilder CFG 24.11 11:56:01" (3/3) ... [2023-11-24 23:56:01,623 INFO L112 eAbstractionObserver]: Analyzing ICFG strreplace-alloca-2.i [2023-11-24 23:56:01,645 INFO L203 ceAbstractionStarter]: Automizer settings: Hoare:false NWA Interpolation:FPandBP Determinization: PREDICATE_ABSTRACTION [2023-11-24 23:56:01,645 INFO L162 ceAbstractionStarter]: Applying trace abstraction to program that has 11 error locations. [2023-11-24 23:56:01,703 INFO L356 AbstractCegarLoop]: ======== Iteration 0 == of CEGAR loop == AllErrorsAtOnce ======== [2023-11-24 23:56:01,711 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;@6063355c, mLbeIndependenceSettings=[IndependenceType=SEMANTIC, AbstractionType=NONE, UseConditional=false, UseSemiCommutativity=true, Solver=Z3, SolverTimeout=1000ms] [2023-11-24 23:56:01,725 INFO L358 AbstractCegarLoop]: Starting to check reachability of 11 error locations. [2023-11-24 23:56:01,731 INFO L276 IsEmpty]: Start isEmpty. Operand has 24 states, 12 states have (on average 2.25) internal successors, (27), 23 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-24 23:56:01,738 INFO L282 IsEmpty]: Finished isEmpty. Found accepting run of length 4 [2023-11-24 23:56:01,738 INFO L187 NwaCegarLoop]: Found error trace [2023-11-24 23:56:01,740 INFO L195 NwaCegarLoop]: trace histogram [1, 1, 1] [2023-11-24 23:56:01,741 INFO L420 AbstractCegarLoop]: === Iteration 1 === Targeting ULTIMATE.startErr0REQUIRES_VIOLATIONMEMORY_DEREFERENCE === [ULTIMATE.startErr0REQUIRES_VIOLATIONMEMORY_DEREFERENCE, ULTIMATE.startErr1REQUIRES_VIOLATIONMEMORY_DEREFERENCE, ULTIMATE.startErr2REQUIRES_VIOLATIONMEMORY_DEREFERENCE (and 8 more)] === [2023-11-24 23:56:01,750 INFO L160 PredicateUnifier]: Initialized classic predicate unifier [2023-11-24 23:56:01,750 INFO L85 PathProgramCache]: Analyzing trace with hash 106256, now seen corresponding path program 1 times [2023-11-24 23:56:01,763 INFO L118 FreeRefinementEngine]: Executing refinement strategy SIFA_TAIPAN [2023-11-24 23:56:01,764 INFO L334 FreeRefinementEngine]: Using trace check IpTcStrategyModuleSmtInterpolCraig [1609337482] [2023-11-24 23:56:01,764 INFO L95 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2023-11-24 23:56:01,766 INFO L127 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout -1 ms and remaining time -1 ms [2023-11-24 23:56:01,935 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2023-11-24 23:56:02,115 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-24 23:56:02,116 INFO L136 FreeRefinementEngine]: Strategy SIFA_TAIPAN found an infeasible trace [2023-11-24 23:56:02,116 INFO L334 FreeRefinementEngine]: Using interpolant generator IpTcStrategyModuleSmtInterpolCraig [1609337482] [2023-11-24 23:56:02,120 INFO L158 FreeRefinementEngine]: IpTcStrategyModuleSmtInterpolCraig [1609337482] provided 1 perfect and 0 imperfect interpolant sequences [2023-11-24 23:56:02,121 INFO L185 FreeRefinementEngine]: Found 1 perfect and 0 imperfect interpolant sequences. [2023-11-24 23:56:02,121 INFO L198 FreeRefinementEngine]: Number of different interpolants: perfect sequences [1] imperfect sequences [] total 1 [2023-11-24 23:56:02,123 INFO L121 tionRefinementEngine]: Using interpolant automaton builder IpAbStrategyModuleStraightlineAll [1458700121] [2023-11-24 23:56:02,124 INFO L85 oduleStraightlineAll]: Using 1 perfect interpolants to construct interpolant automaton [2023-11-24 23:56:02,129 INFO L571 AbstractCegarLoop]: INTERPOLANT automaton has 3 states [2023-11-24 23:56:02,129 INFO L100 FreeRefinementEngine]: Using predicate unifier PredicateUnifier provided by strategy SIFA_TAIPAN [2023-11-24 23:56:02,174 INFO L143 InterpolantAutomaton]: Constructing interpolant automaton starting with 3 interpolants. [2023-11-24 23:56:02,175 INFO L145 InterpolantAutomaton]: CoverageRelationStatistics Valid=3, Invalid=3, Unknown=0, NotChecked=0, Total=6 [2023-11-24 23:56:02,178 INFO L87 Difference]: Start difference. First operand has 24 states, 12 states have (on average 2.25) internal successors, (27), 23 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) Second operand has 3 states, 2 states have (on average 1.5) internal successors, (3), 2 states have internal predecessors, (3), 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-24 23:56:02,265 INFO L144 Difference]: Subtrahend was deterministic. Have not used determinization. [2023-11-24 23:56:02,265 INFO L93 Difference]: Finished difference Result 22 states and 24 transitions. [2023-11-24 23:56:02,267 INFO L141 InterpolantAutomaton]: Switched to read-only mode: deterministic interpolant automaton has 3 states. [2023-11-24 23:56:02,268 INFO L78 Accepts]: Start accepts. Automaton has has 3 states, 2 states have (on average 1.5) internal successors, (3), 2 states have internal predecessors, (3), 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 3 [2023-11-24 23:56:02,269 INFO L84 Accepts]: Finished accepts. some prefix is accepted. [2023-11-24 23:56:02,277 INFO L225 Difference]: With dead ends: 22 [2023-11-24 23:56:02,277 INFO L226 Difference]: Without dead ends: 21 [2023-11-24 23:56:02,279 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-24 23:56:02,284 INFO L413 NwaCegarLoop]: 10 mSDtfsCounter, 19 mSDsluCounter, 0 mSDsCounter, 0 mSdLazyCounter, 17 mSolverCounterSat, 1 mSolverCounterUnsat, 0 mSolverCounterUnknown, 0 mSolverCounterNotChecked, 0.1s Time, 0 mProtectedPredicate, 0 mProtectedAction, 19 SdHoareTripleChecker+Valid, 10 SdHoareTripleChecker+Invalid, 18 SdHoareTripleChecker+Unknown, 0 SdHoareTripleChecker+Unchecked, 0.0s SdHoareTripleChecker+Time, 1 IncrementalHoareTripleChecker+Valid, 17 IncrementalHoareTripleChecker+Invalid, 0 IncrementalHoareTripleChecker+Unknown, 0 IncrementalHoareTripleChecker+Unchecked, 0.1s IncrementalHoareTripleChecker+Time [2023-11-24 23:56:02,285 INFO L414 NwaCegarLoop]: SdHoareTripleChecker [19 Valid, 10 Invalid, 18 Unknown, 0 Unchecked, 0.0s Time], IncrementalHoareTripleChecker [1 Valid, 17 Invalid, 0 Unknown, 0 Unchecked, 0.1s Time] [2023-11-24 23:56:02,306 INFO L82 GeneralOperation]: Start minimizeSevpa. Operand 21 states. [2023-11-24 23:56:02,319 INFO L88 GeneralOperation]: Finished minimizeSevpa. Reduced states from 21 to 21. [2023-11-24 23:56:02,321 INFO L82 GeneralOperation]: Start removeUnreachable. Operand has 21 states, 12 states have (on average 1.9166666666666667) internal successors, (23), 20 states have internal predecessors, (23), 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-24 23:56:02,322 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 21 states to 21 states and 23 transitions. [2023-11-24 23:56:02,323 INFO L78 Accepts]: Start accepts. Automaton has 21 states and 23 transitions. Word has length 3 [2023-11-24 23:56:02,323 INFO L84 Accepts]: Finished accepts. word is rejected. [2023-11-24 23:56:02,324 INFO L495 AbstractCegarLoop]: Abstraction has 21 states and 23 transitions. [2023-11-24 23:56:02,324 INFO L496 AbstractCegarLoop]: INTERPOLANT automaton has has 3 states, 2 states have (on average 1.5) internal successors, (3), 2 states have internal predecessors, (3), 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-24 23:56:02,324 INFO L276 IsEmpty]: Start isEmpty. Operand 21 states and 23 transitions. [2023-11-24 23:56:02,325 INFO L282 IsEmpty]: Finished isEmpty. Found accepting run of length 4 [2023-11-24 23:56:02,325 INFO L187 NwaCegarLoop]: Found error trace [2023-11-24 23:56:02,325 INFO L195 NwaCegarLoop]: trace histogram [1, 1, 1] [2023-11-24 23:56:02,326 WARN L477 AbstractCegarLoop]: Destroyed unattended storables created during the last iteration: SelfDestructingSolverStorable0 [2023-11-24 23:56:02,326 INFO L420 AbstractCegarLoop]: === Iteration 2 === Targeting ULTIMATE.startErr1REQUIRES_VIOLATIONMEMORY_DEREFERENCE === [ULTIMATE.startErr0REQUIRES_VIOLATIONMEMORY_DEREFERENCE, ULTIMATE.startErr1REQUIRES_VIOLATIONMEMORY_DEREFERENCE, ULTIMATE.startErr2REQUIRES_VIOLATIONMEMORY_DEREFERENCE (and 8 more)] === [2023-11-24 23:56:02,327 INFO L160 PredicateUnifier]: Initialized classic predicate unifier [2023-11-24 23:56:02,327 INFO L85 PathProgramCache]: Analyzing trace with hash 106257, now seen corresponding path program 1 times [2023-11-24 23:56:02,327 INFO L118 FreeRefinementEngine]: Executing refinement strategy SIFA_TAIPAN [2023-11-24 23:56:02,328 INFO L334 FreeRefinementEngine]: Using trace check IpTcStrategyModuleSmtInterpolCraig [1920666466] [2023-11-24 23:56:02,328 INFO L95 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2023-11-24 23:56:02,328 INFO L127 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout -1 ms and remaining time -1 ms [2023-11-24 23:56:02,354 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2023-11-24 23:56:02,711 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-24 23:56:02,712 INFO L136 FreeRefinementEngine]: Strategy SIFA_TAIPAN found an infeasible trace [2023-11-24 23:56:02,713 INFO L334 FreeRefinementEngine]: Using interpolant generator IpTcStrategyModuleSmtInterpolCraig [1920666466] [2023-11-24 23:56:02,713 INFO L158 FreeRefinementEngine]: IpTcStrategyModuleSmtInterpolCraig [1920666466] provided 1 perfect and 0 imperfect interpolant sequences [2023-11-24 23:56:02,714 INFO L185 FreeRefinementEngine]: Found 1 perfect and 0 imperfect interpolant sequences. [2023-11-24 23:56:02,715 INFO L198 FreeRefinementEngine]: Number of different interpolants: perfect sequences [2] imperfect sequences [] total 2 [2023-11-24 23:56:02,715 INFO L121 tionRefinementEngine]: Using interpolant automaton builder IpAbStrategyModuleStraightlineAll [2086550108] [2023-11-24 23:56:02,715 INFO L85 oduleStraightlineAll]: Using 1 perfect interpolants to construct interpolant automaton [2023-11-24 23:56:02,717 INFO L571 AbstractCegarLoop]: INTERPOLANT automaton has 4 states [2023-11-24 23:56:02,717 INFO L100 FreeRefinementEngine]: Using predicate unifier PredicateUnifier provided by strategy SIFA_TAIPAN [2023-11-24 23:56:02,718 INFO L143 InterpolantAutomaton]: Constructing interpolant automaton starting with 4 interpolants. [2023-11-24 23:56:02,718 INFO L145 InterpolantAutomaton]: CoverageRelationStatistics Valid=5, Invalid=7, Unknown=0, NotChecked=0, Total=12 [2023-11-24 23:56:02,719 INFO L87 Difference]: Start difference. First operand 21 states and 23 transitions. Second operand has 4 states, 3 states have (on average 1.0) internal successors, (3), 3 states have internal predecessors, (3), 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-24 23:56:02,838 INFO L144 Difference]: Subtrahend was deterministic. Have not used determinization. [2023-11-24 23:56:02,838 INFO L93 Difference]: Finished difference Result 20 states and 22 transitions. [2023-11-24 23:56:02,839 INFO L141 InterpolantAutomaton]: Switched to read-only mode: deterministic interpolant automaton has 4 states. [2023-11-24 23:56:02,840 INFO L78 Accepts]: Start accepts. Automaton has has 4 states, 3 states have (on average 1.0) internal successors, (3), 3 states have internal predecessors, (3), 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 3 [2023-11-24 23:56:02,840 INFO L84 Accepts]: Finished accepts. some prefix is accepted. [2023-11-24 23:56:02,841 INFO L225 Difference]: With dead ends: 20 [2023-11-24 23:56:02,842 INFO L226 Difference]: Without dead ends: 20 [2023-11-24 23:56:02,846 INFO L412 NwaCegarLoop]: 0 DeclaredPredicates, 3 GetRequests, 0 SyntacticMatches, 0 SemanticMatches, 3 ConstructedPredicates, 0 IntricatePredicates, 0 DeprecatedPredicates, 0 ImplicationChecksByTransitivity, 0.1s TimeCoverageRelationStatistics Valid=9, Invalid=11, Unknown=0, NotChecked=0, Total=20 [2023-11-24 23:56:02,849 INFO L413 NwaCegarLoop]: 15 mSDtfsCounter, 1 mSDsluCounter, 18 mSDsCounter, 0 mSdLazyCounter, 29 mSolverCounterSat, 1 mSolverCounterUnsat, 0 mSolverCounterUnknown, 0 mSolverCounterNotChecked, 0.1s Time, 0 mProtectedPredicate, 0 mProtectedAction, 1 SdHoareTripleChecker+Valid, 33 SdHoareTripleChecker+Invalid, 30 SdHoareTripleChecker+Unknown, 0 SdHoareTripleChecker+Unchecked, 0.0s SdHoareTripleChecker+Time, 1 IncrementalHoareTripleChecker+Valid, 29 IncrementalHoareTripleChecker+Invalid, 0 IncrementalHoareTripleChecker+Unknown, 0 IncrementalHoareTripleChecker+Unchecked, 0.1s IncrementalHoareTripleChecker+Time [2023-11-24 23:56:02,850 INFO L414 NwaCegarLoop]: SdHoareTripleChecker [1 Valid, 33 Invalid, 30 Unknown, 0 Unchecked, 0.0s Time], IncrementalHoareTripleChecker [1 Valid, 29 Invalid, 0 Unknown, 0 Unchecked, 0.1s Time] [2023-11-24 23:56:02,853 INFO L82 GeneralOperation]: Start minimizeSevpa. Operand 20 states. [2023-11-24 23:56:02,857 INFO L88 GeneralOperation]: Finished minimizeSevpa. Reduced states from 20 to 20. [2023-11-24 23:56:02,858 INFO L82 GeneralOperation]: Start removeUnreachable. Operand has 20 states, 12 states have (on average 1.8333333333333333) internal successors, (22), 19 states have internal predecessors, (22), 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-24 23:56:02,859 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 20 states to 20 states and 22 transitions. [2023-11-24 23:56:02,859 INFO L78 Accepts]: Start accepts. Automaton has 20 states and 22 transitions. Word has length 3 [2023-11-24 23:56:02,860 INFO L84 Accepts]: Finished accepts. word is rejected. [2023-11-24 23:56:02,860 INFO L495 AbstractCegarLoop]: Abstraction has 20 states and 22 transitions. [2023-11-24 23:56:02,860 INFO L496 AbstractCegarLoop]: INTERPOLANT automaton has has 4 states, 3 states have (on average 1.0) internal successors, (3), 3 states have internal predecessors, (3), 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-24 23:56:02,860 INFO L276 IsEmpty]: Start isEmpty. Operand 20 states and 22 transitions. [2023-11-24 23:56:02,861 INFO L282 IsEmpty]: Finished isEmpty. Found accepting run of length 4 [2023-11-24 23:56:02,861 INFO L187 NwaCegarLoop]: Found error trace [2023-11-24 23:56:02,861 INFO L195 NwaCegarLoop]: trace histogram [1, 1, 1] [2023-11-24 23:56:02,861 WARN L477 AbstractCegarLoop]: Destroyed unattended storables created during the last iteration: SelfDestructingSolverStorable1 [2023-11-24 23:56:02,862 INFO L420 AbstractCegarLoop]: === Iteration 3 === Targeting ULTIMATE.startErr3REQUIRES_VIOLATIONMEMORY_DEREFERENCE === [ULTIMATE.startErr0REQUIRES_VIOLATIONMEMORY_DEREFERENCE, ULTIMATE.startErr1REQUIRES_VIOLATIONMEMORY_DEREFERENCE, ULTIMATE.startErr2REQUIRES_VIOLATIONMEMORY_DEREFERENCE (and 8 more)] === [2023-11-24 23:56:02,862 INFO L160 PredicateUnifier]: Initialized classic predicate unifier [2023-11-24 23:56:02,863 INFO L85 PathProgramCache]: Analyzing trace with hash 108096, now seen corresponding path program 1 times [2023-11-24 23:56:02,863 INFO L118 FreeRefinementEngine]: Executing refinement strategy SIFA_TAIPAN [2023-11-24 23:56:02,863 INFO L334 FreeRefinementEngine]: Using trace check IpTcStrategyModuleSmtInterpolCraig [1411521005] [2023-11-24 23:56:02,863 INFO L95 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2023-11-24 23:56:02,865 INFO L127 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout -1 ms and remaining time -1 ms [2023-11-24 23:56:02,902 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2023-11-24 23:56:03,177 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-24 23:56:03,178 INFO L136 FreeRefinementEngine]: Strategy SIFA_TAIPAN found an infeasible trace [2023-11-24 23:56:03,178 INFO L334 FreeRefinementEngine]: Using interpolant generator IpTcStrategyModuleSmtInterpolCraig [1411521005] [2023-11-24 23:56:03,179 INFO L158 FreeRefinementEngine]: IpTcStrategyModuleSmtInterpolCraig [1411521005] provided 1 perfect and 0 imperfect interpolant sequences [2023-11-24 23:56:03,179 INFO L185 FreeRefinementEngine]: Found 1 perfect and 0 imperfect interpolant sequences. [2023-11-24 23:56:03,179 INFO L198 FreeRefinementEngine]: Number of different interpolants: perfect sequences [2] imperfect sequences [] total 2 [2023-11-24 23:56:03,181 INFO L121 tionRefinementEngine]: Using interpolant automaton builder IpAbStrategyModuleStraightlineAll [886035979] [2023-11-24 23:56:03,181 INFO L85 oduleStraightlineAll]: Using 1 perfect interpolants to construct interpolant automaton [2023-11-24 23:56:03,183 INFO L571 AbstractCegarLoop]: INTERPOLANT automaton has 4 states [2023-11-24 23:56:03,183 INFO L100 FreeRefinementEngine]: Using predicate unifier PredicateUnifier provided by strategy SIFA_TAIPAN [2023-11-24 23:56:03,184 INFO L143 InterpolantAutomaton]: Constructing interpolant automaton starting with 4 interpolants. [2023-11-24 23:56:03,185 INFO L145 InterpolantAutomaton]: CoverageRelationStatistics Valid=6, Invalid=6, Unknown=0, NotChecked=0, Total=12 [2023-11-24 23:56:03,185 INFO L87 Difference]: Start difference. First operand 20 states and 22 transitions. Second operand has 4 states, 3 states have (on average 1.0) internal successors, (3), 3 states have internal predecessors, (3), 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-24 23:56:03,223 INFO L144 Difference]: Subtrahend was deterministic. Have not used determinization. [2023-11-24 23:56:03,224 INFO L93 Difference]: Finished difference Result 19 states and 21 transitions. [2023-11-24 23:56:03,224 INFO L141 InterpolantAutomaton]: Switched to read-only mode: deterministic interpolant automaton has 3 states. [2023-11-24 23:56:03,224 INFO L78 Accepts]: Start accepts. Automaton has has 4 states, 3 states have (on average 1.0) internal successors, (3), 3 states have internal predecessors, (3), 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 3 [2023-11-24 23:56:03,225 INFO L84 Accepts]: Finished accepts. some prefix is accepted. [2023-11-24 23:56:03,227 INFO L225 Difference]: With dead ends: 19 [2023-11-24 23:56:03,230 INFO L226 Difference]: Without dead ends: 19 [2023-11-24 23:56:03,235 INFO L412 NwaCegarLoop]: 0 DeclaredPredicates, 2 GetRequests, 0 SyntacticMatches, 0 SemanticMatches, 2 ConstructedPredicates, 0 IntricatePredicates, 0 DeprecatedPredicates, 0 ImplicationChecksByTransitivity, 0.1s TimeCoverageRelationStatistics Valid=6, Invalid=6, Unknown=0, NotChecked=0, Total=12 [2023-11-24 23:56:03,239 INFO L413 NwaCegarLoop]: 9 mSDtfsCounter, 19 mSDsluCounter, 0 mSDsCounter, 0 mSdLazyCounter, 12 mSolverCounterSat, 1 mSolverCounterUnsat, 0 mSolverCounterUnknown, 0 mSolverCounterNotChecked, 0.0s Time, 0 mProtectedPredicate, 0 mProtectedAction, 19 SdHoareTripleChecker+Valid, 9 SdHoareTripleChecker+Invalid, 13 SdHoareTripleChecker+Unknown, 0 SdHoareTripleChecker+Unchecked, 0.0s SdHoareTripleChecker+Time, 1 IncrementalHoareTripleChecker+Valid, 12 IncrementalHoareTripleChecker+Invalid, 0 IncrementalHoareTripleChecker+Unknown, 0 IncrementalHoareTripleChecker+Unchecked, 0.0s IncrementalHoareTripleChecker+Time [2023-11-24 23:56:03,240 INFO L414 NwaCegarLoop]: SdHoareTripleChecker [19 Valid, 9 Invalid, 13 Unknown, 0 Unchecked, 0.0s Time], IncrementalHoareTripleChecker [1 Valid, 12 Invalid, 0 Unknown, 0 Unchecked, 0.0s Time] [2023-11-24 23:56:03,241 INFO L82 GeneralOperation]: Start minimizeSevpa. Operand 19 states. [2023-11-24 23:56:03,243 INFO L88 GeneralOperation]: Finished minimizeSevpa. Reduced states from 19 to 19. [2023-11-24 23:56:03,243 INFO L82 GeneralOperation]: Start removeUnreachable. Operand has 19 states, 12 states have (on average 1.75) internal successors, (21), 18 states have internal predecessors, (21), 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-24 23:56:03,244 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 19 states to 19 states and 21 transitions. [2023-11-24 23:56:03,244 INFO L78 Accepts]: Start accepts. Automaton has 19 states and 21 transitions. Word has length 3 [2023-11-24 23:56:03,244 INFO L84 Accepts]: Finished accepts. word is rejected. [2023-11-24 23:56:03,245 INFO L495 AbstractCegarLoop]: Abstraction has 19 states and 21 transitions. [2023-11-24 23:56:03,245 INFO L496 AbstractCegarLoop]: INTERPOLANT automaton has has 4 states, 3 states have (on average 1.0) internal successors, (3), 3 states have internal predecessors, (3), 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-24 23:56:03,245 INFO L276 IsEmpty]: Start isEmpty. Operand 19 states and 21 transitions. [2023-11-24 23:56:03,246 INFO L282 IsEmpty]: Finished isEmpty. Found accepting run of length 5 [2023-11-24 23:56:03,246 INFO L187 NwaCegarLoop]: Found error trace [2023-11-24 23:56:03,246 INFO L195 NwaCegarLoop]: trace histogram [1, 1, 1, 1] [2023-11-24 23:56:03,246 WARN L477 AbstractCegarLoop]: Destroyed unattended storables created during the last iteration: SelfDestructingSolverStorable2 [2023-11-24 23:56:03,246 INFO L420 AbstractCegarLoop]: === Iteration 4 === Targeting ULTIMATE.startErr4REQUIRES_VIOLATIONMEMORY_DEREFERENCE === [ULTIMATE.startErr0REQUIRES_VIOLATIONMEMORY_DEREFERENCE, ULTIMATE.startErr1REQUIRES_VIOLATIONMEMORY_DEREFERENCE, ULTIMATE.startErr2REQUIRES_VIOLATIONMEMORY_DEREFERENCE (and 8 more)] === [2023-11-24 23:56:03,247 INFO L160 PredicateUnifier]: Initialized classic predicate unifier [2023-11-24 23:56:03,247 INFO L85 PathProgramCache]: Analyzing trace with hash 3352377, now seen corresponding path program 1 times [2023-11-24 23:56:03,247 INFO L118 FreeRefinementEngine]: Executing refinement strategy SIFA_TAIPAN [2023-11-24 23:56:03,248 INFO L334 FreeRefinementEngine]: Using trace check IpTcStrategyModuleSmtInterpolCraig [493078272] [2023-11-24 23:56:03,252 INFO L95 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2023-11-24 23:56:03,252 INFO L127 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout -1 ms and remaining time -1 ms [2023-11-24 23:56:03,285 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2023-11-24 23:56:03,334 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-24 23:56:03,334 INFO L136 FreeRefinementEngine]: Strategy SIFA_TAIPAN found an infeasible trace [2023-11-24 23:56:03,335 INFO L334 FreeRefinementEngine]: Using interpolant generator IpTcStrategyModuleSmtInterpolCraig [493078272] [2023-11-24 23:56:03,335 INFO L158 FreeRefinementEngine]: IpTcStrategyModuleSmtInterpolCraig [493078272] provided 1 perfect and 0 imperfect interpolant sequences [2023-11-24 23:56:03,335 INFO L185 FreeRefinementEngine]: Found 1 perfect and 0 imperfect interpolant sequences. [2023-11-24 23:56:03,335 INFO L198 FreeRefinementEngine]: Number of different interpolants: perfect sequences [2] imperfect sequences [] total 2 [2023-11-24 23:56:03,336 INFO L121 tionRefinementEngine]: Using interpolant automaton builder IpAbStrategyModuleStraightlineAll [202579096] [2023-11-24 23:56:03,336 INFO L85 oduleStraightlineAll]: Using 1 perfect interpolants to construct interpolant automaton [2023-11-24 23:56:03,336 INFO L571 AbstractCegarLoop]: INTERPOLANT automaton has 3 states [2023-11-24 23:56:03,336 INFO L100 FreeRefinementEngine]: Using predicate unifier PredicateUnifier provided by strategy SIFA_TAIPAN [2023-11-24 23:56:03,337 INFO L143 InterpolantAutomaton]: Constructing interpolant automaton starting with 3 interpolants. [2023-11-24 23:56:03,337 INFO L145 InterpolantAutomaton]: CoverageRelationStatistics Valid=3, Invalid=3, Unknown=0, NotChecked=0, Total=6 [2023-11-24 23:56:03,338 INFO L87 Difference]: Start difference. First operand 19 states and 21 transitions. Second operand has 3 states, 2 states have (on average 2.0) internal successors, (4), 3 states have internal predecessors, (4), 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-24 23:56:03,367 INFO L144 Difference]: Subtrahend was deterministic. Have not used determinization. [2023-11-24 23:56:03,368 INFO L93 Difference]: Finished difference Result 16 states and 18 transitions. [2023-11-24 23:56:03,368 INFO L141 InterpolantAutomaton]: Switched to read-only mode: deterministic interpolant automaton has 3 states. [2023-11-24 23:56:03,368 INFO L78 Accepts]: Start accepts. Automaton has has 3 states, 2 states have (on average 2.0) internal successors, (4), 3 states have internal predecessors, (4), 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 4 [2023-11-24 23:56:03,369 INFO L84 Accepts]: Finished accepts. some prefix is accepted. [2023-11-24 23:56:03,369 INFO L225 Difference]: With dead ends: 16 [2023-11-24 23:56:03,369 INFO L226 Difference]: Without dead ends: 16 [2023-11-24 23:56:03,370 INFO L412 NwaCegarLoop]: 0 DeclaredPredicates, 2 GetRequests, 1 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-24 23:56:03,371 INFO L413 NwaCegarLoop]: 6 mSDtfsCounter, 10 mSDsluCounter, 1 mSDsCounter, 0 mSdLazyCounter, 17 mSolverCounterSat, 3 mSolverCounterUnsat, 0 mSolverCounterUnknown, 0 mSolverCounterNotChecked, 0.0s Time, 0 mProtectedPredicate, 0 mProtectedAction, 10 SdHoareTripleChecker+Valid, 7 SdHoareTripleChecker+Invalid, 20 SdHoareTripleChecker+Unknown, 0 SdHoareTripleChecker+Unchecked, 0.0s SdHoareTripleChecker+Time, 3 IncrementalHoareTripleChecker+Valid, 17 IncrementalHoareTripleChecker+Invalid, 0 IncrementalHoareTripleChecker+Unknown, 0 IncrementalHoareTripleChecker+Unchecked, 0.0s IncrementalHoareTripleChecker+Time [2023-11-24 23:56:03,372 INFO L414 NwaCegarLoop]: SdHoareTripleChecker [10 Valid, 7 Invalid, 20 Unknown, 0 Unchecked, 0.0s Time], IncrementalHoareTripleChecker [3 Valid, 17 Invalid, 0 Unknown, 0 Unchecked, 0.0s Time] [2023-11-24 23:56:03,372 INFO L82 GeneralOperation]: Start minimizeSevpa. Operand 16 states. [2023-11-24 23:56:03,374 INFO L88 GeneralOperation]: Finished minimizeSevpa. Reduced states from 16 to 16. [2023-11-24 23:56:03,374 INFO L82 GeneralOperation]: Start removeUnreachable. Operand has 16 states, 12 states have (on average 1.5) internal successors, (18), 15 states have internal predecessors, (18), 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-24 23:56:03,375 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 16 states to 16 states and 18 transitions. [2023-11-24 23:56:03,375 INFO L78 Accepts]: Start accepts. Automaton has 16 states and 18 transitions. Word has length 4 [2023-11-24 23:56:03,375 INFO L84 Accepts]: Finished accepts. word is rejected. [2023-11-24 23:56:03,376 INFO L495 AbstractCegarLoop]: Abstraction has 16 states and 18 transitions. [2023-11-24 23:56:03,376 INFO L496 AbstractCegarLoop]: INTERPOLANT automaton has has 3 states, 2 states have (on average 2.0) internal successors, (4), 3 states have internal predecessors, (4), 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-24 23:56:03,376 INFO L276 IsEmpty]: Start isEmpty. Operand 16 states and 18 transitions. [2023-11-24 23:56:03,376 INFO L282 IsEmpty]: Finished isEmpty. Found accepting run of length 5 [2023-11-24 23:56:03,377 INFO L187 NwaCegarLoop]: Found error trace [2023-11-24 23:56:03,377 INFO L195 NwaCegarLoop]: trace histogram [1, 1, 1, 1] [2023-11-24 23:56:03,377 WARN L477 AbstractCegarLoop]: Destroyed unattended storables created during the last iteration: SelfDestructingSolverStorable3 [2023-11-24 23:56:03,377 INFO L420 AbstractCegarLoop]: === Iteration 5 === Targeting ULTIMATE.startErr5REQUIRES_VIOLATIONMEMORY_DEREFERENCE === [ULTIMATE.startErr0REQUIRES_VIOLATIONMEMORY_DEREFERENCE, ULTIMATE.startErr1REQUIRES_VIOLATIONMEMORY_DEREFERENCE, ULTIMATE.startErr2REQUIRES_VIOLATIONMEMORY_DEREFERENCE (and 8 more)] === [2023-11-24 23:56:03,378 INFO L160 PredicateUnifier]: Initialized classic predicate unifier [2023-11-24 23:56:03,378 INFO L85 PathProgramCache]: Analyzing trace with hash 3352378, now seen corresponding path program 1 times [2023-11-24 23:56:03,378 INFO L118 FreeRefinementEngine]: Executing refinement strategy SIFA_TAIPAN [2023-11-24 23:56:03,379 INFO L334 FreeRefinementEngine]: Using trace check IpTcStrategyModuleSmtInterpolCraig [120567268] [2023-11-24 23:56:03,379 INFO L95 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2023-11-24 23:56:03,379 INFO L127 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout -1 ms and remaining time -1 ms [2023-11-24 23:56:03,391 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2023-11-24 23:56:03,497 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-24 23:56:03,498 INFO L136 FreeRefinementEngine]: Strategy SIFA_TAIPAN found an infeasible trace [2023-11-24 23:56:03,498 INFO L334 FreeRefinementEngine]: Using interpolant generator IpTcStrategyModuleSmtInterpolCraig [120567268] [2023-11-24 23:56:03,498 INFO L158 FreeRefinementEngine]: IpTcStrategyModuleSmtInterpolCraig [120567268] provided 1 perfect and 0 imperfect interpolant sequences [2023-11-24 23:56:03,498 INFO L185 FreeRefinementEngine]: Found 1 perfect and 0 imperfect interpolant sequences. [2023-11-24 23:56:03,509 INFO L198 FreeRefinementEngine]: Number of different interpolants: perfect sequences [2] imperfect sequences [] total 2 [2023-11-24 23:56:03,509 INFO L121 tionRefinementEngine]: Using interpolant automaton builder IpAbStrategyModuleStraightlineAll [1947707738] [2023-11-24 23:56:03,509 INFO L85 oduleStraightlineAll]: Using 1 perfect interpolants to construct interpolant automaton [2023-11-24 23:56:03,510 INFO L571 AbstractCegarLoop]: INTERPOLANT automaton has 4 states [2023-11-24 23:56:03,510 INFO L100 FreeRefinementEngine]: Using predicate unifier PredicateUnifier provided by strategy SIFA_TAIPAN [2023-11-24 23:56:03,511 INFO L143 InterpolantAutomaton]: Constructing interpolant automaton starting with 4 interpolants. [2023-11-24 23:56:03,511 INFO L145 InterpolantAutomaton]: CoverageRelationStatistics Valid=5, Invalid=7, Unknown=0, NotChecked=0, Total=12 [2023-11-24 23:56:03,511 INFO L87 Difference]: Start difference. First operand 16 states and 18 transitions. Second operand has 4 states, 3 states have (on average 1.3333333333333333) internal successors, (4), 3 states have internal predecessors, (4), 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-24 23:56:03,555 INFO L144 Difference]: Subtrahend was deterministic. Have not used determinization. [2023-11-24 23:56:03,555 INFO L93 Difference]: Finished difference Result 23 states and 27 transitions. [2023-11-24 23:56:03,556 INFO L141 InterpolantAutomaton]: Switched to read-only mode: deterministic interpolant automaton has 4 states. [2023-11-24 23:56:03,556 INFO L78 Accepts]: Start accepts. Automaton has has 4 states, 3 states have (on average 1.3333333333333333) internal successors, (4), 3 states have internal predecessors, (4), 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 4 [2023-11-24 23:56:03,557 INFO L84 Accepts]: Finished accepts. some prefix is accepted. [2023-11-24 23:56:03,557 INFO L225 Difference]: With dead ends: 23 [2023-11-24 23:56:03,557 INFO L226 Difference]: Without dead ends: 23 [2023-11-24 23:56:03,558 INFO L412 NwaCegarLoop]: 0 DeclaredPredicates, 3 GetRequests, 0 SyntacticMatches, 0 SemanticMatches, 3 ConstructedPredicates, 0 IntricatePredicates, 0 DeprecatedPredicates, 0 ImplicationChecksByTransitivity, 0.0s TimeCoverageRelationStatistics Valid=9, Invalid=11, Unknown=0, NotChecked=0, Total=20 [2023-11-24 23:56:03,562 INFO L413 NwaCegarLoop]: 9 mSDtfsCounter, 32 mSDsluCounter, 6 mSDsCounter, 0 mSdLazyCounter, 20 mSolverCounterSat, 2 mSolverCounterUnsat, 0 mSolverCounterUnknown, 0 mSolverCounterNotChecked, 0.0s Time, 0 mProtectedPredicate, 0 mProtectedAction, 32 SdHoareTripleChecker+Valid, 15 SdHoareTripleChecker+Invalid, 22 SdHoareTripleChecker+Unknown, 0 SdHoareTripleChecker+Unchecked, 0.0s SdHoareTripleChecker+Time, 2 IncrementalHoareTripleChecker+Valid, 20 IncrementalHoareTripleChecker+Invalid, 0 IncrementalHoareTripleChecker+Unknown, 0 IncrementalHoareTripleChecker+Unchecked, 0.0s IncrementalHoareTripleChecker+Time [2023-11-24 23:56:03,562 INFO L414 NwaCegarLoop]: SdHoareTripleChecker [32 Valid, 15 Invalid, 22 Unknown, 0 Unchecked, 0.0s Time], IncrementalHoareTripleChecker [2 Valid, 20 Invalid, 0 Unknown, 0 Unchecked, 0.0s Time] [2023-11-24 23:56:03,563 INFO L82 GeneralOperation]: Start minimizeSevpa. Operand 23 states. [2023-11-24 23:56:03,566 INFO L88 GeneralOperation]: Finished minimizeSevpa. Reduced states from 23 to 21. [2023-11-24 23:56:03,566 INFO L82 GeneralOperation]: Start removeUnreachable. Operand has 21 states, 17 states have (on average 1.4705882352941178) internal successors, (25), 20 states have internal predecessors, (25), 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-24 23:56:03,567 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 21 states to 21 states and 25 transitions. [2023-11-24 23:56:03,567 INFO L78 Accepts]: Start accepts. Automaton has 21 states and 25 transitions. Word has length 4 [2023-11-24 23:56:03,567 INFO L84 Accepts]: Finished accepts. word is rejected. [2023-11-24 23:56:03,567 INFO L495 AbstractCegarLoop]: Abstraction has 21 states and 25 transitions. [2023-11-24 23:56:03,568 INFO L496 AbstractCegarLoop]: INTERPOLANT automaton has has 4 states, 3 states have (on average 1.3333333333333333) internal successors, (4), 3 states have internal predecessors, (4), 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-24 23:56:03,568 INFO L276 IsEmpty]: Start isEmpty. Operand 21 states and 25 transitions. [2023-11-24 23:56:03,568 INFO L282 IsEmpty]: Finished isEmpty. Found accepting run of length 8 [2023-11-24 23:56:03,569 INFO L187 NwaCegarLoop]: Found error trace [2023-11-24 23:56:03,569 INFO L195 NwaCegarLoop]: trace histogram [1, 1, 1, 1, 1, 1, 1] [2023-11-24 23:56:03,569 WARN L477 AbstractCegarLoop]: Destroyed unattended storables created during the last iteration: SelfDestructingSolverStorable4 [2023-11-24 23:56:03,569 INFO L420 AbstractCegarLoop]: === Iteration 6 === Targeting ULTIMATE.startErr10ASSERT_VIOLATIONMEMORY_LEAK === [ULTIMATE.startErr0REQUIRES_VIOLATIONMEMORY_DEREFERENCE, ULTIMATE.startErr1REQUIRES_VIOLATIONMEMORY_DEREFERENCE, ULTIMATE.startErr2REQUIRES_VIOLATIONMEMORY_DEREFERENCE (and 8 more)] === [2023-11-24 23:56:03,570 INFO L160 PredicateUnifier]: Initialized classic predicate unifier [2023-11-24 23:56:03,570 INFO L85 PathProgramCache]: Analyzing trace with hash 1086427337, now seen corresponding path program 1 times [2023-11-24 23:56:03,570 INFO L118 FreeRefinementEngine]: Executing refinement strategy SIFA_TAIPAN [2023-11-24 23:56:03,570 INFO L334 FreeRefinementEngine]: Using trace check IpTcStrategyModuleSmtInterpolCraig [240654201] [2023-11-24 23:56:03,571 INFO L95 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2023-11-24 23:56:03,571 INFO L127 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout -1 ms and remaining time -1 ms [2023-11-24 23:56:03,588 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2023-11-24 23:56:03,672 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-24 23:56:03,673 INFO L136 FreeRefinementEngine]: Strategy SIFA_TAIPAN found an infeasible trace [2023-11-24 23:56:03,673 INFO L334 FreeRefinementEngine]: Using interpolant generator IpTcStrategyModuleSmtInterpolCraig [240654201] [2023-11-24 23:56:03,673 INFO L158 FreeRefinementEngine]: IpTcStrategyModuleSmtInterpolCraig [240654201] provided 1 perfect and 0 imperfect interpolant sequences [2023-11-24 23:56:03,673 INFO L185 FreeRefinementEngine]: Found 1 perfect and 0 imperfect interpolant sequences. [2023-11-24 23:56:03,674 INFO L198 FreeRefinementEngine]: Number of different interpolants: perfect sequences [2] imperfect sequences [] total 2 [2023-11-24 23:56:03,674 INFO L121 tionRefinementEngine]: Using interpolant automaton builder IpAbStrategyModuleStraightlineAll [1047694592] [2023-11-24 23:56:03,674 INFO L85 oduleStraightlineAll]: Using 1 perfect interpolants to construct interpolant automaton [2023-11-24 23:56:03,675 INFO L571 AbstractCegarLoop]: INTERPOLANT automaton has 4 states [2023-11-24 23:56:03,675 INFO L100 FreeRefinementEngine]: Using predicate unifier PredicateUnifier provided by strategy SIFA_TAIPAN [2023-11-24 23:56:03,675 INFO L143 InterpolantAutomaton]: Constructing interpolant automaton starting with 4 interpolants. [2023-11-24 23:56:03,676 INFO L145 InterpolantAutomaton]: CoverageRelationStatistics Valid=5, Invalid=7, Unknown=0, NotChecked=0, Total=12 [2023-11-24 23:56:03,676 INFO L87 Difference]: Start difference. First operand 21 states and 25 transitions. Second operand has 4 states, 3 states have (on average 2.3333333333333335) internal successors, (7), 3 states have internal predecessors, (7), 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-24 23:56:03,702 INFO L144 Difference]: Subtrahend was deterministic. Have not used determinization. [2023-11-24 23:56:03,702 INFO L93 Difference]: Finished difference Result 20 states and 24 transitions. [2023-11-24 23:56:03,702 INFO L141 InterpolantAutomaton]: Switched to read-only mode: deterministic interpolant automaton has 4 states. [2023-11-24 23:56:03,703 INFO L78 Accepts]: Start accepts. Automaton has has 4 states, 3 states have (on average 2.3333333333333335) internal successors, (7), 3 states have internal predecessors, (7), 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 7 [2023-11-24 23:56:03,703 INFO L84 Accepts]: Finished accepts. some prefix is accepted. [2023-11-24 23:56:03,705 INFO L225 Difference]: With dead ends: 20 [2023-11-24 23:56:03,705 INFO L226 Difference]: Without dead ends: 18 [2023-11-24 23:56:03,705 INFO L412 NwaCegarLoop]: 0 DeclaredPredicates, 2 GetRequests, 0 SyntacticMatches, 0 SemanticMatches, 2 ConstructedPredicates, 0 IntricatePredicates, 0 DeprecatedPredicates, 0 ImplicationChecksByTransitivity, 0.0s TimeCoverageRelationStatistics Valid=5, Invalid=7, Unknown=0, NotChecked=0, Total=12 [2023-11-24 23:56:03,706 INFO L413 NwaCegarLoop]: 9 mSDtfsCounter, 11 mSDsluCounter, 9 mSDsCounter, 0 mSdLazyCounter, 16 mSolverCounterSat, 0 mSolverCounterUnsat, 0 mSolverCounterUnknown, 0 mSolverCounterNotChecked, 0.0s Time, 0 mProtectedPredicate, 0 mProtectedAction, 11 SdHoareTripleChecker+Valid, 18 SdHoareTripleChecker+Invalid, 16 SdHoareTripleChecker+Unknown, 0 SdHoareTripleChecker+Unchecked, 0.0s SdHoareTripleChecker+Time, 0 IncrementalHoareTripleChecker+Valid, 16 IncrementalHoareTripleChecker+Invalid, 0 IncrementalHoareTripleChecker+Unknown, 0 IncrementalHoareTripleChecker+Unchecked, 0.0s IncrementalHoareTripleChecker+Time [2023-11-24 23:56:03,707 INFO L414 NwaCegarLoop]: SdHoareTripleChecker [11 Valid, 18 Invalid, 16 Unknown, 0 Unchecked, 0.0s Time], IncrementalHoareTripleChecker [0 Valid, 16 Invalid, 0 Unknown, 0 Unchecked, 0.0s Time] [2023-11-24 23:56:03,708 INFO L82 GeneralOperation]: Start minimizeSevpa. Operand 18 states. [2023-11-24 23:56:03,710 INFO L88 GeneralOperation]: Finished minimizeSevpa. Reduced states from 18 to 18. [2023-11-24 23:56:03,711 INFO L82 GeneralOperation]: Start removeUnreachable. Operand has 18 states, 15 states have (on average 1.4) internal successors, (21), 17 states have internal predecessors, (21), 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-24 23:56:03,711 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 18 states to 18 states and 21 transitions. [2023-11-24 23:56:03,711 INFO L78 Accepts]: Start accepts. Automaton has 18 states and 21 transitions. Word has length 7 [2023-11-24 23:56:03,712 INFO L84 Accepts]: Finished accepts. word is rejected. [2023-11-24 23:56:03,712 INFO L495 AbstractCegarLoop]: Abstraction has 18 states and 21 transitions. [2023-11-24 23:56:03,712 INFO L496 AbstractCegarLoop]: INTERPOLANT automaton has has 4 states, 3 states have (on average 2.3333333333333335) internal successors, (7), 3 states have internal predecessors, (7), 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-24 23:56:03,712 INFO L276 IsEmpty]: Start isEmpty. Operand 18 states and 21 transitions. [2023-11-24 23:56:03,713 INFO L282 IsEmpty]: Finished isEmpty. Found accepting run of length 10 [2023-11-24 23:56:03,713 INFO L187 NwaCegarLoop]: Found error trace [2023-11-24 23:56:03,713 INFO L195 NwaCegarLoop]: trace histogram [1, 1, 1, 1, 1, 1, 1, 1, 1] [2023-11-24 23:56:03,713 WARN L477 AbstractCegarLoop]: Destroyed unattended storables created during the last iteration: SelfDestructingSolverStorable5 [2023-11-24 23:56:03,714 INFO L420 AbstractCegarLoop]: === Iteration 7 === Targeting ULTIMATE.startErr5REQUIRES_VIOLATIONMEMORY_DEREFERENCE === [ULTIMATE.startErr0REQUIRES_VIOLATIONMEMORY_DEREFERENCE, ULTIMATE.startErr1REQUIRES_VIOLATIONMEMORY_DEREFERENCE, ULTIMATE.startErr2REQUIRES_VIOLATIONMEMORY_DEREFERENCE (and 8 more)] === [2023-11-24 23:56:03,714 INFO L160 PredicateUnifier]: Initialized classic predicate unifier [2023-11-24 23:56:03,714 INFO L85 PathProgramCache]: Analyzing trace with hash 380593227, now seen corresponding path program 1 times [2023-11-24 23:56:03,715 INFO L118 FreeRefinementEngine]: Executing refinement strategy SIFA_TAIPAN [2023-11-24 23:56:03,715 INFO L334 FreeRefinementEngine]: Using trace check IpTcStrategyModuleSmtInterpolCraig [1400783113] [2023-11-24 23:56:03,715 INFO L95 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2023-11-24 23:56:03,715 INFO L127 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout -1 ms and remaining time -1 ms [2023-11-24 23:56:03,729 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2023-11-24 23:56:03,969 INFO L134 CoverageAnalysis]: Checked inductivity of 1 backedges. 1 proven. 0 refuted. 0 times theorem prover too weak. 0 trivial. 0 not checked. [2023-11-24 23:56:03,970 INFO L136 FreeRefinementEngine]: Strategy SIFA_TAIPAN found an infeasible trace [2023-11-24 23:56:03,970 INFO L334 FreeRefinementEngine]: Using interpolant generator IpTcStrategyModuleSmtInterpolCraig [1400783113] [2023-11-24 23:56:03,970 INFO L158 FreeRefinementEngine]: IpTcStrategyModuleSmtInterpolCraig [1400783113] provided 1 perfect and 0 imperfect interpolant sequences [2023-11-24 23:56:03,970 INFO L185 FreeRefinementEngine]: Found 1 perfect and 0 imperfect interpolant sequences. [2023-11-24 23:56:03,970 INFO L198 FreeRefinementEngine]: Number of different interpolants: perfect sequences [5] imperfect sequences [] total 5 [2023-11-24 23:56:03,971 INFO L121 tionRefinementEngine]: Using interpolant automaton builder IpAbStrategyModuleStraightlineAll [863375524] [2023-11-24 23:56:03,971 INFO L85 oduleStraightlineAll]: Using 1 perfect interpolants to construct interpolant automaton [2023-11-24 23:56:03,971 INFO L571 AbstractCegarLoop]: INTERPOLANT automaton has 6 states [2023-11-24 23:56:03,971 INFO L100 FreeRefinementEngine]: Using predicate unifier PredicateUnifier provided by strategy SIFA_TAIPAN [2023-11-24 23:56:03,972 INFO L143 InterpolantAutomaton]: Constructing interpolant automaton starting with 6 interpolants. [2023-11-24 23:56:03,972 INFO L145 InterpolantAutomaton]: CoverageRelationStatistics Valid=10, Invalid=20, Unknown=0, NotChecked=0, Total=30 [2023-11-24 23:56:03,973 INFO L87 Difference]: Start difference. First operand 18 states and 21 transitions. Second operand has 6 states, 6 states have (on average 1.5) internal successors, (9), 5 states have internal predecessors, (9), 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-24 23:56:04,039 INFO L144 Difference]: Subtrahend was deterministic. Have not used determinization. [2023-11-24 23:56:04,039 INFO L93 Difference]: Finished difference Result 23 states and 26 transitions. [2023-11-24 23:56:04,040 INFO L141 InterpolantAutomaton]: Switched to read-only mode: deterministic interpolant automaton has 6 states. [2023-11-24 23:56:04,040 INFO L78 Accepts]: Start accepts. Automaton has has 6 states, 6 states have (on average 1.5) internal successors, (9), 5 states have internal predecessors, (9), 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 9 [2023-11-24 23:56:04,040 INFO L84 Accepts]: Finished accepts. some prefix is accepted. [2023-11-24 23:56:04,041 INFO L225 Difference]: With dead ends: 23 [2023-11-24 23:56:04,041 INFO L226 Difference]: Without dead ends: 20 [2023-11-24 23:56:04,041 INFO L412 NwaCegarLoop]: 0 DeclaredPredicates, 7 GetRequests, 1 SyntacticMatches, 0 SemanticMatches, 6 ConstructedPredicates, 0 IntricatePredicates, 0 DeprecatedPredicates, 2 ImplicationChecksByTransitivity, 0.0s TimeCoverageRelationStatistics Valid=22, Invalid=34, Unknown=0, NotChecked=0, Total=56 [2023-11-24 23:56:04,042 INFO L413 NwaCegarLoop]: 8 mSDtfsCounter, 4 mSDsluCounter, 28 mSDsCounter, 0 mSdLazyCounter, 38 mSolverCounterSat, 0 mSolverCounterUnsat, 0 mSolverCounterUnknown, 0 mSolverCounterNotChecked, 0.0s Time, 0 mProtectedPredicate, 0 mProtectedAction, 4 SdHoareTripleChecker+Valid, 36 SdHoareTripleChecker+Invalid, 38 SdHoareTripleChecker+Unknown, 0 SdHoareTripleChecker+Unchecked, 0.0s SdHoareTripleChecker+Time, 0 IncrementalHoareTripleChecker+Valid, 38 IncrementalHoareTripleChecker+Invalid, 0 IncrementalHoareTripleChecker+Unknown, 0 IncrementalHoareTripleChecker+Unchecked, 0.0s IncrementalHoareTripleChecker+Time [2023-11-24 23:56:04,043 INFO L414 NwaCegarLoop]: SdHoareTripleChecker [4 Valid, 36 Invalid, 38 Unknown, 0 Unchecked, 0.0s Time], IncrementalHoareTripleChecker [0 Valid, 38 Invalid, 0 Unknown, 0 Unchecked, 0.0s Time] [2023-11-24 23:56:04,044 INFO L82 GeneralOperation]: Start minimizeSevpa. Operand 20 states. [2023-11-24 23:56:04,045 INFO L88 GeneralOperation]: Finished minimizeSevpa. Reduced states from 20 to 19. [2023-11-24 23:56:04,046 INFO L82 GeneralOperation]: Start removeUnreachable. Operand has 19 states, 16 states have (on average 1.375) internal successors, (22), 18 states have internal predecessors, (22), 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-24 23:56:04,046 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 19 states to 19 states and 22 transitions. [2023-11-24 23:56:04,046 INFO L78 Accepts]: Start accepts. Automaton has 19 states and 22 transitions. Word has length 9 [2023-11-24 23:56:04,047 INFO L84 Accepts]: Finished accepts. word is rejected. [2023-11-24 23:56:04,047 INFO L495 AbstractCegarLoop]: Abstraction has 19 states and 22 transitions. [2023-11-24 23:56:04,047 INFO L496 AbstractCegarLoop]: INTERPOLANT automaton has has 6 states, 6 states have (on average 1.5) internal successors, (9), 5 states have internal predecessors, (9), 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-24 23:56:04,047 INFO L276 IsEmpty]: Start isEmpty. Operand 19 states and 22 transitions. [2023-11-24 23:56:04,048 INFO L282 IsEmpty]: Finished isEmpty. Found accepting run of length 12 [2023-11-24 23:56:04,048 INFO L187 NwaCegarLoop]: Found error trace [2023-11-24 23:56:04,048 INFO L195 NwaCegarLoop]: trace histogram [1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1] [2023-11-24 23:56:04,048 WARN L477 AbstractCegarLoop]: Destroyed unattended storables created during the last iteration: SelfDestructingSolverStorable6 [2023-11-24 23:56:04,049 INFO L420 AbstractCegarLoop]: === Iteration 8 === Targeting ULTIMATE.startErr5REQUIRES_VIOLATIONMEMORY_DEREFERENCE === [ULTIMATE.startErr0REQUIRES_VIOLATIONMEMORY_DEREFERENCE, ULTIMATE.startErr1REQUIRES_VIOLATIONMEMORY_DEREFERENCE, ULTIMATE.startErr2REQUIRES_VIOLATIONMEMORY_DEREFERENCE (and 8 more)] === [2023-11-24 23:56:04,049 INFO L160 PredicateUnifier]: Initialized classic predicate unifier [2023-11-24 23:56:04,049 INFO L85 PathProgramCache]: Analyzing trace with hash 1202469922, now seen corresponding path program 1 times [2023-11-24 23:56:04,049 INFO L118 FreeRefinementEngine]: Executing refinement strategy SIFA_TAIPAN [2023-11-24 23:56:04,050 INFO L334 FreeRefinementEngine]: Using trace check IpTcStrategyModuleSmtInterpolCraig [656324215] [2023-11-24 23:56:04,050 INFO L95 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2023-11-24 23:56:04,050 INFO L127 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout -1 ms and remaining time -1 ms [2023-11-24 23:56:04,064 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2023-11-24 23:56:04,253 INFO L134 CoverageAnalysis]: Checked inductivity of 2 backedges. 0 proven. 2 refuted. 0 times theorem prover too weak. 0 trivial. 0 not checked. [2023-11-24 23:56:04,253 INFO L136 FreeRefinementEngine]: Strategy SIFA_TAIPAN found an infeasible trace [2023-11-24 23:56:04,253 INFO L334 FreeRefinementEngine]: Using interpolant generator IpTcStrategyModuleSmtInterpolCraig [656324215] [2023-11-24 23:56:04,253 INFO L158 FreeRefinementEngine]: IpTcStrategyModuleSmtInterpolCraig [656324215] provided 0 perfect and 1 imperfect interpolant sequences [2023-11-24 23:56:04,254 INFO L334 FreeRefinementEngine]: Using interpolant generator IpTcStrategyModuleZ3 [480726766] [2023-11-24 23:56:04,254 INFO L95 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2023-11-24 23:56:04,254 INFO L173 SolverBuilder]: Constructing external solver with command: z3 -smt2 -in SMTLIB2_COMPLIANT=true [2023-11-24 23:56:04,254 INFO L189 MonitoredProcess]: No working directory specified, using /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_0f5c6703-6916-48ad-b754-686851d54387/bin/utaipan-verify-SwPr7d2a91/z3 [2023-11-24 23:56:04,258 INFO L229 MonitoredProcess]: Starting monitored process 2 with /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_0f5c6703-6916-48ad-b754-686851d54387/bin/utaipan-verify-SwPr7d2a91/z3 -smt2 -in SMTLIB2_COMPLIANT=true (exit command is (exit), workingDir is null) [2023-11-24 23:56:04,288 INFO L327 MonitoredProcess]: [MP /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_0f5c6703-6916-48ad-b754-686851d54387/bin/utaipan-verify-SwPr7d2a91/z3 -smt2 -in SMTLIB2_COMPLIANT=true (2)] Waiting until timeout for monitored process [2023-11-24 23:56:04,350 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2023-11-24 23:56:04,353 INFO L262 TraceCheckSpWp]: Trace formula consists of 94 conjuncts, 20 conjunts are in the unsatisfiable core [2023-11-24 23:56:04,358 INFO L285 TraceCheckSpWp]: Computing forward predicates... [2023-11-24 23:56:04,471 INFO L134 CoverageAnalysis]: Checked inductivity of 2 backedges. 0 proven. 2 refuted. 0 times theorem prover too weak. 0 trivial. 0 not checked. [2023-11-24 23:56:04,472 INFO L327 TraceCheckSpWp]: Computing backward predicates... [2023-11-24 23:56:04,618 INFO L378 Elim1Store]: Elim1 eliminated variable of array dimension 1, 0 stores, 1 select indices, 1 select index equivalence classes, 0 disjoint index pairs (out of 0 index pairs), introduced 1 new quantified variables, introduced 0 case distinctions, treesize of input 5 treesize of output 3 [2023-11-24 23:56:04,641 INFO L134 CoverageAnalysis]: Checked inductivity of 2 backedges. 0 proven. 2 refuted. 0 times theorem prover too weak. 0 trivial. 0 not checked. [2023-11-24 23:56:04,641 INFO L158 FreeRefinementEngine]: IpTcStrategyModuleZ3 [480726766] provided 0 perfect and 2 imperfect interpolant sequences [2023-11-24 23:56:04,641 INFO L334 FreeRefinementEngine]: Using interpolant generator IpTcStrategyModuleSifa [393759448] [2023-11-24 23:56:04,662 INFO L159 IcfgInterpreter]: Started Sifa with 10 locations of interest [2023-11-24 23:56:04,662 INFO L166 IcfgInterpreter]: Building call graph [2023-11-24 23:56:04,667 INFO L171 IcfgInterpreter]: Initial procedures are [ULTIMATE.start] [2023-11-24 23:56:04,673 INFO L176 IcfgInterpreter]: Starting interpretation [2023-11-24 23:56:04,674 INFO L197 IcfgInterpreter]: Interpreting procedure ULTIMATE.start with input of size 1 for LOIs [2023-11-24 23:56:05,735 INFO L180 IcfgInterpreter]: Interpretation finished [2023-11-24 23:56:06,138 INFO L133 SifaRunner]: Sifa could not show that error location is unreachable, found '413#(and (<= 1 |#StackHeapBarrier|) (<= 2 |ULTIMATE.start_main_#t~malloc7#1.base|) (<= 1 |ULTIMATE.start_main_~length1~0#1|) (<= 2 |ULTIMATE.start_cstrreplace_~s#1.base|) (<= |ULTIMATE.start_main_#t~nondet10#1| 2147483647) (<= 2 |ULTIMATE.start_cstrreplace_#in~s#1.base|) (= |ULTIMATE.start_cstrreplace_~numReplaced~0#1| 0) (= |ULTIMATE.start_main_~nondetString1~0#1.offset| 0) (<= |ULTIMATE.start_main_#t~nondet11#1| 2147483647) (= |ULTIMATE.start_cstrreplace_#in~s#1.offset| 0) (<= (select |#length| |ULTIMATE.start_cstrreplace_~p~0#1.base|) |ULTIMATE.start_cstrreplace_~p~0#1.offset|) (<= 0 |ULTIMATE.start_cstrreplace_~p~0#1.offset|) (= |ULTIMATE.start_main_#t~malloc7#1.offset| 0) (= |ULTIMATE.start_cstrreplace_~s#1.offset| 0) (<= 2 |ULTIMATE.start_main_~nondetString1~0#1.base|) (<= 0 (+ 2147483648 |ULTIMATE.start_main_#t~nondet11#1|)) (<= 2 |ULTIMATE.start_cstrreplace_~p~0#1.base|) (<= 0 (+ 2147483648 |ULTIMATE.start_main_#t~nondet10#1|)))' at error location [2023-11-24 23:56:06,138 WARN L311 FreeRefinementEngine]: Interpolation failed due to KNOWN_IGNORE: ALGORITHM_FAILED [2023-11-24 23:56:06,139 INFO L185 FreeRefinementEngine]: Found 0 perfect and 3 imperfect interpolant sequences. [2023-11-24 23:56:06,139 INFO L198 FreeRefinementEngine]: Number of different interpolants: perfect sequences [] imperfect sequences [4, 5, 5] total 11 [2023-11-24 23:56:06,139 INFO L121 tionRefinementEngine]: Using interpolant automaton builder IpAbStrategyModuleStraightlineAll [439349918] [2023-11-24 23:56:06,139 INFO L85 oduleStraightlineAll]: Using 3 imperfect interpolants to construct interpolant automaton [2023-11-24 23:56:06,140 INFO L571 AbstractCegarLoop]: INTERPOLANT automaton has 13 states [2023-11-24 23:56:06,140 INFO L100 FreeRefinementEngine]: Using predicate unifier PredicateUnifier provided by strategy SIFA_TAIPAN [2023-11-24 23:56:06,141 INFO L143 InterpolantAutomaton]: Constructing interpolant automaton starting with 13 interpolants. [2023-11-24 23:56:06,141 INFO L145 InterpolantAutomaton]: CoverageRelationStatistics Valid=65, Invalid=277, Unknown=0, NotChecked=0, Total=342 [2023-11-24 23:56:06,141 INFO L87 Difference]: Start difference. First operand 19 states and 22 transitions. Second operand has 13 states, 12 states have (on average 2.3333333333333335) internal successors, (28), 12 states have internal predecessors, (28), 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-24 23:56:06,283 INFO L144 Difference]: Subtrahend was deterministic. Have not used determinization. [2023-11-24 23:56:06,284 INFO L93 Difference]: Finished difference Result 24 states and 28 transitions. [2023-11-24 23:56:06,284 INFO L141 InterpolantAutomaton]: Switched to read-only mode: deterministic interpolant automaton has 8 states. [2023-11-24 23:56:06,285 INFO L78 Accepts]: Start accepts. Automaton has has 13 states, 12 states have (on average 2.3333333333333335) internal successors, (28), 12 states have internal predecessors, (28), 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 11 [2023-11-24 23:56:06,285 INFO L84 Accepts]: Finished accepts. some prefix is accepted. [2023-11-24 23:56:06,285 INFO L225 Difference]: With dead ends: 24 [2023-11-24 23:56:06,285 INFO L226 Difference]: Without dead ends: 24 [2023-11-24 23:56:06,286 INFO L412 NwaCegarLoop]: 0 DeclaredPredicates, 39 GetRequests, 16 SyntacticMatches, 2 SemanticMatches, 21 ConstructedPredicates, 0 IntricatePredicates, 0 DeprecatedPredicates, 124 ImplicationChecksByTransitivity, 0.6s TimeCoverageRelationStatistics Valid=95, Invalid=411, Unknown=0, NotChecked=0, Total=506 [2023-11-24 23:56:06,287 INFO L413 NwaCegarLoop]: 7 mSDtfsCounter, 65 mSDsluCounter, 13 mSDsCounter, 0 mSdLazyCounter, 54 mSolverCounterSat, 7 mSolverCounterUnsat, 0 mSolverCounterUnknown, 0 mSolverCounterNotChecked, 0.1s Time, 0 mProtectedPredicate, 0 mProtectedAction, 65 SdHoareTripleChecker+Valid, 20 SdHoareTripleChecker+Invalid, 61 SdHoareTripleChecker+Unknown, 0 SdHoareTripleChecker+Unchecked, 0.0s SdHoareTripleChecker+Time, 7 IncrementalHoareTripleChecker+Valid, 54 IncrementalHoareTripleChecker+Invalid, 0 IncrementalHoareTripleChecker+Unknown, 0 IncrementalHoareTripleChecker+Unchecked, 0.1s IncrementalHoareTripleChecker+Time [2023-11-24 23:56:06,287 INFO L414 NwaCegarLoop]: SdHoareTripleChecker [65 Valid, 20 Invalid, 61 Unknown, 0 Unchecked, 0.0s Time], IncrementalHoareTripleChecker [7 Valid, 54 Invalid, 0 Unknown, 0 Unchecked, 0.1s Time] [2023-11-24 23:56:06,288 INFO L82 GeneralOperation]: Start minimizeSevpa. Operand 24 states. [2023-11-24 23:56:06,289 INFO L88 GeneralOperation]: Finished minimizeSevpa. Reduced states from 24 to 19. [2023-11-24 23:56:06,290 INFO L82 GeneralOperation]: Start removeUnreachable. Operand has 19 states, 18 states have (on average 1.2222222222222223) internal successors, (22), 18 states have internal predecessors, (22), 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-24 23:56:06,290 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 19 states to 19 states and 22 transitions. [2023-11-24 23:56:06,291 INFO L78 Accepts]: Start accepts. Automaton has 19 states and 22 transitions. Word has length 11 [2023-11-24 23:56:06,291 INFO L84 Accepts]: Finished accepts. word is rejected. [2023-11-24 23:56:06,291 INFO L495 AbstractCegarLoop]: Abstraction has 19 states and 22 transitions. [2023-11-24 23:56:06,291 INFO L496 AbstractCegarLoop]: INTERPOLANT automaton has has 13 states, 12 states have (on average 2.3333333333333335) internal successors, (28), 12 states have internal predecessors, (28), 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-24 23:56:06,292 INFO L276 IsEmpty]: Start isEmpty. Operand 19 states and 22 transitions. [2023-11-24 23:56:06,292 INFO L282 IsEmpty]: Finished isEmpty. Found accepting run of length 17 [2023-11-24 23:56:06,292 INFO L187 NwaCegarLoop]: Found error trace [2023-11-24 23:56:06,292 INFO L195 NwaCegarLoop]: trace histogram [2, 2, 2, 2, 2, 1, 1, 1, 1, 1, 1] [2023-11-24 23:56:06,304 INFO L540 MonitoredProcess]: [MP /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_0f5c6703-6916-48ad-b754-686851d54387/bin/utaipan-verify-SwPr7d2a91/z3 -smt2 -in SMTLIB2_COMPLIANT=true (2)] Forceful destruction successful, exit code 0 [2023-11-24 23:56:06,499 WARN L477 AbstractCegarLoop]: Destroyed unattended storables created during the last iteration: SelfDestructingSolverStorable7,2 /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_0f5c6703-6916-48ad-b754-686851d54387/bin/utaipan-verify-SwPr7d2a91/z3 -smt2 -in SMTLIB2_COMPLIANT=true [2023-11-24 23:56:06,500 INFO L420 AbstractCegarLoop]: === Iteration 9 === Targeting ULTIMATE.startErr5REQUIRES_VIOLATIONMEMORY_DEREFERENCE === [ULTIMATE.startErr0REQUIRES_VIOLATIONMEMORY_DEREFERENCE, ULTIMATE.startErr1REQUIRES_VIOLATIONMEMORY_DEREFERENCE, ULTIMATE.startErr2REQUIRES_VIOLATIONMEMORY_DEREFERENCE (and 8 more)] === [2023-11-24 23:56:06,500 INFO L160 PredicateUnifier]: Initialized classic predicate unifier [2023-11-24 23:56:06,501 INFO L85 PathProgramCache]: Analyzing trace with hash 1067917411, now seen corresponding path program 2 times [2023-11-24 23:56:06,501 INFO L118 FreeRefinementEngine]: Executing refinement strategy SIFA_TAIPAN [2023-11-24 23:56:06,501 INFO L334 FreeRefinementEngine]: Using trace check IpTcStrategyModuleSmtInterpolCraig [837029811] [2023-11-24 23:56:06,501 INFO L95 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2023-11-24 23:56:06,501 INFO L127 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout -1 ms and remaining time -1 ms [2023-11-24 23:56:06,521 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2023-11-24 23:56:06,910 INFO L134 CoverageAnalysis]: Checked inductivity of 8 backedges. 5 proven. 3 refuted. 0 times theorem prover too weak. 0 trivial. 0 not checked. [2023-11-24 23:56:06,911 INFO L136 FreeRefinementEngine]: Strategy SIFA_TAIPAN found an infeasible trace [2023-11-24 23:56:06,911 INFO L334 FreeRefinementEngine]: Using interpolant generator IpTcStrategyModuleSmtInterpolCraig [837029811] [2023-11-24 23:56:06,911 INFO L158 FreeRefinementEngine]: IpTcStrategyModuleSmtInterpolCraig [837029811] provided 0 perfect and 1 imperfect interpolant sequences [2023-11-24 23:56:06,911 INFO L334 FreeRefinementEngine]: Using interpolant generator IpTcStrategyModuleZ3 [1151188892] [2023-11-24 23:56:06,911 INFO L93 rtionOrderModulation]: Changing assertion order to OUTSIDE_LOOP_FIRST2 [2023-11-24 23:56:06,911 INFO L173 SolverBuilder]: Constructing external solver with command: z3 -smt2 -in SMTLIB2_COMPLIANT=true [2023-11-24 23:56:06,911 INFO L189 MonitoredProcess]: No working directory specified, using /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_0f5c6703-6916-48ad-b754-686851d54387/bin/utaipan-verify-SwPr7d2a91/z3 [2023-11-24 23:56:06,912 INFO L229 MonitoredProcess]: Starting monitored process 3 with /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_0f5c6703-6916-48ad-b754-686851d54387/bin/utaipan-verify-SwPr7d2a91/z3 -smt2 -in SMTLIB2_COMPLIANT=true (exit command is (exit), workingDir is null) [2023-11-24 23:56:06,916 INFO L327 MonitoredProcess]: [MP /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_0f5c6703-6916-48ad-b754-686851d54387/bin/utaipan-verify-SwPr7d2a91/z3 -smt2 -in SMTLIB2_COMPLIANT=true (3)] Waiting until timeout for monitored process [2023-11-24 23:56:07,004 INFO L228 tOrderPrioritization]: Assert order OUTSIDE_LOOP_FIRST2 issued 3 check-sat command(s) [2023-11-24 23:56:07,005 INFO L229 tOrderPrioritization]: Conjunction of SSA is unsat [2023-11-24 23:56:07,007 INFO L262 TraceCheckSpWp]: Trace formula consists of 112 conjuncts, 28 conjunts are in the unsatisfiable core [2023-11-24 23:56:07,010 INFO L285 TraceCheckSpWp]: Computing forward predicates... [2023-11-24 23:56:07,089 INFO L378 Elim1Store]: Elim1 eliminated variable of array dimension 2, 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 13 treesize of output 9 [2023-11-24 23:56:07,153 INFO L134 CoverageAnalysis]: Checked inductivity of 8 backedges. 5 proven. 3 refuted. 0 times theorem prover too weak. 0 trivial. 0 not checked. [2023-11-24 23:56:07,153 INFO L327 TraceCheckSpWp]: Computing backward predicates... [2023-11-24 23:56:07,196 INFO L378 Elim1Store]: Elim1 eliminated variable of array dimension 2, 0 stores, 1 select indices, 1 select index equivalence classes, 0 disjoint index pairs (out of 0 index pairs), introduced 1 new quantified variables, introduced 0 case distinctions, treesize of input 15 treesize of output 13 [2023-11-24 23:56:07,200 INFO L378 Elim1Store]: Elim1 eliminated variable of array dimension 1, 0 stores, 1 select indices, 1 select index equivalence classes, 0 disjoint index pairs (out of 0 index pairs), introduced 1 new quantified variables, introduced 0 case distinctions, treesize of input 16 treesize of output 12 [2023-11-24 23:56:07,260 INFO L134 CoverageAnalysis]: Checked inductivity of 8 backedges. 5 proven. 3 refuted. 0 times theorem prover too weak. 0 trivial. 0 not checked. [2023-11-24 23:56:07,260 INFO L158 FreeRefinementEngine]: IpTcStrategyModuleZ3 [1151188892] provided 0 perfect and 2 imperfect interpolant sequences [2023-11-24 23:56:07,261 INFO L334 FreeRefinementEngine]: Using interpolant generator IpTcStrategyModuleSifa [2125649941] [2023-11-24 23:56:07,267 INFO L159 IcfgInterpreter]: Started Sifa with 10 locations of interest [2023-11-24 23:56:07,267 INFO L166 IcfgInterpreter]: Building call graph [2023-11-24 23:56:07,267 INFO L171 IcfgInterpreter]: Initial procedures are [ULTIMATE.start] [2023-11-24 23:56:07,268 INFO L176 IcfgInterpreter]: Starting interpretation [2023-11-24 23:56:07,268 INFO L197 IcfgInterpreter]: Interpreting procedure ULTIMATE.start with input of size 1 for LOIs [2023-11-24 23:56:08,323 INFO L180 IcfgInterpreter]: Interpretation finished [2023-11-24 23:56:08,777 INFO L133 SifaRunner]: Sifa could not show that error location is unreachable, found '579#(and (<= 1 |#StackHeapBarrier|) (<= 2 |ULTIMATE.start_main_#t~malloc7#1.base|) (<= 1 |ULTIMATE.start_main_~length1~0#1|) (<= 2 |ULTIMATE.start_cstrreplace_~s#1.base|) (<= |ULTIMATE.start_main_#t~nondet10#1| 2147483647) (<= 2 |ULTIMATE.start_cstrreplace_#in~s#1.base|) (= |ULTIMATE.start_cstrreplace_~numReplaced~0#1| 0) (= |ULTIMATE.start_main_~nondetString1~0#1.offset| 0) (<= |ULTIMATE.start_main_#t~nondet11#1| 2147483647) (= |ULTIMATE.start_cstrreplace_#in~s#1.offset| 0) (<= (select |#length| |ULTIMATE.start_cstrreplace_~p~0#1.base|) |ULTIMATE.start_cstrreplace_~p~0#1.offset|) (<= 0 |ULTIMATE.start_cstrreplace_~p~0#1.offset|) (= |ULTIMATE.start_main_#t~malloc7#1.offset| 0) (= |ULTIMATE.start_cstrreplace_~s#1.offset| 0) (<= 2 |ULTIMATE.start_main_~nondetString1~0#1.base|) (<= 0 (+ 2147483648 |ULTIMATE.start_main_#t~nondet11#1|)) (<= 2 |ULTIMATE.start_cstrreplace_~p~0#1.base|) (<= 0 (+ 2147483648 |ULTIMATE.start_main_#t~nondet10#1|)))' at error location [2023-11-24 23:56:08,777 WARN L311 FreeRefinementEngine]: Interpolation failed due to KNOWN_IGNORE: ALGORITHM_FAILED [2023-11-24 23:56:08,777 INFO L185 FreeRefinementEngine]: Found 0 perfect and 3 imperfect interpolant sequences. [2023-11-24 23:56:08,778 INFO L198 FreeRefinementEngine]: Number of different interpolants: perfect sequences [] imperfect sequences [8, 8, 8] total 18 [2023-11-24 23:56:08,778 INFO L121 tionRefinementEngine]: Using interpolant automaton builder IpAbStrategyModuleStraightlineAll [1436961744] [2023-11-24 23:56:08,778 INFO L85 oduleStraightlineAll]: Using 3 imperfect interpolants to construct interpolant automaton [2023-11-24 23:56:08,779 INFO L571 AbstractCegarLoop]: INTERPOLANT automaton has 19 states [2023-11-24 23:56:08,779 INFO L100 FreeRefinementEngine]: Using predicate unifier PredicateUnifier provided by strategy SIFA_TAIPAN [2023-11-24 23:56:08,779 INFO L143 InterpolantAutomaton]: Constructing interpolant automaton starting with 19 interpolants. [2023-11-24 23:56:08,780 INFO L145 InterpolantAutomaton]: CoverageRelationStatistics Valid=79, Invalid=521, Unknown=0, NotChecked=0, Total=600 [2023-11-24 23:56:08,780 INFO L87 Difference]: Start difference. First operand 19 states and 22 transitions. Second operand has 19 states, 19 states have (on average 1.736842105263158) internal successors, (33), 18 states have internal predecessors, (33), 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-24 23:56:08,987 INFO L144 Difference]: Subtrahend was deterministic. Have not used determinization. [2023-11-24 23:56:08,988 INFO L93 Difference]: Finished difference Result 31 states and 35 transitions. [2023-11-24 23:56:08,988 INFO L141 InterpolantAutomaton]: Switched to read-only mode: deterministic interpolant automaton has 10 states. [2023-11-24 23:56:08,988 INFO L78 Accepts]: Start accepts. Automaton has has 19 states, 19 states have (on average 1.736842105263158) internal successors, (33), 18 states have internal predecessors, (33), 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 16 [2023-11-24 23:56:08,989 INFO L84 Accepts]: Finished accepts. some prefix is accepted. [2023-11-24 23:56:08,989 INFO L225 Difference]: With dead ends: 31 [2023-11-24 23:56:08,989 INFO L226 Difference]: Without dead ends: 22 [2023-11-24 23:56:08,990 INFO L412 NwaCegarLoop]: 0 DeclaredPredicates, 61 GetRequests, 32 SyntacticMatches, 0 SemanticMatches, 29 ConstructedPredicates, 0 IntricatePredicates, 0 DeprecatedPredicates, 202 ImplicationChecksByTransitivity, 0.8s TimeCoverageRelationStatistics Valid=137, Invalid=793, Unknown=0, NotChecked=0, Total=930 [2023-11-24 23:56:08,991 INFO L413 NwaCegarLoop]: 4 mSDtfsCounter, 41 mSDsluCounter, 54 mSDsCounter, 0 mSdLazyCounter, 120 mSolverCounterSat, 3 mSolverCounterUnsat, 0 mSolverCounterUnknown, 0 mSolverCounterNotChecked, 0.1s Time, 0 mProtectedPredicate, 0 mProtectedAction, 41 SdHoareTripleChecker+Valid, 58 SdHoareTripleChecker+Invalid, 123 SdHoareTripleChecker+Unknown, 0 SdHoareTripleChecker+Unchecked, 0.0s SdHoareTripleChecker+Time, 3 IncrementalHoareTripleChecker+Valid, 120 IncrementalHoareTripleChecker+Invalid, 0 IncrementalHoareTripleChecker+Unknown, 0 IncrementalHoareTripleChecker+Unchecked, 0.1s IncrementalHoareTripleChecker+Time [2023-11-24 23:56:08,991 INFO L414 NwaCegarLoop]: SdHoareTripleChecker [41 Valid, 58 Invalid, 123 Unknown, 0 Unchecked, 0.0s Time], IncrementalHoareTripleChecker [3 Valid, 120 Invalid, 0 Unknown, 0 Unchecked, 0.1s Time] [2023-11-24 23:56:08,992 INFO L82 GeneralOperation]: Start minimizeSevpa. Operand 22 states. [2023-11-24 23:56:08,993 INFO L88 GeneralOperation]: Finished minimizeSevpa. Reduced states from 22 to 21. [2023-11-24 23:56:08,994 INFO L82 GeneralOperation]: Start removeUnreachable. Operand has 21 states, 20 states have (on average 1.2) internal successors, (24), 20 states have internal predecessors, (24), 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-24 23:56:08,994 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 21 states to 21 states and 24 transitions. [2023-11-24 23:56:08,994 INFO L78 Accepts]: Start accepts. Automaton has 21 states and 24 transitions. Word has length 16 [2023-11-24 23:56:08,995 INFO L84 Accepts]: Finished accepts. word is rejected. [2023-11-24 23:56:08,995 INFO L495 AbstractCegarLoop]: Abstraction has 21 states and 24 transitions. [2023-11-24 23:56:08,995 INFO L496 AbstractCegarLoop]: INTERPOLANT automaton has has 19 states, 19 states have (on average 1.736842105263158) internal successors, (33), 18 states have internal predecessors, (33), 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-24 23:56:08,995 INFO L276 IsEmpty]: Start isEmpty. Operand 21 states and 24 transitions. [2023-11-24 23:56:08,996 INFO L282 IsEmpty]: Finished isEmpty. Found accepting run of length 19 [2023-11-24 23:56:08,996 INFO L187 NwaCegarLoop]: Found error trace [2023-11-24 23:56:08,996 INFO L195 NwaCegarLoop]: trace histogram [2, 2, 2, 2, 2, 2, 2, 1, 1, 1, 1] [2023-11-24 23:56:09,002 INFO L540 MonitoredProcess]: [MP /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_0f5c6703-6916-48ad-b754-686851d54387/bin/utaipan-verify-SwPr7d2a91/z3 -smt2 -in SMTLIB2_COMPLIANT=true (3)] Forceful destruction successful, exit code 0 [2023-11-24 23:56:09,201 WARN L477 AbstractCegarLoop]: Destroyed unattended storables created during the last iteration: SelfDestructingSolverStorable8,3 /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_0f5c6703-6916-48ad-b754-686851d54387/bin/utaipan-verify-SwPr7d2a91/z3 -smt2 -in SMTLIB2_COMPLIANT=true [2023-11-24 23:56:09,202 INFO L420 AbstractCegarLoop]: === Iteration 10 === Targeting ULTIMATE.startErr5REQUIRES_VIOLATIONMEMORY_DEREFERENCE === [ULTIMATE.startErr0REQUIRES_VIOLATIONMEMORY_DEREFERENCE, ULTIMATE.startErr1REQUIRES_VIOLATIONMEMORY_DEREFERENCE, ULTIMATE.startErr2REQUIRES_VIOLATIONMEMORY_DEREFERENCE (and 8 more)] === [2023-11-24 23:56:09,202 INFO L160 PredicateUnifier]: Initialized classic predicate unifier [2023-11-24 23:56:09,202 INFO L85 PathProgramCache]: Analyzing trace with hash -1778968404, now seen corresponding path program 3 times [2023-11-24 23:56:09,202 INFO L118 FreeRefinementEngine]: Executing refinement strategy SIFA_TAIPAN [2023-11-24 23:56:09,202 INFO L334 FreeRefinementEngine]: Using trace check IpTcStrategyModuleSmtInterpolCraig [1989524226] [2023-11-24 23:56:09,203 INFO L95 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2023-11-24 23:56:09,203 INFO L127 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout -1 ms and remaining time -1 ms [2023-11-24 23:56:09,221 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2023-11-24 23:56:09,536 INFO L134 CoverageAnalysis]: Checked inductivity of 11 backedges. 1 proven. 10 refuted. 0 times theorem prover too weak. 0 trivial. 0 not checked. [2023-11-24 23:56:09,537 INFO L136 FreeRefinementEngine]: Strategy SIFA_TAIPAN found an infeasible trace [2023-11-24 23:56:09,537 INFO L334 FreeRefinementEngine]: Using interpolant generator IpTcStrategyModuleSmtInterpolCraig [1989524226] [2023-11-24 23:56:09,537 INFO L158 FreeRefinementEngine]: IpTcStrategyModuleSmtInterpolCraig [1989524226] provided 0 perfect and 1 imperfect interpolant sequences [2023-11-24 23:56:09,537 INFO L334 FreeRefinementEngine]: Using interpolant generator IpTcStrategyModuleZ3 [1100108208] [2023-11-24 23:56:09,538 INFO L93 rtionOrderModulation]: Changing assertion order to TERMS_WITH_SMALL_CONSTANTS_FIRST [2023-11-24 23:56:09,538 INFO L173 SolverBuilder]: Constructing external solver with command: z3 -smt2 -in SMTLIB2_COMPLIANT=true [2023-11-24 23:56:09,538 INFO L189 MonitoredProcess]: No working directory specified, using /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_0f5c6703-6916-48ad-b754-686851d54387/bin/utaipan-verify-SwPr7d2a91/z3 [2023-11-24 23:56:09,541 INFO L229 MonitoredProcess]: Starting monitored process 4 with /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_0f5c6703-6916-48ad-b754-686851d54387/bin/utaipan-verify-SwPr7d2a91/z3 -smt2 -in SMTLIB2_COMPLIANT=true (exit command is (exit), workingDir is null) [2023-11-24 23:56:09,592 INFO L327 MonitoredProcess]: [MP /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_0f5c6703-6916-48ad-b754-686851d54387/bin/utaipan-verify-SwPr7d2a91/z3 -smt2 -in SMTLIB2_COMPLIANT=true (4)] Waiting until timeout for monitored process [2023-11-24 23:56:09,643 INFO L228 tOrderPrioritization]: Assert order TERMS_WITH_SMALL_CONSTANTS_FIRST issued 0 check-sat command(s) [2023-11-24 23:56:09,643 INFO L229 tOrderPrioritization]: Conjunction of SSA is unsat [2023-11-24 23:56:09,645 INFO L262 TraceCheckSpWp]: Trace formula consists of 125 conjuncts, 26 conjunts are in the unsatisfiable core [2023-11-24 23:56:09,648 INFO L285 TraceCheckSpWp]: Computing forward predicates... [2023-11-24 23:56:09,654 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 8 treesize of output 1 [2023-11-24 23:56:09,803 INFO L134 CoverageAnalysis]: Checked inductivity of 11 backedges. 1 proven. 10 refuted. 0 times theorem prover too weak. 0 trivial. 0 not checked. [2023-11-24 23:56:09,804 INFO L327 TraceCheckSpWp]: Computing backward predicates... [2023-11-24 23:56:10,058 INFO L134 CoverageAnalysis]: Checked inductivity of 11 backedges. 1 proven. 10 refuted. 0 times theorem prover too weak. 0 trivial. 0 not checked. [2023-11-24 23:56:10,058 INFO L158 FreeRefinementEngine]: IpTcStrategyModuleZ3 [1100108208] provided 0 perfect and 2 imperfect interpolant sequences [2023-11-24 23:56:10,058 INFO L334 FreeRefinementEngine]: Using interpolant generator IpTcStrategyModuleSifa [266029062] [2023-11-24 23:56:10,061 INFO L159 IcfgInterpreter]: Started Sifa with 10 locations of interest [2023-11-24 23:56:10,061 INFO L166 IcfgInterpreter]: Building call graph [2023-11-24 23:56:10,061 INFO L171 IcfgInterpreter]: Initial procedures are [ULTIMATE.start] [2023-11-24 23:56:10,062 INFO L176 IcfgInterpreter]: Starting interpretation [2023-11-24 23:56:10,062 INFO L197 IcfgInterpreter]: Interpreting procedure ULTIMATE.start with input of size 1 for LOIs [2023-11-24 23:56:11,031 INFO L180 IcfgInterpreter]: Interpretation finished [2023-11-24 23:56:11,461 INFO L133 SifaRunner]: Sifa could not show that error location is unreachable, found '771#(and (<= 1 |#StackHeapBarrier|) (<= 2 |ULTIMATE.start_main_#t~malloc7#1.base|) (<= 1 |ULTIMATE.start_main_~length1~0#1|) (<= 2 |ULTIMATE.start_cstrreplace_~s#1.base|) (<= |ULTIMATE.start_main_#t~nondet10#1| 2147483647) (<= 2 |ULTIMATE.start_cstrreplace_#in~s#1.base|) (= |ULTIMATE.start_cstrreplace_~numReplaced~0#1| 0) (= |ULTIMATE.start_main_~nondetString1~0#1.offset| 0) (<= |ULTIMATE.start_main_#t~nondet11#1| 2147483647) (= |ULTIMATE.start_cstrreplace_#in~s#1.offset| 0) (<= (select |#length| |ULTIMATE.start_cstrreplace_~p~0#1.base|) |ULTIMATE.start_cstrreplace_~p~0#1.offset|) (<= 0 |ULTIMATE.start_cstrreplace_~p~0#1.offset|) (= |ULTIMATE.start_main_#t~malloc7#1.offset| 0) (= |ULTIMATE.start_cstrreplace_~s#1.offset| 0) (<= 2 |ULTIMATE.start_main_~nondetString1~0#1.base|) (<= 0 (+ 2147483648 |ULTIMATE.start_main_#t~nondet11#1|)) (<= 2 |ULTIMATE.start_cstrreplace_~p~0#1.base|) (<= 0 (+ 2147483648 |ULTIMATE.start_main_#t~nondet10#1|)))' at error location [2023-11-24 23:56:11,461 WARN L311 FreeRefinementEngine]: Interpolation failed due to KNOWN_IGNORE: ALGORITHM_FAILED [2023-11-24 23:56:11,461 INFO L185 FreeRefinementEngine]: Found 0 perfect and 3 imperfect interpolant sequences. [2023-11-24 23:56:11,461 INFO L198 FreeRefinementEngine]: Number of different interpolants: perfect sequences [] imperfect sequences [6, 7, 7] total 18 [2023-11-24 23:56:11,461 INFO L121 tionRefinementEngine]: Using interpolant automaton builder IpAbStrategyModuleStraightlineAll [1899075905] [2023-11-24 23:56:11,461 INFO L85 oduleStraightlineAll]: Using 3 imperfect interpolants to construct interpolant automaton [2023-11-24 23:56:11,462 INFO L571 AbstractCegarLoop]: INTERPOLANT automaton has 20 states [2023-11-24 23:56:11,462 INFO L100 FreeRefinementEngine]: Using predicate unifier PredicateUnifier provided by strategy SIFA_TAIPAN [2023-11-24 23:56:11,463 INFO L143 InterpolantAutomaton]: Constructing interpolant automaton starting with 20 interpolants. [2023-11-24 23:56:11,463 INFO L145 InterpolantAutomaton]: CoverageRelationStatistics Valid=94, Invalid=556, Unknown=0, NotChecked=0, Total=650 [2023-11-24 23:56:11,463 INFO L87 Difference]: Start difference. First operand 21 states and 24 transitions. Second operand has 20 states, 19 states have (on average 2.526315789473684) internal successors, (48), 19 states have internal predecessors, (48), 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-24 23:56:11,764 INFO L144 Difference]: Subtrahend was deterministic. Have not used determinization. [2023-11-24 23:56:11,764 INFO L93 Difference]: Finished difference Result 32 states and 37 transitions. [2023-11-24 23:56:11,764 INFO L141 InterpolantAutomaton]: Switched to read-only mode: deterministic interpolant automaton has 10 states. [2023-11-24 23:56:11,765 INFO L78 Accepts]: Start accepts. Automaton has has 20 states, 19 states have (on average 2.526315789473684) internal successors, (48), 19 states have internal predecessors, (48), 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 18 [2023-11-24 23:56:11,765 INFO L84 Accepts]: Finished accepts. some prefix is accepted. [2023-11-24 23:56:11,765 INFO L225 Difference]: With dead ends: 32 [2023-11-24 23:56:11,765 INFO L226 Difference]: Without dead ends: 32 [2023-11-24 23:56:11,766 INFO L412 NwaCegarLoop]: 0 DeclaredPredicates, 63 GetRequests, 34 SyntacticMatches, 0 SemanticMatches, 29 ConstructedPredicates, 0 IntricatePredicates, 0 DeprecatedPredicates, 243 ImplicationChecksByTransitivity, 0.8s TimeCoverageRelationStatistics Valid=141, Invalid=789, Unknown=0, NotChecked=0, Total=930 [2023-11-24 23:56:11,767 INFO L413 NwaCegarLoop]: 9 mSDtfsCounter, 76 mSDsluCounter, 54 mSDsCounter, 0 mSdLazyCounter, 166 mSolverCounterSat, 1 mSolverCounterUnsat, 0 mSolverCounterUnknown, 0 mSolverCounterNotChecked, 0.1s Time, 0 mProtectedPredicate, 0 mProtectedAction, 76 SdHoareTripleChecker+Valid, 63 SdHoareTripleChecker+Invalid, 167 SdHoareTripleChecker+Unknown, 0 SdHoareTripleChecker+Unchecked, 0.0s SdHoareTripleChecker+Time, 1 IncrementalHoareTripleChecker+Valid, 166 IncrementalHoareTripleChecker+Invalid, 0 IncrementalHoareTripleChecker+Unknown, 0 IncrementalHoareTripleChecker+Unchecked, 0.1s IncrementalHoareTripleChecker+Time [2023-11-24 23:56:11,767 INFO L414 NwaCegarLoop]: SdHoareTripleChecker [76 Valid, 63 Invalid, 167 Unknown, 0 Unchecked, 0.0s Time], IncrementalHoareTripleChecker [1 Valid, 166 Invalid, 0 Unknown, 0 Unchecked, 0.1s Time] [2023-11-24 23:56:11,768 INFO L82 GeneralOperation]: Start minimizeSevpa. Operand 32 states. [2023-11-24 23:56:11,770 INFO L88 GeneralOperation]: Finished minimizeSevpa. Reduced states from 32 to 27. [2023-11-24 23:56:11,770 INFO L82 GeneralOperation]: Start removeUnreachable. Operand has 27 states, 26 states have (on average 1.1923076923076923) internal successors, (31), 26 states have internal predecessors, (31), 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-24 23:56:11,771 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 27 states to 27 states and 31 transitions. [2023-11-24 23:56:11,771 INFO L78 Accepts]: Start accepts. Automaton has 27 states and 31 transitions. Word has length 18 [2023-11-24 23:56:11,771 INFO L84 Accepts]: Finished accepts. word is rejected. [2023-11-24 23:56:11,771 INFO L495 AbstractCegarLoop]: Abstraction has 27 states and 31 transitions. [2023-11-24 23:56:11,772 INFO L496 AbstractCegarLoop]: INTERPOLANT automaton has has 20 states, 19 states have (on average 2.526315789473684) internal successors, (48), 19 states have internal predecessors, (48), 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-24 23:56:11,772 INFO L276 IsEmpty]: Start isEmpty. Operand 27 states and 31 transitions. [2023-11-24 23:56:11,772 INFO L282 IsEmpty]: Finished isEmpty. Found accepting run of length 24 [2023-11-24 23:56:11,772 INFO L187 NwaCegarLoop]: Found error trace [2023-11-24 23:56:11,773 INFO L195 NwaCegarLoop]: trace histogram [3, 3, 3, 3, 3, 2, 2, 1, 1, 1, 1] [2023-11-24 23:56:11,779 INFO L540 MonitoredProcess]: [MP /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_0f5c6703-6916-48ad-b754-686851d54387/bin/utaipan-verify-SwPr7d2a91/z3 -smt2 -in SMTLIB2_COMPLIANT=true (4)] Forceful destruction successful, exit code 0 [2023-11-24 23:56:11,980 WARN L477 AbstractCegarLoop]: Destroyed unattended storables created during the last iteration: 4 /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_0f5c6703-6916-48ad-b754-686851d54387/bin/utaipan-verify-SwPr7d2a91/z3 -smt2 -in SMTLIB2_COMPLIANT=true,SelfDestructingSolverStorable9 [2023-11-24 23:56:11,980 INFO L420 AbstractCegarLoop]: === Iteration 11 === Targeting ULTIMATE.startErr5REQUIRES_VIOLATIONMEMORY_DEREFERENCE === [ULTIMATE.startErr0REQUIRES_VIOLATIONMEMORY_DEREFERENCE, ULTIMATE.startErr1REQUIRES_VIOLATIONMEMORY_DEREFERENCE, ULTIMATE.startErr2REQUIRES_VIOLATIONMEMORY_DEREFERENCE (and 8 more)] === [2023-11-24 23:56:11,981 INFO L160 PredicateUnifier]: Initialized classic predicate unifier [2023-11-24 23:56:11,981 INFO L85 PathProgramCache]: Analyzing trace with hash -1522365927, now seen corresponding path program 4 times [2023-11-24 23:56:11,982 INFO L118 FreeRefinementEngine]: Executing refinement strategy SIFA_TAIPAN [2023-11-24 23:56:11,982 INFO L334 FreeRefinementEngine]: Using trace check IpTcStrategyModuleSmtInterpolCraig [319555161] [2023-11-24 23:56:11,982 INFO L95 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2023-11-24 23:56:11,982 INFO L127 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout -1 ms and remaining time -1 ms [2023-11-24 23:56:12,003 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2023-11-24 23:56:12,443 INFO L134 CoverageAnalysis]: Checked inductivity of 22 backedges. 9 proven. 13 refuted. 0 times theorem prover too weak. 0 trivial. 0 not checked. [2023-11-24 23:56:12,444 INFO L136 FreeRefinementEngine]: Strategy SIFA_TAIPAN found an infeasible trace [2023-11-24 23:56:12,444 INFO L334 FreeRefinementEngine]: Using interpolant generator IpTcStrategyModuleSmtInterpolCraig [319555161] [2023-11-24 23:56:12,444 INFO L158 FreeRefinementEngine]: IpTcStrategyModuleSmtInterpolCraig [319555161] provided 0 perfect and 1 imperfect interpolant sequences [2023-11-24 23:56:12,444 INFO L334 FreeRefinementEngine]: Using interpolant generator IpTcStrategyModuleZ3 [1189922925] [2023-11-24 23:56:12,444 INFO L93 rtionOrderModulation]: Changing assertion order to NOT_INCREMENTALLY [2023-11-24 23:56:12,445 INFO L173 SolverBuilder]: Constructing external solver with command: z3 -smt2 -in SMTLIB2_COMPLIANT=true [2023-11-24 23:56:12,445 INFO L189 MonitoredProcess]: No working directory specified, using /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_0f5c6703-6916-48ad-b754-686851d54387/bin/utaipan-verify-SwPr7d2a91/z3 [2023-11-24 23:56:12,449 INFO L229 MonitoredProcess]: Starting monitored process 5 with /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_0f5c6703-6916-48ad-b754-686851d54387/bin/utaipan-verify-SwPr7d2a91/z3 -smt2 -in SMTLIB2_COMPLIANT=true (exit command is (exit), workingDir is null) [2023-11-24 23:56:12,472 INFO L327 MonitoredProcess]: [MP /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_0f5c6703-6916-48ad-b754-686851d54387/bin/utaipan-verify-SwPr7d2a91/z3 -smt2 -in SMTLIB2_COMPLIANT=true (5)] Waiting until timeout for monitored process [2023-11-24 23:56:12,539 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2023-11-24 23:56:12,541 INFO L262 TraceCheckSpWp]: Trace formula consists of 143 conjuncts, 34 conjunts are in the unsatisfiable core [2023-11-24 23:56:12,545 INFO L285 TraceCheckSpWp]: Computing forward predicates... [2023-11-24 23:56:12,649 INFO L378 Elim1Store]: Elim1 eliminated variable of array dimension 2, 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 13 treesize of output 9 [2023-11-24 23:56:12,696 INFO L134 CoverageAnalysis]: Checked inductivity of 22 backedges. 9 proven. 13 refuted. 0 times theorem prover too weak. 0 trivial. 0 not checked. [2023-11-24 23:56:12,697 INFO L327 TraceCheckSpWp]: Computing backward predicates... [2023-11-24 23:56:12,729 INFO L378 Elim1Store]: Elim1 eliminated variable of array dimension 2, 0 stores, 1 select indices, 1 select index equivalence classes, 0 disjoint index pairs (out of 0 index pairs), introduced 1 new quantified variables, introduced 0 case distinctions, treesize of input 15 treesize of output 13 [2023-11-24 23:56:12,731 INFO L378 Elim1Store]: Elim1 eliminated variable of array dimension 1, 0 stores, 1 select indices, 1 select index equivalence classes, 0 disjoint index pairs (out of 0 index pairs), introduced 1 new quantified variables, introduced 0 case distinctions, treesize of input 16 treesize of output 12 [2023-11-24 23:56:12,793 INFO L134 CoverageAnalysis]: Checked inductivity of 22 backedges. 9 proven. 13 refuted. 0 times theorem prover too weak. 0 trivial. 0 not checked. [2023-11-24 23:56:12,794 INFO L158 FreeRefinementEngine]: IpTcStrategyModuleZ3 [1189922925] provided 0 perfect and 2 imperfect interpolant sequences [2023-11-24 23:56:12,794 INFO L334 FreeRefinementEngine]: Using interpolant generator IpTcStrategyModuleSifa [1405498737] [2023-11-24 23:56:12,798 INFO L159 IcfgInterpreter]: Started Sifa with 10 locations of interest [2023-11-24 23:56:12,798 INFO L166 IcfgInterpreter]: Building call graph [2023-11-24 23:56:12,798 INFO L171 IcfgInterpreter]: Initial procedures are [ULTIMATE.start] [2023-11-24 23:56:12,799 INFO L176 IcfgInterpreter]: Starting interpretation [2023-11-24 23:56:12,799 INFO L197 IcfgInterpreter]: Interpreting procedure ULTIMATE.start with input of size 1 for LOIs [2023-11-24 23:56:13,471 INFO L180 IcfgInterpreter]: Interpretation finished [2023-11-24 23:56:13,895 INFO L133 SifaRunner]: Sifa could not show that error location is unreachable, found '997#(and (<= 1 |#StackHeapBarrier|) (<= 2 |ULTIMATE.start_main_#t~malloc7#1.base|) (<= 1 |ULTIMATE.start_main_~length1~0#1|) (<= 2 |ULTIMATE.start_cstrreplace_~s#1.base|) (<= |ULTIMATE.start_main_#t~nondet10#1| 2147483647) (<= 2 |ULTIMATE.start_cstrreplace_#in~s#1.base|) (= |ULTIMATE.start_cstrreplace_~numReplaced~0#1| 0) (= |ULTIMATE.start_main_~nondetString1~0#1.offset| 0) (<= |ULTIMATE.start_main_#t~nondet11#1| 2147483647) (= |ULTIMATE.start_cstrreplace_#in~s#1.offset| 0) (<= (select |#length| |ULTIMATE.start_cstrreplace_~p~0#1.base|) |ULTIMATE.start_cstrreplace_~p~0#1.offset|) (<= 0 |ULTIMATE.start_cstrreplace_~p~0#1.offset|) (= |ULTIMATE.start_main_#t~malloc7#1.offset| 0) (= |ULTIMATE.start_cstrreplace_~s#1.offset| 0) (<= 2 |ULTIMATE.start_main_~nondetString1~0#1.base|) (<= 0 (+ 2147483648 |ULTIMATE.start_main_#t~nondet11#1|)) (<= 2 |ULTIMATE.start_cstrreplace_~p~0#1.base|) (<= 0 (+ 2147483648 |ULTIMATE.start_main_#t~nondet10#1|)))' at error location [2023-11-24 23:56:13,895 WARN L311 FreeRefinementEngine]: Interpolation failed due to KNOWN_IGNORE: ALGORITHM_FAILED [2023-11-24 23:56:13,895 INFO L185 FreeRefinementEngine]: Found 0 perfect and 3 imperfect interpolant sequences. [2023-11-24 23:56:13,895 INFO L198 FreeRefinementEngine]: Number of different interpolants: perfect sequences [] imperfect sequences [10, 10, 10] total 18 [2023-11-24 23:56:13,895 INFO L121 tionRefinementEngine]: Using interpolant automaton builder IpAbStrategyModuleStraightlineAll [1044065697] [2023-11-24 23:56:13,895 INFO L85 oduleStraightlineAll]: Using 3 imperfect interpolants to construct interpolant automaton [2023-11-24 23:56:13,896 INFO L571 AbstractCegarLoop]: INTERPOLANT automaton has 19 states [2023-11-24 23:56:13,896 INFO L100 FreeRefinementEngine]: Using predicate unifier PredicateUnifier provided by strategy SIFA_TAIPAN [2023-11-24 23:56:13,897 INFO L143 InterpolantAutomaton]: Constructing interpolant automaton starting with 19 interpolants. [2023-11-24 23:56:13,897 INFO L145 InterpolantAutomaton]: CoverageRelationStatistics Valid=75, Invalid=525, Unknown=0, NotChecked=0, Total=600 [2023-11-24 23:56:13,897 INFO L87 Difference]: Start difference. First operand 27 states and 31 transitions. Second operand has 19 states, 19 states have (on average 2.0) internal successors, (38), 18 states have internal predecessors, (38), 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-24 23:56:14,172 INFO L144 Difference]: Subtrahend was deterministic. Have not used determinization. [2023-11-24 23:56:14,172 INFO L93 Difference]: Finished difference Result 45 states and 51 transitions. [2023-11-24 23:56:14,173 INFO L141 InterpolantAutomaton]: Switched to read-only mode: deterministic interpolant automaton has 13 states. [2023-11-24 23:56:14,173 INFO L78 Accepts]: Start accepts. Automaton has has 19 states, 19 states have (on average 2.0) internal successors, (38), 18 states have internal predecessors, (38), 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 23 [2023-11-24 23:56:14,173 INFO L84 Accepts]: Finished accepts. some prefix is accepted. [2023-11-24 23:56:14,174 INFO L225 Difference]: With dead ends: 45 [2023-11-24 23:56:14,174 INFO L226 Difference]: Without dead ends: 30 [2023-11-24 23:56:14,175 INFO L412 NwaCegarLoop]: 0 DeclaredPredicates, 83 GetRequests, 54 SyntacticMatches, 0 SemanticMatches, 29 ConstructedPredicates, 0 IntricatePredicates, 0 DeprecatedPredicates, 139 ImplicationChecksByTransitivity, 0.7s TimeCoverageRelationStatistics Valid=121, Invalid=809, Unknown=0, NotChecked=0, Total=930 [2023-11-24 23:56:14,175 INFO L413 NwaCegarLoop]: 7 mSDtfsCounter, 37 mSDsluCounter, 94 mSDsCounter, 0 mSdLazyCounter, 237 mSolverCounterSat, 4 mSolverCounterUnsat, 0 mSolverCounterUnknown, 0 mSolverCounterNotChecked, 0.1s Time, 0 mProtectedPredicate, 0 mProtectedAction, 37 SdHoareTripleChecker+Valid, 101 SdHoareTripleChecker+Invalid, 241 SdHoareTripleChecker+Unknown, 0 SdHoareTripleChecker+Unchecked, 0.0s SdHoareTripleChecker+Time, 4 IncrementalHoareTripleChecker+Valid, 237 IncrementalHoareTripleChecker+Invalid, 0 IncrementalHoareTripleChecker+Unknown, 0 IncrementalHoareTripleChecker+Unchecked, 0.2s IncrementalHoareTripleChecker+Time [2023-11-24 23:56:14,176 INFO L414 NwaCegarLoop]: SdHoareTripleChecker [37 Valid, 101 Invalid, 241 Unknown, 0 Unchecked, 0.0s Time], IncrementalHoareTripleChecker [4 Valid, 237 Invalid, 0 Unknown, 0 Unchecked, 0.2s Time] [2023-11-24 23:56:14,176 INFO L82 GeneralOperation]: Start minimizeSevpa. Operand 30 states. [2023-11-24 23:56:14,178 INFO L88 GeneralOperation]: Finished minimizeSevpa. Reduced states from 30 to 29. [2023-11-24 23:56:14,179 INFO L82 GeneralOperation]: Start removeUnreachable. Operand has 29 states, 28 states have (on average 1.1785714285714286) internal successors, (33), 28 states have internal predecessors, (33), 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-24 23:56:14,179 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 29 states to 29 states and 33 transitions. [2023-11-24 23:56:14,179 INFO L78 Accepts]: Start accepts. Automaton has 29 states and 33 transitions. Word has length 23 [2023-11-24 23:56:14,180 INFO L84 Accepts]: Finished accepts. word is rejected. [2023-11-24 23:56:14,180 INFO L495 AbstractCegarLoop]: Abstraction has 29 states and 33 transitions. [2023-11-24 23:56:14,180 INFO L496 AbstractCegarLoop]: INTERPOLANT automaton has has 19 states, 19 states have (on average 2.0) internal successors, (38), 18 states have internal predecessors, (38), 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-24 23:56:14,180 INFO L276 IsEmpty]: Start isEmpty. Operand 29 states and 33 transitions. [2023-11-24 23:56:14,181 INFO L282 IsEmpty]: Finished isEmpty. Found accepting run of length 26 [2023-11-24 23:56:14,181 INFO L187 NwaCegarLoop]: Found error trace [2023-11-24 23:56:14,181 INFO L195 NwaCegarLoop]: trace histogram [3, 3, 3, 3, 3, 3, 3, 1, 1, 1, 1] [2023-11-24 23:56:14,192 INFO L540 MonitoredProcess]: [MP /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_0f5c6703-6916-48ad-b754-686851d54387/bin/utaipan-verify-SwPr7d2a91/z3 -smt2 -in SMTLIB2_COMPLIANT=true (5)] Forceful destruction successful, exit code 0 [2023-11-24 23:56:14,387 WARN L477 AbstractCegarLoop]: Destroyed unattended storables created during the last iteration: SelfDestructingSolverStorable10,5 /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_0f5c6703-6916-48ad-b754-686851d54387/bin/utaipan-verify-SwPr7d2a91/z3 -smt2 -in SMTLIB2_COMPLIANT=true [2023-11-24 23:56:14,387 INFO L420 AbstractCegarLoop]: === Iteration 12 === Targeting ULTIMATE.startErr5REQUIRES_VIOLATIONMEMORY_DEREFERENCE === [ULTIMATE.startErr0REQUIRES_VIOLATIONMEMORY_DEREFERENCE, ULTIMATE.startErr1REQUIRES_VIOLATIONMEMORY_DEREFERENCE, ULTIMATE.startErr2REQUIRES_VIOLATIONMEMORY_DEREFERENCE (and 8 more)] === [2023-11-24 23:56:14,388 INFO L160 PredicateUnifier]: Initialized classic predicate unifier [2023-11-24 23:56:14,388 INFO L85 PathProgramCache]: Analyzing trace with hash 717315504, now seen corresponding path program 5 times [2023-11-24 23:56:14,388 INFO L118 FreeRefinementEngine]: Executing refinement strategy SIFA_TAIPAN [2023-11-24 23:56:14,388 INFO L334 FreeRefinementEngine]: Using trace check IpTcStrategyModuleSmtInterpolCraig [1992112583] [2023-11-24 23:56:14,388 INFO L95 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2023-11-24 23:56:14,388 INFO L127 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout -1 ms and remaining time -1 ms [2023-11-24 23:56:14,420 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2023-11-24 23:56:14,812 INFO L134 CoverageAnalysis]: Checked inductivity of 27 backedges. 4 proven. 23 refuted. 0 times theorem prover too weak. 0 trivial. 0 not checked. [2023-11-24 23:56:14,812 INFO L136 FreeRefinementEngine]: Strategy SIFA_TAIPAN found an infeasible trace [2023-11-24 23:56:14,812 INFO L334 FreeRefinementEngine]: Using interpolant generator IpTcStrategyModuleSmtInterpolCraig [1992112583] [2023-11-24 23:56:14,813 INFO L158 FreeRefinementEngine]: IpTcStrategyModuleSmtInterpolCraig [1992112583] provided 0 perfect and 1 imperfect interpolant sequences [2023-11-24 23:56:14,813 INFO L334 FreeRefinementEngine]: Using interpolant generator IpTcStrategyModuleZ3 [1831899348] [2023-11-24 23:56:14,813 INFO L93 rtionOrderModulation]: Changing assertion order to OUTSIDE_LOOP_FIRST2 [2023-11-24 23:56:14,813 INFO L173 SolverBuilder]: Constructing external solver with command: z3 -smt2 -in SMTLIB2_COMPLIANT=true [2023-11-24 23:56:14,813 INFO L189 MonitoredProcess]: No working directory specified, using /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_0f5c6703-6916-48ad-b754-686851d54387/bin/utaipan-verify-SwPr7d2a91/z3 [2023-11-24 23:56:14,814 INFO L229 MonitoredProcess]: Starting monitored process 6 with /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_0f5c6703-6916-48ad-b754-686851d54387/bin/utaipan-verify-SwPr7d2a91/z3 -smt2 -in SMTLIB2_COMPLIANT=true (exit command is (exit), workingDir is null) [2023-11-24 23:56:14,844 INFO L327 MonitoredProcess]: [MP /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_0f5c6703-6916-48ad-b754-686851d54387/bin/utaipan-verify-SwPr7d2a91/z3 -smt2 -in SMTLIB2_COMPLIANT=true (6)] Waiting until timeout for monitored process [2023-11-24 23:56:14,915 INFO L228 tOrderPrioritization]: Assert order OUTSIDE_LOOP_FIRST2 issued 4 check-sat command(s) [2023-11-24 23:56:14,915 INFO L229 tOrderPrioritization]: Conjunction of SSA is unsat [2023-11-24 23:56:14,917 INFO L262 TraceCheckSpWp]: Trace formula consists of 156 conjuncts, 28 conjunts are in the unsatisfiable core [2023-11-24 23:56:14,919 INFO L285 TraceCheckSpWp]: Computing forward predicates... [2023-11-24 23:56:15,127 INFO L134 CoverageAnalysis]: Checked inductivity of 27 backedges. 4 proven. 23 refuted. 0 times theorem prover too weak. 0 trivial. 0 not checked. [2023-11-24 23:56:15,128 INFO L327 TraceCheckSpWp]: Computing backward predicates... [2023-11-24 23:56:15,339 INFO L378 Elim1Store]: Elim1 eliminated variable of array dimension 1, 0 stores, 1 select indices, 1 select index equivalence classes, 0 disjoint index pairs (out of 0 index pairs), introduced 1 new quantified variables, introduced 0 case distinctions, treesize of input 7 treesize of output 5 [2023-11-24 23:56:15,409 INFO L134 CoverageAnalysis]: Checked inductivity of 27 backedges. 4 proven. 23 refuted. 0 times theorem prover too weak. 0 trivial. 0 not checked. [2023-11-24 23:56:15,409 INFO L158 FreeRefinementEngine]: IpTcStrategyModuleZ3 [1831899348] provided 0 perfect and 2 imperfect interpolant sequences [2023-11-24 23:56:15,409 INFO L334 FreeRefinementEngine]: Using interpolant generator IpTcStrategyModuleSifa [556238396] [2023-11-24 23:56:15,412 INFO L159 IcfgInterpreter]: Started Sifa with 10 locations of interest [2023-11-24 23:56:15,412 INFO L166 IcfgInterpreter]: Building call graph [2023-11-24 23:56:15,413 INFO L171 IcfgInterpreter]: Initial procedures are [ULTIMATE.start] [2023-11-24 23:56:15,413 INFO L176 IcfgInterpreter]: Starting interpretation [2023-11-24 23:56:15,413 INFO L197 IcfgInterpreter]: Interpreting procedure ULTIMATE.start with input of size 1 for LOIs [2023-11-24 23:56:16,015 INFO L180 IcfgInterpreter]: Interpretation finished [2023-11-24 23:56:16,459 INFO L133 SifaRunner]: Sifa could not show that error location is unreachable, found '1257#(and (<= 1 |#StackHeapBarrier|) (<= 2 |ULTIMATE.start_main_#t~malloc7#1.base|) (<= 1 |ULTIMATE.start_main_~length1~0#1|) (<= 2 |ULTIMATE.start_cstrreplace_~s#1.base|) (<= |ULTIMATE.start_main_#t~nondet10#1| 2147483647) (<= 2 |ULTIMATE.start_cstrreplace_#in~s#1.base|) (= |ULTIMATE.start_cstrreplace_~numReplaced~0#1| 0) (= |ULTIMATE.start_main_~nondetString1~0#1.offset| 0) (<= |ULTIMATE.start_main_#t~nondet11#1| 2147483647) (= |ULTIMATE.start_cstrreplace_#in~s#1.offset| 0) (<= (select |#length| |ULTIMATE.start_cstrreplace_~p~0#1.base|) |ULTIMATE.start_cstrreplace_~p~0#1.offset|) (<= 0 |ULTIMATE.start_cstrreplace_~p~0#1.offset|) (= |ULTIMATE.start_main_#t~malloc7#1.offset| 0) (= |ULTIMATE.start_cstrreplace_~s#1.offset| 0) (<= 2 |ULTIMATE.start_main_~nondetString1~0#1.base|) (<= 0 (+ 2147483648 |ULTIMATE.start_main_#t~nondet11#1|)) (<= 2 |ULTIMATE.start_cstrreplace_~p~0#1.base|) (<= 0 (+ 2147483648 |ULTIMATE.start_main_#t~nondet10#1|)))' at error location [2023-11-24 23:56:16,459 WARN L311 FreeRefinementEngine]: Interpolation failed due to KNOWN_IGNORE: ALGORITHM_FAILED [2023-11-24 23:56:16,459 INFO L185 FreeRefinementEngine]: Found 0 perfect and 3 imperfect interpolant sequences. [2023-11-24 23:56:16,459 INFO L198 FreeRefinementEngine]: Number of different interpolants: perfect sequences [] imperfect sequences [8, 9, 9] total 22 [2023-11-24 23:56:16,459 INFO L121 tionRefinementEngine]: Using interpolant automaton builder IpAbStrategyModuleStraightlineAll [828093488] [2023-11-24 23:56:16,459 INFO L85 oduleStraightlineAll]: Using 3 imperfect interpolants to construct interpolant automaton [2023-11-24 23:56:16,460 INFO L571 AbstractCegarLoop]: INTERPOLANT automaton has 24 states [2023-11-24 23:56:16,460 INFO L100 FreeRefinementEngine]: Using predicate unifier PredicateUnifier provided by strategy SIFA_TAIPAN [2023-11-24 23:56:16,461 INFO L143 InterpolantAutomaton]: Constructing interpolant automaton starting with 24 interpolants. [2023-11-24 23:56:16,461 INFO L145 InterpolantAutomaton]: CoverageRelationStatistics Valid=127, Invalid=743, Unknown=0, NotChecked=0, Total=870 [2023-11-24 23:56:16,462 INFO L87 Difference]: Start difference. First operand 29 states and 33 transitions. Second operand has 24 states, 23 states have (on average 2.9130434782608696) internal successors, (67), 23 states have internal predecessors, (67), 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-24 23:56:16,734 INFO L144 Difference]: Subtrahend was deterministic. Have not used determinization. [2023-11-24 23:56:16,734 INFO L93 Difference]: Finished difference Result 40 states and 46 transitions. [2023-11-24 23:56:16,735 INFO L141 InterpolantAutomaton]: Switched to read-only mode: deterministic interpolant automaton has 12 states. [2023-11-24 23:56:16,735 INFO L78 Accepts]: Start accepts. Automaton has has 24 states, 23 states have (on average 2.9130434782608696) internal successors, (67), 23 states have internal predecessors, (67), 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 25 [2023-11-24 23:56:16,735 INFO L84 Accepts]: Finished accepts. some prefix is accepted. [2023-11-24 23:56:16,736 INFO L225 Difference]: With dead ends: 40 [2023-11-24 23:56:16,736 INFO L226 Difference]: Without dead ends: 40 [2023-11-24 23:56:16,737 INFO L412 NwaCegarLoop]: 0 DeclaredPredicates, 87 GetRequests, 49 SyntacticMatches, 4 SemanticMatches, 34 ConstructedPredicates, 0 IntricatePredicates, 0 DeprecatedPredicates, 423 ImplicationChecksByTransitivity, 0.9s TimeCoverageRelationStatistics Valid=191, Invalid=1069, Unknown=0, NotChecked=0, Total=1260 [2023-11-24 23:56:16,738 INFO L413 NwaCegarLoop]: 13 mSDtfsCounter, 76 mSDsluCounter, 94 mSDsCounter, 0 mSdLazyCounter, 227 mSolverCounterSat, 1 mSolverCounterUnsat, 0 mSolverCounterUnknown, 0 mSolverCounterNotChecked, 0.1s Time, 0 mProtectedPredicate, 0 mProtectedAction, 76 SdHoareTripleChecker+Valid, 107 SdHoareTripleChecker+Invalid, 228 SdHoareTripleChecker+Unknown, 0 SdHoareTripleChecker+Unchecked, 0.0s SdHoareTripleChecker+Time, 1 IncrementalHoareTripleChecker+Valid, 227 IncrementalHoareTripleChecker+Invalid, 0 IncrementalHoareTripleChecker+Unknown, 0 IncrementalHoareTripleChecker+Unchecked, 0.2s IncrementalHoareTripleChecker+Time [2023-11-24 23:56:16,738 INFO L414 NwaCegarLoop]: SdHoareTripleChecker [76 Valid, 107 Invalid, 228 Unknown, 0 Unchecked, 0.0s Time], IncrementalHoareTripleChecker [1 Valid, 227 Invalid, 0 Unknown, 0 Unchecked, 0.2s Time] [2023-11-24 23:56:16,739 INFO L82 GeneralOperation]: Start minimizeSevpa. Operand 40 states. [2023-11-24 23:56:16,741 INFO L88 GeneralOperation]: Finished minimizeSevpa. Reduced states from 40 to 35. [2023-11-24 23:56:16,741 INFO L82 GeneralOperation]: Start removeUnreachable. Operand has 35 states, 34 states have (on average 1.1764705882352942) internal successors, (40), 34 states have internal predecessors, (40), 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-24 23:56:16,741 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 35 states to 35 states and 40 transitions. [2023-11-24 23:56:16,742 INFO L78 Accepts]: Start accepts. Automaton has 35 states and 40 transitions. Word has length 25 [2023-11-24 23:56:16,742 INFO L84 Accepts]: Finished accepts. word is rejected. [2023-11-24 23:56:16,742 INFO L495 AbstractCegarLoop]: Abstraction has 35 states and 40 transitions. [2023-11-24 23:56:16,742 INFO L496 AbstractCegarLoop]: INTERPOLANT automaton has has 24 states, 23 states have (on average 2.9130434782608696) internal successors, (67), 23 states have internal predecessors, (67), 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-24 23:56:16,742 INFO L276 IsEmpty]: Start isEmpty. Operand 35 states and 40 transitions. [2023-11-24 23:56:16,743 INFO L282 IsEmpty]: Finished isEmpty. Found accepting run of length 31 [2023-11-24 23:56:16,743 INFO L187 NwaCegarLoop]: Found error trace [2023-11-24 23:56:16,743 INFO L195 NwaCegarLoop]: trace histogram [4, 4, 4, 4, 4, 3, 3, 1, 1, 1, 1] [2023-11-24 23:56:16,760 INFO L540 MonitoredProcess]: [MP /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_0f5c6703-6916-48ad-b754-686851d54387/bin/utaipan-verify-SwPr7d2a91/z3 -smt2 -in SMTLIB2_COMPLIANT=true (6)] Forceful destruction successful, exit code 0 [2023-11-24 23:56:16,944 WARN L477 AbstractCegarLoop]: Destroyed unattended storables created during the last iteration: SelfDestructingSolverStorable11,6 /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_0f5c6703-6916-48ad-b754-686851d54387/bin/utaipan-verify-SwPr7d2a91/z3 -smt2 -in SMTLIB2_COMPLIANT=true [2023-11-24 23:56:16,944 INFO L420 AbstractCegarLoop]: === Iteration 13 === Targeting ULTIMATE.startErr5REQUIRES_VIOLATIONMEMORY_DEREFERENCE === [ULTIMATE.startErr0REQUIRES_VIOLATIONMEMORY_DEREFERENCE, ULTIMATE.startErr1REQUIRES_VIOLATIONMEMORY_DEREFERENCE, ULTIMATE.startErr2REQUIRES_VIOLATIONMEMORY_DEREFERENCE (and 8 more)] === [2023-11-24 23:56:16,944 INFO L160 PredicateUnifier]: Initialized classic predicate unifier [2023-11-24 23:56:16,944 INFO L85 PathProgramCache]: Analyzing trace with hash 1139722133, now seen corresponding path program 6 times [2023-11-24 23:56:16,945 INFO L118 FreeRefinementEngine]: Executing refinement strategy SIFA_TAIPAN [2023-11-24 23:56:16,945 INFO L334 FreeRefinementEngine]: Using trace check IpTcStrategyModuleSmtInterpolCraig [1023525778] [2023-11-24 23:56:16,945 INFO L95 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2023-11-24 23:56:16,945 INFO L127 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout -1 ms and remaining time -1 ms [2023-11-24 23:56:16,982 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2023-11-24 23:56:17,469 INFO L134 CoverageAnalysis]: Checked inductivity of 43 backedges. 13 proven. 30 refuted. 0 times theorem prover too weak. 0 trivial. 0 not checked. [2023-11-24 23:56:17,469 INFO L136 FreeRefinementEngine]: Strategy SIFA_TAIPAN found an infeasible trace [2023-11-24 23:56:17,469 INFO L334 FreeRefinementEngine]: Using interpolant generator IpTcStrategyModuleSmtInterpolCraig [1023525778] [2023-11-24 23:56:17,469 INFO L158 FreeRefinementEngine]: IpTcStrategyModuleSmtInterpolCraig [1023525778] provided 0 perfect and 1 imperfect interpolant sequences [2023-11-24 23:56:17,470 INFO L334 FreeRefinementEngine]: Using interpolant generator IpTcStrategyModuleZ3 [1654313456] [2023-11-24 23:56:17,470 INFO L93 rtionOrderModulation]: Changing assertion order to TERMS_WITH_SMALL_CONSTANTS_FIRST [2023-11-24 23:56:17,470 INFO L173 SolverBuilder]: Constructing external solver with command: z3 -smt2 -in SMTLIB2_COMPLIANT=true [2023-11-24 23:56:17,470 INFO L189 MonitoredProcess]: No working directory specified, using /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_0f5c6703-6916-48ad-b754-686851d54387/bin/utaipan-verify-SwPr7d2a91/z3 [2023-11-24 23:56:17,471 INFO L229 MonitoredProcess]: Starting monitored process 7 with /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_0f5c6703-6916-48ad-b754-686851d54387/bin/utaipan-verify-SwPr7d2a91/z3 -smt2 -in SMTLIB2_COMPLIANT=true (exit command is (exit), workingDir is null) [2023-11-24 23:56:17,500 INFO L327 MonitoredProcess]: [MP /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_0f5c6703-6916-48ad-b754-686851d54387/bin/utaipan-verify-SwPr7d2a91/z3 -smt2 -in SMTLIB2_COMPLIANT=true (7)] Waiting until timeout for monitored process [2023-11-24 23:56:17,574 INFO L228 tOrderPrioritization]: Assert order TERMS_WITH_SMALL_CONSTANTS_FIRST issued 0 check-sat command(s) [2023-11-24 23:56:17,574 INFO L229 tOrderPrioritization]: Conjunction of SSA is unsat [2023-11-24 23:56:17,576 INFO L262 TraceCheckSpWp]: Trace formula consists of 174 conjuncts, 40 conjunts are in the unsatisfiable core [2023-11-24 23:56:17,578 INFO L285 TraceCheckSpWp]: Computing forward predicates... [2023-11-24 23:56:17,689 INFO L378 Elim1Store]: Elim1 eliminated variable of array dimension 2, 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 13 treesize of output 9 [2023-11-24 23:56:17,744 INFO L134 CoverageAnalysis]: Checked inductivity of 43 backedges. 13 proven. 30 refuted. 0 times theorem prover too weak. 0 trivial. 0 not checked. [2023-11-24 23:56:17,744 INFO L327 TraceCheckSpWp]: Computing backward predicates... [2023-11-24 23:56:17,782 INFO L378 Elim1Store]: Elim1 eliminated variable of array dimension 2, 0 stores, 1 select indices, 1 select index equivalence classes, 0 disjoint index pairs (out of 0 index pairs), introduced 1 new quantified variables, introduced 0 case distinctions, treesize of input 15 treesize of output 13 [2023-11-24 23:56:17,785 INFO L378 Elim1Store]: Elim1 eliminated variable of array dimension 1, 0 stores, 1 select indices, 1 select index equivalence classes, 0 disjoint index pairs (out of 0 index pairs), introduced 1 new quantified variables, introduced 0 case distinctions, treesize of input 16 treesize of output 12 [2023-11-24 23:56:17,854 INFO L134 CoverageAnalysis]: Checked inductivity of 43 backedges. 13 proven. 30 refuted. 0 times theorem prover too weak. 0 trivial. 0 not checked. [2023-11-24 23:56:17,854 INFO L158 FreeRefinementEngine]: IpTcStrategyModuleZ3 [1654313456] provided 0 perfect and 2 imperfect interpolant sequences [2023-11-24 23:56:17,854 INFO L334 FreeRefinementEngine]: Using interpolant generator IpTcStrategyModuleSifa [1717670380] [2023-11-24 23:56:17,861 INFO L159 IcfgInterpreter]: Started Sifa with 10 locations of interest [2023-11-24 23:56:17,862 INFO L166 IcfgInterpreter]: Building call graph [2023-11-24 23:56:17,862 INFO L171 IcfgInterpreter]: Initial procedures are [ULTIMATE.start] [2023-11-24 23:56:17,862 INFO L176 IcfgInterpreter]: Starting interpretation [2023-11-24 23:56:17,863 INFO L197 IcfgInterpreter]: Interpreting procedure ULTIMATE.start with input of size 1 for LOIs [2023-11-24 23:56:18,434 INFO L180 IcfgInterpreter]: Interpretation finished [2023-11-24 23:56:18,882 INFO L133 SifaRunner]: Sifa could not show that error location is unreachable, found '1546#(and (<= 1 |#StackHeapBarrier|) (<= 2 |ULTIMATE.start_main_#t~malloc7#1.base|) (<= 1 |ULTIMATE.start_main_~length1~0#1|) (<= 2 |ULTIMATE.start_cstrreplace_~s#1.base|) (<= |ULTIMATE.start_main_#t~nondet10#1| 2147483647) (<= 2 |ULTIMATE.start_cstrreplace_#in~s#1.base|) (= |ULTIMATE.start_cstrreplace_~numReplaced~0#1| 0) (= |ULTIMATE.start_main_~nondetString1~0#1.offset| 0) (<= |ULTIMATE.start_main_#t~nondet11#1| 2147483647) (= |ULTIMATE.start_cstrreplace_#in~s#1.offset| 0) (<= (select |#length| |ULTIMATE.start_cstrreplace_~p~0#1.base|) |ULTIMATE.start_cstrreplace_~p~0#1.offset|) (<= 0 |ULTIMATE.start_cstrreplace_~p~0#1.offset|) (= |ULTIMATE.start_main_#t~malloc7#1.offset| 0) (= |ULTIMATE.start_cstrreplace_~s#1.offset| 0) (<= 2 |ULTIMATE.start_main_~nondetString1~0#1.base|) (<= 0 (+ 2147483648 |ULTIMATE.start_main_#t~nondet11#1|)) (<= 2 |ULTIMATE.start_cstrreplace_~p~0#1.base|) (<= 0 (+ 2147483648 |ULTIMATE.start_main_#t~nondet10#1|)))' at error location [2023-11-24 23:56:18,882 WARN L311 FreeRefinementEngine]: Interpolation failed due to KNOWN_IGNORE: ALGORITHM_FAILED [2023-11-24 23:56:18,882 INFO L185 FreeRefinementEngine]: Found 0 perfect and 3 imperfect interpolant sequences. [2023-11-24 23:56:18,883 INFO L198 FreeRefinementEngine]: Number of different interpolants: perfect sequences [] imperfect sequences [12, 12, 12] total 21 [2023-11-24 23:56:18,883 INFO L121 tionRefinementEngine]: Using interpolant automaton builder IpAbStrategyModuleStraightlineAll [1466825180] [2023-11-24 23:56:18,883 INFO L85 oduleStraightlineAll]: Using 3 imperfect interpolants to construct interpolant automaton [2023-11-24 23:56:18,883 INFO L571 AbstractCegarLoop]: INTERPOLANT automaton has 22 states [2023-11-24 23:56:18,883 INFO L100 FreeRefinementEngine]: Using predicate unifier PredicateUnifier provided by strategy SIFA_TAIPAN [2023-11-24 23:56:18,884 INFO L143 InterpolantAutomaton]: Constructing interpolant automaton starting with 22 interpolants. [2023-11-24 23:56:18,885 INFO L145 InterpolantAutomaton]: CoverageRelationStatistics Valid=82, Invalid=674, Unknown=0, NotChecked=0, Total=756 [2023-11-24 23:56:18,885 INFO L87 Difference]: Start difference. First operand 35 states and 40 transitions. Second operand has 22 states, 22 states have (on average 2.1363636363636362) internal successors, (47), 21 states have internal predecessors, (47), 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-24 23:56:19,251 INFO L144 Difference]: Subtrahend was deterministic. Have not used determinization. [2023-11-24 23:56:19,251 INFO L93 Difference]: Finished difference Result 59 states and 67 transitions. [2023-11-24 23:56:19,251 INFO L141 InterpolantAutomaton]: Switched to read-only mode: deterministic interpolant automaton has 16 states. [2023-11-24 23:56:19,252 INFO L78 Accepts]: Start accepts. Automaton has has 22 states, 22 states have (on average 2.1363636363636362) internal successors, (47), 21 states have internal predecessors, (47), 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 30 [2023-11-24 23:56:19,252 INFO L84 Accepts]: Finished accepts. some prefix is accepted. [2023-11-24 23:56:19,252 INFO L225 Difference]: With dead ends: 59 [2023-11-24 23:56:19,252 INFO L226 Difference]: Without dead ends: 38 [2023-11-24 23:56:19,253 INFO L412 NwaCegarLoop]: 0 DeclaredPredicates, 108 GetRequests, 74 SyntacticMatches, 0 SemanticMatches, 34 ConstructedPredicates, 0 IntricatePredicates, 0 DeprecatedPredicates, 176 ImplicationChecksByTransitivity, 0.8s TimeCoverageRelationStatistics Valid=140, Invalid=1120, Unknown=0, NotChecked=0, Total=1260 [2023-11-24 23:56:19,254 INFO L413 NwaCegarLoop]: 10 mSDtfsCounter, 53 mSDsluCounter, 137 mSDsCounter, 0 mSdLazyCounter, 337 mSolverCounterSat, 6 mSolverCounterUnsat, 0 mSolverCounterUnknown, 0 mSolverCounterNotChecked, 0.2s Time, 0 mProtectedPredicate, 0 mProtectedAction, 53 SdHoareTripleChecker+Valid, 147 SdHoareTripleChecker+Invalid, 343 SdHoareTripleChecker+Unknown, 0 SdHoareTripleChecker+Unchecked, 0.0s SdHoareTripleChecker+Time, 6 IncrementalHoareTripleChecker+Valid, 337 IncrementalHoareTripleChecker+Invalid, 0 IncrementalHoareTripleChecker+Unknown, 0 IncrementalHoareTripleChecker+Unchecked, 0.2s IncrementalHoareTripleChecker+Time [2023-11-24 23:56:19,254 INFO L414 NwaCegarLoop]: SdHoareTripleChecker [53 Valid, 147 Invalid, 343 Unknown, 0 Unchecked, 0.0s Time], IncrementalHoareTripleChecker [6 Valid, 337 Invalid, 0 Unknown, 0 Unchecked, 0.2s Time] [2023-11-24 23:56:19,255 INFO L82 GeneralOperation]: Start minimizeSevpa. Operand 38 states. [2023-11-24 23:56:19,257 INFO L88 GeneralOperation]: Finished minimizeSevpa. Reduced states from 38 to 37. [2023-11-24 23:56:19,257 INFO L82 GeneralOperation]: Start removeUnreachable. Operand has 37 states, 36 states have (on average 1.1666666666666667) internal successors, (42), 36 states have internal predecessors, (42), 0 states have call successors, (0), 0 states have call predecessors, (0), 0 states have return successors, (0), 0 states have call predecessors, (0), 0 states have call successors, (0) [2023-11-24 23:56:19,257 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 37 states to 37 states and 42 transitions. [2023-11-24 23:56:19,258 INFO L78 Accepts]: Start accepts. Automaton has 37 states and 42 transitions. Word has length 30 [2023-11-24 23:56:19,258 INFO L84 Accepts]: Finished accepts. word is rejected. [2023-11-24 23:56:19,258 INFO L495 AbstractCegarLoop]: Abstraction has 37 states and 42 transitions. [2023-11-24 23:56:19,258 INFO L496 AbstractCegarLoop]: INTERPOLANT automaton has has 22 states, 22 states have (on average 2.1363636363636362) internal successors, (47), 21 states have internal predecessors, (47), 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-24 23:56:19,258 INFO L276 IsEmpty]: Start isEmpty. Operand 37 states and 42 transitions. [2023-11-24 23:56:19,259 INFO L282 IsEmpty]: Finished isEmpty. Found accepting run of length 33 [2023-11-24 23:56:19,259 INFO L187 NwaCegarLoop]: Found error trace [2023-11-24 23:56:19,260 INFO L195 NwaCegarLoop]: trace histogram [4, 4, 4, 4, 4, 4, 4, 1, 1, 1, 1] [2023-11-24 23:56:19,270 INFO L540 MonitoredProcess]: [MP /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_0f5c6703-6916-48ad-b754-686851d54387/bin/utaipan-verify-SwPr7d2a91/z3 -smt2 -in SMTLIB2_COMPLIANT=true (7)] Forceful destruction successful, exit code 0 [2023-11-24 23:56:19,465 WARN L477 AbstractCegarLoop]: Destroyed unattended storables created during the last iteration: SelfDestructingSolverStorable12,7 /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_0f5c6703-6916-48ad-b754-686851d54387/bin/utaipan-verify-SwPr7d2a91/z3 -smt2 -in SMTLIB2_COMPLIANT=true [2023-11-24 23:56:19,466 INFO L420 AbstractCegarLoop]: === Iteration 14 === Targeting ULTIMATE.startErr5REQUIRES_VIOLATIONMEMORY_DEREFERENCE === [ULTIMATE.startErr0REQUIRES_VIOLATIONMEMORY_DEREFERENCE, ULTIMATE.startErr1REQUIRES_VIOLATIONMEMORY_DEREFERENCE, ULTIMATE.startErr2REQUIRES_VIOLATIONMEMORY_DEREFERENCE (and 8 more)] === [2023-11-24 23:56:19,466 INFO L160 PredicateUnifier]: Initialized classic predicate unifier [2023-11-24 23:56:19,466 INFO L85 PathProgramCache]: Analyzing trace with hash 310250526, now seen corresponding path program 7 times [2023-11-24 23:56:19,466 INFO L118 FreeRefinementEngine]: Executing refinement strategy SIFA_TAIPAN [2023-11-24 23:56:19,466 INFO L334 FreeRefinementEngine]: Using trace check IpTcStrategyModuleSmtInterpolCraig [1056191831] [2023-11-24 23:56:19,467 INFO L95 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2023-11-24 23:56:19,467 INFO L127 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout -1 ms and remaining time -1 ms [2023-11-24 23:56:19,494 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2023-11-24 23:56:20,002 INFO L134 CoverageAnalysis]: Checked inductivity of 50 backedges. 9 proven. 41 refuted. 0 times theorem prover too weak. 0 trivial. 0 not checked. [2023-11-24 23:56:20,003 INFO L136 FreeRefinementEngine]: Strategy SIFA_TAIPAN found an infeasible trace [2023-11-24 23:56:20,003 INFO L334 FreeRefinementEngine]: Using interpolant generator IpTcStrategyModuleSmtInterpolCraig [1056191831] [2023-11-24 23:56:20,003 INFO L158 FreeRefinementEngine]: IpTcStrategyModuleSmtInterpolCraig [1056191831] provided 0 perfect and 1 imperfect interpolant sequences [2023-11-24 23:56:20,003 INFO L334 FreeRefinementEngine]: Using interpolant generator IpTcStrategyModuleZ3 [1054419944] [2023-11-24 23:56:20,003 INFO L93 rtionOrderModulation]: Changing assertion order to NOT_INCREMENTALLY [2023-11-24 23:56:20,003 INFO L173 SolverBuilder]: Constructing external solver with command: z3 -smt2 -in SMTLIB2_COMPLIANT=true [2023-11-24 23:56:20,004 INFO L189 MonitoredProcess]: No working directory specified, using /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_0f5c6703-6916-48ad-b754-686851d54387/bin/utaipan-verify-SwPr7d2a91/z3 [2023-11-24 23:56:20,005 INFO L229 MonitoredProcess]: Starting monitored process 8 with /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_0f5c6703-6916-48ad-b754-686851d54387/bin/utaipan-verify-SwPr7d2a91/z3 -smt2 -in SMTLIB2_COMPLIANT=true (exit command is (exit), workingDir is null) [2023-11-24 23:56:20,036 INFO L327 MonitoredProcess]: [MP /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_0f5c6703-6916-48ad-b754-686851d54387/bin/utaipan-verify-SwPr7d2a91/z3 -smt2 -in SMTLIB2_COMPLIANT=true (8)] Waiting until timeout for monitored process [2023-11-24 23:56:20,107 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2023-11-24 23:56:20,109 INFO L262 TraceCheckSpWp]: Trace formula consists of 187 conjuncts, 35 conjunts are in the unsatisfiable core [2023-11-24 23:56:20,111 INFO L285 TraceCheckSpWp]: Computing forward predicates... [2023-11-24 23:56:20,318 INFO L134 CoverageAnalysis]: Checked inductivity of 50 backedges. 9 proven. 41 refuted. 0 times theorem prover too weak. 0 trivial. 0 not checked. [2023-11-24 23:56:20,318 INFO L327 TraceCheckSpWp]: Computing backward predicates... [2023-11-24 23:56:20,552 INFO L378 Elim1Store]: Elim1 eliminated variable of array dimension 1, 0 stores, 1 select indices, 1 select index equivalence classes, 0 disjoint index pairs (out of 0 index pairs), introduced 1 new quantified variables, introduced 0 case distinctions, treesize of input 5 treesize of output 3 [2023-11-24 23:56:20,645 INFO L134 CoverageAnalysis]: Checked inductivity of 50 backedges. 9 proven. 41 refuted. 0 times theorem prover too weak. 0 trivial. 0 not checked. [2023-11-24 23:56:20,646 INFO L158 FreeRefinementEngine]: IpTcStrategyModuleZ3 [1054419944] provided 0 perfect and 2 imperfect interpolant sequences [2023-11-24 23:56:20,646 INFO L334 FreeRefinementEngine]: Using interpolant generator IpTcStrategyModuleSifa [35303355] [2023-11-24 23:56:20,648 INFO L159 IcfgInterpreter]: Started Sifa with 10 locations of interest [2023-11-24 23:56:20,648 INFO L166 IcfgInterpreter]: Building call graph [2023-11-24 23:56:20,648 INFO L171 IcfgInterpreter]: Initial procedures are [ULTIMATE.start] [2023-11-24 23:56:20,648 INFO L176 IcfgInterpreter]: Starting interpretation [2023-11-24 23:56:20,648 INFO L197 IcfgInterpreter]: Interpreting procedure ULTIMATE.start with input of size 1 for LOIs [2023-11-24 23:56:21,253 INFO L180 IcfgInterpreter]: Interpretation finished [2023-11-24 23:56:21,721 INFO L133 SifaRunner]: Sifa could not show that error location is unreachable, found '1875#(and (<= 1 |#StackHeapBarrier|) (<= 2 |ULTIMATE.start_main_#t~malloc7#1.base|) (<= 1 |ULTIMATE.start_main_~length1~0#1|) (<= 2 |ULTIMATE.start_cstrreplace_~s#1.base|) (<= |ULTIMATE.start_main_#t~nondet10#1| 2147483647) (<= 2 |ULTIMATE.start_cstrreplace_#in~s#1.base|) (= |ULTIMATE.start_cstrreplace_~numReplaced~0#1| 0) (= |ULTIMATE.start_main_~nondetString1~0#1.offset| 0) (<= |ULTIMATE.start_main_#t~nondet11#1| 2147483647) (= |ULTIMATE.start_cstrreplace_#in~s#1.offset| 0) (<= (select |#length| |ULTIMATE.start_cstrreplace_~p~0#1.base|) |ULTIMATE.start_cstrreplace_~p~0#1.offset|) (<= 0 |ULTIMATE.start_cstrreplace_~p~0#1.offset|) (= |ULTIMATE.start_main_#t~malloc7#1.offset| 0) (= |ULTIMATE.start_cstrreplace_~s#1.offset| 0) (<= 2 |ULTIMATE.start_main_~nondetString1~0#1.base|) (<= 0 (+ 2147483648 |ULTIMATE.start_main_#t~nondet11#1|)) (<= 2 |ULTIMATE.start_cstrreplace_~p~0#1.base|) (<= 0 (+ 2147483648 |ULTIMATE.start_main_#t~nondet10#1|)))' at error location [2023-11-24 23:56:21,721 WARN L311 FreeRefinementEngine]: Interpolation failed due to KNOWN_IGNORE: ALGORITHM_FAILED [2023-11-24 23:56:21,721 INFO L185 FreeRefinementEngine]: Found 0 perfect and 3 imperfect interpolant sequences. [2023-11-24 23:56:21,721 INFO L198 FreeRefinementEngine]: Number of different interpolants: perfect sequences [] imperfect sequences [10, 11, 11] total 23 [2023-11-24 23:56:21,721 INFO L121 tionRefinementEngine]: Using interpolant automaton builder IpAbStrategyModuleStraightlineAll [1776111266] [2023-11-24 23:56:21,722 INFO L85 oduleStraightlineAll]: Using 3 imperfect interpolants to construct interpolant automaton [2023-11-24 23:56:21,722 INFO L571 AbstractCegarLoop]: INTERPOLANT automaton has 25 states [2023-11-24 23:56:21,722 INFO L100 FreeRefinementEngine]: Using predicate unifier PredicateUnifier provided by strategy SIFA_TAIPAN [2023-11-24 23:56:21,723 INFO L143 InterpolantAutomaton]: Constructing interpolant automaton starting with 25 interpolants. [2023-11-24 23:56:21,724 INFO L145 InterpolantAutomaton]: CoverageRelationStatistics Valid=121, Invalid=809, Unknown=0, NotChecked=0, Total=930 [2023-11-24 23:56:21,724 INFO L87 Difference]: Start difference. First operand 37 states and 42 transitions. Second operand has 25 states, 24 states have (on average 2.9166666666666665) internal successors, (70), 24 states have internal predecessors, (70), 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-24 23:56:22,143 INFO L144 Difference]: Subtrahend was deterministic. Have not used determinization. [2023-11-24 23:56:22,143 INFO L93 Difference]: Finished difference Result 48 states and 55 transitions. [2023-11-24 23:56:22,143 INFO L141 InterpolantAutomaton]: Switched to read-only mode: deterministic interpolant automaton has 14 states. [2023-11-24 23:56:22,144 INFO L78 Accepts]: Start accepts. Automaton has has 25 states, 24 states have (on average 2.9166666666666665) internal successors, (70), 24 states have internal predecessors, (70), 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 32 [2023-11-24 23:56:22,144 INFO L84 Accepts]: Finished accepts. some prefix is accepted. [2023-11-24 23:56:22,144 INFO L225 Difference]: With dead ends: 48 [2023-11-24 23:56:22,144 INFO L226 Difference]: Without dead ends: 48 [2023-11-24 23:56:22,145 INFO L412 NwaCegarLoop]: 0 DeclaredPredicates, 111 GetRequests, 70 SyntacticMatches, 5 SemanticMatches, 36 ConstructedPredicates, 0 IntricatePredicates, 0 DeprecatedPredicates, 476 ImplicationChecksByTransitivity, 1.1s TimeCoverageRelationStatistics Valid=186, Invalid=1220, Unknown=0, NotChecked=0, Total=1406 [2023-11-24 23:56:22,146 INFO L413 NwaCegarLoop]: 15 mSDtfsCounter, 140 mSDsluCounter, 108 mSDsCounter, 0 mSdLazyCounter, 282 mSolverCounterSat, 1 mSolverCounterUnsat, 0 mSolverCounterUnknown, 0 mSolverCounterNotChecked, 0.2s Time, 0 mProtectedPredicate, 0 mProtectedAction, 140 SdHoareTripleChecker+Valid, 123 SdHoareTripleChecker+Invalid, 283 SdHoareTripleChecker+Unknown, 0 SdHoareTripleChecker+Unchecked, 0.0s SdHoareTripleChecker+Time, 1 IncrementalHoareTripleChecker+Valid, 282 IncrementalHoareTripleChecker+Invalid, 0 IncrementalHoareTripleChecker+Unknown, 0 IncrementalHoareTripleChecker+Unchecked, 0.2s IncrementalHoareTripleChecker+Time [2023-11-24 23:56:22,146 INFO L414 NwaCegarLoop]: SdHoareTripleChecker [140 Valid, 123 Invalid, 283 Unknown, 0 Unchecked, 0.0s Time], IncrementalHoareTripleChecker [1 Valid, 282 Invalid, 0 Unknown, 0 Unchecked, 0.2s Time] [2023-11-24 23:56:22,147 INFO L82 GeneralOperation]: Start minimizeSevpa. Operand 48 states. [2023-11-24 23:56:22,149 INFO L88 GeneralOperation]: Finished minimizeSevpa. Reduced states from 48 to 43. [2023-11-24 23:56:22,149 INFO L82 GeneralOperation]: Start removeUnreachable. Operand has 43 states, 42 states have (on average 1.1666666666666667) internal successors, (49), 42 states have internal predecessors, (49), 0 states have call successors, (0), 0 states have call predecessors, (0), 0 states have return successors, (0), 0 states have call predecessors, (0), 0 states have call successors, (0) [2023-11-24 23:56:22,149 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 43 states to 43 states and 49 transitions. [2023-11-24 23:56:22,149 INFO L78 Accepts]: Start accepts. Automaton has 43 states and 49 transitions. Word has length 32 [2023-11-24 23:56:22,150 INFO L84 Accepts]: Finished accepts. word is rejected. [2023-11-24 23:56:22,150 INFO L495 AbstractCegarLoop]: Abstraction has 43 states and 49 transitions. [2023-11-24 23:56:22,150 INFO L496 AbstractCegarLoop]: INTERPOLANT automaton has has 25 states, 24 states have (on average 2.9166666666666665) internal successors, (70), 24 states have internal predecessors, (70), 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-24 23:56:22,150 INFO L276 IsEmpty]: Start isEmpty. Operand 43 states and 49 transitions. [2023-11-24 23:56:22,155 INFO L282 IsEmpty]: Finished isEmpty. Found accepting run of length 38 [2023-11-24 23:56:22,156 INFO L187 NwaCegarLoop]: Found error trace [2023-11-24 23:56:22,156 INFO L195 NwaCegarLoop]: trace histogram [5, 5, 5, 5, 5, 4, 4, 1, 1, 1, 1] [2023-11-24 23:56:22,167 INFO L540 MonitoredProcess]: [MP /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_0f5c6703-6916-48ad-b754-686851d54387/bin/utaipan-verify-SwPr7d2a91/z3 -smt2 -in SMTLIB2_COMPLIANT=true (8)] Forceful destruction successful, exit code 0 [2023-11-24 23:56:22,362 WARN L477 AbstractCegarLoop]: Destroyed unattended storables created during the last iteration: 8 /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_0f5c6703-6916-48ad-b754-686851d54387/bin/utaipan-verify-SwPr7d2a91/z3 -smt2 -in SMTLIB2_COMPLIANT=true,SelfDestructingSolverStorable13 [2023-11-24 23:56:22,362 INFO L420 AbstractCegarLoop]: === Iteration 15 === Targeting ULTIMATE.startErr5REQUIRES_VIOLATIONMEMORY_DEREFERENCE === [ULTIMATE.startErr0REQUIRES_VIOLATIONMEMORY_DEREFERENCE, ULTIMATE.startErr1REQUIRES_VIOLATIONMEMORY_DEREFERENCE, ULTIMATE.startErr2REQUIRES_VIOLATIONMEMORY_DEREFERENCE (and 8 more)] === [2023-11-24 23:56:22,363 INFO L160 PredicateUnifier]: Initialized classic predicate unifier [2023-11-24 23:56:22,363 INFO L85 PathProgramCache]: Analyzing trace with hash 2024009191, now seen corresponding path program 8 times [2023-11-24 23:56:22,363 INFO L118 FreeRefinementEngine]: Executing refinement strategy SIFA_TAIPAN [2023-11-24 23:56:22,363 INFO L334 FreeRefinementEngine]: Using trace check IpTcStrategyModuleSmtInterpolCraig [1966661507] [2023-11-24 23:56:22,363 INFO L95 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2023-11-24 23:56:22,363 INFO L127 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout -1 ms and remaining time -1 ms [2023-11-24 23:56:22,388 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2023-11-24 23:56:22,890 INFO L134 CoverageAnalysis]: Checked inductivity of 71 backedges. 17 proven. 54 refuted. 0 times theorem prover too weak. 0 trivial. 0 not checked. [2023-11-24 23:56:22,891 INFO L136 FreeRefinementEngine]: Strategy SIFA_TAIPAN found an infeasible trace [2023-11-24 23:56:22,891 INFO L334 FreeRefinementEngine]: Using interpolant generator IpTcStrategyModuleSmtInterpolCraig [1966661507] [2023-11-24 23:56:22,891 INFO L158 FreeRefinementEngine]: IpTcStrategyModuleSmtInterpolCraig [1966661507] provided 0 perfect and 1 imperfect interpolant sequences [2023-11-24 23:56:22,891 INFO L334 FreeRefinementEngine]: Using interpolant generator IpTcStrategyModuleZ3 [1941655557] [2023-11-24 23:56:22,892 INFO L93 rtionOrderModulation]: Changing assertion order to OUTSIDE_LOOP_FIRST2 [2023-11-24 23:56:22,892 INFO L173 SolverBuilder]: Constructing external solver with command: z3 -smt2 -in SMTLIB2_COMPLIANT=true [2023-11-24 23:56:22,892 INFO L189 MonitoredProcess]: No working directory specified, using /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_0f5c6703-6916-48ad-b754-686851d54387/bin/utaipan-verify-SwPr7d2a91/z3 [2023-11-24 23:56:22,893 INFO L229 MonitoredProcess]: Starting monitored process 9 with /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_0f5c6703-6916-48ad-b754-686851d54387/bin/utaipan-verify-SwPr7d2a91/z3 -smt2 -in SMTLIB2_COMPLIANT=true (exit command is (exit), workingDir is null) [2023-11-24 23:56:22,920 INFO L327 MonitoredProcess]: [MP /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_0f5c6703-6916-48ad-b754-686851d54387/bin/utaipan-verify-SwPr7d2a91/z3 -smt2 -in SMTLIB2_COMPLIANT=true (9)] Waiting until timeout for monitored process [2023-11-24 23:56:23,020 INFO L228 tOrderPrioritization]: Assert order OUTSIDE_LOOP_FIRST2 issued 6 check-sat command(s) [2023-11-24 23:56:23,020 INFO L229 tOrderPrioritization]: Conjunction of SSA is unsat [2023-11-24 23:56:23,022 INFO L262 TraceCheckSpWp]: Trace formula consists of 205 conjuncts, 48 conjunts are in the unsatisfiable core [2023-11-24 23:56:23,025 INFO L285 TraceCheckSpWp]: Computing forward predicates... [2023-11-24 23:56:23,224 INFO L378 Elim1Store]: Elim1 eliminated variable of array dimension 2, 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 13 treesize of output 9 [2023-11-24 23:56:23,313 INFO L134 CoverageAnalysis]: Checked inductivity of 71 backedges. 17 proven. 54 refuted. 0 times theorem prover too weak. 0 trivial. 0 not checked. [2023-11-24 23:56:23,314 INFO L327 TraceCheckSpWp]: Computing backward predicates... [2023-11-24 23:56:23,389 INFO L378 Elim1Store]: Elim1 eliminated variable of array dimension 2, 0 stores, 1 select indices, 1 select index equivalence classes, 0 disjoint index pairs (out of 0 index pairs), introduced 1 new quantified variables, introduced 0 case distinctions, treesize of input 15 treesize of output 13 [2023-11-24 23:56:23,394 INFO L378 Elim1Store]: Elim1 eliminated variable of array dimension 1, 0 stores, 1 select indices, 1 select index equivalence classes, 0 disjoint index pairs (out of 0 index pairs), introduced 1 new quantified variables, introduced 0 case distinctions, treesize of input 16 treesize of output 12 [2023-11-24 23:56:23,479 INFO L134 CoverageAnalysis]: Checked inductivity of 71 backedges. 17 proven. 54 refuted. 0 times theorem prover too weak. 0 trivial. 0 not checked. [2023-11-24 23:56:23,480 INFO L158 FreeRefinementEngine]: IpTcStrategyModuleZ3 [1941655557] provided 0 perfect and 2 imperfect interpolant sequences [2023-11-24 23:56:23,480 INFO L334 FreeRefinementEngine]: Using interpolant generator IpTcStrategyModuleSifa [479936723] [2023-11-24 23:56:23,482 INFO L159 IcfgInterpreter]: Started Sifa with 10 locations of interest [2023-11-24 23:56:23,483 INFO L166 IcfgInterpreter]: Building call graph [2023-11-24 23:56:23,483 INFO L171 IcfgInterpreter]: Initial procedures are [ULTIMATE.start] [2023-11-24 23:56:23,483 INFO L176 IcfgInterpreter]: Starting interpretation [2023-11-24 23:56:23,483 INFO L197 IcfgInterpreter]: Interpreting procedure ULTIMATE.start with input of size 1 for LOIs [2023-11-24 23:56:24,069 INFO L180 IcfgInterpreter]: Interpretation finished [2023-11-24 23:56:24,536 INFO L133 SifaRunner]: Sifa could not show that error location is unreachable, found '2228#(and (<= 1 |#StackHeapBarrier|) (<= 2 |ULTIMATE.start_main_#t~malloc7#1.base|) (<= 1 |ULTIMATE.start_main_~length1~0#1|) (<= 2 |ULTIMATE.start_cstrreplace_~s#1.base|) (<= |ULTIMATE.start_main_#t~nondet10#1| 2147483647) (<= 2 |ULTIMATE.start_cstrreplace_#in~s#1.base|) (= |ULTIMATE.start_cstrreplace_~numReplaced~0#1| 0) (= |ULTIMATE.start_main_~nondetString1~0#1.offset| 0) (<= |ULTIMATE.start_main_#t~nondet11#1| 2147483647) (= |ULTIMATE.start_cstrreplace_#in~s#1.offset| 0) (<= (select |#length| |ULTIMATE.start_cstrreplace_~p~0#1.base|) |ULTIMATE.start_cstrreplace_~p~0#1.offset|) (<= 0 |ULTIMATE.start_cstrreplace_~p~0#1.offset|) (= |ULTIMATE.start_main_#t~malloc7#1.offset| 0) (= |ULTIMATE.start_cstrreplace_~s#1.offset| 0) (<= 2 |ULTIMATE.start_main_~nondetString1~0#1.base|) (<= 0 (+ 2147483648 |ULTIMATE.start_main_#t~nondet11#1|)) (<= 2 |ULTIMATE.start_cstrreplace_~p~0#1.base|) (<= 0 (+ 2147483648 |ULTIMATE.start_main_#t~nondet10#1|)))' at error location [2023-11-24 23:56:24,536 WARN L311 FreeRefinementEngine]: Interpolation failed due to KNOWN_IGNORE: ALGORITHM_FAILED [2023-11-24 23:56:24,536 INFO L185 FreeRefinementEngine]: Found 0 perfect and 3 imperfect interpolant sequences. [2023-11-24 23:56:24,536 INFO L198 FreeRefinementEngine]: Number of different interpolants: perfect sequences [] imperfect sequences [14, 14, 14] total 25 [2023-11-24 23:56:24,537 INFO L121 tionRefinementEngine]: Using interpolant automaton builder IpAbStrategyModuleStraightlineAll [1815820023] [2023-11-24 23:56:24,537 INFO L85 oduleStraightlineAll]: Using 3 imperfect interpolants to construct interpolant automaton [2023-11-24 23:56:24,537 INFO L571 AbstractCegarLoop]: INTERPOLANT automaton has 26 states [2023-11-24 23:56:24,537 INFO L100 FreeRefinementEngine]: Using predicate unifier PredicateUnifier provided by strategy SIFA_TAIPAN [2023-11-24 23:56:24,538 INFO L143 InterpolantAutomaton]: Constructing interpolant automaton starting with 26 interpolants. [2023-11-24 23:56:24,539 INFO L145 InterpolantAutomaton]: CoverageRelationStatistics Valid=93, Invalid=899, Unknown=0, NotChecked=0, Total=992 [2023-11-24 23:56:24,539 INFO L87 Difference]: Start difference. First operand 43 states and 49 transitions. Second operand has 26 states, 26 states have (on average 2.230769230769231) internal successors, (58), 25 states have internal predecessors, (58), 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-24 23:56:25,122 INFO L144 Difference]: Subtrahend was deterministic. Have not used determinization. [2023-11-24 23:56:25,122 INFO L93 Difference]: Finished difference Result 73 states and 83 transitions. [2023-11-24 23:56:25,122 INFO L141 InterpolantAutomaton]: Switched to read-only mode: deterministic interpolant automaton has 19 states. [2023-11-24 23:56:25,122 INFO L78 Accepts]: Start accepts. Automaton has has 26 states, 26 states have (on average 2.230769230769231) internal successors, (58), 25 states have internal predecessors, (58), 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 37 [2023-11-24 23:56:25,123 INFO L84 Accepts]: Finished accepts. some prefix is accepted. [2023-11-24 23:56:25,123 INFO L225 Difference]: With dead ends: 73 [2023-11-24 23:56:25,123 INFO L226 Difference]: Without dead ends: 46 [2023-11-24 23:56:25,124 INFO L412 NwaCegarLoop]: 0 DeclaredPredicates, 133 GetRequests, 93 SyntacticMatches, 0 SemanticMatches, 40 ConstructedPredicates, 0 IntricatePredicates, 0 DeprecatedPredicates, 244 ImplicationChecksByTransitivity, 1.0s TimeCoverageRelationStatistics Valid=164, Invalid=1558, Unknown=0, NotChecked=0, Total=1722 [2023-11-24 23:56:25,125 INFO L413 NwaCegarLoop]: 13 mSDtfsCounter, 66 mSDsluCounter, 231 mSDsCounter, 0 mSdLazyCounter, 565 mSolverCounterSat, 8 mSolverCounterUnsat, 0 mSolverCounterUnknown, 0 mSolverCounterNotChecked, 0.3s Time, 0 mProtectedPredicate, 0 mProtectedAction, 66 SdHoareTripleChecker+Valid, 244 SdHoareTripleChecker+Invalid, 573 SdHoareTripleChecker+Unknown, 0 SdHoareTripleChecker+Unchecked, 0.0s SdHoareTripleChecker+Time, 8 IncrementalHoareTripleChecker+Valid, 565 IncrementalHoareTripleChecker+Invalid, 0 IncrementalHoareTripleChecker+Unknown, 0 IncrementalHoareTripleChecker+Unchecked, 0.4s IncrementalHoareTripleChecker+Time [2023-11-24 23:56:25,125 INFO L414 NwaCegarLoop]: SdHoareTripleChecker [66 Valid, 244 Invalid, 573 Unknown, 0 Unchecked, 0.0s Time], IncrementalHoareTripleChecker [8 Valid, 565 Invalid, 0 Unknown, 0 Unchecked, 0.4s Time] [2023-11-24 23:56:25,126 INFO L82 GeneralOperation]: Start minimizeSevpa. Operand 46 states. [2023-11-24 23:56:25,128 INFO L88 GeneralOperation]: Finished minimizeSevpa. Reduced states from 46 to 45. [2023-11-24 23:56:25,129 INFO L82 GeneralOperation]: Start removeUnreachable. Operand has 45 states, 44 states have (on average 1.1590909090909092) internal successors, (51), 44 states have internal predecessors, (51), 0 states have call successors, (0), 0 states have call predecessors, (0), 0 states have return successors, (0), 0 states have call predecessors, (0), 0 states have call successors, (0) [2023-11-24 23:56:25,129 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 45 states to 45 states and 51 transitions. [2023-11-24 23:56:25,129 INFO L78 Accepts]: Start accepts. Automaton has 45 states and 51 transitions. Word has length 37 [2023-11-24 23:56:25,129 INFO L84 Accepts]: Finished accepts. word is rejected. [2023-11-24 23:56:25,130 INFO L495 AbstractCegarLoop]: Abstraction has 45 states and 51 transitions. [2023-11-24 23:56:25,130 INFO L496 AbstractCegarLoop]: INTERPOLANT automaton has has 26 states, 26 states have (on average 2.230769230769231) internal successors, (58), 25 states have internal predecessors, (58), 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-24 23:56:25,130 INFO L276 IsEmpty]: Start isEmpty. Operand 45 states and 51 transitions. [2023-11-24 23:56:25,131 INFO L282 IsEmpty]: Finished isEmpty. Found accepting run of length 40 [2023-11-24 23:56:25,131 INFO L187 NwaCegarLoop]: Found error trace [2023-11-24 23:56:25,131 INFO L195 NwaCegarLoop]: trace histogram [5, 5, 5, 5, 5, 5, 5, 1, 1, 1, 1] [2023-11-24 23:56:25,137 INFO L540 MonitoredProcess]: [MP /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_0f5c6703-6916-48ad-b754-686851d54387/bin/utaipan-verify-SwPr7d2a91/z3 -smt2 -in SMTLIB2_COMPLIANT=true (9)] Forceful destruction successful, exit code 0 [2023-11-24 23:56:25,337 WARN L477 AbstractCegarLoop]: Destroyed unattended storables created during the last iteration: 9 /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_0f5c6703-6916-48ad-b754-686851d54387/bin/utaipan-verify-SwPr7d2a91/z3 -smt2 -in SMTLIB2_COMPLIANT=true,SelfDestructingSolverStorable14 [2023-11-24 23:56:25,337 INFO L420 AbstractCegarLoop]: === Iteration 16 === Targeting ULTIMATE.startErr5REQUIRES_VIOLATIONMEMORY_DEREFERENCE === [ULTIMATE.startErr0REQUIRES_VIOLATIONMEMORY_DEREFERENCE, ULTIMATE.startErr1REQUIRES_VIOLATIONMEMORY_DEREFERENCE, ULTIMATE.startErr2REQUIRES_VIOLATIONMEMORY_DEREFERENCE (and 8 more)] === [2023-11-24 23:56:25,338 INFO L160 PredicateUnifier]: Initialized classic predicate unifier [2023-11-24 23:56:25,338 INFO L85 PathProgramCache]: Analyzing trace with hash 1654730046, now seen corresponding path program 9 times [2023-11-24 23:56:25,338 INFO L118 FreeRefinementEngine]: Executing refinement strategy SIFA_TAIPAN [2023-11-24 23:56:25,338 INFO L334 FreeRefinementEngine]: Using trace check IpTcStrategyModuleSmtInterpolCraig [1106027533] [2023-11-24 23:56:25,338 INFO L95 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2023-11-24 23:56:25,338 INFO L127 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout -1 ms and remaining time -1 ms [2023-11-24 23:56:25,359 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2023-11-24 23:56:25,914 INFO L134 CoverageAnalysis]: Checked inductivity of 80 backedges. 16 proven. 64 refuted. 0 times theorem prover too weak. 0 trivial. 0 not checked. [2023-11-24 23:56:25,915 INFO L136 FreeRefinementEngine]: Strategy SIFA_TAIPAN found an infeasible trace [2023-11-24 23:56:25,915 INFO L334 FreeRefinementEngine]: Using interpolant generator IpTcStrategyModuleSmtInterpolCraig [1106027533] [2023-11-24 23:56:25,915 INFO L158 FreeRefinementEngine]: IpTcStrategyModuleSmtInterpolCraig [1106027533] provided 0 perfect and 1 imperfect interpolant sequences [2023-11-24 23:56:25,915 INFO L334 FreeRefinementEngine]: Using interpolant generator IpTcStrategyModuleZ3 [1677760211] [2023-11-24 23:56:25,915 INFO L93 rtionOrderModulation]: Changing assertion order to TERMS_WITH_SMALL_CONSTANTS_FIRST [2023-11-24 23:56:25,915 INFO L173 SolverBuilder]: Constructing external solver with command: z3 -smt2 -in SMTLIB2_COMPLIANT=true [2023-11-24 23:56:25,915 INFO L189 MonitoredProcess]: No working directory specified, using /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_0f5c6703-6916-48ad-b754-686851d54387/bin/utaipan-verify-SwPr7d2a91/z3 [2023-11-24 23:56:25,917 INFO L229 MonitoredProcess]: Starting monitored process 10 with /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_0f5c6703-6916-48ad-b754-686851d54387/bin/utaipan-verify-SwPr7d2a91/z3 -smt2 -in SMTLIB2_COMPLIANT=true (exit command is (exit), workingDir is null) [2023-11-24 23:56:25,940 INFO L327 MonitoredProcess]: [MP /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_0f5c6703-6916-48ad-b754-686851d54387/bin/utaipan-verify-SwPr7d2a91/z3 -smt2 -in SMTLIB2_COMPLIANT=true (10)] Waiting until timeout for monitored process [2023-11-24 23:56:26,029 INFO L228 tOrderPrioritization]: Assert order TERMS_WITH_SMALL_CONSTANTS_FIRST issued 0 check-sat command(s) [2023-11-24 23:56:26,029 INFO L229 tOrderPrioritization]: Conjunction of SSA is unsat [2023-11-24 23:56:26,031 INFO L262 TraceCheckSpWp]: Trace formula consists of 218 conjuncts, 41 conjunts are in the unsatisfiable core [2023-11-24 23:56:26,034 INFO L285 TraceCheckSpWp]: Computing forward predicates... [2023-11-24 23:56:26,038 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 8 treesize of output 1 [2023-11-24 23:56:26,298 INFO L134 CoverageAnalysis]: Checked inductivity of 80 backedges. 16 proven. 64 refuted. 0 times theorem prover too weak. 0 trivial. 0 not checked. [2023-11-24 23:56:26,298 INFO L327 TraceCheckSpWp]: Computing backward predicates... [2023-11-24 23:56:26,809 INFO L134 CoverageAnalysis]: Checked inductivity of 80 backedges. 16 proven. 64 refuted. 0 times theorem prover too weak. 0 trivial. 0 not checked. [2023-11-24 23:56:26,809 INFO L158 FreeRefinementEngine]: IpTcStrategyModuleZ3 [1677760211] provided 0 perfect and 2 imperfect interpolant sequences [2023-11-24 23:56:26,810 INFO L334 FreeRefinementEngine]: Using interpolant generator IpTcStrategyModuleSifa [1502009873] [2023-11-24 23:56:26,811 INFO L159 IcfgInterpreter]: Started Sifa with 10 locations of interest [2023-11-24 23:56:26,812 INFO L166 IcfgInterpreter]: Building call graph [2023-11-24 23:56:26,812 INFO L171 IcfgInterpreter]: Initial procedures are [ULTIMATE.start] [2023-11-24 23:56:26,812 INFO L176 IcfgInterpreter]: Starting interpretation [2023-11-24 23:56:26,812 INFO L197 IcfgInterpreter]: Interpreting procedure ULTIMATE.start with input of size 1 for LOIs [2023-11-24 23:56:27,340 INFO L180 IcfgInterpreter]: Interpretation finished [2023-11-24 23:56:27,809 INFO L133 SifaRunner]: Sifa could not show that error location is unreachable, found '2635#(and (<= 1 |#StackHeapBarrier|) (<= 2 |ULTIMATE.start_main_#t~malloc7#1.base|) (<= 1 |ULTIMATE.start_main_~length1~0#1|) (<= 2 |ULTIMATE.start_cstrreplace_~s#1.base|) (<= |ULTIMATE.start_main_#t~nondet10#1| 2147483647) (<= 2 |ULTIMATE.start_cstrreplace_#in~s#1.base|) (= |ULTIMATE.start_cstrreplace_~numReplaced~0#1| 0) (= |ULTIMATE.start_main_~nondetString1~0#1.offset| 0) (<= |ULTIMATE.start_main_#t~nondet11#1| 2147483647) (= |ULTIMATE.start_cstrreplace_#in~s#1.offset| 0) (<= (select |#length| |ULTIMATE.start_cstrreplace_~p~0#1.base|) |ULTIMATE.start_cstrreplace_~p~0#1.offset|) (<= 0 |ULTIMATE.start_cstrreplace_~p~0#1.offset|) (= |ULTIMATE.start_main_#t~malloc7#1.offset| 0) (= |ULTIMATE.start_cstrreplace_~s#1.offset| 0) (<= 2 |ULTIMATE.start_main_~nondetString1~0#1.base|) (<= 0 (+ 2147483648 |ULTIMATE.start_main_#t~nondet11#1|)) (<= 2 |ULTIMATE.start_cstrreplace_~p~0#1.base|) (<= 0 (+ 2147483648 |ULTIMATE.start_main_#t~nondet10#1|)))' at error location [2023-11-24 23:56:27,809 WARN L311 FreeRefinementEngine]: Interpolation failed due to KNOWN_IGNORE: ALGORITHM_FAILED [2023-11-24 23:56:27,809 INFO L185 FreeRefinementEngine]: Found 0 perfect and 3 imperfect interpolant sequences. [2023-11-24 23:56:27,809 INFO L198 FreeRefinementEngine]: Number of different interpolants: perfect sequences [] imperfect sequences [12, 13, 13] total 33 [2023-11-24 23:56:27,809 INFO L121 tionRefinementEngine]: Using interpolant automaton builder IpAbStrategyModuleStraightlineAll [971716317] [2023-11-24 23:56:27,809 INFO L85 oduleStraightlineAll]: Using 3 imperfect interpolants to construct interpolant automaton [2023-11-24 23:56:27,810 INFO L571 AbstractCegarLoop]: INTERPOLANT automaton has 35 states [2023-11-24 23:56:27,810 INFO L100 FreeRefinementEngine]: Using predicate unifier PredicateUnifier provided by strategy SIFA_TAIPAN [2023-11-24 23:56:27,811 INFO L143 InterpolantAutomaton]: Constructing interpolant automaton starting with 35 interpolants. [2023-11-24 23:56:27,812 INFO L145 InterpolantAutomaton]: CoverageRelationStatistics Valid=205, Invalid=1435, Unknown=0, NotChecked=0, Total=1640 [2023-11-24 23:56:27,812 INFO L87 Difference]: Start difference. First operand 45 states and 51 transitions. Second operand has 35 states, 34 states have (on average 2.823529411764706) internal successors, (96), 34 states have internal predecessors, (96), 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-24 23:56:28,432 INFO L144 Difference]: Subtrahend was deterministic. Have not used determinization. [2023-11-24 23:56:28,433 INFO L93 Difference]: Finished difference Result 56 states and 64 transitions. [2023-11-24 23:56:28,436 INFO L141 InterpolantAutomaton]: Switched to read-only mode: deterministic interpolant automaton has 16 states. [2023-11-24 23:56:28,436 INFO L78 Accepts]: Start accepts. Automaton has has 35 states, 34 states have (on average 2.823529411764706) internal successors, (96), 34 states have internal predecessors, (96), 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 39 [2023-11-24 23:56:28,437 INFO L84 Accepts]: Finished accepts. some prefix is accepted. [2023-11-24 23:56:28,437 INFO L225 Difference]: With dead ends: 56 [2023-11-24 23:56:28,437 INFO L226 Difference]: Without dead ends: 56 [2023-11-24 23:56:28,438 INFO L412 NwaCegarLoop]: 0 DeclaredPredicates, 135 GetRequests, 88 SyntacticMatches, 0 SemanticMatches, 47 ConstructedPredicates, 0 IntricatePredicates, 0 DeprecatedPredicates, 720 ImplicationChecksByTransitivity, 1.3s TimeCoverageRelationStatistics Valid=297, Invalid=2055, Unknown=0, NotChecked=0, Total=2352 [2023-11-24 23:56:28,439 INFO L413 NwaCegarLoop]: 18 mSDtfsCounter, 140 mSDsluCounter, 204 mSDsCounter, 0 mSdLazyCounter, 492 mSolverCounterSat, 1 mSolverCounterUnsat, 0 mSolverCounterUnknown, 0 mSolverCounterNotChecked, 0.3s Time, 0 mProtectedPredicate, 0 mProtectedAction, 140 SdHoareTripleChecker+Valid, 222 SdHoareTripleChecker+Invalid, 493 SdHoareTripleChecker+Unknown, 0 SdHoareTripleChecker+Unchecked, 0.0s SdHoareTripleChecker+Time, 1 IncrementalHoareTripleChecker+Valid, 492 IncrementalHoareTripleChecker+Invalid, 0 IncrementalHoareTripleChecker+Unknown, 0 IncrementalHoareTripleChecker+Unchecked, 0.3s IncrementalHoareTripleChecker+Time [2023-11-24 23:56:28,439 INFO L414 NwaCegarLoop]: SdHoareTripleChecker [140 Valid, 222 Invalid, 493 Unknown, 0 Unchecked, 0.0s Time], IncrementalHoareTripleChecker [1 Valid, 492 Invalid, 0 Unknown, 0 Unchecked, 0.3s Time] [2023-11-24 23:56:28,440 INFO L82 GeneralOperation]: Start minimizeSevpa. Operand 56 states. [2023-11-24 23:56:28,443 INFO L88 GeneralOperation]: Finished minimizeSevpa. Reduced states from 56 to 51. [2023-11-24 23:56:28,443 INFO L82 GeneralOperation]: Start removeUnreachable. Operand has 51 states, 50 states have (on average 1.16) internal successors, (58), 50 states have internal predecessors, (58), 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-24 23:56:28,443 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 51 states to 51 states and 58 transitions. [2023-11-24 23:56:28,446 INFO L78 Accepts]: Start accepts. Automaton has 51 states and 58 transitions. Word has length 39 [2023-11-24 23:56:28,446 INFO L84 Accepts]: Finished accepts. word is rejected. [2023-11-24 23:56:28,446 INFO L495 AbstractCegarLoop]: Abstraction has 51 states and 58 transitions. [2023-11-24 23:56:28,446 INFO L496 AbstractCegarLoop]: INTERPOLANT automaton has has 35 states, 34 states have (on average 2.823529411764706) internal successors, (96), 34 states have internal predecessors, (96), 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-24 23:56:28,448 INFO L276 IsEmpty]: Start isEmpty. Operand 51 states and 58 transitions. [2023-11-24 23:56:28,449 INFO L282 IsEmpty]: Finished isEmpty. Found accepting run of length 45 [2023-11-24 23:56:28,449 INFO L187 NwaCegarLoop]: Found error trace [2023-11-24 23:56:28,449 INFO L195 NwaCegarLoop]: trace histogram [6, 6, 6, 6, 6, 5, 5, 1, 1, 1, 1] [2023-11-24 23:56:28,459 INFO L540 MonitoredProcess]: [MP /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_0f5c6703-6916-48ad-b754-686851d54387/bin/utaipan-verify-SwPr7d2a91/z3 -smt2 -in SMTLIB2_COMPLIANT=true (10)] Forceful destruction successful, exit code 0 [2023-11-24 23:56:28,658 WARN L477 AbstractCegarLoop]: Destroyed unattended storables created during the last iteration: 10 /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_0f5c6703-6916-48ad-b754-686851d54387/bin/utaipan-verify-SwPr7d2a91/z3 -smt2 -in SMTLIB2_COMPLIANT=true,SelfDestructingSolverStorable15 [2023-11-24 23:56:28,658 INFO L420 AbstractCegarLoop]: === Iteration 17 === Targeting ULTIMATE.startErr5REQUIRES_VIOLATIONMEMORY_DEREFERENCE === [ULTIMATE.startErr0REQUIRES_VIOLATIONMEMORY_DEREFERENCE, ULTIMATE.startErr1REQUIRES_VIOLATIONMEMORY_DEREFERENCE, ULTIMATE.startErr2REQUIRES_VIOLATIONMEMORY_DEREFERENCE (and 8 more)] === [2023-11-24 23:56:28,658 INFO L160 PredicateUnifier]: Initialized classic predicate unifier [2023-11-24 23:56:28,658 INFO L85 PathProgramCache]: Analyzing trace with hash 1290305735, now seen corresponding path program 10 times [2023-11-24 23:56:28,658 INFO L118 FreeRefinementEngine]: Executing refinement strategy SIFA_TAIPAN [2023-11-24 23:56:28,659 INFO L334 FreeRefinementEngine]: Using trace check IpTcStrategyModuleSmtInterpolCraig [2021773867] [2023-11-24 23:56:28,659 INFO L95 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2023-11-24 23:56:28,659 INFO L127 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout -1 ms and remaining time -1 ms [2023-11-24 23:56:28,688 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2023-11-24 23:56:29,330 INFO L134 CoverageAnalysis]: Checked inductivity of 106 backedges. 21 proven. 85 refuted. 0 times theorem prover too weak. 0 trivial. 0 not checked. [2023-11-24 23:56:29,330 INFO L136 FreeRefinementEngine]: Strategy SIFA_TAIPAN found an infeasible trace [2023-11-24 23:56:29,330 INFO L334 FreeRefinementEngine]: Using interpolant generator IpTcStrategyModuleSmtInterpolCraig [2021773867] [2023-11-24 23:56:29,330 INFO L158 FreeRefinementEngine]: IpTcStrategyModuleSmtInterpolCraig [2021773867] provided 0 perfect and 1 imperfect interpolant sequences [2023-11-24 23:56:29,330 INFO L334 FreeRefinementEngine]: Using interpolant generator IpTcStrategyModuleZ3 [125564989] [2023-11-24 23:56:29,331 INFO L93 rtionOrderModulation]: Changing assertion order to NOT_INCREMENTALLY [2023-11-24 23:56:29,331 INFO L173 SolverBuilder]: Constructing external solver with command: z3 -smt2 -in SMTLIB2_COMPLIANT=true [2023-11-24 23:56:29,331 INFO L189 MonitoredProcess]: No working directory specified, using /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_0f5c6703-6916-48ad-b754-686851d54387/bin/utaipan-verify-SwPr7d2a91/z3 [2023-11-24 23:56:29,332 INFO L229 MonitoredProcess]: Starting monitored process 11 with /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_0f5c6703-6916-48ad-b754-686851d54387/bin/utaipan-verify-SwPr7d2a91/z3 -smt2 -in SMTLIB2_COMPLIANT=true (exit command is (exit), workingDir is null) [2023-11-24 23:56:29,364 INFO L327 MonitoredProcess]: [MP /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_0f5c6703-6916-48ad-b754-686851d54387/bin/utaipan-verify-SwPr7d2a91/z3 -smt2 -in SMTLIB2_COMPLIANT=true (11)] Waiting until timeout for monitored process [2023-11-24 23:56:29,458 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2023-11-24 23:56:29,460 INFO L262 TraceCheckSpWp]: Trace formula consists of 236 conjuncts, 52 conjunts are in the unsatisfiable core [2023-11-24 23:56:29,463 INFO L285 TraceCheckSpWp]: Computing forward predicates... [2023-11-24 23:56:29,655 INFO L378 Elim1Store]: Elim1 eliminated variable of array dimension 2, 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 13 treesize of output 9 [2023-11-24 23:56:29,727 INFO L134 CoverageAnalysis]: Checked inductivity of 106 backedges. 21 proven. 85 refuted. 0 times theorem prover too weak. 0 trivial. 0 not checked. [2023-11-24 23:56:29,727 INFO L327 TraceCheckSpWp]: Computing backward predicates... [2023-11-24 23:56:29,780 INFO L378 Elim1Store]: Elim1 eliminated variable of array dimension 2, 0 stores, 1 select indices, 1 select index equivalence classes, 0 disjoint index pairs (out of 0 index pairs), introduced 1 new quantified variables, introduced 0 case distinctions, treesize of input 15 treesize of output 13 [2023-11-24 23:56:29,782 INFO L378 Elim1Store]: Elim1 eliminated variable of array dimension 1, 0 stores, 1 select indices, 1 select index equivalence classes, 0 disjoint index pairs (out of 0 index pairs), introduced 1 new quantified variables, introduced 0 case distinctions, treesize of input 16 treesize of output 12 [2023-11-24 23:56:29,868 INFO L134 CoverageAnalysis]: Checked inductivity of 106 backedges. 21 proven. 85 refuted. 0 times theorem prover too weak. 0 trivial. 0 not checked. [2023-11-24 23:56:29,868 INFO L158 FreeRefinementEngine]: IpTcStrategyModuleZ3 [125564989] provided 0 perfect and 2 imperfect interpolant sequences [2023-11-24 23:56:29,868 INFO L334 FreeRefinementEngine]: Using interpolant generator IpTcStrategyModuleSifa [553744806] [2023-11-24 23:56:29,870 INFO L159 IcfgInterpreter]: Started Sifa with 10 locations of interest [2023-11-24 23:56:29,870 INFO L166 IcfgInterpreter]: Building call graph [2023-11-24 23:56:29,870 INFO L171 IcfgInterpreter]: Initial procedures are [ULTIMATE.start] [2023-11-24 23:56:29,871 INFO L176 IcfgInterpreter]: Starting interpretation [2023-11-24 23:56:29,871 INFO L197 IcfgInterpreter]: Interpreting procedure ULTIMATE.start with input of size 1 for LOIs [2023-11-24 23:56:30,386 INFO L180 IcfgInterpreter]: Interpretation finished [2023-11-24 23:56:30,851 INFO L133 SifaRunner]: Sifa could not show that error location is unreachable, found '3050#(and (<= 1 |#StackHeapBarrier|) (<= 2 |ULTIMATE.start_main_#t~malloc7#1.base|) (<= 1 |ULTIMATE.start_main_~length1~0#1|) (<= 2 |ULTIMATE.start_cstrreplace_~s#1.base|) (<= |ULTIMATE.start_main_#t~nondet10#1| 2147483647) (<= 2 |ULTIMATE.start_cstrreplace_#in~s#1.base|) (= |ULTIMATE.start_cstrreplace_~numReplaced~0#1| 0) (= |ULTIMATE.start_main_~nondetString1~0#1.offset| 0) (<= |ULTIMATE.start_main_#t~nondet11#1| 2147483647) (= |ULTIMATE.start_cstrreplace_#in~s#1.offset| 0) (<= (select |#length| |ULTIMATE.start_cstrreplace_~p~0#1.base|) |ULTIMATE.start_cstrreplace_~p~0#1.offset|) (<= 0 |ULTIMATE.start_cstrreplace_~p~0#1.offset|) (= |ULTIMATE.start_main_#t~malloc7#1.offset| 0) (= |ULTIMATE.start_cstrreplace_~s#1.offset| 0) (<= 2 |ULTIMATE.start_main_~nondetString1~0#1.base|) (<= 0 (+ 2147483648 |ULTIMATE.start_main_#t~nondet11#1|)) (<= 2 |ULTIMATE.start_cstrreplace_~p~0#1.base|) (<= 0 (+ 2147483648 |ULTIMATE.start_main_#t~nondet10#1|)))' at error location [2023-11-24 23:56:30,851 WARN L311 FreeRefinementEngine]: Interpolation failed due to KNOWN_IGNORE: ALGORITHM_FAILED [2023-11-24 23:56:30,851 INFO L185 FreeRefinementEngine]: Found 0 perfect and 3 imperfect interpolant sequences. [2023-11-24 23:56:30,851 INFO L198 FreeRefinementEngine]: Number of different interpolants: perfect sequences [] imperfect sequences [16, 16, 16] total 27 [2023-11-24 23:56:30,851 INFO L121 tionRefinementEngine]: Using interpolant automaton builder IpAbStrategyModuleStraightlineAll [1153859943] [2023-11-24 23:56:30,852 INFO L85 oduleStraightlineAll]: Using 3 imperfect interpolants to construct interpolant automaton [2023-11-24 23:56:30,852 INFO L571 AbstractCegarLoop]: INTERPOLANT automaton has 28 states [2023-11-24 23:56:30,852 INFO L100 FreeRefinementEngine]: Using predicate unifier PredicateUnifier provided by strategy SIFA_TAIPAN [2023-11-24 23:56:30,853 INFO L143 InterpolantAutomaton]: Constructing interpolant automaton starting with 28 interpolants. [2023-11-24 23:56:30,853 INFO L145 InterpolantAutomaton]: CoverageRelationStatistics Valid=96, Invalid=1026, Unknown=0, NotChecked=0, Total=1122 [2023-11-24 23:56:30,854 INFO L87 Difference]: Start difference. First operand 51 states and 58 transitions. Second operand has 28 states, 28 states have (on average 2.3214285714285716) internal successors, (65), 27 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-24 23:56:31,495 INFO L144 Difference]: Subtrahend was deterministic. Have not used determinization. [2023-11-24 23:56:31,495 INFO L93 Difference]: Finished difference Result 87 states and 99 transitions. [2023-11-24 23:56:31,496 INFO L141 InterpolantAutomaton]: Switched to read-only mode: deterministic interpolant automaton has 22 states. [2023-11-24 23:56:31,496 INFO L78 Accepts]: Start accepts. Automaton has has 28 states, 28 states have (on average 2.3214285714285716) internal successors, (65), 27 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) Word has length 44 [2023-11-24 23:56:31,496 INFO L84 Accepts]: Finished accepts. some prefix is accepted. [2023-11-24 23:56:31,497 INFO L225 Difference]: With dead ends: 87 [2023-11-24 23:56:31,497 INFO L226 Difference]: Without dead ends: 54 [2023-11-24 23:56:31,498 INFO L412 NwaCegarLoop]: 0 DeclaredPredicates, 158 GetRequests, 114 SyntacticMatches, 0 SemanticMatches, 44 ConstructedPredicates, 0 IntricatePredicates, 0 DeprecatedPredicates, 265 ImplicationChecksByTransitivity, 1.1s TimeCoverageRelationStatistics Valid=178, Invalid=1892, Unknown=0, NotChecked=0, Total=2070 [2023-11-24 23:56:31,498 INFO L413 NwaCegarLoop]: 16 mSDtfsCounter, 120 mSDsluCounter, 269 mSDsCounter, 0 mSdLazyCounter, 650 mSolverCounterSat, 10 mSolverCounterUnsat, 0 mSolverCounterUnknown, 0 mSolverCounterNotChecked, 0.3s Time, 0 mProtectedPredicate, 0 mProtectedAction, 120 SdHoareTripleChecker+Valid, 285 SdHoareTripleChecker+Invalid, 660 SdHoareTripleChecker+Unknown, 0 SdHoareTripleChecker+Unchecked, 0.0s SdHoareTripleChecker+Time, 10 IncrementalHoareTripleChecker+Valid, 650 IncrementalHoareTripleChecker+Invalid, 0 IncrementalHoareTripleChecker+Unknown, 0 IncrementalHoareTripleChecker+Unchecked, 0.4s IncrementalHoareTripleChecker+Time [2023-11-24 23:56:31,499 INFO L414 NwaCegarLoop]: SdHoareTripleChecker [120 Valid, 285 Invalid, 660 Unknown, 0 Unchecked, 0.0s Time], IncrementalHoareTripleChecker [10 Valid, 650 Invalid, 0 Unknown, 0 Unchecked, 0.4s Time] [2023-11-24 23:56:31,499 INFO L82 GeneralOperation]: Start minimizeSevpa. Operand 54 states. [2023-11-24 23:56:31,502 INFO L88 GeneralOperation]: Finished minimizeSevpa. Reduced states from 54 to 53. [2023-11-24 23:56:31,502 INFO L82 GeneralOperation]: Start removeUnreachable. Operand has 53 states, 52 states have (on average 1.1538461538461537) internal successors, (60), 52 states have internal predecessors, (60), 0 states have call successors, (0), 0 states have call predecessors, (0), 0 states have return successors, (0), 0 states have call predecessors, (0), 0 states have call successors, (0) [2023-11-24 23:56:31,502 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 53 states to 53 states and 60 transitions. [2023-11-24 23:56:31,503 INFO L78 Accepts]: Start accepts. Automaton has 53 states and 60 transitions. Word has length 44 [2023-11-24 23:56:31,503 INFO L84 Accepts]: Finished accepts. word is rejected. [2023-11-24 23:56:31,503 INFO L495 AbstractCegarLoop]: Abstraction has 53 states and 60 transitions. [2023-11-24 23:56:31,503 INFO L496 AbstractCegarLoop]: INTERPOLANT automaton has has 28 states, 28 states have (on average 2.3214285714285716) internal successors, (65), 27 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-24 23:56:31,503 INFO L276 IsEmpty]: Start isEmpty. Operand 53 states and 60 transitions. [2023-11-24 23:56:31,504 INFO L282 IsEmpty]: Finished isEmpty. Found accepting run of length 47 [2023-11-24 23:56:31,504 INFO L187 NwaCegarLoop]: Found error trace [2023-11-24 23:56:31,504 INFO L195 NwaCegarLoop]: trace histogram [6, 6, 6, 6, 6, 6, 6, 1, 1, 1, 1] [2023-11-24 23:56:31,512 INFO L540 MonitoredProcess]: [MP /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_0f5c6703-6916-48ad-b754-686851d54387/bin/utaipan-verify-SwPr7d2a91/z3 -smt2 -in SMTLIB2_COMPLIANT=true (11)] Forceful destruction successful, exit code 0 [2023-11-24 23:56:31,710 WARN L477 AbstractCegarLoop]: Destroyed unattended storables created during the last iteration: 11 /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_0f5c6703-6916-48ad-b754-686851d54387/bin/utaipan-verify-SwPr7d2a91/z3 -smt2 -in SMTLIB2_COMPLIANT=true,SelfDestructingSolverStorable16 [2023-11-24 23:56:31,710 INFO L420 AbstractCegarLoop]: === Iteration 18 === Targeting ULTIMATE.startErr5REQUIRES_VIOLATIONMEMORY_DEREFERENCE === [ULTIMATE.startErr0REQUIRES_VIOLATIONMEMORY_DEREFERENCE, ULTIMATE.startErr1REQUIRES_VIOLATIONMEMORY_DEREFERENCE, ULTIMATE.startErr2REQUIRES_VIOLATIONMEMORY_DEREFERENCE (and 8 more)] === [2023-11-24 23:56:31,710 INFO L160 PredicateUnifier]: Initialized classic predicate unifier [2023-11-24 23:56:31,710 INFO L85 PathProgramCache]: Analyzing trace with hash 1406968208, now seen corresponding path program 11 times [2023-11-24 23:56:31,710 INFO L118 FreeRefinementEngine]: Executing refinement strategy SIFA_TAIPAN [2023-11-24 23:56:31,711 INFO L334 FreeRefinementEngine]: Using trace check IpTcStrategyModuleSmtInterpolCraig [876567469] [2023-11-24 23:56:31,711 INFO L95 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2023-11-24 23:56:31,711 INFO L127 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout -1 ms and remaining time -1 ms [2023-11-24 23:56:31,726 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2023-11-24 23:56:32,351 INFO L134 CoverageAnalysis]: Checked inductivity of 117 backedges. 25 proven. 92 refuted. 0 times theorem prover too weak. 0 trivial. 0 not checked. [2023-11-24 23:56:32,351 INFO L136 FreeRefinementEngine]: Strategy SIFA_TAIPAN found an infeasible trace [2023-11-24 23:56:32,351 INFO L334 FreeRefinementEngine]: Using interpolant generator IpTcStrategyModuleSmtInterpolCraig [876567469] [2023-11-24 23:56:32,352 INFO L158 FreeRefinementEngine]: IpTcStrategyModuleSmtInterpolCraig [876567469] provided 0 perfect and 1 imperfect interpolant sequences [2023-11-24 23:56:32,352 INFO L334 FreeRefinementEngine]: Using interpolant generator IpTcStrategyModuleZ3 [1860967575] [2023-11-24 23:56:32,352 INFO L93 rtionOrderModulation]: Changing assertion order to OUTSIDE_LOOP_FIRST2 [2023-11-24 23:56:32,352 INFO L173 SolverBuilder]: Constructing external solver with command: z3 -smt2 -in SMTLIB2_COMPLIANT=true [2023-11-24 23:56:32,352 INFO L189 MonitoredProcess]: No working directory specified, using /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_0f5c6703-6916-48ad-b754-686851d54387/bin/utaipan-verify-SwPr7d2a91/z3 [2023-11-24 23:56:32,357 INFO L229 MonitoredProcess]: Starting monitored process 12 with /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_0f5c6703-6916-48ad-b754-686851d54387/bin/utaipan-verify-SwPr7d2a91/z3 -smt2 -in SMTLIB2_COMPLIANT=true (exit command is (exit), workingDir is null) [2023-11-24 23:56:32,364 INFO L327 MonitoredProcess]: [MP /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_0f5c6703-6916-48ad-b754-686851d54387/bin/utaipan-verify-SwPr7d2a91/z3 -smt2 -in SMTLIB2_COMPLIANT=true (12)] Waiting until timeout for monitored process [2023-11-24 23:56:32,528 INFO L228 tOrderPrioritization]: Assert order OUTSIDE_LOOP_FIRST2 issued 7 check-sat command(s) [2023-11-24 23:56:32,528 INFO L229 tOrderPrioritization]: Conjunction of SSA is unsat [2023-11-24 23:56:32,530 INFO L262 TraceCheckSpWp]: Trace formula consists of 249 conjuncts, 40 conjunts are in the unsatisfiable core [2023-11-24 23:56:32,533 INFO L285 TraceCheckSpWp]: Computing forward predicates... [2023-11-24 23:56:32,923 INFO L134 CoverageAnalysis]: Checked inductivity of 117 backedges. 25 proven. 92 refuted. 0 times theorem prover too weak. 0 trivial. 0 not checked. [2023-11-24 23:56:32,923 INFO L327 TraceCheckSpWp]: Computing backward predicates... [2023-11-24 23:56:33,339 INFO L378 Elim1Store]: Elim1 eliminated variable of array dimension 1, 0 stores, 1 select indices, 1 select index equivalence classes, 0 disjoint index pairs (out of 0 index pairs), introduced 1 new quantified variables, introduced 0 case distinctions, treesize of input 7 treesize of output 5 [2023-11-24 23:56:33,479 INFO L134 CoverageAnalysis]: Checked inductivity of 117 backedges. 25 proven. 92 refuted. 0 times theorem prover too weak. 0 trivial. 0 not checked. [2023-11-24 23:56:33,479 INFO L158 FreeRefinementEngine]: IpTcStrategyModuleZ3 [1860967575] provided 0 perfect and 2 imperfect interpolant sequences [2023-11-24 23:56:33,479 INFO L334 FreeRefinementEngine]: Using interpolant generator IpTcStrategyModuleSifa [809296008] [2023-11-24 23:56:33,481 INFO L159 IcfgInterpreter]: Started Sifa with 10 locations of interest [2023-11-24 23:56:33,481 INFO L166 IcfgInterpreter]: Building call graph [2023-11-24 23:56:33,481 INFO L171 IcfgInterpreter]: Initial procedures are [ULTIMATE.start] [2023-11-24 23:56:33,481 INFO L176 IcfgInterpreter]: Starting interpretation [2023-11-24 23:56:33,481 INFO L197 IcfgInterpreter]: Interpreting procedure ULTIMATE.start with input of size 1 for LOIs [2023-11-24 23:56:34,005 INFO L180 IcfgInterpreter]: Interpretation finished [2023-11-24 23:56:34,488 INFO L133 SifaRunner]: Sifa could not show that error location is unreachable, found '3529#(and (<= 1 |#StackHeapBarrier|) (<= 2 |ULTIMATE.start_main_#t~malloc7#1.base|) (<= 1 |ULTIMATE.start_main_~length1~0#1|) (<= 2 |ULTIMATE.start_cstrreplace_~s#1.base|) (<= |ULTIMATE.start_main_#t~nondet10#1| 2147483647) (<= 2 |ULTIMATE.start_cstrreplace_#in~s#1.base|) (= |ULTIMATE.start_cstrreplace_~numReplaced~0#1| 0) (= |ULTIMATE.start_main_~nondetString1~0#1.offset| 0) (<= |ULTIMATE.start_main_#t~nondet11#1| 2147483647) (= |ULTIMATE.start_cstrreplace_#in~s#1.offset| 0) (<= (select |#length| |ULTIMATE.start_cstrreplace_~p~0#1.base|) |ULTIMATE.start_cstrreplace_~p~0#1.offset|) (<= 0 |ULTIMATE.start_cstrreplace_~p~0#1.offset|) (= |ULTIMATE.start_main_#t~malloc7#1.offset| 0) (= |ULTIMATE.start_cstrreplace_~s#1.offset| 0) (<= 2 |ULTIMATE.start_main_~nondetString1~0#1.base|) (<= 0 (+ 2147483648 |ULTIMATE.start_main_#t~nondet11#1|)) (<= 2 |ULTIMATE.start_cstrreplace_~p~0#1.base|) (<= 0 (+ 2147483648 |ULTIMATE.start_main_#t~nondet10#1|)))' at error location [2023-11-24 23:56:34,488 WARN L311 FreeRefinementEngine]: Interpolation failed due to KNOWN_IGNORE: ALGORITHM_FAILED [2023-11-24 23:56:34,488 INFO L185 FreeRefinementEngine]: Found 0 perfect and 3 imperfect interpolant sequences. [2023-11-24 23:56:34,488 INFO L198 FreeRefinementEngine]: Number of different interpolants: perfect sequences [] imperfect sequences [14, 15, 15] total 37 [2023-11-24 23:56:34,489 INFO L121 tionRefinementEngine]: Using interpolant automaton builder IpAbStrategyModuleStraightlineAll [1162733545] [2023-11-24 23:56:34,489 INFO L85 oduleStraightlineAll]: Using 3 imperfect interpolants to construct interpolant automaton [2023-11-24 23:56:34,489 INFO L571 AbstractCegarLoop]: INTERPOLANT automaton has 39 states [2023-11-24 23:56:34,490 INFO L100 FreeRefinementEngine]: Using predicate unifier PredicateUnifier provided by strategy SIFA_TAIPAN [2023-11-24 23:56:34,490 INFO L143 InterpolantAutomaton]: Constructing interpolant automaton starting with 39 interpolants. [2023-11-24 23:56:34,491 INFO L145 InterpolantAutomaton]: CoverageRelationStatistics Valid=275, Invalid=1705, Unknown=0, NotChecked=0, Total=1980 [2023-11-24 23:56:34,492 INFO L87 Difference]: Start difference. First operand 53 states and 60 transitions. Second operand has 39 states, 38 states have (on average 3.263157894736842) internal successors, (124), 38 states have internal predecessors, (124), 0 states have call successors, (0), 0 states have call predecessors, (0), 0 states have return successors, (0), 0 states have call predecessors, (0), 0 states have call successors, (0) [2023-11-24 23:56:35,085 INFO L144 Difference]: Subtrahend was deterministic. Have not used determinization. [2023-11-24 23:56:35,088 INFO L93 Difference]: Finished difference Result 64 states and 73 transitions. [2023-11-24 23:56:35,092 INFO L141 InterpolantAutomaton]: Switched to read-only mode: deterministic interpolant automaton has 18 states. [2023-11-24 23:56:35,093 INFO L78 Accepts]: Start accepts. Automaton has has 39 states, 38 states have (on average 3.263157894736842) internal successors, (124), 38 states have internal predecessors, (124), 0 states have call successors, (0), 0 states have call predecessors, (0), 0 states have return successors, (0), 0 states have call predecessors, (0), 0 states have call successors, (0) Word has length 46 [2023-11-24 23:56:35,093 INFO L84 Accepts]: Finished accepts. some prefix is accepted. [2023-11-24 23:56:35,093 INFO L225 Difference]: With dead ends: 64 [2023-11-24 23:56:35,094 INFO L226 Difference]: Without dead ends: 64 [2023-11-24 23:56:35,095 INFO L412 NwaCegarLoop]: 0 DeclaredPredicates, 159 GetRequests, 100 SyntacticMatches, 7 SemanticMatches, 52 ConstructedPredicates, 0 IntricatePredicates, 0 DeprecatedPredicates, 1119 ImplicationChecksByTransitivity, 1.6s TimeCoverageRelationStatistics Valid=405, Invalid=2457, Unknown=0, NotChecked=0, Total=2862 [2023-11-24 23:56:35,096 INFO L413 NwaCegarLoop]: 21 mSDtfsCounter, 176 mSDsluCounter, 177 mSDsCounter, 0 mSdLazyCounter, 486 mSolverCounterSat, 1 mSolverCounterUnsat, 0 mSolverCounterUnknown, 0 mSolverCounterNotChecked, 0.3s Time, 0 mProtectedPredicate, 0 mProtectedAction, 176 SdHoareTripleChecker+Valid, 198 SdHoareTripleChecker+Invalid, 487 SdHoareTripleChecker+Unknown, 0 SdHoareTripleChecker+Unchecked, 0.0s SdHoareTripleChecker+Time, 1 IncrementalHoareTripleChecker+Valid, 486 IncrementalHoareTripleChecker+Invalid, 0 IncrementalHoareTripleChecker+Unknown, 0 IncrementalHoareTripleChecker+Unchecked, 0.3s IncrementalHoareTripleChecker+Time [2023-11-24 23:56:35,096 INFO L414 NwaCegarLoop]: SdHoareTripleChecker [176 Valid, 198 Invalid, 487 Unknown, 0 Unchecked, 0.0s Time], IncrementalHoareTripleChecker [1 Valid, 486 Invalid, 0 Unknown, 0 Unchecked, 0.3s Time] [2023-11-24 23:56:35,096 INFO L82 GeneralOperation]: Start minimizeSevpa. Operand 64 states. [2023-11-24 23:56:35,102 INFO L88 GeneralOperation]: Finished minimizeSevpa. Reduced states from 64 to 59. [2023-11-24 23:56:35,103 INFO L82 GeneralOperation]: Start removeUnreachable. Operand has 59 states, 58 states have (on average 1.1551724137931034) internal successors, (67), 58 states have internal predecessors, (67), 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-24 23:56:35,103 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 59 states to 59 states and 67 transitions. [2023-11-24 23:56:35,103 INFO L78 Accepts]: Start accepts. Automaton has 59 states and 67 transitions. Word has length 46 [2023-11-24 23:56:35,104 INFO L84 Accepts]: Finished accepts. word is rejected. [2023-11-24 23:56:35,104 INFO L495 AbstractCegarLoop]: Abstraction has 59 states and 67 transitions. [2023-11-24 23:56:35,104 INFO L496 AbstractCegarLoop]: INTERPOLANT automaton has has 39 states, 38 states have (on average 3.263157894736842) internal successors, (124), 38 states have internal predecessors, (124), 0 states have call successors, (0), 0 states have call predecessors, (0), 0 states have return successors, (0), 0 states have call predecessors, (0), 0 states have call successors, (0) [2023-11-24 23:56:35,104 INFO L276 IsEmpty]: Start isEmpty. Operand 59 states and 67 transitions. [2023-11-24 23:56:35,105 INFO L282 IsEmpty]: Finished isEmpty. Found accepting run of length 52 [2023-11-24 23:56:35,105 INFO L187 NwaCegarLoop]: Found error trace [2023-11-24 23:56:35,105 INFO L195 NwaCegarLoop]: trace histogram [7, 7, 7, 7, 7, 6, 6, 1, 1, 1, 1] [2023-11-24 23:56:35,112 INFO L540 MonitoredProcess]: [MP /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_0f5c6703-6916-48ad-b754-686851d54387/bin/utaipan-verify-SwPr7d2a91/z3 -smt2 -in SMTLIB2_COMPLIANT=true (12)] Forceful destruction successful, exit code 0 [2023-11-24 23:56:35,311 WARN L477 AbstractCegarLoop]: Destroyed unattended storables created during the last iteration: 12 /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_0f5c6703-6916-48ad-b754-686851d54387/bin/utaipan-verify-SwPr7d2a91/z3 -smt2 -in SMTLIB2_COMPLIANT=true,SelfDestructingSolverStorable17 [2023-11-24 23:56:35,311 INFO L420 AbstractCegarLoop]: === Iteration 19 === Targeting ULTIMATE.startErr5REQUIRES_VIOLATIONMEMORY_DEREFERENCE === [ULTIMATE.startErr0REQUIRES_VIOLATIONMEMORY_DEREFERENCE, ULTIMATE.startErr1REQUIRES_VIOLATIONMEMORY_DEREFERENCE, ULTIMATE.startErr2REQUIRES_VIOLATIONMEMORY_DEREFERENCE (and 8 more)] === [2023-11-24 23:56:35,312 INFO L160 PredicateUnifier]: Initialized classic predicate unifier [2023-11-24 23:56:35,312 INFO L85 PathProgramCache]: Analyzing trace with hash 1721954229, now seen corresponding path program 12 times [2023-11-24 23:56:35,312 INFO L118 FreeRefinementEngine]: Executing refinement strategy SIFA_TAIPAN [2023-11-24 23:56:35,312 INFO L334 FreeRefinementEngine]: Using trace check IpTcStrategyModuleSmtInterpolCraig [927376425] [2023-11-24 23:56:35,312 INFO L95 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2023-11-24 23:56:35,312 INFO L127 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout -1 ms and remaining time -1 ms [2023-11-24 23:56:35,343 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2023-11-24 23:56:36,014 INFO L134 CoverageAnalysis]: Checked inductivity of 148 backedges. 25 proven. 123 refuted. 0 times theorem prover too weak. 0 trivial. 0 not checked. [2023-11-24 23:56:36,015 INFO L136 FreeRefinementEngine]: Strategy SIFA_TAIPAN found an infeasible trace [2023-11-24 23:56:36,015 INFO L334 FreeRefinementEngine]: Using interpolant generator IpTcStrategyModuleSmtInterpolCraig [927376425] [2023-11-24 23:56:36,015 INFO L158 FreeRefinementEngine]: IpTcStrategyModuleSmtInterpolCraig [927376425] provided 0 perfect and 1 imperfect interpolant sequences [2023-11-24 23:56:36,015 INFO L334 FreeRefinementEngine]: Using interpolant generator IpTcStrategyModuleZ3 [1198341859] [2023-11-24 23:56:36,015 INFO L93 rtionOrderModulation]: Changing assertion order to TERMS_WITH_SMALL_CONSTANTS_FIRST [2023-11-24 23:56:36,015 INFO L173 SolverBuilder]: Constructing external solver with command: z3 -smt2 -in SMTLIB2_COMPLIANT=true [2023-11-24 23:56:36,015 INFO L189 MonitoredProcess]: No working directory specified, using /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_0f5c6703-6916-48ad-b754-686851d54387/bin/utaipan-verify-SwPr7d2a91/z3 [2023-11-24 23:56:36,016 INFO L229 MonitoredProcess]: Starting monitored process 13 with /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_0f5c6703-6916-48ad-b754-686851d54387/bin/utaipan-verify-SwPr7d2a91/z3 -smt2 -in SMTLIB2_COMPLIANT=true (exit command is (exit), workingDir is null) [2023-11-24 23:56:36,020 INFO L327 MonitoredProcess]: [MP /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_0f5c6703-6916-48ad-b754-686851d54387/bin/utaipan-verify-SwPr7d2a91/z3 -smt2 -in SMTLIB2_COMPLIANT=true (13)] Waiting until timeout for monitored process [2023-11-24 23:56:36,149 INFO L228 tOrderPrioritization]: Assert order TERMS_WITH_SMALL_CONSTANTS_FIRST issued 0 check-sat command(s) [2023-11-24 23:56:36,149 INFO L229 tOrderPrioritization]: Conjunction of SSA is unsat [2023-11-24 23:56:36,152 INFO L262 TraceCheckSpWp]: Trace formula consists of 267 conjuncts, 58 conjunts are in the unsatisfiable core [2023-11-24 23:56:36,155 INFO L285 TraceCheckSpWp]: Computing forward predicates... [2023-11-24 23:56:36,382 INFO L378 Elim1Store]: Elim1 eliminated variable of array dimension 2, 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 13 treesize of output 9 [2023-11-24 23:56:36,466 INFO L134 CoverageAnalysis]: Checked inductivity of 148 backedges. 25 proven. 123 refuted. 0 times theorem prover too weak. 0 trivial. 0 not checked. [2023-11-24 23:56:36,467 INFO L327 TraceCheckSpWp]: Computing backward predicates... [2023-11-24 23:56:36,529 INFO L378 Elim1Store]: Elim1 eliminated variable of array dimension 2, 0 stores, 1 select indices, 1 select index equivalence classes, 0 disjoint index pairs (out of 0 index pairs), introduced 1 new quantified variables, introduced 0 case distinctions, treesize of input 15 treesize of output 13 [2023-11-24 23:56:36,540 INFO L378 Elim1Store]: Elim1 eliminated variable of array dimension 1, 0 stores, 1 select indices, 1 select index equivalence classes, 0 disjoint index pairs (out of 0 index pairs), introduced 1 new quantified variables, introduced 0 case distinctions, treesize of input 16 treesize of output 12 [2023-11-24 23:56:36,631 INFO L134 CoverageAnalysis]: Checked inductivity of 148 backedges. 25 proven. 123 refuted. 0 times theorem prover too weak. 0 trivial. 0 not checked. [2023-11-24 23:56:36,631 INFO L158 FreeRefinementEngine]: IpTcStrategyModuleZ3 [1198341859] provided 0 perfect and 2 imperfect interpolant sequences [2023-11-24 23:56:36,631 INFO L334 FreeRefinementEngine]: Using interpolant generator IpTcStrategyModuleSifa [1373941315] [2023-11-24 23:56:36,633 INFO L159 IcfgInterpreter]: Started Sifa with 10 locations of interest [2023-11-24 23:56:36,633 INFO L166 IcfgInterpreter]: Building call graph [2023-11-24 23:56:36,633 INFO L171 IcfgInterpreter]: Initial procedures are [ULTIMATE.start] [2023-11-24 23:56:36,633 INFO L176 IcfgInterpreter]: Starting interpretation [2023-11-24 23:56:36,633 INFO L197 IcfgInterpreter]: Interpreting procedure ULTIMATE.start with input of size 1 for LOIs [2023-11-24 23:56:37,165 INFO L180 IcfgInterpreter]: Interpretation finished [2023-11-24 23:56:37,679 INFO L133 SifaRunner]: Sifa could not show that error location is unreachable, found '4007#(and (<= 1 |#StackHeapBarrier|) (<= 2 |ULTIMATE.start_main_#t~malloc7#1.base|) (<= 1 |ULTIMATE.start_main_~length1~0#1|) (<= 2 |ULTIMATE.start_cstrreplace_~s#1.base|) (<= |ULTIMATE.start_main_#t~nondet10#1| 2147483647) (<= 2 |ULTIMATE.start_cstrreplace_#in~s#1.base|) (= |ULTIMATE.start_cstrreplace_~numReplaced~0#1| 0) (= |ULTIMATE.start_main_~nondetString1~0#1.offset| 0) (<= |ULTIMATE.start_main_#t~nondet11#1| 2147483647) (= |ULTIMATE.start_cstrreplace_#in~s#1.offset| 0) (<= (select |#length| |ULTIMATE.start_cstrreplace_~p~0#1.base|) |ULTIMATE.start_cstrreplace_~p~0#1.offset|) (<= 0 |ULTIMATE.start_cstrreplace_~p~0#1.offset|) (= |ULTIMATE.start_main_#t~malloc7#1.offset| 0) (= |ULTIMATE.start_cstrreplace_~s#1.offset| 0) (<= 2 |ULTIMATE.start_main_~nondetString1~0#1.base|) (<= 0 (+ 2147483648 |ULTIMATE.start_main_#t~nondet11#1|)) (<= 2 |ULTIMATE.start_cstrreplace_~p~0#1.base|) (<= 0 (+ 2147483648 |ULTIMATE.start_main_#t~nondet10#1|)))' at error location [2023-11-24 23:56:37,679 WARN L311 FreeRefinementEngine]: Interpolation failed due to KNOWN_IGNORE: ALGORITHM_FAILED [2023-11-24 23:56:37,679 INFO L185 FreeRefinementEngine]: Found 0 perfect and 3 imperfect interpolant sequences. [2023-11-24 23:56:37,680 INFO L198 FreeRefinementEngine]: Number of different interpolants: perfect sequences [] imperfect sequences [18, 18, 18] total 30 [2023-11-24 23:56:37,680 INFO L121 tionRefinementEngine]: Using interpolant automaton builder IpAbStrategyModuleStraightlineAll [1846455301] [2023-11-24 23:56:37,680 INFO L85 oduleStraightlineAll]: Using 3 imperfect interpolants to construct interpolant automaton [2023-11-24 23:56:37,681 INFO L571 AbstractCegarLoop]: INTERPOLANT automaton has 31 states [2023-11-24 23:56:37,681 INFO L100 FreeRefinementEngine]: Using predicate unifier PredicateUnifier provided by strategy SIFA_TAIPAN [2023-11-24 23:56:37,682 INFO L143 InterpolantAutomaton]: Constructing interpolant automaton starting with 31 interpolants. [2023-11-24 23:56:37,683 INFO L145 InterpolantAutomaton]: CoverageRelationStatistics Valid=103, Invalid=1229, Unknown=0, NotChecked=0, Total=1332 [2023-11-24 23:56:37,683 INFO L87 Difference]: Start difference. First operand 59 states and 67 transitions. Second operand has 31 states, 31 states have (on average 2.3870967741935485) internal successors, (74), 30 states have internal predecessors, (74), 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-24 23:56:38,583 INFO L144 Difference]: Subtrahend was deterministic. Have not used determinization. [2023-11-24 23:56:38,583 INFO L93 Difference]: Finished difference Result 101 states and 115 transitions. [2023-11-24 23:56:38,584 INFO L141 InterpolantAutomaton]: Switched to read-only mode: deterministic interpolant automaton has 25 states. [2023-11-24 23:56:38,584 INFO L78 Accepts]: Start accepts. Automaton has has 31 states, 31 states have (on average 2.3870967741935485) internal successors, (74), 30 states have internal predecessors, (74), 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 51 [2023-11-24 23:56:38,584 INFO L84 Accepts]: Finished accepts. some prefix is accepted. [2023-11-24 23:56:38,585 INFO L225 Difference]: With dead ends: 101 [2023-11-24 23:56:38,585 INFO L226 Difference]: Without dead ends: 62 [2023-11-24 23:56:38,586 INFO L412 NwaCegarLoop]: 0 DeclaredPredicates, 183 GetRequests, 134 SyntacticMatches, 0 SemanticMatches, 49 ConstructedPredicates, 0 IntricatePredicates, 0 DeprecatedPredicates, 317 ImplicationChecksByTransitivity, 1.3s TimeCoverageRelationStatistics Valid=197, Invalid=2353, Unknown=0, NotChecked=0, Total=2550 [2023-11-24 23:56:38,587 INFO L413 NwaCegarLoop]: 19 mSDtfsCounter, 98 mSDsluCounter, 420 mSDsCounter, 0 mSdLazyCounter, 970 mSolverCounterSat, 12 mSolverCounterUnsat, 0 mSolverCounterUnknown, 0 mSolverCounterNotChecked, 0.5s Time, 0 mProtectedPredicate, 0 mProtectedAction, 98 SdHoareTripleChecker+Valid, 439 SdHoareTripleChecker+Invalid, 982 SdHoareTripleChecker+Unknown, 0 SdHoareTripleChecker+Unchecked, 0.0s SdHoareTripleChecker+Time, 12 IncrementalHoareTripleChecker+Valid, 970 IncrementalHoareTripleChecker+Invalid, 0 IncrementalHoareTripleChecker+Unknown, 0 IncrementalHoareTripleChecker+Unchecked, 0.5s IncrementalHoareTripleChecker+Time [2023-11-24 23:56:38,587 INFO L414 NwaCegarLoop]: SdHoareTripleChecker [98 Valid, 439 Invalid, 982 Unknown, 0 Unchecked, 0.0s Time], IncrementalHoareTripleChecker [12 Valid, 970 Invalid, 0 Unknown, 0 Unchecked, 0.5s Time] [2023-11-24 23:56:38,588 INFO L82 GeneralOperation]: Start minimizeSevpa. Operand 62 states. [2023-11-24 23:56:38,590 INFO L88 GeneralOperation]: Finished minimizeSevpa. Reduced states from 62 to 61. [2023-11-24 23:56:38,590 INFO L82 GeneralOperation]: Start removeUnreachable. Operand has 61 states, 60 states have (on average 1.15) internal successors, (69), 60 states have internal predecessors, (69), 0 states have call successors, (0), 0 states have call predecessors, (0), 0 states have return successors, (0), 0 states have call predecessors, (0), 0 states have call successors, (0) [2023-11-24 23:56:38,591 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 61 states to 61 states and 69 transitions. [2023-11-24 23:56:38,591 INFO L78 Accepts]: Start accepts. Automaton has 61 states and 69 transitions. Word has length 51 [2023-11-24 23:56:38,591 INFO L84 Accepts]: Finished accepts. word is rejected. [2023-11-24 23:56:38,591 INFO L495 AbstractCegarLoop]: Abstraction has 61 states and 69 transitions. [2023-11-24 23:56:38,595 INFO L496 AbstractCegarLoop]: INTERPOLANT automaton has has 31 states, 31 states have (on average 2.3870967741935485) internal successors, (74), 30 states have internal predecessors, (74), 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-24 23:56:38,596 INFO L276 IsEmpty]: Start isEmpty. Operand 61 states and 69 transitions. [2023-11-24 23:56:38,597 INFO L282 IsEmpty]: Finished isEmpty. Found accepting run of length 54 [2023-11-24 23:56:38,598 INFO L187 NwaCegarLoop]: Found error trace [2023-11-24 23:56:38,598 INFO L195 NwaCegarLoop]: trace histogram [7, 7, 7, 7, 7, 7, 7, 1, 1, 1, 1] [2023-11-24 23:56:38,604 INFO L540 MonitoredProcess]: [MP /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_0f5c6703-6916-48ad-b754-686851d54387/bin/utaipan-verify-SwPr7d2a91/z3 -smt2 -in SMTLIB2_COMPLIANT=true (13)] Forceful destruction successful, exit code 0 [2023-11-24 23:56:38,804 WARN L477 AbstractCegarLoop]: Destroyed unattended storables created during the last iteration: SelfDestructingSolverStorable18,13 /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_0f5c6703-6916-48ad-b754-686851d54387/bin/utaipan-verify-SwPr7d2a91/z3 -smt2 -in SMTLIB2_COMPLIANT=true [2023-11-24 23:56:38,804 INFO L420 AbstractCegarLoop]: === Iteration 20 === Targeting ULTIMATE.startErr5REQUIRES_VIOLATIONMEMORY_DEREFERENCE === [ULTIMATE.startErr0REQUIRES_VIOLATIONMEMORY_DEREFERENCE, ULTIMATE.startErr1REQUIRES_VIOLATIONMEMORY_DEREFERENCE, ULTIMATE.startErr2REQUIRES_VIOLATIONMEMORY_DEREFERENCE (and 8 more)] === [2023-11-24 23:56:38,804 INFO L160 PredicateUnifier]: Initialized classic predicate unifier [2023-11-24 23:56:38,805 INFO L85 PathProgramCache]: Analyzing trace with hash 446106316, now seen corresponding path program 13 times [2023-11-24 23:56:38,805 INFO L118 FreeRefinementEngine]: Executing refinement strategy SIFA_TAIPAN [2023-11-24 23:56:38,805 INFO L334 FreeRefinementEngine]: Using trace check IpTcStrategyModuleSmtInterpolCraig [295343023] [2023-11-24 23:56:38,805 INFO L95 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2023-11-24 23:56:38,805 INFO L127 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout -1 ms and remaining time -1 ms [2023-11-24 23:56:38,838 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2023-11-24 23:56:39,599 INFO L134 CoverageAnalysis]: Checked inductivity of 161 backedges. 36 proven. 125 refuted. 0 times theorem prover too weak. 0 trivial. 0 not checked. [2023-11-24 23:56:39,599 INFO L136 FreeRefinementEngine]: Strategy SIFA_TAIPAN found an infeasible trace [2023-11-24 23:56:39,599 INFO L334 FreeRefinementEngine]: Using interpolant generator IpTcStrategyModuleSmtInterpolCraig [295343023] [2023-11-24 23:56:39,599 INFO L158 FreeRefinementEngine]: IpTcStrategyModuleSmtInterpolCraig [295343023] provided 0 perfect and 1 imperfect interpolant sequences [2023-11-24 23:56:39,599 INFO L334 FreeRefinementEngine]: Using interpolant generator IpTcStrategyModuleZ3 [515581486] [2023-11-24 23:56:39,599 INFO L93 rtionOrderModulation]: Changing assertion order to NOT_INCREMENTALLY [2023-11-24 23:56:39,599 INFO L173 SolverBuilder]: Constructing external solver with command: z3 -smt2 -in SMTLIB2_COMPLIANT=true [2023-11-24 23:56:39,599 INFO L189 MonitoredProcess]: No working directory specified, using /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_0f5c6703-6916-48ad-b754-686851d54387/bin/utaipan-verify-SwPr7d2a91/z3 [2023-11-24 23:56:39,600 INFO L229 MonitoredProcess]: Starting monitored process 14 with /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_0f5c6703-6916-48ad-b754-686851d54387/bin/utaipan-verify-SwPr7d2a91/z3 -smt2 -in SMTLIB2_COMPLIANT=true (exit command is (exit), workingDir is null) [2023-11-24 23:56:39,616 INFO L327 MonitoredProcess]: [MP /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_0f5c6703-6916-48ad-b754-686851d54387/bin/utaipan-verify-SwPr7d2a91/z3 -smt2 -in SMTLIB2_COMPLIANT=true (14)] Waiting until timeout for monitored process [2023-11-24 23:56:39,729 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2023-11-24 23:56:39,731 INFO L262 TraceCheckSpWp]: Trace formula consists of 280 conjuncts, 50 conjunts are in the unsatisfiable core [2023-11-24 23:56:39,733 INFO L285 TraceCheckSpWp]: Computing forward predicates... [2023-11-24 23:56:40,090 INFO L134 CoverageAnalysis]: Checked inductivity of 161 backedges. 36 proven. 125 refuted. 0 times theorem prover too weak. 0 trivial. 0 not checked. [2023-11-24 23:56:40,090 INFO L327 TraceCheckSpWp]: Computing backward predicates... [2023-11-24 23:56:40,527 INFO L378 Elim1Store]: Elim1 eliminated variable of array dimension 1, 0 stores, 1 select indices, 1 select index equivalence classes, 0 disjoint index pairs (out of 0 index pairs), introduced 1 new quantified variables, introduced 0 case distinctions, treesize of input 5 treesize of output 3 [2023-11-24 23:56:40,699 INFO L134 CoverageAnalysis]: Checked inductivity of 161 backedges. 36 proven. 125 refuted. 0 times theorem prover too weak. 0 trivial. 0 not checked. [2023-11-24 23:56:40,700 INFO L158 FreeRefinementEngine]: IpTcStrategyModuleZ3 [515581486] provided 0 perfect and 2 imperfect interpolant sequences [2023-11-24 23:56:40,700 INFO L334 FreeRefinementEngine]: Using interpolant generator IpTcStrategyModuleSifa [1469025219] [2023-11-24 23:56:40,701 INFO L159 IcfgInterpreter]: Started Sifa with 10 locations of interest [2023-11-24 23:56:40,701 INFO L166 IcfgInterpreter]: Building call graph [2023-11-24 23:56:40,702 INFO L171 IcfgInterpreter]: Initial procedures are [ULTIMATE.start] [2023-11-24 23:56:40,702 INFO L176 IcfgInterpreter]: Starting interpretation [2023-11-24 23:56:40,702 INFO L197 IcfgInterpreter]: Interpreting procedure ULTIMATE.start with input of size 1 for LOIs [2023-11-24 23:56:41,211 INFO L180 IcfgInterpreter]: Interpretation finished [2023-11-24 23:56:41,729 INFO L133 SifaRunner]: Sifa could not show that error location is unreachable, found '4552#(and (<= 1 |#StackHeapBarrier|) (<= 2 |ULTIMATE.start_main_#t~malloc7#1.base|) (<= 1 |ULTIMATE.start_main_~length1~0#1|) (<= 2 |ULTIMATE.start_cstrreplace_~s#1.base|) (<= |ULTIMATE.start_main_#t~nondet10#1| 2147483647) (<= 2 |ULTIMATE.start_cstrreplace_#in~s#1.base|) (= |ULTIMATE.start_cstrreplace_~numReplaced~0#1| 0) (= |ULTIMATE.start_main_~nondetString1~0#1.offset| 0) (<= |ULTIMATE.start_main_#t~nondet11#1| 2147483647) (= |ULTIMATE.start_cstrreplace_#in~s#1.offset| 0) (<= (select |#length| |ULTIMATE.start_cstrreplace_~p~0#1.base|) |ULTIMATE.start_cstrreplace_~p~0#1.offset|) (<= 0 |ULTIMATE.start_cstrreplace_~p~0#1.offset|) (= |ULTIMATE.start_main_#t~malloc7#1.offset| 0) (= |ULTIMATE.start_cstrreplace_~s#1.offset| 0) (<= 2 |ULTIMATE.start_main_~nondetString1~0#1.base|) (<= 0 (+ 2147483648 |ULTIMATE.start_main_#t~nondet11#1|)) (<= 2 |ULTIMATE.start_cstrreplace_~p~0#1.base|) (<= 0 (+ 2147483648 |ULTIMATE.start_main_#t~nondet10#1|)))' at error location [2023-11-24 23:56:41,729 WARN L311 FreeRefinementEngine]: Interpolation failed due to KNOWN_IGNORE: ALGORITHM_FAILED [2023-11-24 23:56:41,729 INFO L185 FreeRefinementEngine]: Found 0 perfect and 3 imperfect interpolant sequences. [2023-11-24 23:56:41,730 INFO L198 FreeRefinementEngine]: Number of different interpolants: perfect sequences [] imperfect sequences [16, 17, 17] total 35 [2023-11-24 23:56:41,730 INFO L121 tionRefinementEngine]: Using interpolant automaton builder IpAbStrategyModuleStraightlineAll [1876098799] [2023-11-24 23:56:41,730 INFO L85 oduleStraightlineAll]: Using 3 imperfect interpolants to construct interpolant automaton [2023-11-24 23:56:41,730 INFO L571 AbstractCegarLoop]: INTERPOLANT automaton has 37 states [2023-11-24 23:56:41,731 INFO L100 FreeRefinementEngine]: Using predicate unifier PredicateUnifier provided by strategy SIFA_TAIPAN [2023-11-24 23:56:41,731 INFO L143 InterpolantAutomaton]: Constructing interpolant automaton starting with 37 interpolants. [2023-11-24 23:56:41,732 INFO L145 InterpolantAutomaton]: CoverageRelationStatistics Valid=217, Invalid=1589, Unknown=0, NotChecked=0, Total=1806 [2023-11-24 23:56:41,733 INFO L87 Difference]: Start difference. First operand 61 states and 69 transitions. Second operand has 37 states, 36 states have (on average 3.111111111111111) internal successors, (112), 36 states have internal predecessors, (112), 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-24 23:56:42,426 INFO L144 Difference]: Subtrahend was deterministic. Have not used determinization. [2023-11-24 23:56:42,426 INFO L93 Difference]: Finished difference Result 72 states and 82 transitions. [2023-11-24 23:56:42,427 INFO L141 InterpolantAutomaton]: Switched to read-only mode: deterministic interpolant automaton has 20 states. [2023-11-24 23:56:42,427 INFO L78 Accepts]: Start accepts. Automaton has has 37 states, 36 states have (on average 3.111111111111111) internal successors, (112), 36 states have internal predecessors, (112), 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 53 [2023-11-24 23:56:42,427 INFO L84 Accepts]: Finished accepts. some prefix is accepted. [2023-11-24 23:56:42,428 INFO L225 Difference]: With dead ends: 72 [2023-11-24 23:56:42,428 INFO L226 Difference]: Without dead ends: 72 [2023-11-24 23:56:42,429 INFO L412 NwaCegarLoop]: 0 DeclaredPredicates, 183 GetRequests, 124 SyntacticMatches, 8 SemanticMatches, 51 ConstructedPredicates, 0 IntricatePredicates, 0 DeprecatedPredicates, 1058 ImplicationChecksByTransitivity, 1.6s TimeCoverageRelationStatistics Valid=327, Invalid=2429, Unknown=0, NotChecked=0, Total=2756 [2023-11-24 23:56:42,430 INFO L413 NwaCegarLoop]: 24 mSDtfsCounter, 192 mSDsluCounter, 246 mSDsCounter, 0 mSdLazyCounter, 614 mSolverCounterSat, 1 mSolverCounterUnsat, 0 mSolverCounterUnknown, 0 mSolverCounterNotChecked, 0.3s Time, 0 mProtectedPredicate, 0 mProtectedAction, 192 SdHoareTripleChecker+Valid, 270 SdHoareTripleChecker+Invalid, 615 SdHoareTripleChecker+Unknown, 0 SdHoareTripleChecker+Unchecked, 0.0s SdHoareTripleChecker+Time, 1 IncrementalHoareTripleChecker+Valid, 614 IncrementalHoareTripleChecker+Invalid, 0 IncrementalHoareTripleChecker+Unknown, 0 IncrementalHoareTripleChecker+Unchecked, 0.4s IncrementalHoareTripleChecker+Time [2023-11-24 23:56:42,430 INFO L414 NwaCegarLoop]: SdHoareTripleChecker [192 Valid, 270 Invalid, 615 Unknown, 0 Unchecked, 0.0s Time], IncrementalHoareTripleChecker [1 Valid, 614 Invalid, 0 Unknown, 0 Unchecked, 0.4s Time] [2023-11-24 23:56:42,431 INFO L82 GeneralOperation]: Start minimizeSevpa. Operand 72 states. [2023-11-24 23:56:42,433 INFO L88 GeneralOperation]: Finished minimizeSevpa. Reduced states from 72 to 67. [2023-11-24 23:56:42,433 INFO L82 GeneralOperation]: Start removeUnreachable. Operand has 67 states, 66 states have (on average 1.1515151515151516) internal successors, (76), 66 states have internal predecessors, (76), 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-24 23:56:42,434 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 67 states to 67 states and 76 transitions. [2023-11-24 23:56:42,434 INFO L78 Accepts]: Start accepts. Automaton has 67 states and 76 transitions. Word has length 53 [2023-11-24 23:56:42,434 INFO L84 Accepts]: Finished accepts. word is rejected. [2023-11-24 23:56:42,434 INFO L495 AbstractCegarLoop]: Abstraction has 67 states and 76 transitions. [2023-11-24 23:56:42,435 INFO L496 AbstractCegarLoop]: INTERPOLANT automaton has has 37 states, 36 states have (on average 3.111111111111111) internal successors, (112), 36 states have internal predecessors, (112), 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-24 23:56:42,435 INFO L276 IsEmpty]: Start isEmpty. Operand 67 states and 76 transitions. [2023-11-24 23:56:42,435 INFO L282 IsEmpty]: Finished isEmpty. Found accepting run of length 59 [2023-11-24 23:56:42,435 INFO L187 NwaCegarLoop]: Found error trace [2023-11-24 23:56:42,436 INFO L195 NwaCegarLoop]: trace histogram [8, 8, 8, 8, 8, 7, 7, 1, 1, 1, 1] [2023-11-24 23:56:42,447 INFO L540 MonitoredProcess]: [MP /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_0f5c6703-6916-48ad-b754-686851d54387/bin/utaipan-verify-SwPr7d2a91/z3 -smt2 -in SMTLIB2_COMPLIANT=true (14)] Forceful destruction successful, exit code 0 [2023-11-24 23:56:42,641 WARN L477 AbstractCegarLoop]: Destroyed unattended storables created during the last iteration: SelfDestructingSolverStorable19,14 /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_0f5c6703-6916-48ad-b754-686851d54387/bin/utaipan-verify-SwPr7d2a91/z3 -smt2 -in SMTLIB2_COMPLIANT=true [2023-11-24 23:56:42,642 INFO L420 AbstractCegarLoop]: === Iteration 21 === Targeting ULTIMATE.startErr5REQUIRES_VIOLATIONMEMORY_DEREFERENCE === [ULTIMATE.startErr0REQUIRES_VIOLATIONMEMORY_DEREFERENCE, ULTIMATE.startErr1REQUIRES_VIOLATIONMEMORY_DEREFERENCE, ULTIMATE.startErr2REQUIRES_VIOLATIONMEMORY_DEREFERENCE (and 8 more)] ===