./Ultimate.py --spec ../../sv-benchmarks/c/properties/termination.prp --file ../../sv-benchmarks/c/termination-memory-alloca/fermat-alloca.i --full-output --architecture 64bit -------------------------------------------------------------------------------- Checking for termination 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_5ddded02-9bb9-4f49-af7a-820800c33d89/bin/uautomizer-verify-VRDe98Ueme/data/config -Xmx15G -Xms4m -jar /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_5ddded02-9bb9-4f49-af7a-820800c33d89/bin/uautomizer-verify-VRDe98Ueme/plugins/org.eclipse.equinox.launcher_1.5.800.v20200727-1323.jar -data @noDefault -ultimatedata /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_5ddded02-9bb9-4f49-af7a-820800c33d89/bin/uautomizer-verify-VRDe98Ueme/data -tc /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_5ddded02-9bb9-4f49-af7a-820800c33d89/bin/uautomizer-verify-VRDe98Ueme/config/AutomizerTermination.xml -i ../../sv-benchmarks/c/termination-memory-alloca/fermat-alloca.i -s /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_5ddded02-9bb9-4f49-af7a-820800c33d89/bin/uautomizer-verify-VRDe98Ueme/config/svcomp-Termination-64bit-Automizer_Default.epf --cacsl2boogietranslator.entry.function main --witnessprinter.witness.directory /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_5ddded02-9bb9-4f49-af7a-820800c33d89/bin/uautomizer-verify-VRDe98Ueme --witnessprinter.witness.filename witness --witnessprinter.write.witness.besides.input.file false --witnessprinter.graph.data.specification CHECK( init(main()), LTL(F end) ) --witnessprinter.graph.data.producer Automizer --witnessprinter.graph.data.architecture 64bit --witnessprinter.graph.data.programhash e779827438904e8a0bb49f414cbe4d14072e556fff2389d3772808230457c73c --- Real Ultimate output --- This is Ultimate 0.2.4-dev-0e0057c [2023-11-26 11:48:36,280 INFO L188 SettingsManager]: Resetting all preferences to default values... [2023-11-26 11:48:36,360 INFO L114 SettingsManager]: Loading settings from /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_5ddded02-9bb9-4f49-af7a-820800c33d89/bin/uautomizer-verify-VRDe98Ueme/config/svcomp-Termination-64bit-Automizer_Default.epf [2023-11-26 11:48:36,366 WARN L101 SettingsManager]: Preference file contains the following unknown settings: [2023-11-26 11:48:36,367 WARN L103 SettingsManager]: * de.uni_freiburg.informatik.ultimate.core.Log level for class [2023-11-26 11:48:36,395 INFO L130 SettingsManager]: Preferences different from defaults after loading the file: [2023-11-26 11:48:36,395 INFO L151 SettingsManager]: Preferences of UltimateCore differ from their defaults: [2023-11-26 11:48:36,396 INFO L153 SettingsManager]: * Log level for class=de.uni_freiburg.informatik.ultimate.lib.smtlibutils.quantifier.QuantifierPusher=ERROR; [2023-11-26 11:48:36,397 INFO L151 SettingsManager]: Preferences of Boogie Preprocessor differ from their defaults: [2023-11-26 11:48:36,397 INFO L153 SettingsManager]: * Use memory slicer=true [2023-11-26 11:48:36,398 INFO L151 SettingsManager]: Preferences of BlockEncodingV2 differ from their defaults: [2023-11-26 11:48:36,398 INFO L153 SettingsManager]: * Create parallel compositions if possible=false [2023-11-26 11:48:36,399 INFO L153 SettingsManager]: * Use SBE=true [2023-11-26 11:48:36,400 INFO L151 SettingsManager]: Preferences of BuchiAutomizer differ from their defaults: [2023-11-26 11:48:36,400 INFO L153 SettingsManager]: * NCSB implementation=INTSET_LAZY3 [2023-11-26 11:48:36,401 INFO L153 SettingsManager]: * Use old map elimination=false [2023-11-26 11:48:36,401 INFO L153 SettingsManager]: * Use external solver (rank synthesis)=false [2023-11-26 11:48:36,402 INFO L153 SettingsManager]: * Use only trivial implications for array writes=true [2023-11-26 11:48:36,402 INFO L153 SettingsManager]: * Rank analysis=LINEAR_WITH_GUESSES [2023-11-26 11:48:36,403 INFO L151 SettingsManager]: Preferences of CACSL2BoogieTranslator differ from their defaults: [2023-11-26 11:48:36,403 INFO L153 SettingsManager]: * Pointer base address is valid at dereference=ASSUME [2023-11-26 11:48:36,404 INFO L153 SettingsManager]: * Overapproximate operations on floating types=true [2023-11-26 11:48:36,405 INFO L153 SettingsManager]: * Check division by zero=IGNORE [2023-11-26 11:48:36,405 INFO L153 SettingsManager]: * Pointer to allocated memory at dereference=ASSUME [2023-11-26 11:48:36,406 INFO L153 SettingsManager]: * If two pointers are subtracted or compared they have the same base address=ASSUME [2023-11-26 11:48:36,406 INFO L153 SettingsManager]: * Check array bounds for arrays that are off heap=ASSUME [2023-11-26 11:48:36,407 INFO L153 SettingsManager]: * Check unreachability of reach_error function=false [2023-11-26 11:48:36,407 INFO L153 SettingsManager]: * Check if freed pointer was valid=false [2023-11-26 11:48:36,408 INFO L153 SettingsManager]: * Assume nondeterminstic values are in range=false [2023-11-26 11:48:36,408 INFO L153 SettingsManager]: * Use constant arrays=true [2023-11-26 11:48:36,409 INFO L151 SettingsManager]: Preferences of RCFGBuilder differ from their defaults: [2023-11-26 11:48:36,409 INFO L153 SettingsManager]: * Size of a code block=SequenceOfStatements [2023-11-26 11:48:36,409 INFO L151 SettingsManager]: Preferences of TraceAbstraction differ from their defaults: [2023-11-26 11:48:36,410 INFO L153 SettingsManager]: * Trace refinement strategy=CAMEL [2023-11-26 11:48:36,411 INFO L151 SettingsManager]: Preferences of IcfgTransformer differ from their defaults: [2023-11-26 11:48:36,411 INFO L153 SettingsManager]: * TransformationType=MODULO_NEIGHBOR 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_5ddded02-9bb9-4f49-af7a-820800c33d89/bin/uautomizer-verify-VRDe98Ueme/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_5ddded02-9bb9-4f49-af7a-820800c33d89/bin/uautomizer-verify-VRDe98Ueme 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(F end) ) Applying setting for plugin de.uni_freiburg.informatik.ultimate.witnessprinter: Graph data producer -> Automizer Applying setting for plugin de.uni_freiburg.informatik.ultimate.witnessprinter: Graph data architecture -> 64bit Applying setting for plugin de.uni_freiburg.informatik.ultimate.witnessprinter: Graph data programhash -> e779827438904e8a0bb49f414cbe4d14072e556fff2389d3772808230457c73c [2023-11-26 11:48:36,653 INFO L75 nceAwareModelManager]: Repository-Root is: /tmp [2023-11-26 11:48:36,689 INFO L261 ainManager$Toolchain]: [Toolchain 1]: Applicable parser(s) successfully (re)initialized [2023-11-26 11:48:36,692 INFO L217 ainManager$Toolchain]: [Toolchain 1]: Toolchain selected. [2023-11-26 11:48:36,694 INFO L270 PluginConnector]: Initializing CDTParser... [2023-11-26 11:48:36,695 INFO L274 PluginConnector]: CDTParser initialized [2023-11-26 11:48:36,696 INFO L431 ainManager$Toolchain]: [Toolchain 1]: Parsing single file: /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_5ddded02-9bb9-4f49-af7a-820800c33d89/bin/uautomizer-verify-VRDe98Ueme/../../sv-benchmarks/c/termination-memory-alloca/fermat-alloca.i [2023-11-26 11:48:39,952 INFO L533 CDTParser]: Created temporary CDT project at NULL [2023-11-26 11:48:40,188 INFO L384 CDTParser]: Found 1 translation units. [2023-11-26 11:48:40,189 INFO L180 CDTParser]: Scanning /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_5ddded02-9bb9-4f49-af7a-820800c33d89/sv-benchmarks/c/termination-memory-alloca/fermat-alloca.i [2023-11-26 11:48:40,208 INFO L427 CDTParser]: About to delete temporary CDT project at /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_5ddded02-9bb9-4f49-af7a-820800c33d89/bin/uautomizer-verify-VRDe98Ueme/data/1c5b64e68/43cfe7d11d8a434fb0dcd098018e6cdc/FLAGcbc902131 [2023-11-26 11:48:40,224 INFO L435 CDTParser]: Successfully deleted /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_5ddded02-9bb9-4f49-af7a-820800c33d89/bin/uautomizer-verify-VRDe98Ueme/data/1c5b64e68/43cfe7d11d8a434fb0dcd098018e6cdc [2023-11-26 11:48:40,227 INFO L299 ainManager$Toolchain]: ####################### [Toolchain 1] ####################### [2023-11-26 11:48:40,229 INFO L133 ToolchainWalker]: Walking toolchain with 6 elements. [2023-11-26 11:48:40,230 INFO L112 PluginConnector]: ------------------------CACSL2BoogieTranslator---------------------------- [2023-11-26 11:48:40,230 INFO L270 PluginConnector]: Initializing CACSL2BoogieTranslator... [2023-11-26 11:48:40,236 INFO L274 PluginConnector]: CACSL2BoogieTranslator initialized [2023-11-26 11:48:40,236 INFO L184 PluginConnector]: Executing the observer ACSLObjectContainerObserver from plugin CACSL2BoogieTranslator for "CDTParser AST 26.11 11:48:40" (1/1) ... [2023-11-26 11:48:40,238 INFO L204 PluginConnector]: Invalid model from CACSL2BoogieTranslator for observer de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator.ACSLObjectContainerObserver@47ab3bce and model type de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 26.11 11:48:40, skipping insertion in model container [2023-11-26 11:48:40,238 INFO L184 PluginConnector]: Executing the observer CACSL2BoogieTranslatorObserver from plugin CACSL2BoogieTranslator for "CDTParser AST 26.11 11:48:40" (1/1) ... [2023-11-26 11:48:40,282 INFO L177 MainTranslator]: Built tables and reachable declarations [2023-11-26 11:48:40,545 INFO L209 PostProcessor]: Analyzing one entry point: main [2023-11-26 11:48:40,557 INFO L202 MainTranslator]: Completed pre-run [2023-11-26 11:48:40,600 INFO L209 PostProcessor]: Analyzing one entry point: main [2023-11-26 11:48:40,630 INFO L206 MainTranslator]: Completed translation [2023-11-26 11:48:40,631 INFO L201 PluginConnector]: Adding new model de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 26.11 11:48:40 WrapperNode [2023-11-26 11:48:40,631 INFO L131 PluginConnector]: ------------------------ END CACSL2BoogieTranslator---------------------------- [2023-11-26 11:48:40,632 INFO L112 PluginConnector]: ------------------------Boogie Procedure Inliner---------------------------- [2023-11-26 11:48:40,632 INFO L270 PluginConnector]: Initializing Boogie Procedure Inliner... [2023-11-26 11:48:40,632 INFO L274 PluginConnector]: Boogie Procedure Inliner initialized [2023-11-26 11:48:40,640 INFO L184 PluginConnector]: Executing the observer TypeChecker from plugin Boogie Procedure Inliner for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 26.11 11:48:40" (1/1) ... [2023-11-26 11:48:40,652 INFO L184 PluginConnector]: Executing the observer Inliner from plugin Boogie Procedure Inliner for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 26.11 11:48:40" (1/1) ... [2023-11-26 11:48:40,675 INFO L138 Inliner]: procedures = 109, calls = 45, calls flagged for inlining = 2, calls inlined = 2, statements flattened = 115 [2023-11-26 11:48:40,676 INFO L131 PluginConnector]: ------------------------ END Boogie Procedure Inliner---------------------------- [2023-11-26 11:48:40,676 INFO L112 PluginConnector]: ------------------------Boogie Preprocessor---------------------------- [2023-11-26 11:48:40,677 INFO L270 PluginConnector]: Initializing Boogie Preprocessor... [2023-11-26 11:48:40,677 INFO L274 PluginConnector]: Boogie Preprocessor initialized [2023-11-26 11:48:40,687 INFO L184 PluginConnector]: Executing the observer EnsureBoogieModelObserver from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 26.11 11:48:40" (1/1) ... [2023-11-26 11:48:40,688 INFO L184 PluginConnector]: Executing the observer TypeChecker from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 26.11 11:48:40" (1/1) ... [2023-11-26 11:48:40,691 INFO L184 PluginConnector]: Executing the observer MemorySlicer from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 26.11 11:48:40" (1/1) ... [2023-11-26 11:48:40,705 INFO L175 MemorySlicer]: Split 27 memory accesses to 4 slices as follows [7, 4, 8, 8]. 30 percent of accesses are in the largest equivalence class. The 0 initializations are split as follows [0, 0, 0, 0]. The 9 writes are split as follows [2, 1, 3, 3]. [2023-11-26 11:48:40,706 INFO L184 PluginConnector]: Executing the observer ConstExpander from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 26.11 11:48:40" (1/1) ... [2023-11-26 11:48:40,706 INFO L184 PluginConnector]: Executing the observer StructExpander from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 26.11 11:48:40" (1/1) ... [2023-11-26 11:48:40,712 INFO L184 PluginConnector]: Executing the observer UnstructureCode from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 26.11 11:48:40" (1/1) ... [2023-11-26 11:48:40,715 INFO L184 PluginConnector]: Executing the observer FunctionInliner from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 26.11 11:48:40" (1/1) ... [2023-11-26 11:48:40,717 INFO L184 PluginConnector]: Executing the observer LTLStepAnnotator from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 26.11 11:48:40" (1/1) ... [2023-11-26 11:48:40,718 INFO L184 PluginConnector]: Executing the observer BoogieSymbolTableConstructor from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 26.11 11:48:40" (1/1) ... [2023-11-26 11:48:40,721 INFO L131 PluginConnector]: ------------------------ END Boogie Preprocessor---------------------------- [2023-11-26 11:48:40,722 INFO L112 PluginConnector]: ------------------------RCFGBuilder---------------------------- [2023-11-26 11:48:40,722 INFO L270 PluginConnector]: Initializing RCFGBuilder... [2023-11-26 11:48:40,723 INFO L274 PluginConnector]: RCFGBuilder initialized [2023-11-26 11:48:40,723 INFO L184 PluginConnector]: Executing the observer RCFGBuilderObserver from plugin RCFGBuilder for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 26.11 11:48:40" (1/1) ... [2023-11-26 11:48:40,737 INFO L173 SolverBuilder]: Constructing external solver with command: z3 SMTLIB2_COMPLIANT=true -memory:1024 -smt2 -in -t:12000 [2023-11-26 11:48:40,753 INFO L189 MonitoredProcess]: No working directory specified, using /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_5ddded02-9bb9-4f49-af7a-820800c33d89/bin/uautomizer-verify-VRDe98Ueme/z3 [2023-11-26 11:48:40,778 INFO L229 MonitoredProcess]: Starting monitored process 1 with /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_5ddded02-9bb9-4f49-af7a-820800c33d89/bin/uautomizer-verify-VRDe98Ueme/z3 SMTLIB2_COMPLIANT=true -memory:1024 -smt2 -in -t:12000 (exit command is (exit), workingDir is null) [2023-11-26 11:48:40,800 INFO L327 MonitoredProcess]: [MP /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_5ddded02-9bb9-4f49-af7a-820800c33d89/bin/uautomizer-verify-VRDe98Ueme/z3 SMTLIB2_COMPLIANT=true -memory:1024 -smt2 -in -t:12000 (1)] Waiting until timeout for monitored process [2023-11-26 11:48:40,828 INFO L130 BoogieDeclarations]: Found specification of procedure read~int#0 [2023-11-26 11:48:40,828 INFO L130 BoogieDeclarations]: Found specification of procedure read~int#1 [2023-11-26 11:48:40,829 INFO L130 BoogieDeclarations]: Found specification of procedure read~int#2 [2023-11-26 11:48:40,829 INFO L130 BoogieDeclarations]: Found specification of procedure read~int#3 [2023-11-26 11:48:40,829 INFO L130 BoogieDeclarations]: Found specification of procedure write~int#0 [2023-11-26 11:48:40,829 INFO L130 BoogieDeclarations]: Found specification of procedure write~int#1 [2023-11-26 11:48:40,829 INFO L130 BoogieDeclarations]: Found specification of procedure write~int#2 [2023-11-26 11:48:40,830 INFO L130 BoogieDeclarations]: Found specification of procedure write~int#3 [2023-11-26 11:48:40,830 INFO L130 BoogieDeclarations]: Found specification of procedure #Ultimate.allocOnStack [2023-11-26 11:48:40,830 INFO L130 BoogieDeclarations]: Found specification of procedure ULTIMATE.dealloc [2023-11-26 11:48:40,830 INFO L130 BoogieDeclarations]: Found specification of procedure ULTIMATE.start [2023-11-26 11:48:40,831 INFO L138 BoogieDeclarations]: Found implementation of procedure ULTIMATE.start [2023-11-26 11:48:40,986 INFO L241 CfgBuilder]: Building ICFG [2023-11-26 11:48:40,989 INFO L267 CfgBuilder]: Building CFG for each procedure with an implementation [2023-11-26 11:48:41,225 INFO L282 CfgBuilder]: Performing block encoding [2023-11-26 11:48:41,234 INFO L304 CfgBuilder]: Using the 1 location(s) as analysis (start of procedure ULTIMATE.start) [2023-11-26 11:48:41,234 INFO L309 CfgBuilder]: Removed 1 assume(true) statements. [2023-11-26 11:48:41,236 INFO L201 PluginConnector]: Adding new model de.uni_freiburg.informatik.ultimate.plugins.generator.rcfgbuilder CFG 26.11 11:48:41 BoogieIcfgContainer [2023-11-26 11:48:41,236 INFO L131 PluginConnector]: ------------------------ END RCFGBuilder---------------------------- [2023-11-26 11:48:41,237 INFO L112 PluginConnector]: ------------------------BuchiAutomizer---------------------------- [2023-11-26 11:48:41,237 INFO L270 PluginConnector]: Initializing BuchiAutomizer... [2023-11-26 11:48:41,248 INFO L274 PluginConnector]: BuchiAutomizer initialized [2023-11-26 11:48:41,249 INFO L99 BuchiAutomizer]: Safety of program was proven or not checked, starting termination analysis [2023-11-26 11:48:41,249 INFO L184 PluginConnector]: Executing the observer BuchiAutomizerObserver from plugin BuchiAutomizer for "CDTParser AST 26.11 11:48:40" (1/3) ... [2023-11-26 11:48:41,250 INFO L204 PluginConnector]: Invalid model from BuchiAutomizer for observer de.uni_freiburg.informatik.ultimate.plugins.generator.buchiautomizer.BuchiAutomizerObserver@394f2ac1 and model type de.uni_freiburg.informatik.ultimate.plugins.generator.buchiautomizer AST 26.11 11:48:41, skipping insertion in model container [2023-11-26 11:48:41,251 INFO L99 BuchiAutomizer]: Safety of program was proven or not checked, starting termination analysis [2023-11-26 11:48:41,251 INFO L184 PluginConnector]: Executing the observer BuchiAutomizerObserver from plugin BuchiAutomizer for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 26.11 11:48:40" (2/3) ... [2023-11-26 11:48:41,253 INFO L204 PluginConnector]: Invalid model from BuchiAutomizer for observer de.uni_freiburg.informatik.ultimate.plugins.generator.buchiautomizer.BuchiAutomizerObserver@394f2ac1 and model type de.uni_freiburg.informatik.ultimate.plugins.generator.buchiautomizer AST 26.11 11:48:41, skipping insertion in model container [2023-11-26 11:48:41,254 INFO L99 BuchiAutomizer]: Safety of program was proven or not checked, starting termination analysis [2023-11-26 11:48:41,254 INFO L184 PluginConnector]: Executing the observer BuchiAutomizerObserver from plugin BuchiAutomizer for "de.uni_freiburg.informatik.ultimate.plugins.generator.rcfgbuilder CFG 26.11 11:48:41" (3/3) ... [2023-11-26 11:48:41,256 INFO L332 chiAutomizerObserver]: Analyzing ICFG fermat-alloca.i [2023-11-26 11:48:41,315 INFO L303 stractBuchiCegarLoop]: Interprodecural is true [2023-11-26 11:48:41,316 INFO L304 stractBuchiCegarLoop]: Hoare is false [2023-11-26 11:48:41,316 INFO L305 stractBuchiCegarLoop]: Compute interpolants for ForwardPredicates [2023-11-26 11:48:41,316 INFO L306 stractBuchiCegarLoop]: Backedges is STRAIGHT_LINE [2023-11-26 11:48:41,316 INFO L307 stractBuchiCegarLoop]: Determinization is PREDICATE_ABSTRACTION [2023-11-26 11:48:41,316 INFO L308 stractBuchiCegarLoop]: Difference is false [2023-11-26 11:48:41,316 INFO L309 stractBuchiCegarLoop]: Minimize is MINIMIZE_SEVPA [2023-11-26 11:48:41,317 INFO L313 stractBuchiCegarLoop]: ======== Iteration 0 == of CEGAR loop == BuchiAutomatonCegarLoop ======== [2023-11-26 11:48:41,321 INFO L72 BuchiIsEmpty]: Start buchiIsEmpty. Operand has 13 states, 12 states have (on average 1.5) internal successors, (18), 12 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-26 11:48:41,339 INFO L131 ngComponentsAnalysis]: Automaton has 1 accepting balls. 7 [2023-11-26 11:48:41,339 INFO L87 BuchiIsEmpty]: Finished buchiIsEmpty Result is false [2023-11-26 11:48:41,340 INFO L119 BuchiIsEmpty]: Starting construction of run [2023-11-26 11:48:41,346 INFO L148 hiAutomatonCegarLoop]: Counterexample stem histogram [1, 1] [2023-11-26 11:48:41,346 INFO L149 hiAutomatonCegarLoop]: Counterexample loop histogram [1, 1, 1, 1, 1, 1, 1] [2023-11-26 11:48:41,346 INFO L335 stractBuchiCegarLoop]: ======== Iteration 1 ============ [2023-11-26 11:48:41,347 INFO L72 BuchiIsEmpty]: Start buchiIsEmpty. Operand has 13 states, 12 states have (on average 1.5) internal successors, (18), 12 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-26 11:48:41,348 INFO L131 ngComponentsAnalysis]: Automaton has 1 accepting balls. 7 [2023-11-26 11:48:41,348 INFO L87 BuchiIsEmpty]: Finished buchiIsEmpty Result is false [2023-11-26 11:48:41,348 INFO L119 BuchiIsEmpty]: Starting construction of run [2023-11-26 11:48:41,349 INFO L148 hiAutomatonCegarLoop]: Counterexample stem histogram [1, 1] [2023-11-26 11:48:41,349 INFO L149 hiAutomatonCegarLoop]: Counterexample loop histogram [1, 1, 1, 1, 1, 1, 1] [2023-11-26 11:48:41,357 INFO L748 eck$LassoCheckResult]: Stem: 12#$Ultimate##0true assume { :begin_inline_ULTIMATE.init } true;assume 0 == #valid[0];assume 0 < #StackHeapBarrier; 8#L-1true assume { :end_inline_ULTIMATE.init } true;assume { :begin_inline_main } true;havoc main_#res#1;havoc main_#t~malloc2#1.base, main_#t~malloc2#1.offset, main_#t~malloc3#1.base, main_#t~malloc3#1.offset, main_#t~malloc4#1.base, main_#t~malloc4#1.offset, main_#t~malloc5#1.base, main_#t~malloc5#1.offset, main_#t~mem6#1, main_#t~mem7#1, main_#t~mem8#1, main_#t~mem9#1, main_#t~mem10#1, main_#t~mem11#1, main_#t~mem12#1, main_#t~mem13#1, main_#t~mem14#1, main_#t~mem15#1, main_#t~post16#1, main_#t~mem17#1, main_#t~mem18#1, main_#t~mem19#1, main_#t~post20#1, main_#t~mem21#1, main_#t~mem22#1, main_#t~mem23#1, main_#t~post24#1, main_#t~mem25#1, main_#t~mem26#1, main_~MAX~0#1.base, main_~MAX~0#1.offset, main_~a~0#1.base, main_~a~0#1.offset, main_~b~0#1.base, main_~b~0#1.offset, main_~c~0#1.base, main_~c~0#1.offset;call main_#t~malloc2#1.base, main_#t~malloc2#1.offset := #Ultimate.allocOnStack(4);main_~MAX~0#1.base, main_~MAX~0#1.offset := main_#t~malloc2#1.base, main_#t~malloc2#1.offset;call main_#t~malloc3#1.base, main_#t~malloc3#1.offset := #Ultimate.allocOnStack(4);main_~a~0#1.base, main_~a~0#1.offset := main_#t~malloc3#1.base, main_#t~malloc3#1.offset;call main_#t~malloc4#1.base, main_#t~malloc4#1.offset := #Ultimate.allocOnStack(4);main_~b~0#1.base, main_~b~0#1.offset := main_#t~malloc4#1.base, main_#t~malloc4#1.offset;call main_#t~malloc5#1.base, main_#t~malloc5#1.offset := #Ultimate.allocOnStack(4);main_~c~0#1.base, main_~c~0#1.offset := main_#t~malloc5#1.base, main_#t~malloc5#1.offset;call write~int#1(1000, main_~MAX~0#1.base, main_~MAX~0#1.offset, 4);call write~int#3(1, main_~a~0#1.base, main_~a~0#1.offset, 4);call write~int#2(1, main_~b~0#1.base, main_~b~0#1.offset, 4);call write~int#0(1, main_~c~0#1.base, main_~c~0#1.offset, 4); 6#L556-2true [2023-11-26 11:48:41,358 INFO L750 eck$LassoCheckResult]: Loop: 6#L556-2true assume !false;call main_#t~mem6#1 := read~int#3(main_~a~0#1.base, main_~a~0#1.offset, 4);call main_#t~mem7#1 := read~int#3(main_~a~0#1.base, main_~a~0#1.offset, 4);call main_#t~mem8#1 := read~int#3(main_~a~0#1.base, main_~a~0#1.offset, 4);call main_#t~mem9#1 := read~int#2(main_~b~0#1.base, main_~b~0#1.offset, 4);call main_#t~mem10#1 := read~int#2(main_~b~0#1.base, main_~b~0#1.offset, 4);call main_#t~mem11#1 := read~int#2(main_~b~0#1.base, main_~b~0#1.offset, 4);call main_#t~mem12#1 := read~int#0(main_~c~0#1.base, main_~c~0#1.offset, 4);call main_#t~mem13#1 := read~int#0(main_~c~0#1.base, main_~c~0#1.offset, 4);call main_#t~mem14#1 := read~int#0(main_~c~0#1.base, main_~c~0#1.offset, 4); 13#L557true assume !(main_#t~mem6#1 * main_#t~mem7#1 * main_#t~mem8#1 == main_#t~mem9#1 * main_#t~mem10#1 * main_#t~mem11#1 + main_#t~mem12#1 * main_#t~mem13#1 * main_#t~mem14#1);havoc main_#t~mem6#1;havoc main_#t~mem7#1;havoc main_#t~mem8#1;havoc main_#t~mem9#1;havoc main_#t~mem10#1;havoc main_#t~mem11#1;havoc main_#t~mem12#1;havoc main_#t~mem13#1;havoc main_#t~mem14#1;call main_#t~mem15#1 := read~int#3(main_~a~0#1.base, main_~a~0#1.offset, 4);main_#t~post16#1 := main_#t~mem15#1;call write~int#3(1 + main_#t~post16#1, main_~a~0#1.base, main_~a~0#1.offset, 4);havoc main_#t~mem15#1;havoc main_#t~post16#1;call main_#t~mem17#1 := read~int#3(main_~a~0#1.base, main_~a~0#1.offset, 4);call main_#t~mem18#1 := read~int#1(main_~MAX~0#1.base, main_~MAX~0#1.offset, 4); 5#L561true assume main_#t~mem17#1 > main_#t~mem18#1;havoc main_#t~mem17#1;havoc main_#t~mem18#1;call write~int#3(1, main_~a~0#1.base, main_~a~0#1.offset, 4);call main_#t~mem19#1 := read~int#2(main_~b~0#1.base, main_~b~0#1.offset, 4);main_#t~post20#1 := main_#t~mem19#1;call write~int#2(1 + main_#t~post20#1, main_~b~0#1.base, main_~b~0#1.offset, 4);havoc main_#t~mem19#1;havoc main_#t~post20#1; 7#L561-2true call main_#t~mem21#1 := read~int#2(main_~b~0#1.base, main_~b~0#1.offset, 4);call main_#t~mem22#1 := read~int#1(main_~MAX~0#1.base, main_~MAX~0#1.offset, 4); 4#L565true assume main_#t~mem21#1 > main_#t~mem22#1;havoc main_#t~mem21#1;havoc main_#t~mem22#1;call write~int#2(1, main_~b~0#1.base, main_~b~0#1.offset, 4);call main_#t~mem23#1 := read~int#0(main_~c~0#1.base, main_~c~0#1.offset, 4);main_#t~post24#1 := main_#t~mem23#1;call write~int#0(1 + main_#t~post24#1, main_~c~0#1.base, main_~c~0#1.offset, 4);havoc main_#t~mem23#1;havoc main_#t~post24#1; 10#L565-2true call main_#t~mem25#1 := read~int#0(main_~c~0#1.base, main_~c~0#1.offset, 4);call main_#t~mem26#1 := read~int#1(main_~MAX~0#1.base, main_~MAX~0#1.offset, 4); 3#L569true assume !(main_#t~mem25#1 > main_#t~mem26#1);havoc main_#t~mem25#1;havoc main_#t~mem26#1; 6#L556-2true [2023-11-26 11:48:41,364 INFO L160 PredicateUnifier]: Initialized classic predicate unifier [2023-11-26 11:48:41,364 INFO L85 PathProgramCache]: Analyzing trace with hash 963, now seen corresponding path program 1 times [2023-11-26 11:48:41,374 INFO L118 FreeRefinementEngine]: Executing refinement strategy CAMEL [2023-11-26 11:48:41,375 INFO L334 FreeRefinementEngine]: Using trace check IpTcStrategyModuleSmtInterpolCraig [937866878] [2023-11-26 11:48:41,375 INFO L95 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2023-11-26 11:48:41,376 INFO L127 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout -1 ms and remaining time -1 ms [2023-11-26 11:48:41,598 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2023-11-26 11:48:41,599 INFO L356 TraceCheck]: Trace is feasible, we will do another trace check, this time with branch encoders. [2023-11-26 11:48:41,636 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2023-11-26 11:48:41,658 INFO L130 FreeRefinementEngine]: Strategy CAMEL found a feasible trace [2023-11-26 11:48:41,661 INFO L160 PredicateUnifier]: Initialized classic predicate unifier [2023-11-26 11:48:41,661 INFO L85 PathProgramCache]: Analyzing trace with hash -903226603, now seen corresponding path program 1 times [2023-11-26 11:48:41,661 INFO L118 FreeRefinementEngine]: Executing refinement strategy CAMEL [2023-11-26 11:48:41,662 INFO L334 FreeRefinementEngine]: Using trace check IpTcStrategyModuleSmtInterpolCraig [1975439673] [2023-11-26 11:48:41,662 INFO L95 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2023-11-26 11:48:41,662 INFO L127 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout -1 ms and remaining time -1 ms [2023-11-26 11:48:41,722 ERROR L246 FreeRefinementEngine]: Caught known exception: Unsupported non-linear arithmetic [2023-11-26 11:48:41,722 INFO L334 FreeRefinementEngine]: Using trace check IpTcStrategyModuleZ3 [1196032779] [2023-11-26 11:48:41,722 INFO L95 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2023-11-26 11:48:41,723 INFO L173 SolverBuilder]: Constructing external solver with command: z3 -smt2 -in SMTLIB2_COMPLIANT=true [2023-11-26 11:48:41,723 INFO L189 MonitoredProcess]: No working directory specified, using /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_5ddded02-9bb9-4f49-af7a-820800c33d89/bin/uautomizer-verify-VRDe98Ueme/z3 [2023-11-26 11:48:41,731 INFO L229 MonitoredProcess]: Starting monitored process 2 with /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_5ddded02-9bb9-4f49-af7a-820800c33d89/bin/uautomizer-verify-VRDe98Ueme/z3 -smt2 -in SMTLIB2_COMPLIANT=true (exit command is (exit), workingDir is null) [2023-11-26 11:48:41,760 INFO L327 MonitoredProcess]: [MP /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_5ddded02-9bb9-4f49-af7a-820800c33d89/bin/uautomizer-verify-VRDe98Ueme/z3 -smt2 -in SMTLIB2_COMPLIANT=true (2)] Waiting until timeout for monitored process [2023-11-26 11:48:41,865 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2023-11-26 11:48:41,865 INFO L356 TraceCheck]: Trace is feasible, we will do another trace check, this time with branch encoders. [2023-11-26 11:48:41,893 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2023-11-26 11:48:41,911 INFO L130 FreeRefinementEngine]: Strategy CAMEL found a feasible trace [2023-11-26 11:48:41,916 INFO L160 PredicateUnifier]: Initialized classic predicate unifier [2023-11-26 11:48:41,916 INFO L85 PathProgramCache]: Analyzing trace with hash 643070227, now seen corresponding path program 1 times [2023-11-26 11:48:41,917 INFO L118 FreeRefinementEngine]: Executing refinement strategy CAMEL [2023-11-26 11:48:41,917 INFO L334 FreeRefinementEngine]: Using trace check IpTcStrategyModuleSmtInterpolCraig [1733264759] [2023-11-26 11:48:41,917 INFO L95 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2023-11-26 11:48:41,918 INFO L127 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout -1 ms and remaining time -1 ms [2023-11-26 11:48:42,001 ERROR L246 FreeRefinementEngine]: Caught known exception: Unsupported non-linear arithmetic [2023-11-26 11:48:42,002 INFO L334 FreeRefinementEngine]: Using trace check IpTcStrategyModuleZ3 [301623362] [2023-11-26 11:48:42,002 INFO L95 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2023-11-26 11:48:42,002 INFO L173 SolverBuilder]: Constructing external solver with command: z3 -smt2 -in SMTLIB2_COMPLIANT=true [2023-11-26 11:48:42,003 INFO L189 MonitoredProcess]: No working directory specified, using /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_5ddded02-9bb9-4f49-af7a-820800c33d89/bin/uautomizer-verify-VRDe98Ueme/z3 [2023-11-26 11:48:42,031 INFO L229 MonitoredProcess]: Starting monitored process 3 with /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_5ddded02-9bb9-4f49-af7a-820800c33d89/bin/uautomizer-verify-VRDe98Ueme/z3 -smt2 -in SMTLIB2_COMPLIANT=true (exit command is (exit), workingDir is null) [2023-11-26 11:48:42,048 INFO L327 MonitoredProcess]: [MP /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_5ddded02-9bb9-4f49-af7a-820800c33d89/bin/uautomizer-verify-VRDe98Ueme/z3 -smt2 -in SMTLIB2_COMPLIANT=true (3)] Waiting until timeout for monitored process [2023-11-26 11:48:42,190 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2023-11-26 11:48:42,194 INFO L262 TraceCheckSpWp]: Trace formula consists of 201 conjuncts, 10 conjunts are in the unsatisfiable core [2023-11-26 11:48:42,199 INFO L285 TraceCheckSpWp]: Computing forward predicates... [2023-11-26 11:48:42,289 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 15 treesize of output 1 [2023-11-26 11:48:42,307 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 11 treesize of output 7 [2023-11-26 11:48:42,374 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 7 [2023-11-26 11:48:42,398 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-26 11:48:42,398 INFO L323 TraceCheckSpWp]: Omiting computation of backward sequence because forward sequence was already perfect [2023-11-26 11:48:42,399 INFO L136 FreeRefinementEngine]: Strategy CAMEL found an infeasible trace [2023-11-26 11:48:42,399 INFO L334 FreeRefinementEngine]: Using interpolant generator IpTcStrategyModuleSmtInterpolCraig [1733264759] [2023-11-26 11:48:42,400 WARN L311 FreeRefinementEngine]: Interpolation failed due to KNOWN_IGNORE: SMT_SOLVER_CANNOT_INTERPOLATE_INPUT [2023-11-26 11:48:42,400 INFO L334 FreeRefinementEngine]: Using interpolant generator IpTcStrategyModuleZ3 [301623362] [2023-11-26 11:48:42,401 INFO L158 FreeRefinementEngine]: IpTcStrategyModuleZ3 [301623362] provided 1 perfect and 0 imperfect interpolant sequences [2023-11-26 11:48:42,401 INFO L185 FreeRefinementEngine]: Found 1 perfect and 0 imperfect interpolant sequences. [2023-11-26 11:48:42,401 INFO L198 FreeRefinementEngine]: Number of different interpolants: perfect sequences [4] imperfect sequences [] total 4 [2023-11-26 11:48:42,402 INFO L121 tionRefinementEngine]: Using interpolant automaton builder IpAbStrategyModuleStraightlineAll [2118487418] [2023-11-26 11:48:42,403 INFO L85 oduleStraightlineAll]: Using 1 perfect interpolants to construct interpolant automaton [2023-11-26 11:48:56,006 WARN L293 SmtUtils]: Spent 13.59s on a formula simplification that was a NOOP. DAG size: 118 (called from [L 279] de.uni_freiburg.informatik.ultimate.lib.modelcheckerutils.cfg.transitions.TransFormulaUtils.sequentialComposition) [2023-11-26 11:49:08,912 WARN L293 SmtUtils]: Spent 12.32s on a formula simplification that was a NOOP. DAG size: 74 (called from [L 302] de.uni_freiburg.informatik.ultimate.lib.modelcheckerutils.cfg.transitions.TransFormulaUtils.sequentialComposition) [2023-11-26 11:49:08,914 INFO L100 FreeRefinementEngine]: Using predicate unifier PredicateUnifier provided by strategy CAMEL [2023-11-26 11:49:08,943 INFO L143 InterpolantAutomaton]: Constructing interpolant automaton starting with 4 interpolants. [2023-11-26 11:49:08,944 INFO L145 InterpolantAutomaton]: CoverageRelationStatistics Valid=5, Invalid=7, Unknown=0, NotChecked=0, Total=12 [2023-11-26 11:49:08,946 INFO L87 Difference]: Start difference. First operand has 13 states, 12 states have (on average 1.5) internal successors, (18), 12 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) Second operand has 4 states, 4 states have (on average 2.25) internal successors, (9), 4 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-26 11:49:08,992 INFO L144 Difference]: Subtrahend was deterministic. Have not used determinization. [2023-11-26 11:49:08,992 INFO L93 Difference]: Finished difference Result 17 states and 21 transitions. [2023-11-26 11:49:08,994 INFO L82 GeneralOperation]: Start removeNonLiveStates. Operand 17 states and 21 transitions. [2023-11-26 11:49:08,995 INFO L131 ngComponentsAnalysis]: Automaton has 1 accepting balls. 7 [2023-11-26 11:49:08,999 INFO L88 GeneralOperation]: Finished removeNonLiveStates. Reduced from 17 states to 12 states and 14 transitions. [2023-11-26 11:49:09,000 INFO L87 BuchiClosureNwa]: Accepting states before buchiClosure: 12 [2023-11-26 11:49:09,000 INFO L106 BuchiClosureNwa]: Accepting states after buchiClosure: 12 [2023-11-26 11:49:09,001 INFO L73 IsDeterministic]: Start isDeterministic. Operand 12 states and 14 transitions. [2023-11-26 11:49:09,001 INFO L80 IsDeterministic]: Finished isDeterministic. Operand is deterministic. [2023-11-26 11:49:09,001 INFO L218 hiAutomatonCegarLoop]: Abstraction has 12 states and 14 transitions. [2023-11-26 11:49:09,018 INFO L82 GeneralOperation]: Start minimizeSevpa. Operand 12 states and 14 transitions. [2023-11-26 11:49:09,025 INFO L88 GeneralOperation]: Finished minimizeSevpa. Reduced states from 12 to 12. [2023-11-26 11:49:09,026 INFO L82 GeneralOperation]: Start removeUnreachable. Operand has 12 states, 12 states have (on average 1.1666666666666667) internal successors, (14), 11 states have internal predecessors, (14), 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-26 11:49:09,026 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 12 states to 12 states and 14 transitions. [2023-11-26 11:49:09,027 INFO L240 hiAutomatonCegarLoop]: Abstraction has 12 states and 14 transitions. [2023-11-26 11:49:09,029 INFO L141 InterpolantAutomaton]: Switched to read-only mode: deterministic interpolant automaton has 4 states. [2023-11-26 11:49:09,032 INFO L428 stractBuchiCegarLoop]: Abstraction has 12 states and 14 transitions. [2023-11-26 11:49:09,033 INFO L335 stractBuchiCegarLoop]: ======== Iteration 2 ============ [2023-11-26 11:49:09,033 INFO L72 BuchiIsEmpty]: Start buchiIsEmpty. Operand 12 states and 14 transitions. [2023-11-26 11:49:09,034 INFO L131 ngComponentsAnalysis]: Automaton has 1 accepting balls. 7 [2023-11-26 11:49:09,034 INFO L87 BuchiIsEmpty]: Finished buchiIsEmpty Result is false [2023-11-26 11:49:09,034 INFO L119 BuchiIsEmpty]: Starting construction of run [2023-11-26 11:49:09,034 INFO L148 hiAutomatonCegarLoop]: Counterexample stem histogram [1, 1, 1, 1, 1] [2023-11-26 11:49:09,035 INFO L149 hiAutomatonCegarLoop]: Counterexample loop histogram [1, 1, 1, 1, 1, 1, 1] [2023-11-26 11:49:09,035 INFO L748 eck$LassoCheckResult]: Stem: 73#$Ultimate##0 assume { :begin_inline_ULTIMATE.init } true;assume 0 == #valid[0];assume 0 < #StackHeapBarrier; 74#L-1 assume { :end_inline_ULTIMATE.init } true;assume { :begin_inline_main } true;havoc main_#res#1;havoc main_#t~malloc2#1.base, main_#t~malloc2#1.offset, main_#t~malloc3#1.base, main_#t~malloc3#1.offset, main_#t~malloc4#1.base, main_#t~malloc4#1.offset, main_#t~malloc5#1.base, main_#t~malloc5#1.offset, main_#t~mem6#1, main_#t~mem7#1, main_#t~mem8#1, main_#t~mem9#1, main_#t~mem10#1, main_#t~mem11#1, main_#t~mem12#1, main_#t~mem13#1, main_#t~mem14#1, main_#t~mem15#1, main_#t~post16#1, main_#t~mem17#1, main_#t~mem18#1, main_#t~mem19#1, main_#t~post20#1, main_#t~mem21#1, main_#t~mem22#1, main_#t~mem23#1, main_#t~post24#1, main_#t~mem25#1, main_#t~mem26#1, main_~MAX~0#1.base, main_~MAX~0#1.offset, main_~a~0#1.base, main_~a~0#1.offset, main_~b~0#1.base, main_~b~0#1.offset, main_~c~0#1.base, main_~c~0#1.offset;call main_#t~malloc2#1.base, main_#t~malloc2#1.offset := #Ultimate.allocOnStack(4);main_~MAX~0#1.base, main_~MAX~0#1.offset := main_#t~malloc2#1.base, main_#t~malloc2#1.offset;call main_#t~malloc3#1.base, main_#t~malloc3#1.offset := #Ultimate.allocOnStack(4);main_~a~0#1.base, main_~a~0#1.offset := main_#t~malloc3#1.base, main_#t~malloc3#1.offset;call main_#t~malloc4#1.base, main_#t~malloc4#1.offset := #Ultimate.allocOnStack(4);main_~b~0#1.base, main_~b~0#1.offset := main_#t~malloc4#1.base, main_#t~malloc4#1.offset;call main_#t~malloc5#1.base, main_#t~malloc5#1.offset := #Ultimate.allocOnStack(4);main_~c~0#1.base, main_~c~0#1.offset := main_#t~malloc5#1.base, main_#t~malloc5#1.offset;call write~int#1(1000, main_~MAX~0#1.base, main_~MAX~0#1.offset, 4);call write~int#3(1, main_~a~0#1.base, main_~a~0#1.offset, 4);call write~int#2(1, main_~b~0#1.base, main_~b~0#1.offset, 4);call write~int#0(1, main_~c~0#1.base, main_~c~0#1.offset, 4); 75#L556-2 assume !false;call main_#t~mem6#1 := read~int#3(main_~a~0#1.base, main_~a~0#1.offset, 4);call main_#t~mem7#1 := read~int#3(main_~a~0#1.base, main_~a~0#1.offset, 4);call main_#t~mem8#1 := read~int#3(main_~a~0#1.base, main_~a~0#1.offset, 4);call main_#t~mem9#1 := read~int#2(main_~b~0#1.base, main_~b~0#1.offset, 4);call main_#t~mem10#1 := read~int#2(main_~b~0#1.base, main_~b~0#1.offset, 4);call main_#t~mem11#1 := read~int#2(main_~b~0#1.base, main_~b~0#1.offset, 4);call main_#t~mem12#1 := read~int#0(main_~c~0#1.base, main_~c~0#1.offset, 4);call main_#t~mem13#1 := read~int#0(main_~c~0#1.base, main_~c~0#1.offset, 4);call main_#t~mem14#1 := read~int#0(main_~c~0#1.base, main_~c~0#1.offset, 4); 72#L557 assume !(main_#t~mem6#1 * main_#t~mem7#1 * main_#t~mem8#1 == main_#t~mem9#1 * main_#t~mem10#1 * main_#t~mem11#1 + main_#t~mem12#1 * main_#t~mem13#1 * main_#t~mem14#1);havoc main_#t~mem6#1;havoc main_#t~mem7#1;havoc main_#t~mem8#1;havoc main_#t~mem9#1;havoc main_#t~mem10#1;havoc main_#t~mem11#1;havoc main_#t~mem12#1;havoc main_#t~mem13#1;havoc main_#t~mem14#1;call main_#t~mem15#1 := read~int#3(main_~a~0#1.base, main_~a~0#1.offset, 4);main_#t~post16#1 := main_#t~mem15#1;call write~int#3(1 + main_#t~post16#1, main_~a~0#1.base, main_~a~0#1.offset, 4);havoc main_#t~mem15#1;havoc main_#t~post16#1;call main_#t~mem17#1 := read~int#3(main_~a~0#1.base, main_~a~0#1.offset, 4);call main_#t~mem18#1 := read~int#1(main_~MAX~0#1.base, main_~MAX~0#1.offset, 4); 70#L561 assume !(main_#t~mem17#1 > main_#t~mem18#1);havoc main_#t~mem17#1;havoc main_#t~mem18#1; 71#L561-2 [2023-11-26 11:49:09,035 INFO L750 eck$LassoCheckResult]: Loop: 71#L561-2 call main_#t~mem21#1 := read~int#2(main_~b~0#1.base, main_~b~0#1.offset, 4);call main_#t~mem22#1 := read~int#1(main_~MAX~0#1.base, main_~MAX~0#1.offset, 4); 68#L565 assume main_#t~mem21#1 > main_#t~mem22#1;havoc main_#t~mem21#1;havoc main_#t~mem22#1;call write~int#2(1, main_~b~0#1.base, main_~b~0#1.offset, 4);call main_#t~mem23#1 := read~int#0(main_~c~0#1.base, main_~c~0#1.offset, 4);main_#t~post24#1 := main_#t~mem23#1;call write~int#0(1 + main_#t~post24#1, main_~c~0#1.base, main_~c~0#1.offset, 4);havoc main_#t~mem23#1;havoc main_#t~post24#1; 69#L565-2 call main_#t~mem25#1 := read~int#0(main_~c~0#1.base, main_~c~0#1.offset, 4);call main_#t~mem26#1 := read~int#1(main_~MAX~0#1.base, main_~MAX~0#1.offset, 4); 66#L569 assume !(main_#t~mem25#1 > main_#t~mem26#1);havoc main_#t~mem25#1;havoc main_#t~mem26#1; 67#L556-2 assume !false;call main_#t~mem6#1 := read~int#3(main_~a~0#1.base, main_~a~0#1.offset, 4);call main_#t~mem7#1 := read~int#3(main_~a~0#1.base, main_~a~0#1.offset, 4);call main_#t~mem8#1 := read~int#3(main_~a~0#1.base, main_~a~0#1.offset, 4);call main_#t~mem9#1 := read~int#2(main_~b~0#1.base, main_~b~0#1.offset, 4);call main_#t~mem10#1 := read~int#2(main_~b~0#1.base, main_~b~0#1.offset, 4);call main_#t~mem11#1 := read~int#2(main_~b~0#1.base, main_~b~0#1.offset, 4);call main_#t~mem12#1 := read~int#0(main_~c~0#1.base, main_~c~0#1.offset, 4);call main_#t~mem13#1 := read~int#0(main_~c~0#1.base, main_~c~0#1.offset, 4);call main_#t~mem14#1 := read~int#0(main_~c~0#1.base, main_~c~0#1.offset, 4); 77#L557 assume !(main_#t~mem6#1 * main_#t~mem7#1 * main_#t~mem8#1 == main_#t~mem9#1 * main_#t~mem10#1 * main_#t~mem11#1 + main_#t~mem12#1 * main_#t~mem13#1 * main_#t~mem14#1);havoc main_#t~mem6#1;havoc main_#t~mem7#1;havoc main_#t~mem8#1;havoc main_#t~mem9#1;havoc main_#t~mem10#1;havoc main_#t~mem11#1;havoc main_#t~mem12#1;havoc main_#t~mem13#1;havoc main_#t~mem14#1;call main_#t~mem15#1 := read~int#3(main_~a~0#1.base, main_~a~0#1.offset, 4);main_#t~post16#1 := main_#t~mem15#1;call write~int#3(1 + main_#t~post16#1, main_~a~0#1.base, main_~a~0#1.offset, 4);havoc main_#t~mem15#1;havoc main_#t~post16#1;call main_#t~mem17#1 := read~int#3(main_~a~0#1.base, main_~a~0#1.offset, 4);call main_#t~mem18#1 := read~int#1(main_~MAX~0#1.base, main_~MAX~0#1.offset, 4); 76#L561 assume main_#t~mem17#1 > main_#t~mem18#1;havoc main_#t~mem17#1;havoc main_#t~mem18#1;call write~int#3(1, main_~a~0#1.base, main_~a~0#1.offset, 4);call main_#t~mem19#1 := read~int#2(main_~b~0#1.base, main_~b~0#1.offset, 4);main_#t~post20#1 := main_#t~mem19#1;call write~int#2(1 + main_#t~post20#1, main_~b~0#1.base, main_~b~0#1.offset, 4);havoc main_#t~mem19#1;havoc main_#t~post20#1; 71#L561-2 [2023-11-26 11:49:09,036 INFO L160 PredicateUnifier]: Initialized classic predicate unifier [2023-11-26 11:49:09,036 INFO L85 PathProgramCache]: Analyzing trace with hash 28699821, now seen corresponding path program 1 times [2023-11-26 11:49:09,036 INFO L118 FreeRefinementEngine]: Executing refinement strategy CAMEL [2023-11-26 11:49:09,037 INFO L334 FreeRefinementEngine]: Using trace check IpTcStrategyModuleSmtInterpolCraig [1417496445] [2023-11-26 11:49:09,037 INFO L95 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2023-11-26 11:49:09,037 INFO L127 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout -1 ms and remaining time -1 ms [2023-11-26 11:49:09,064 ERROR L246 FreeRefinementEngine]: Caught known exception: Unsupported non-linear arithmetic [2023-11-26 11:49:09,064 INFO L334 FreeRefinementEngine]: Using trace check IpTcStrategyModuleZ3 [1683148763] [2023-11-26 11:49:09,064 INFO L95 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2023-11-26 11:49:09,065 INFO L173 SolverBuilder]: Constructing external solver with command: z3 -smt2 -in SMTLIB2_COMPLIANT=true [2023-11-26 11:49:09,065 INFO L189 MonitoredProcess]: No working directory specified, using /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_5ddded02-9bb9-4f49-af7a-820800c33d89/bin/uautomizer-verify-VRDe98Ueme/z3 [2023-11-26 11:49:09,068 INFO L229 MonitoredProcess]: Starting monitored process 4 with /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_5ddded02-9bb9-4f49-af7a-820800c33d89/bin/uautomizer-verify-VRDe98Ueme/z3 -smt2 -in SMTLIB2_COMPLIANT=true (exit command is (exit), workingDir is null) [2023-11-26 11:49:09,085 INFO L327 MonitoredProcess]: [MP /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_5ddded02-9bb9-4f49-af7a-820800c33d89/bin/uautomizer-verify-VRDe98Ueme/z3 -smt2 -in SMTLIB2_COMPLIANT=true (4)] Waiting until timeout for monitored process [2023-11-26 11:49:09,206 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2023-11-26 11:49:09,209 INFO L356 TraceCheck]: Trace is feasible, we will do another trace check, this time with branch encoders. [2023-11-26 11:49:09,227 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2023-11-26 11:49:09,250 INFO L130 FreeRefinementEngine]: Strategy CAMEL found a feasible trace [2023-11-26 11:49:09,250 INFO L160 PredicateUnifier]: Initialized classic predicate unifier [2023-11-26 11:49:09,251 INFO L85 PathProgramCache]: Analyzing trace with hash 1453675845, now seen corresponding path program 2 times [2023-11-26 11:49:09,251 INFO L118 FreeRefinementEngine]: Executing refinement strategy CAMEL [2023-11-26 11:49:09,251 INFO L334 FreeRefinementEngine]: Using trace check IpTcStrategyModuleSmtInterpolCraig [362972143] [2023-11-26 11:49:09,252 INFO L95 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2023-11-26 11:49:09,252 INFO L127 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout -1 ms and remaining time -1 ms [2023-11-26 11:49:09,266 ERROR L246 FreeRefinementEngine]: Caught known exception: Unsupported non-linear arithmetic [2023-11-26 11:49:09,266 INFO L334 FreeRefinementEngine]: Using trace check IpTcStrategyModuleZ3 [578444159] [2023-11-26 11:49:09,266 INFO L93 rtionOrderModulation]: Changing assertion order to OUTSIDE_LOOP_FIRST1 [2023-11-26 11:49:09,267 INFO L173 SolverBuilder]: Constructing external solver with command: z3 -smt2 -in SMTLIB2_COMPLIANT=true [2023-11-26 11:49:09,267 INFO L189 MonitoredProcess]: No working directory specified, using /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_5ddded02-9bb9-4f49-af7a-820800c33d89/bin/uautomizer-verify-VRDe98Ueme/z3 [2023-11-26 11:49:09,270 INFO L229 MonitoredProcess]: Starting monitored process 5 with /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_5ddded02-9bb9-4f49-af7a-820800c33d89/bin/uautomizer-verify-VRDe98Ueme/z3 -smt2 -in SMTLIB2_COMPLIANT=true (exit command is (exit), workingDir is null) [2023-11-26 11:49:09,300 INFO L327 MonitoredProcess]: [MP /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_5ddded02-9bb9-4f49-af7a-820800c33d89/bin/uautomizer-verify-VRDe98Ueme/z3 -smt2 -in SMTLIB2_COMPLIANT=true (5)] Waiting until timeout for monitored process [2023-11-26 11:49:09,373 INFO L228 tOrderPrioritization]: Assert order OUTSIDE_LOOP_FIRST1 issued 1 check-sat command(s) [2023-11-26 11:49:09,373 INFO L229 tOrderPrioritization]: Conjunction of SSA is sat [2023-11-26 11:49:09,373 INFO L356 TraceCheck]: Trace is feasible, we will do another trace check, this time with branch encoders. [2023-11-26 11:49:09,389 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2023-11-26 11:49:09,399 INFO L130 FreeRefinementEngine]: Strategy CAMEL found a feasible trace [2023-11-26 11:49:09,400 INFO L160 PredicateUnifier]: Initialized classic predicate unifier [2023-11-26 11:49:09,400 INFO L85 PathProgramCache]: Analyzing trace with hash 1341656857, now seen corresponding path program 1 times [2023-11-26 11:49:09,400 INFO L118 FreeRefinementEngine]: Executing refinement strategy CAMEL [2023-11-26 11:49:09,400 INFO L334 FreeRefinementEngine]: Using trace check IpTcStrategyModuleSmtInterpolCraig [381124435] [2023-11-26 11:49:09,401 INFO L95 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2023-11-26 11:49:09,401 INFO L127 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout -1 ms and remaining time -1 ms [2023-11-26 11:49:09,426 ERROR L246 FreeRefinementEngine]: Caught known exception: Unsupported non-linear arithmetic [2023-11-26 11:49:09,426 INFO L334 FreeRefinementEngine]: Using trace check IpTcStrategyModuleZ3 [1426731672] [2023-11-26 11:49:09,426 INFO L95 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2023-11-26 11:49:09,427 INFO L173 SolverBuilder]: Constructing external solver with command: z3 -smt2 -in SMTLIB2_COMPLIANT=true [2023-11-26 11:49:09,427 INFO L189 MonitoredProcess]: No working directory specified, using /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_5ddded02-9bb9-4f49-af7a-820800c33d89/bin/uautomizer-verify-VRDe98Ueme/z3 [2023-11-26 11:49:09,432 INFO L229 MonitoredProcess]: Starting monitored process 6 with /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_5ddded02-9bb9-4f49-af7a-820800c33d89/bin/uautomizer-verify-VRDe98Ueme/z3 -smt2 -in SMTLIB2_COMPLIANT=true (exit command is (exit), workingDir is null) [2023-11-26 11:49:09,437 INFO L327 MonitoredProcess]: [MP /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_5ddded02-9bb9-4f49-af7a-820800c33d89/bin/uautomizer-verify-VRDe98Ueme/z3 -smt2 -in SMTLIB2_COMPLIANT=true (6)] Waiting until timeout for monitored process [2023-11-26 11:49:09,562 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2023-11-26 11:49:09,564 INFO L262 TraceCheckSpWp]: Trace formula consists of 249 conjuncts, 8 conjunts are in the unsatisfiable core [2023-11-26 11:49:09,566 INFO L285 TraceCheckSpWp]: Computing forward predicates... [2023-11-26 11:49:09,578 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 15 treesize of output 1 [2023-11-26 11:49:09,583 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 11 treesize of output 7 [2023-11-26 11:49:09,623 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 7 [2023-11-26 11:49:09,635 INFO L134 CoverageAnalysis]: Checked inductivity of 3 backedges. 3 proven. 0 refuted. 0 times theorem prover too weak. 0 trivial. 0 not checked. [2023-11-26 11:49:09,635 INFO L323 TraceCheckSpWp]: Omiting computation of backward sequence because forward sequence was already perfect [2023-11-26 11:49:09,636 INFO L136 FreeRefinementEngine]: Strategy CAMEL found an infeasible trace [2023-11-26 11:49:09,636 INFO L334 FreeRefinementEngine]: Using interpolant generator IpTcStrategyModuleSmtInterpolCraig [381124435] [2023-11-26 11:49:09,636 WARN L311 FreeRefinementEngine]: Interpolation failed due to KNOWN_IGNORE: SMT_SOLVER_CANNOT_INTERPOLATE_INPUT [2023-11-26 11:49:09,637 INFO L334 FreeRefinementEngine]: Using interpolant generator IpTcStrategyModuleZ3 [1426731672] [2023-11-26 11:49:09,637 INFO L158 FreeRefinementEngine]: IpTcStrategyModuleZ3 [1426731672] provided 1 perfect and 0 imperfect interpolant sequences [2023-11-26 11:49:09,637 INFO L185 FreeRefinementEngine]: Found 1 perfect and 0 imperfect interpolant sequences. [2023-11-26 11:49:09,637 INFO L198 FreeRefinementEngine]: Number of different interpolants: perfect sequences [4] imperfect sequences [] total 4 [2023-11-26 11:49:09,638 INFO L121 tionRefinementEngine]: Using interpolant automaton builder IpAbStrategyModuleStraightlineAll [529805978] [2023-11-26 11:49:09,638 INFO L85 oduleStraightlineAll]: Using 1 perfect interpolants to construct interpolant automaton [2023-11-26 11:49:22,701 WARN L293 SmtUtils]: Spent 13.06s on a formula simplification that was a NOOP. DAG size: 118 (called from [L 279] de.uni_freiburg.informatik.ultimate.lib.modelcheckerutils.cfg.transitions.TransFormulaUtils.sequentialComposition) [2023-11-26 11:49:34,819 WARN L293 SmtUtils]: Spent 12.01s on a formula simplification that was a NOOP. DAG size: 16 (called from [L 731] de.uni_freiburg.informatik.ultimate.lib.smtlibutils.quantifier.QuantifierPusher.simplify) [2023-11-26 11:49:47,397 WARN L293 SmtUtils]: Spent 12.33s on a formula simplification that was a NOOP. DAG size: 75 (called from [L 302] de.uni_freiburg.informatik.ultimate.lib.modelcheckerutils.cfg.transitions.TransFormulaUtils.sequentialComposition) [2023-11-26 11:49:47,398 INFO L100 FreeRefinementEngine]: Using predicate unifier PredicateUnifier provided by strategy CAMEL [2023-11-26 11:49:47,399 INFO L143 InterpolantAutomaton]: Constructing interpolant automaton starting with 4 interpolants. [2023-11-26 11:49:47,399 INFO L145 InterpolantAutomaton]: CoverageRelationStatistics Valid=5, Invalid=7, Unknown=0, NotChecked=0, Total=12 [2023-11-26 11:49:47,400 INFO L87 Difference]: Start difference. First operand 12 states and 14 transitions. cyclomatic complexity: 3 Second operand has 4 states, 4 states have (on average 3.0) internal successors, (12), 4 states have internal predecessors, (12), 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-26 11:49:47,480 INFO L144 Difference]: Subtrahend was deterministic. Have not used determinization. [2023-11-26 11:49:47,480 INFO L93 Difference]: Finished difference Result 19 states and 22 transitions. [2023-11-26 11:49:47,480 INFO L82 GeneralOperation]: Start removeNonLiveStates. Operand 19 states and 22 transitions. [2023-11-26 11:49:47,481 INFO L131 ngComponentsAnalysis]: Automaton has 2 accepting balls. 14 [2023-11-26 11:49:47,482 INFO L88 GeneralOperation]: Finished removeNonLiveStates. Reduced from 19 states to 19 states and 22 transitions. [2023-11-26 11:49:47,482 INFO L87 BuchiClosureNwa]: Accepting states before buchiClosure: 19 [2023-11-26 11:49:47,483 INFO L106 BuchiClosureNwa]: Accepting states after buchiClosure: 19 [2023-11-26 11:49:47,483 INFO L73 IsDeterministic]: Start isDeterministic. Operand 19 states and 22 transitions. [2023-11-26 11:49:47,483 INFO L80 IsDeterministic]: Finished isDeterministic. Operand is deterministic. [2023-11-26 11:49:47,483 INFO L218 hiAutomatonCegarLoop]: Abstraction has 19 states and 22 transitions. [2023-11-26 11:49:47,483 INFO L82 GeneralOperation]: Start minimizeSevpa. Operand 19 states and 22 transitions. [2023-11-26 11:49:47,485 INFO L88 GeneralOperation]: Finished minimizeSevpa. Reduced states from 19 to 19. [2023-11-26 11:49:47,485 INFO L82 GeneralOperation]: Start removeUnreachable. Operand has 19 states, 19 states have (on average 1.1578947368421053) 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-26 11:49:47,486 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 19 states to 19 states and 22 transitions. [2023-11-26 11:49:47,486 INFO L240 hiAutomatonCegarLoop]: Abstraction has 19 states and 22 transitions. [2023-11-26 11:49:47,487 INFO L141 InterpolantAutomaton]: Switched to read-only mode: deterministic interpolant automaton has 4 states. [2023-11-26 11:49:47,488 INFO L428 stractBuchiCegarLoop]: Abstraction has 19 states and 22 transitions. [2023-11-26 11:49:47,488 INFO L335 stractBuchiCegarLoop]: ======== Iteration 3 ============ [2023-11-26 11:49:47,488 INFO L72 BuchiIsEmpty]: Start buchiIsEmpty. Operand 19 states and 22 transitions. [2023-11-26 11:49:47,489 INFO L131 ngComponentsAnalysis]: Automaton has 2 accepting balls. 14 [2023-11-26 11:49:47,489 INFO L87 BuchiIsEmpty]: Finished buchiIsEmpty Result is false [2023-11-26 11:49:47,490 INFO L119 BuchiIsEmpty]: Starting construction of run [2023-11-26 11:49:47,490 INFO L148 hiAutomatonCegarLoop]: Counterexample stem histogram [1, 1, 1, 1, 1] [2023-11-26 11:49:47,490 INFO L149 hiAutomatonCegarLoop]: Counterexample loop histogram [1, 1, 1, 1, 1, 1, 1] [2023-11-26 11:49:47,491 INFO L748 eck$LassoCheckResult]: Stem: 149#$Ultimate##0 assume { :begin_inline_ULTIMATE.init } true;assume 0 == #valid[0];assume 0 < #StackHeapBarrier; 150#L-1 assume { :end_inline_ULTIMATE.init } true;assume { :begin_inline_main } true;havoc main_#res#1;havoc main_#t~malloc2#1.base, main_#t~malloc2#1.offset, main_#t~malloc3#1.base, main_#t~malloc3#1.offset, main_#t~malloc4#1.base, main_#t~malloc4#1.offset, main_#t~malloc5#1.base, main_#t~malloc5#1.offset, main_#t~mem6#1, main_#t~mem7#1, main_#t~mem8#1, main_#t~mem9#1, main_#t~mem10#1, main_#t~mem11#1, main_#t~mem12#1, main_#t~mem13#1, main_#t~mem14#1, main_#t~mem15#1, main_#t~post16#1, main_#t~mem17#1, main_#t~mem18#1, main_#t~mem19#1, main_#t~post20#1, main_#t~mem21#1, main_#t~mem22#1, main_#t~mem23#1, main_#t~post24#1, main_#t~mem25#1, main_#t~mem26#1, main_~MAX~0#1.base, main_~MAX~0#1.offset, main_~a~0#1.base, main_~a~0#1.offset, main_~b~0#1.base, main_~b~0#1.offset, main_~c~0#1.base, main_~c~0#1.offset;call main_#t~malloc2#1.base, main_#t~malloc2#1.offset := #Ultimate.allocOnStack(4);main_~MAX~0#1.base, main_~MAX~0#1.offset := main_#t~malloc2#1.base, main_#t~malloc2#1.offset;call main_#t~malloc3#1.base, main_#t~malloc3#1.offset := #Ultimate.allocOnStack(4);main_~a~0#1.base, main_~a~0#1.offset := main_#t~malloc3#1.base, main_#t~malloc3#1.offset;call main_#t~malloc4#1.base, main_#t~malloc4#1.offset := #Ultimate.allocOnStack(4);main_~b~0#1.base, main_~b~0#1.offset := main_#t~malloc4#1.base, main_#t~malloc4#1.offset;call main_#t~malloc5#1.base, main_#t~malloc5#1.offset := #Ultimate.allocOnStack(4);main_~c~0#1.base, main_~c~0#1.offset := main_#t~malloc5#1.base, main_#t~malloc5#1.offset;call write~int#1(1000, main_~MAX~0#1.base, main_~MAX~0#1.offset, 4);call write~int#3(1, main_~a~0#1.base, main_~a~0#1.offset, 4);call write~int#2(1, main_~b~0#1.base, main_~b~0#1.offset, 4);call write~int#0(1, main_~c~0#1.base, main_~c~0#1.offset, 4); 151#L556-2 assume !false;call main_#t~mem6#1 := read~int#3(main_~a~0#1.base, main_~a~0#1.offset, 4);call main_#t~mem7#1 := read~int#3(main_~a~0#1.base, main_~a~0#1.offset, 4);call main_#t~mem8#1 := read~int#3(main_~a~0#1.base, main_~a~0#1.offset, 4);call main_#t~mem9#1 := read~int#2(main_~b~0#1.base, main_~b~0#1.offset, 4);call main_#t~mem10#1 := read~int#2(main_~b~0#1.base, main_~b~0#1.offset, 4);call main_#t~mem11#1 := read~int#2(main_~b~0#1.base, main_~b~0#1.offset, 4);call main_#t~mem12#1 := read~int#0(main_~c~0#1.base, main_~c~0#1.offset, 4);call main_#t~mem13#1 := read~int#0(main_~c~0#1.base, main_~c~0#1.offset, 4);call main_#t~mem14#1 := read~int#0(main_~c~0#1.base, main_~c~0#1.offset, 4); 155#L557 assume !(main_#t~mem6#1 * main_#t~mem7#1 * main_#t~mem8#1 == main_#t~mem9#1 * main_#t~mem10#1 * main_#t~mem11#1 + main_#t~mem12#1 * main_#t~mem13#1 * main_#t~mem14#1);havoc main_#t~mem6#1;havoc main_#t~mem7#1;havoc main_#t~mem8#1;havoc main_#t~mem9#1;havoc main_#t~mem10#1;havoc main_#t~mem11#1;havoc main_#t~mem12#1;havoc main_#t~mem13#1;havoc main_#t~mem14#1;call main_#t~mem15#1 := read~int#3(main_~a~0#1.base, main_~a~0#1.offset, 4);main_#t~post16#1 := main_#t~mem15#1;call write~int#3(1 + main_#t~post16#1, main_~a~0#1.base, main_~a~0#1.offset, 4);havoc main_#t~mem15#1;havoc main_#t~post16#1;call main_#t~mem17#1 := read~int#3(main_~a~0#1.base, main_~a~0#1.offset, 4);call main_#t~mem18#1 := read~int#1(main_~MAX~0#1.base, main_~MAX~0#1.offset, 4); 145#L561 assume !(main_#t~mem17#1 > main_#t~mem18#1);havoc main_#t~mem17#1;havoc main_#t~mem18#1; 146#L561-2 [2023-11-26 11:49:47,491 INFO L750 eck$LassoCheckResult]: Loop: 146#L561-2 call main_#t~mem21#1 := read~int#2(main_~b~0#1.base, main_~b~0#1.offset, 4);call main_#t~mem22#1 := read~int#1(main_~MAX~0#1.base, main_~MAX~0#1.offset, 4); 143#L565 assume !(main_#t~mem21#1 > main_#t~mem22#1);havoc main_#t~mem21#1;havoc main_#t~mem22#1; 144#L565-2 call main_#t~mem25#1 := read~int#0(main_~c~0#1.base, main_~c~0#1.offset, 4);call main_#t~mem26#1 := read~int#1(main_~MAX~0#1.base, main_~MAX~0#1.offset, 4); 141#L569 assume !(main_#t~mem25#1 > main_#t~mem26#1);havoc main_#t~mem25#1;havoc main_#t~mem26#1; 142#L556-2 assume !false;call main_#t~mem6#1 := read~int#3(main_~a~0#1.base, main_~a~0#1.offset, 4);call main_#t~mem7#1 := read~int#3(main_~a~0#1.base, main_~a~0#1.offset, 4);call main_#t~mem8#1 := read~int#3(main_~a~0#1.base, main_~a~0#1.offset, 4);call main_#t~mem9#1 := read~int#2(main_~b~0#1.base, main_~b~0#1.offset, 4);call main_#t~mem10#1 := read~int#2(main_~b~0#1.base, main_~b~0#1.offset, 4);call main_#t~mem11#1 := read~int#2(main_~b~0#1.base, main_~b~0#1.offset, 4);call main_#t~mem12#1 := read~int#0(main_~c~0#1.base, main_~c~0#1.offset, 4);call main_#t~mem13#1 := read~int#0(main_~c~0#1.base, main_~c~0#1.offset, 4);call main_#t~mem14#1 := read~int#0(main_~c~0#1.base, main_~c~0#1.offset, 4); 147#L557 assume !(main_#t~mem6#1 * main_#t~mem7#1 * main_#t~mem8#1 == main_#t~mem9#1 * main_#t~mem10#1 * main_#t~mem11#1 + main_#t~mem12#1 * main_#t~mem13#1 * main_#t~mem14#1);havoc main_#t~mem6#1;havoc main_#t~mem7#1;havoc main_#t~mem8#1;havoc main_#t~mem9#1;havoc main_#t~mem10#1;havoc main_#t~mem11#1;havoc main_#t~mem12#1;havoc main_#t~mem13#1;havoc main_#t~mem14#1;call main_#t~mem15#1 := read~int#3(main_~a~0#1.base, main_~a~0#1.offset, 4);main_#t~post16#1 := main_#t~mem15#1;call write~int#3(1 + main_#t~post16#1, main_~a~0#1.base, main_~a~0#1.offset, 4);havoc main_#t~mem15#1;havoc main_#t~post16#1;call main_#t~mem17#1 := read~int#3(main_~a~0#1.base, main_~a~0#1.offset, 4);call main_#t~mem18#1 := read~int#1(main_~MAX~0#1.base, main_~MAX~0#1.offset, 4); 148#L561 assume !(main_#t~mem17#1 > main_#t~mem18#1);havoc main_#t~mem17#1;havoc main_#t~mem18#1; 146#L561-2 [2023-11-26 11:49:47,491 INFO L160 PredicateUnifier]: Initialized classic predicate unifier [2023-11-26 11:49:47,491 INFO L85 PathProgramCache]: Analyzing trace with hash 28699821, now seen corresponding path program 2 times [2023-11-26 11:49:47,492 INFO L118 FreeRefinementEngine]: Executing refinement strategy CAMEL [2023-11-26 11:49:47,492 INFO L334 FreeRefinementEngine]: Using trace check IpTcStrategyModuleSmtInterpolCraig [1647778950] [2023-11-26 11:49:47,492 INFO L95 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2023-11-26 11:49:47,492 INFO L127 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout -1 ms and remaining time -1 ms [2023-11-26 11:49:47,514 ERROR L246 FreeRefinementEngine]: Caught known exception: Unsupported non-linear arithmetic [2023-11-26 11:49:47,514 INFO L334 FreeRefinementEngine]: Using trace check IpTcStrategyModuleZ3 [273693387] [2023-11-26 11:49:47,514 INFO L93 rtionOrderModulation]: Changing assertion order to OUTSIDE_LOOP_FIRST1 [2023-11-26 11:49:47,515 INFO L173 SolverBuilder]: Constructing external solver with command: z3 -smt2 -in SMTLIB2_COMPLIANT=true [2023-11-26 11:49:47,515 INFO L189 MonitoredProcess]: No working directory specified, using /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_5ddded02-9bb9-4f49-af7a-820800c33d89/bin/uautomizer-verify-VRDe98Ueme/z3 [2023-11-26 11:49:47,519 INFO L229 MonitoredProcess]: Starting monitored process 7 with /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_5ddded02-9bb9-4f49-af7a-820800c33d89/bin/uautomizer-verify-VRDe98Ueme/z3 -smt2 -in SMTLIB2_COMPLIANT=true (exit command is (exit), workingDir is null) [2023-11-26 11:49:47,524 INFO L327 MonitoredProcess]: [MP /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_5ddded02-9bb9-4f49-af7a-820800c33d89/bin/uautomizer-verify-VRDe98Ueme/z3 -smt2 -in SMTLIB2_COMPLIANT=true (7)] Waiting until timeout for monitored process [2023-11-26 11:49:47,621 INFO L228 tOrderPrioritization]: Assert order OUTSIDE_LOOP_FIRST1 issued 1 check-sat command(s) [2023-11-26 11:49:47,621 INFO L229 tOrderPrioritization]: Conjunction of SSA is sat [2023-11-26 11:49:47,621 INFO L356 TraceCheck]: Trace is feasible, we will do another trace check, this time with branch encoders. [2023-11-26 11:49:47,637 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2023-11-26 11:49:47,650 INFO L130 FreeRefinementEngine]: Strategy CAMEL found a feasible trace [2023-11-26 11:49:47,650 INFO L160 PredicateUnifier]: Initialized classic predicate unifier [2023-11-26 11:49:47,650 INFO L85 PathProgramCache]: Analyzing trace with hash 1510934149, now seen corresponding path program 1 times [2023-11-26 11:49:47,651 INFO L118 FreeRefinementEngine]: Executing refinement strategy CAMEL [2023-11-26 11:49:47,651 INFO L334 FreeRefinementEngine]: Using trace check IpTcStrategyModuleSmtInterpolCraig [869888739] [2023-11-26 11:49:47,651 INFO L95 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2023-11-26 11:49:47,651 INFO L127 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout -1 ms and remaining time -1 ms [2023-11-26 11:49:47,697 ERROR L246 FreeRefinementEngine]: Caught known exception: Unsupported non-linear arithmetic [2023-11-26 11:49:47,699 INFO L334 FreeRefinementEngine]: Using trace check IpTcStrategyModuleZ3 [1726585407] [2023-11-26 11:49:47,699 INFO L95 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2023-11-26 11:49:47,700 INFO L173 SolverBuilder]: Constructing external solver with command: z3 -smt2 -in SMTLIB2_COMPLIANT=true [2023-11-26 11:49:47,700 INFO L189 MonitoredProcess]: No working directory specified, using /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_5ddded02-9bb9-4f49-af7a-820800c33d89/bin/uautomizer-verify-VRDe98Ueme/z3 [2023-11-26 11:49:47,704 INFO L229 MonitoredProcess]: Starting monitored process 8 with /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_5ddded02-9bb9-4f49-af7a-820800c33d89/bin/uautomizer-verify-VRDe98Ueme/z3 -smt2 -in SMTLIB2_COMPLIANT=true (exit command is (exit), workingDir is null) [2023-11-26 11:49:47,714 INFO L327 MonitoredProcess]: [MP /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_5ddded02-9bb9-4f49-af7a-820800c33d89/bin/uautomizer-verify-VRDe98Ueme/z3 -smt2 -in SMTLIB2_COMPLIANT=true (8)] Waiting until timeout for monitored process [2023-11-26 11:49:47,793 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2023-11-26 11:49:47,793 INFO L356 TraceCheck]: Trace is feasible, we will do another trace check, this time with branch encoders.