/usr/bin/java -ea -Xmx8000000000 -Xss4m -jar ./plugins/org.eclipse.equinox.launcher_1.5.800.v20200727-1323.jar -data @noDefault -ultimatedata ./data --core.log.level.for.class de.uni_freiburg.informatik.ultimate.lib.smtlibutils.quantifier.QuantifierPusher=WARN -tc ../../../trunk/examples/toolchains/AutomizerCTransformed.xml -s ../../../trunk/examples/settings/automizer/LoopAccelerationJordanC.epf -i ../../../trunk/examples/svcomp/loop-new/gauss_sum.i.v+cfa-reducer.c -------------------------------------------------------------------------------- This is Ultimate 0.2.2-dev-e106359-m [2022-04-14 19:25:14,330 INFO L177 SettingsManager]: Resetting all preferences to default values... [2022-04-14 19:25:14,332 INFO L181 SettingsManager]: Resetting UltimateCore preferences to default values [2022-04-14 19:25:14,358 INFO L184 SettingsManager]: Ultimate Commandline Interface provides no preferences, ignoring... [2022-04-14 19:25:14,358 INFO L181 SettingsManager]: Resetting Boogie Preprocessor preferences to default values [2022-04-14 19:25:14,359 INFO L181 SettingsManager]: Resetting Boogie Procedure Inliner preferences to default values [2022-04-14 19:25:14,363 INFO L181 SettingsManager]: Resetting Abstract Interpretation preferences to default values [2022-04-14 19:25:14,367 INFO L181 SettingsManager]: Resetting LassoRanker preferences to default values [2022-04-14 19:25:14,368 INFO L181 SettingsManager]: Resetting Reaching Definitions preferences to default values [2022-04-14 19:25:14,371 INFO L181 SettingsManager]: Resetting SyntaxChecker preferences to default values [2022-04-14 19:25:14,372 INFO L181 SettingsManager]: Resetting Sifa preferences to default values [2022-04-14 19:25:14,373 INFO L184 SettingsManager]: Büchi Program Product provides no preferences, ignoring... [2022-04-14 19:25:14,373 INFO L181 SettingsManager]: Resetting LTL2Aut preferences to default values [2022-04-14 19:25:14,375 INFO L181 SettingsManager]: Resetting PEA to Boogie preferences to default values [2022-04-14 19:25:14,375 INFO L181 SettingsManager]: Resetting BlockEncodingV2 preferences to default values [2022-04-14 19:25:14,376 INFO L181 SettingsManager]: Resetting ChcToBoogie preferences to default values [2022-04-14 19:25:14,377 INFO L181 SettingsManager]: Resetting AutomataScriptInterpreter preferences to default values [2022-04-14 19:25:14,377 INFO L181 SettingsManager]: Resetting BuchiAutomizer preferences to default values [2022-04-14 19:25:14,380 INFO L181 SettingsManager]: Resetting CACSL2BoogieTranslator preferences to default values [2022-04-14 19:25:14,384 INFO L181 SettingsManager]: Resetting CodeCheck preferences to default values [2022-04-14 19:25:14,385 INFO L181 SettingsManager]: Resetting HornVerifier preferences to default values [2022-04-14 19:25:14,386 INFO L181 SettingsManager]: Resetting InvariantSynthesis preferences to default values [2022-04-14 19:25:14,387 INFO L181 SettingsManager]: Resetting RCFGBuilder preferences to default values [2022-04-14 19:25:14,387 INFO L181 SettingsManager]: Resetting Referee preferences to default values [2022-04-14 19:25:14,388 INFO L181 SettingsManager]: Resetting TraceAbstraction preferences to default values [2022-04-14 19:25:14,393 INFO L184 SettingsManager]: TraceAbstractionConcurrent provides no preferences, ignoring... [2022-04-14 19:25:14,393 INFO L184 SettingsManager]: TraceAbstractionWithAFAs provides no preferences, ignoring... [2022-04-14 19:25:14,393 INFO L181 SettingsManager]: Resetting TreeAutomizer preferences to default values [2022-04-14 19:25:14,394 INFO L181 SettingsManager]: Resetting IcfgToChc preferences to default values [2022-04-14 19:25:14,394 INFO L181 SettingsManager]: Resetting IcfgTransformer preferences to default values [2022-04-14 19:25:14,395 INFO L184 SettingsManager]: ReqToTest provides no preferences, ignoring... [2022-04-14 19:25:14,395 INFO L181 SettingsManager]: Resetting Boogie Printer preferences to default values [2022-04-14 19:25:14,396 INFO L181 SettingsManager]: Resetting ChcSmtPrinter preferences to default values [2022-04-14 19:25:14,397 INFO L181 SettingsManager]: Resetting ReqPrinter preferences to default values [2022-04-14 19:25:14,397 INFO L181 SettingsManager]: Resetting Witness Printer preferences to default values [2022-04-14 19:25:14,397 INFO L184 SettingsManager]: Boogie PL CUP Parser provides no preferences, ignoring... [2022-04-14 19:25:14,398 INFO L181 SettingsManager]: Resetting CDTParser preferences to default values [2022-04-14 19:25:14,398 INFO L184 SettingsManager]: AutomataScriptParser provides no preferences, ignoring... [2022-04-14 19:25:14,398 INFO L184 SettingsManager]: ReqParser provides no preferences, ignoring... [2022-04-14 19:25:14,398 INFO L181 SettingsManager]: Resetting SmtParser preferences to default values [2022-04-14 19:25:14,399 INFO L181 SettingsManager]: Resetting Witness Parser preferences to default values [2022-04-14 19:25:14,400 INFO L188 SettingsManager]: Finished resetting all preferences to default values... [2022-04-14 19:25:14,401 INFO L101 SettingsManager]: Beginning loading settings from /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/../../../trunk/examples/settings/automizer/LoopAccelerationJordanC.epf [2022-04-14 19:25:14,408 INFO L113 SettingsManager]: Loading preferences was successful [2022-04-14 19:25:14,408 INFO L115 SettingsManager]: Preferences different from defaults after loading the file: [2022-04-14 19:25:14,409 INFO L136 SettingsManager]: Preferences of CACSL2BoogieTranslator differ from their defaults: [2022-04-14 19:25:14,409 INFO L138 SettingsManager]: * sizeof long=4 [2022-04-14 19:25:14,409 INFO L138 SettingsManager]: * Overapproximate operations on floating types=true [2022-04-14 19:25:14,409 INFO L138 SettingsManager]: * sizeof POINTER=4 [2022-04-14 19:25:14,409 INFO L138 SettingsManager]: * Check division by zero=IGNORE [2022-04-14 19:25:14,409 INFO L138 SettingsManager]: * Pointer to allocated memory at dereference=IGNORE [2022-04-14 19:25:14,410 INFO L138 SettingsManager]: * If two pointers are subtracted or compared they have the same base address=IGNORE [2022-04-14 19:25:14,410 INFO L138 SettingsManager]: * Check array bounds for arrays that are off heap=IGNORE [2022-04-14 19:25:14,410 INFO L138 SettingsManager]: * sizeof long double=12 [2022-04-14 19:25:14,410 INFO L138 SettingsManager]: * Check if freed pointer was valid=false [2022-04-14 19:25:14,410 INFO L138 SettingsManager]: * Use constant arrays=true [2022-04-14 19:25:14,411 INFO L138 SettingsManager]: * Pointer base address is valid at dereference=IGNORE [2022-04-14 19:25:14,411 INFO L136 SettingsManager]: Preferences of RCFGBuilder differ from their defaults: [2022-04-14 19:25:14,411 INFO L138 SettingsManager]: * Size of a code block=SequenceOfStatements [2022-04-14 19:25:14,411 INFO L138 SettingsManager]: * To the following directory=./dump/ [2022-04-14 19:25:14,411 INFO L138 SettingsManager]: * SMT solver=External_DefaultMode [2022-04-14 19:25:14,411 INFO L138 SettingsManager]: * Command for external solver=z3 SMTLIB2_COMPLIANT=true -memory:2024 -smt2 -in -t:2000 [2022-04-14 19:25:14,411 INFO L136 SettingsManager]: Preferences of TraceAbstraction differ from their defaults: [2022-04-14 19:25:14,411 INFO L138 SettingsManager]: * Trace refinement strategy=CAMEL [2022-04-14 19:25:14,412 INFO L136 SettingsManager]: Preferences of IcfgTransformer differ from their defaults: [2022-04-14 19:25:14,412 INFO L138 SettingsManager]: * TransformationType=LOOP_ACCELERATION_JORDAN WARNING: An illegal reflective access operation has occurred WARNING: Illegal reflective access by com.sun.xml.bind.v2.runtime.reflect.opt.Injector$1 (file:/storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/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.core: Log level for class -> de.uni_freiburg.informatik.ultimate.lib.smtlibutils.quantifier.QuantifierPusher=WARN; [2022-04-14 19:25:14,588 INFO L75 nceAwareModelManager]: Repository-Root is: /tmp [2022-04-14 19:25:14,609 INFO L261 ainManager$Toolchain]: [Toolchain 1]: Applicable parser(s) successfully (re)initialized [2022-04-14 19:25:14,611 INFO L217 ainManager$Toolchain]: [Toolchain 1]: Toolchain selected. [2022-04-14 19:25:14,611 INFO L271 PluginConnector]: Initializing CDTParser... [2022-04-14 19:25:14,612 INFO L275 PluginConnector]: CDTParser initialized [2022-04-14 19:25:14,613 INFO L432 ainManager$Toolchain]: [Toolchain 1]: Parsing single file: /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/../../../trunk/examples/svcomp/loop-new/gauss_sum.i.v+cfa-reducer.c [2022-04-14 19:25:14,655 INFO L220 CDTParser]: Created temporary CDT project at /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/data/a4b166519/13b9df334e6e460d96ba8db242bde043/FLAG0256a93bc [2022-04-14 19:25:15,001 INFO L306 CDTParser]: Found 1 translation units. [2022-04-14 19:25:15,001 INFO L160 CDTParser]: Scanning /storage/repos/ultimate/trunk/examples/svcomp/loop-new/gauss_sum.i.v+cfa-reducer.c [2022-04-14 19:25:15,005 INFO L349 CDTParser]: About to delete temporary CDT project at /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/data/a4b166519/13b9df334e6e460d96ba8db242bde043/FLAG0256a93bc [2022-04-14 19:25:15,013 INFO L357 CDTParser]: Successfully deleted /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/data/a4b166519/13b9df334e6e460d96ba8db242bde043 [2022-04-14 19:25:15,014 INFO L299 ainManager$Toolchain]: ####################### [Toolchain 1] ####################### [2022-04-14 19:25:15,015 INFO L131 ToolchainWalker]: Walking toolchain with 5 elements. [2022-04-14 19:25:15,016 INFO L113 PluginConnector]: ------------------------CACSL2BoogieTranslator---------------------------- [2022-04-14 19:25:15,016 INFO L271 PluginConnector]: Initializing CACSL2BoogieTranslator... [2022-04-14 19:25:15,018 INFO L275 PluginConnector]: CACSL2BoogieTranslator initialized [2022-04-14 19:25:15,019 INFO L185 PluginConnector]: Executing the observer ACSLObjectContainerObserver from plugin CACSL2BoogieTranslator for "CDTParser AST 14.04 07:25:15" (1/1) ... [2022-04-14 19:25:15,020 INFO L205 PluginConnector]: Invalid model from CACSL2BoogieTranslator for observer de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator.ACSLObjectContainerObserver@5c4f6a80 and model type de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 14.04 07:25:15, skipping insertion in model container [2022-04-14 19:25:15,020 INFO L185 PluginConnector]: Executing the observer CACSL2BoogieTranslatorObserver from plugin CACSL2BoogieTranslator for "CDTParser AST 14.04 07:25:15" (1/1) ... [2022-04-14 19:25:15,024 INFO L145 MainTranslator]: Starting translation in SV-COMP mode [2022-04-14 19:25:15,034 INFO L178 MainTranslator]: Built tables and reachable declarations [2022-04-14 19:25:15,188 WARN L230 ndardFunctionHandler]: Function reach_error is already implemented but we override the implementation for the call at /storage/repos/ultimate/trunk/examples/svcomp/loop-new/gauss_sum.i.v+cfa-reducer.c[1014,1027] [2022-04-14 19:25:15,191 INFO L210 PostProcessor]: Analyzing one entry point: main [2022-04-14 19:25:15,198 INFO L203 MainTranslator]: Completed pre-run [2022-04-14 19:25:15,214 WARN L230 ndardFunctionHandler]: Function reach_error is already implemented but we override the implementation for the call at /storage/repos/ultimate/trunk/examples/svcomp/loop-new/gauss_sum.i.v+cfa-reducer.c[1014,1027] [2022-04-14 19:25:15,215 INFO L210 PostProcessor]: Analyzing one entry point: main [2022-04-14 19:25:15,224 INFO L208 MainTranslator]: Completed translation [2022-04-14 19:25:15,225 INFO L202 PluginConnector]: Adding new model de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 14.04 07:25:15 WrapperNode [2022-04-14 19:25:15,225 INFO L132 PluginConnector]: ------------------------ END CACSL2BoogieTranslator---------------------------- [2022-04-14 19:25:15,226 INFO L113 PluginConnector]: ------------------------Boogie Preprocessor---------------------------- [2022-04-14 19:25:15,226 INFO L271 PluginConnector]: Initializing Boogie Preprocessor... [2022-04-14 19:25:15,226 INFO L275 PluginConnector]: Boogie Preprocessor initialized [2022-04-14 19:25:15,233 INFO L185 PluginConnector]: Executing the observer EnsureBoogieModelObserver from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 14.04 07:25:15" (1/1) ... [2022-04-14 19:25:15,233 INFO L185 PluginConnector]: Executing the observer TypeChecker from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 14.04 07:25:15" (1/1) ... [2022-04-14 19:25:15,238 INFO L185 PluginConnector]: Executing the observer ConstExpander from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 14.04 07:25:15" (1/1) ... [2022-04-14 19:25:15,238 INFO L185 PluginConnector]: Executing the observer StructExpander from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 14.04 07:25:15" (1/1) ... [2022-04-14 19:25:15,247 INFO L185 PluginConnector]: Executing the observer UnstructureCode from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 14.04 07:25:15" (1/1) ... [2022-04-14 19:25:15,251 INFO L185 PluginConnector]: Executing the observer FunctionInliner from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 14.04 07:25:15" (1/1) ... [2022-04-14 19:25:15,252 INFO L185 PluginConnector]: Executing the observer BoogieSymbolTableConstructor from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 14.04 07:25:15" (1/1) ... [2022-04-14 19:25:15,254 INFO L132 PluginConnector]: ------------------------ END Boogie Preprocessor---------------------------- [2022-04-14 19:25:15,254 INFO L113 PluginConnector]: ------------------------RCFGBuilder---------------------------- [2022-04-14 19:25:15,254 INFO L271 PluginConnector]: Initializing RCFGBuilder... [2022-04-14 19:25:15,254 INFO L275 PluginConnector]: RCFGBuilder initialized [2022-04-14 19:25:15,256 INFO L185 PluginConnector]: Executing the observer RCFGBuilderObserver from plugin RCFGBuilder for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 14.04 07:25:15" (1/1) ... [2022-04-14 19:25:15,260 INFO L173 SolverBuilder]: Constructing external solver with command: z3 SMTLIB2_COMPLIANT=true -memory:2024 -smt2 -in -t:2000 [2022-04-14 19:25:15,267 INFO L189 MonitoredProcess]: No working directory specified, using /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/z3 [2022-04-14 19:25:15,275 INFO L229 MonitoredProcess]: Starting monitored process 1 with /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/z3 SMTLIB2_COMPLIANT=true -memory:2024 -smt2 -in -t:2000 (exit command is (exit), workingDir is null) [2022-04-14 19:25:15,280 INFO L327 MonitoredProcess]: [MP /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/z3 SMTLIB2_COMPLIANT=true -memory:2024 -smt2 -in -t:2000 (1)] Waiting until timeout for monitored process [2022-04-14 19:25:15,298 INFO L138 BoogieDeclarations]: Found implementation of procedure ULTIMATE.init [2022-04-14 19:25:15,298 INFO L138 BoogieDeclarations]: Found implementation of procedure ULTIMATE.start [2022-04-14 19:25:15,298 INFO L138 BoogieDeclarations]: Found implementation of procedure reach_error [2022-04-14 19:25:15,298 INFO L138 BoogieDeclarations]: Found implementation of procedure assume_abort_if_not [2022-04-14 19:25:15,298 INFO L138 BoogieDeclarations]: Found implementation of procedure main [2022-04-14 19:25:15,298 INFO L130 BoogieDeclarations]: Found specification of procedure abort [2022-04-14 19:25:15,298 INFO L130 BoogieDeclarations]: Found specification of procedure __assert_fail [2022-04-14 19:25:15,299 INFO L130 BoogieDeclarations]: Found specification of procedure reach_error [2022-04-14 19:25:15,299 INFO L130 BoogieDeclarations]: Found specification of procedure #Ultimate.allocInit [2022-04-14 19:25:15,299 INFO L130 BoogieDeclarations]: Found specification of procedure assume_abort_if_not [2022-04-14 19:25:15,299 INFO L130 BoogieDeclarations]: Found specification of procedure __VERIFIER_assert [2022-04-14 19:25:15,299 INFO L130 BoogieDeclarations]: Found specification of procedure __VERIFIER_nondet_int [2022-04-14 19:25:15,299 INFO L130 BoogieDeclarations]: Found specification of procedure main [2022-04-14 19:25:15,299 INFO L130 BoogieDeclarations]: Found specification of procedure ULTIMATE.init [2022-04-14 19:25:15,299 INFO L130 BoogieDeclarations]: Found specification of procedure write~init~int [2022-04-14 19:25:15,299 INFO L130 BoogieDeclarations]: Found specification of procedure ULTIMATE.start [2022-04-14 19:25:15,299 INFO L130 BoogieDeclarations]: Found specification of procedure write~int [2022-04-14 19:25:15,299 INFO L130 BoogieDeclarations]: Found specification of procedure read~int [2022-04-14 19:25:15,300 INFO L130 BoogieDeclarations]: Found specification of procedure ULTIMATE.dealloc [2022-04-14 19:25:15,338 INFO L234 CfgBuilder]: Building ICFG [2022-04-14 19:25:15,339 INFO L260 CfgBuilder]: Building CFG for each procedure with an implementation [2022-04-14 19:25:15,464 INFO L275 CfgBuilder]: Performing block encoding [2022-04-14 19:25:15,468 INFO L294 CfgBuilder]: Using the 1 location(s) as analysis (start of procedure ULTIMATE.start) [2022-04-14 19:25:15,468 INFO L299 CfgBuilder]: Removed 0 assume(true) statements. [2022-04-14 19:25:15,469 INFO L202 PluginConnector]: Adding new model de.uni_freiburg.informatik.ultimate.plugins.generator.rcfgbuilder CFG 14.04 07:25:15 BoogieIcfgContainer [2022-04-14 19:25:15,470 INFO L132 PluginConnector]: ------------------------ END RCFGBuilder---------------------------- [2022-04-14 19:25:15,470 INFO L113 PluginConnector]: ------------------------IcfgTransformer---------------------------- [2022-04-14 19:25:15,470 INFO L271 PluginConnector]: Initializing IcfgTransformer... [2022-04-14 19:25:15,472 INFO L275 PluginConnector]: IcfgTransformer initialized [2022-04-14 19:25:15,474 INFO L185 PluginConnector]: Executing the observer IcfgTransformationObserver from plugin IcfgTransformer for "de.uni_freiburg.informatik.ultimate.plugins.generator.rcfgbuilder CFG 14.04 07:25:15" (1/1) ... [2022-04-14 19:25:15,476 INFO L168 ansformationObserver]: Applying ICFG transformation LOOP_ACCELERATION_JORDAN [2022-04-14 19:25:16,062 INFO L89 elerationTransformer]: Jordan loop acceleration statistics: 0 HavocedVariables, 2 AssignedVariables, 0 ReadonlyVariables, Eigenvalues: {1={3=1}}, 0 SequentialAcceleration, 1 AlternatingAcceleration, 1 QuantifierFreeResult [2022-04-14 19:25:16,063 INFO L91 elerationTransformer]: Accelerated Formula: (and (= (+ v_main_~main__i~0_3 1) v_main_~main__i~0_2) (= v_main_~main__sum~0_2 (+ v_main_~main__sum~0_3 v_main_~main__i~0_3)) (<= v_main_~main__i~0_3 v_main_~main__n~0_3)) InVars {main_~main__n~0=v_main_~main__n~0_3, main_~main__sum~0=v_main_~main__sum~0_3, main_~main__i~0=v_main_~main__i~0_3} OutVars{main_~main__n~0=v_main_~main__n~0_3, main_~main__sum~0=v_main_~main__sum~0_2, main_~main__i~0=v_main_~main__i~0_2} AuxVars[] AssignedVars[main_~main__sum~0, main_~main__i~0] to Formula: (let ((.cse1 (* (- 1) v_main_~main__i~0_3))) (or (and (= v_main_~main__i~0_3 v_main_~main__i~0_2) (= v_main_~main__sum~0_3 v_main_~main__sum~0_2) (< v_main_~main__n~0_3 v_main_~main__i~0_3)) (let ((.cse0 (div (+ .cse1 v_main_~main__i~0_2) 2))) (and (<= .cse0 (+ (div (+ (- 1) .cse1 v_main_~main__n~0_3) 2) 1)) (= (mod (+ v_main_~main__i~0_3 v_main_~main__i~0_2) 2) 0) (< 0 .cse0) (= (+ .cse0 v_main_~main__sum~0_2) (+ (* 2 (* .cse0 v_main_~main__i~0_3)) v_main_~main__sum~0_3 (* 2 (* .cse0 .cse0)))))) (let ((.cse2 (div (+ (- 1) .cse1 v_main_~main__i~0_2) 2))) (and (= (mod (+ v_main_~main__i~0_3 v_main_~main__i~0_2 1) 2) 0) (<= .cse2 (div (+ .cse1 v_main_~main__n~0_3) 2)) (<= 0 .cse2) (= v_main_~main__sum~0_2 (+ (* 2 (* .cse2 v_main_~main__i~0_3)) (* (* .cse2 .cse2) 2) v_main_~main__sum~0_3 .cse2 v_main_~main__i~0_3)))))) InVars {main_~main__n~0=v_main_~main__n~0_3, main_~main__sum~0=v_main_~main__sum~0_3, main_~main__i~0=v_main_~main__i~0_3} OutVars{main_~main__n~0=v_main_~main__n~0_3, main_~main__sum~0=v_main_~main__sum~0_2, main_~main__i~0=v_main_~main__i~0_2} AuxVars[] AssignedVars[main_~main__sum~0, main_~main__i~0] [2022-04-14 19:25:16,067 INFO L202 PluginConnector]: Adding new model de.uni_freiburg.informatik.ultimate.plugins.icfgtransformation CFG 14.04 07:25:16 BasicIcfg [2022-04-14 19:25:16,067 INFO L132 PluginConnector]: ------------------------ END IcfgTransformer---------------------------- [2022-04-14 19:25:16,068 INFO L113 PluginConnector]: ------------------------TraceAbstraction---------------------------- [2022-04-14 19:25:16,068 INFO L271 PluginConnector]: Initializing TraceAbstraction... [2022-04-14 19:25:16,070 INFO L275 PluginConnector]: TraceAbstraction initialized [2022-04-14 19:25:16,070 INFO L185 PluginConnector]: Executing the observer TraceAbstractionObserver from plugin TraceAbstraction for "CDTParser AST 14.04 07:25:15" (1/4) ... [2022-04-14 19:25:16,070 INFO L205 PluginConnector]: Invalid model from TraceAbstraction for observer de.uni_freiburg.informatik.ultimate.plugins.generator.traceabstraction.TraceAbstractionObserver@7977e1b8 and model type de.uni_freiburg.informatik.ultimate.plugins.generator.traceabstraction AST 14.04 07:25:16, skipping insertion in model container [2022-04-14 19:25:16,071 INFO L185 PluginConnector]: Executing the observer TraceAbstractionObserver from plugin TraceAbstraction for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 14.04 07:25:15" (2/4) ... [2022-04-14 19:25:16,071 INFO L205 PluginConnector]: Invalid model from TraceAbstraction for observer de.uni_freiburg.informatik.ultimate.plugins.generator.traceabstraction.TraceAbstractionObserver@7977e1b8 and model type de.uni_freiburg.informatik.ultimate.plugins.generator.traceabstraction AST 14.04 07:25:16, skipping insertion in model container [2022-04-14 19:25:16,071 INFO L185 PluginConnector]: Executing the observer TraceAbstractionObserver from plugin TraceAbstraction for "de.uni_freiburg.informatik.ultimate.plugins.generator.rcfgbuilder CFG 14.04 07:25:15" (3/4) ... [2022-04-14 19:25:16,071 INFO L205 PluginConnector]: Invalid model from TraceAbstraction for observer de.uni_freiburg.informatik.ultimate.plugins.generator.traceabstraction.TraceAbstractionObserver@7977e1b8 and model type de.uni_freiburg.informatik.ultimate.plugins.generator.traceabstraction CFG 14.04 07:25:16, skipping insertion in model container [2022-04-14 19:25:16,071 INFO L185 PluginConnector]: Executing the observer TraceAbstractionObserver from plugin TraceAbstraction for "de.uni_freiburg.informatik.ultimate.plugins.icfgtransformation CFG 14.04 07:25:16" (4/4) ... [2022-04-14 19:25:16,072 INFO L111 eAbstractionObserver]: Analyzing ICFG gauss_sum.i.v+cfa-reducer.cJordan [2022-04-14 19:25:16,075 INFO L202 ceAbstractionStarter]: Automizer settings: Hoare:false NWA Interpolation:ForwardPredicates Determinization: PREDICATE_ABSTRACTION [2022-04-14 19:25:16,075 INFO L161 ceAbstractionStarter]: Applying trace abstraction to program that has 1 error locations. [2022-04-14 19:25:16,103 INFO L339 AbstractCegarLoop]: ======== Iteration 0 == of CEGAR loop == AllErrorsAtOnce ======== [2022-04-14 19:25:16,109 INFO L340 AbstractCegarLoop]: Settings: SEPARATE_VIOLATION_CHECK=true, mInterprocedural=true, mMaxIterations=1000000, mWatchIteration=1000000, mArtifact=RCFG, mInterpolation=ForwardPredicates, 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 [2022-04-14 19:25:16,109 INFO L341 AbstractCegarLoop]: Starting to check reachability of 1 error locations. [2022-04-14 19:25:16,119 INFO L276 IsEmpty]: Start isEmpty. Operand has 16 states, 10 states have (on average 1.5) internal successors, (15), 11 states have internal predecessors, (15), 2 states have call successors, (2), 2 states have call predecessors, (2), 2 states have return successors, (2), 2 states have call predecessors, (2), 2 states have call successors, (2) [2022-04-14 19:25:16,122 INFO L282 IsEmpty]: Finished isEmpty. Found accepting run of length 12 [2022-04-14 19:25:16,123 INFO L491 BasicCegarLoop]: Found error trace [2022-04-14 19:25:16,123 INFO L499 BasicCegarLoop]: trace histogram [1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1] [2022-04-14 19:25:16,124 INFO L403 AbstractCegarLoop]: === Iteration 1 === Targeting mainErr0ASSERT_VIOLATIONERROR_FUNCTION === [mainErr0ASSERT_VIOLATIONERROR_FUNCTION] === [2022-04-14 19:25:16,127 INFO L144 PredicateUnifier]: Initialized classic predicate unifier [2022-04-14 19:25:16,127 INFO L85 PathProgramCache]: Analyzing trace with hash 323261602, now seen corresponding path program 1 times [2022-04-14 19:25:16,133 INFO L118 FreeRefinementEngine]: Executing refinement strategy CAMEL [2022-04-14 19:25:16,134 INFO L333 FreeRefinementEngine]: Using trace check IpTcStrategyModuleSmtInterpolCraig [1328692763] [2022-04-14 19:25:16,134 INFO L95 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2022-04-14 19:25:16,134 INFO L127 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout -1 ms and remaining time -1 ms [2022-04-14 19:25:16,206 ERROR L245 FreeRefinementEngine]: Caught known exception: Unsupported non-linear arithmetic [2022-04-14 19:25:16,206 INFO L333 FreeRefinementEngine]: Using trace check IpTcStrategyModuleZ3 [77499083] [2022-04-14 19:25:16,207 INFO L95 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2022-04-14 19:25:16,207 INFO L173 SolverBuilder]: Constructing external solver with command: z3 -smt2 -in SMTLIB2_COMPLIANT=true [2022-04-14 19:25:16,207 INFO L189 MonitoredProcess]: No working directory specified, using /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/z3 [2022-04-14 19:25:16,208 INFO L229 MonitoredProcess]: Starting monitored process 2 with /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/z3 -smt2 -in SMTLIB2_COMPLIANT=true (exit command is (exit), workingDir is null) [2022-04-14 19:25:16,210 INFO L327 MonitoredProcess]: [MP /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/z3 -smt2 -in SMTLIB2_COMPLIANT=true (2)] Waiting until timeout for monitored process [2022-04-14 19:25:16,258 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2022-04-14 19:25:16,260 INFO L263 TraceCheckSpWp]: Trace formula consists of 71 conjuncts, 3 conjunts are in the unsatisfiable core [2022-04-14 19:25:16,273 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2022-04-14 19:25:16,276 INFO L286 TraceCheckSpWp]: Computing forward predicates... [2022-04-14 19:25:16,365 INFO L272 TraceCheckUtils]: 0: Hoare triple {19#true} [41] ULTIMATE.startENTRY-->ULTIMATE.initENTRY: Formula: true InVars {} OutVars{} AuxVars[] AssignedVars[] {19#true} is VALID [2022-04-14 19:25:16,366 INFO L290 TraceCheckUtils]: 1: Hoare triple {19#true} [43] ULTIMATE.initENTRY-->ULTIMATE.initFINAL: Formula: (let ((.cse0 (select |v_#memory_int_1| 1))) (and (= 48 (select .cse0 0)) (= (select |v_#valid_1| 2) 1) (= v_~__return_60~0_2 0) (= (select |v_#valid_1| 0) 0) (< 0 |v_#StackHeapBarrier_1|) (= |v_#NULL.base_1| 0) (= 1 (select |v_#valid_1| 3)) (= (select |v_#length_1| 2) 28) (= 0 v_~__return_main~0_4) (= (select |v_#length_1| 3) 12) (= (select |v_#valid_1| 1) 1) (= 2 (select |v_#length_1| 1)) (= (select .cse0 1) 0) (= |v_#NULL.offset_1| 0))) InVars {#memory_int=|v_#memory_int_1|, #StackHeapBarrier=|v_#StackHeapBarrier_1|, #length=|v_#length_1|, #valid=|v_#valid_1|} OutVars{~__return_main~0=v_~__return_main~0_4, #StackHeapBarrier=|v_#StackHeapBarrier_1|, ~__return_60~0=v_~__return_60~0_2, #valid=|v_#valid_1|, #memory_int=|v_#memory_int_1|, #NULL.offset=|v_#NULL.offset_1|, #length=|v_#length_1|, #NULL.base=|v_#NULL.base_1|} AuxVars[] AssignedVars[~__return_main~0, ~__return_60~0, #NULL.offset, #NULL.base] {19#true} is VALID [2022-04-14 19:25:16,366 INFO L290 TraceCheckUtils]: 2: Hoare triple {19#true} [46] ULTIMATE.initFINAL-->ULTIMATE.initEXIT: Formula: true InVars {} OutVars{} AuxVars[] AssignedVars[] {19#true} is VALID [2022-04-14 19:25:16,366 INFO L284 TraceCheckUtils]: 3: Hoare quadruple {19#true} {19#true} [58] ULTIMATE.initEXIT-->L-1: AOR: Formula: true InVars {} OutVars{} AuxVars[] AssignedVars[] LVA: Formula: true InVars {} OutVars{} AuxVars[] AssignedVars[] {19#true} is VALID [2022-04-14 19:25:16,367 INFO L272 TraceCheckUtils]: 4: Hoare triple {19#true} [42] L-1-->mainENTRY: Formula: true InVars {} OutVars{} AuxVars[] AssignedVars[] {19#true} is VALID [2022-04-14 19:25:16,367 INFO L290 TraceCheckUtils]: 5: Hoare triple {19#true} [45] mainENTRY-->L19: Formula: (and (= |v_main_#t~nondet4_2| v_main_~main__n~0_5) (<= 0 (+ |v_main_#t~nondet4_2| 2147483648)) (<= |v_main_#t~nondet4_2| 2147483647)) InVars {main_#t~nondet4=|v_main_#t~nondet4_2|} OutVars{main_~main__n~0=v_main_~main__n~0_5, main_~main__sum~0=v_main_~main__sum~0_5, main_~main__i~0=v_main_~main__i~0_5} AuxVars[] AssignedVars[main_#t~nondet4, main_~main__n~0, main_~main__sum~0, main_~main__i~0] {19#true} is VALID [2022-04-14 19:25:16,368 INFO L290 TraceCheckUtils]: 6: Hoare triple {19#true} [48] L19-->L25: Formula: (<= 1 v_main_~main__n~0_9) InVars {main_~main__n~0=v_main_~main__n~0_9} OutVars{main_~main__n~0=v_main_~main__n~0_9} AuxVars[] AssignedVars[] {42#(<= 1 main_~main__n~0)} is VALID [2022-04-14 19:25:16,369 INFO L290 TraceCheckUtils]: 7: Hoare triple {42#(<= 1 main_~main__n~0)} [51] L25-->L38: Formula: (and (<= v_main_~main__n~0_2 1000) (= v_main_~main__i~0_1 1) (= v_main_~main__sum~0_1 0)) InVars {main_~main__n~0=v_main_~main__n~0_2} OutVars{main_~main__n~0=v_main_~main__n~0_2, main_~main__sum~0=v_main_~main__sum~0_1, main_~main__i~0=v_main_~main__i~0_1} AuxVars[] AssignedVars[main_~main__sum~0, main_~main__i~0] {46#(and (<= main_~main__i~0 1) (<= 1 main_~main__n~0))} is VALID [2022-04-14 19:25:16,369 INFO L290 TraceCheckUtils]: 8: Hoare triple {46#(and (<= main_~main__i~0 1) (<= 1 main_~main__n~0))} [53] L38-->L47: Formula: (and (not (<= v_main_~main__i~0_4 v_main_~main__n~0_4)) (= v_main_~__tmp_1~0_1 v_main_~__VERIFIER_assert__cond~0_1) (= (ite (= (* (+ v_main_~main__n~0_4 1) v_main_~main__n~0_4) (* 2 v_main_~main__sum~0_4)) 1 0) v_main_~__tmp_1~0_1)) InVars {main_~main__n~0=v_main_~main__n~0_4, main_~main__sum~0=v_main_~main__sum~0_4, main_~main__i~0=v_main_~main__i~0_4} OutVars{main_~__VERIFIER_assert__cond~0=v_main_~__VERIFIER_assert__cond~0_1, main_~main__n~0=v_main_~main__n~0_4, main_~main__sum~0=v_main_~main__sum~0_4, main_~__tmp_1~0=v_main_~__tmp_1~0_1, main_~main__i~0=v_main_~main__i~0_4} AuxVars[] AssignedVars[main_~__VERIFIER_assert__cond~0, main_~__tmp_1~0] {20#false} is VALID [2022-04-14 19:25:16,370 INFO L290 TraceCheckUtils]: 9: Hoare triple {20#false} [54] L47-->L49: Formula: (= v_main_~__VERIFIER_assert__cond~0_3 0) InVars {main_~__VERIFIER_assert__cond~0=v_main_~__VERIFIER_assert__cond~0_3} OutVars{main_~__VERIFIER_assert__cond~0=v_main_~__VERIFIER_assert__cond~0_3} AuxVars[] AssignedVars[] {20#false} is VALID [2022-04-14 19:25:16,370 INFO L290 TraceCheckUtils]: 10: Hoare triple {20#false} [56] L49-->mainErr0ASSERT_VIOLATIONERROR_FUNCTION: Formula: true InVars {} OutVars{} AuxVars[] AssignedVars[] {20#false} is VALID [2022-04-14 19:25:16,371 INFO L134 CoverageAnalysis]: Checked inductivity of 0 backedges. 0 proven. 0 refuted. 0 times theorem prover too weak. 0 trivial. 0 not checked. [2022-04-14 19:25:16,371 INFO L324 TraceCheckSpWp]: Omiting computation of backward sequence because forward sequence was already perfect [2022-04-14 19:25:16,371 INFO L136 FreeRefinementEngine]: Strategy CAMEL found an infeasible trace [2022-04-14 19:25:16,371 INFO L333 FreeRefinementEngine]: Using interpolant generator IpTcStrategyModuleSmtInterpolCraig [1328692763] [2022-04-14 19:25:16,371 WARN L310 FreeRefinementEngine]: Interpolation failed due to KNOWN_IGNORE: SMT_SOLVER_CANNOT_INTERPOLATE_INPUT [2022-04-14 19:25:16,372 INFO L333 FreeRefinementEngine]: Using interpolant generator IpTcStrategyModuleZ3 [77499083] [2022-04-14 19:25:16,372 INFO L157 FreeRefinementEngine]: IpTcStrategyModuleZ3 [77499083] provided 1 perfect and 0 imperfect interpolant sequences [2022-04-14 19:25:16,372 INFO L184 FreeRefinementEngine]: Found 1 perfect and 0 imperfect interpolant sequences. [2022-04-14 19:25:16,372 INFO L197 FreeRefinementEngine]: Number of different interpolants: perfect sequences [4] imperfect sequences [] total 4 [2022-04-14 19:25:16,373 INFO L121 tionRefinementEngine]: Using interpolant automaton builder IpAbStrategyModuleStraightlineAll [609402001] [2022-04-14 19:25:16,374 INFO L85 oduleStraightlineAll]: Using 1 perfect interpolants to construct interpolant automaton [2022-04-14 19:25:16,378 INFO L78 Accepts]: Start accepts. Automaton has has 4 states, 4 states have (on average 2.0) internal successors, (8), 4 states have internal predecessors, (8), 1 states have call successors, (2), 1 states have call predecessors, (2), 1 states have return successors, (1), 1 states have call predecessors, (1), 1 states have call successors, (1) Word has length 11 [2022-04-14 19:25:16,379 INFO L84 Accepts]: Finished accepts. word is accepted. [2022-04-14 19:25:16,381 INFO L86 InductivityCheck]: Starting inductivity check of a Floyd-Hoare automaton with has 4 states, 4 states have (on average 2.0) internal successors, (8), 4 states have internal predecessors, (8), 1 states have call successors, (2), 1 states have call predecessors, (2), 1 states have return successors, (1), 1 states have call predecessors, (1), 1 states have call successors, (1) [2022-04-14 19:25:16,405 INFO L122 InductivityCheck]: Floyd-Hoare automaton has 11 edges. 11 inductive. 0 not inductive. 0 times theorem prover too weak to decide inductivity. [2022-04-14 19:25:16,406 INFO L554 AbstractCegarLoop]: INTERPOLANT automaton has 4 states [2022-04-14 19:25:16,406 INFO L100 FreeRefinementEngine]: Using predicate unifier PredicateUnifier provided by strategy CAMEL [2022-04-14 19:25:16,421 INFO L143 InterpolantAutomaton]: Constructing interpolant automaton starting with 4 interpolants. [2022-04-14 19:25:16,421 INFO L145 InterpolantAutomaton]: CoverageRelationStatistics Valid=6, Invalid=6, Unknown=0, NotChecked=0, Total=12 [2022-04-14 19:25:16,423 INFO L87 Difference]: Start difference. First operand has 16 states, 10 states have (on average 1.5) internal successors, (15), 11 states have internal predecessors, (15), 2 states have call successors, (2), 2 states have call predecessors, (2), 2 states have return successors, (2), 2 states have call predecessors, (2), 2 states have call successors, (2) Second operand has 4 states, 4 states have (on average 2.0) internal successors, (8), 4 states have internal predecessors, (8), 1 states have call successors, (2), 1 states have call predecessors, (2), 1 states have return successors, (1), 1 states have call predecessors, (1), 1 states have call successors, (1) [2022-04-14 19:25:16,475 INFO L144 Difference]: Subtrahend was deterministic. Have not used determinization. [2022-04-14 19:25:16,476 INFO L93 Difference]: Finished difference Result 19 states and 21 transitions. [2022-04-14 19:25:16,476 INFO L141 InterpolantAutomaton]: Switched to read-only mode: deterministic interpolant automaton has 4 states. [2022-04-14 19:25:16,476 INFO L78 Accepts]: Start accepts. Automaton has has 4 states, 4 states have (on average 2.0) internal successors, (8), 4 states have internal predecessors, (8), 1 states have call successors, (2), 1 states have call predecessors, (2), 1 states have return successors, (1), 1 states have call predecessors, (1), 1 states have call successors, (1) Word has length 11 [2022-04-14 19:25:16,477 INFO L84 Accepts]: Finished accepts. some prefix is accepted. [2022-04-14 19:25:16,478 INFO L82 GeneralOperation]: Start removeUnreachable. Operand has 4 states, 4 states have (on average 2.0) internal successors, (8), 4 states have internal predecessors, (8), 1 states have call successors, (2), 1 states have call predecessors, (2), 1 states have return successors, (1), 1 states have call predecessors, (1), 1 states have call successors, (1) [2022-04-14 19:25:16,487 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 4 states to 4 states and 23 transitions. [2022-04-14 19:25:16,488 INFO L82 GeneralOperation]: Start removeUnreachable. Operand has 4 states, 4 states have (on average 2.0) internal successors, (8), 4 states have internal predecessors, (8), 1 states have call successors, (2), 1 states have call predecessors, (2), 1 states have return successors, (1), 1 states have call predecessors, (1), 1 states have call successors, (1) [2022-04-14 19:25:16,492 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 4 states to 4 states and 23 transitions. [2022-04-14 19:25:16,492 INFO L86 InductivityCheck]: Starting inductivity check of a Floyd-Hoare automaton with 4 states and 23 transitions. [2022-04-14 19:25:16,511 INFO L122 InductivityCheck]: Floyd-Hoare automaton has 23 edges. 23 inductive. 0 not inductive. 0 times theorem prover too weak to decide inductivity. [2022-04-14 19:25:16,517 INFO L225 Difference]: With dead ends: 19 [2022-04-14 19:25:16,517 INFO L226 Difference]: Without dead ends: 13 [2022-04-14 19:25:16,518 INFO L912 BasicCegarLoop]: 0 DeclaredPredicates, 10 GetRequests, 8 SyntacticMatches, 0 SemanticMatches, 2 ConstructedPredicates, 0 IntricatePredicates, 0 DeprecatedPredicates, 0 ImplicationChecksByTransitivity, 0.0s TimeCoverageRelationStatistics Valid=6, Invalid=6, Unknown=0, NotChecked=0, Total=12 [2022-04-14 19:25:16,522 INFO L913 BasicCegarLoop]: 16 mSDtfsCounter, 8 mSDsluCounter, 13 mSDsCounter, 0 mSdLazyCounter, 10 mSolverCounterSat, 1 mSolverCounterUnsat, 0 mSolverCounterUnknown, 0 mSolverCounterNotChecked, 0.0s Time, 0 mProtectedPredicate, 0 mProtectedAction, 8 SdHoareTripleChecker+Valid, 29 SdHoareTripleChecker+Invalid, 11 SdHoareTripleChecker+Unknown, 0 SdHoareTripleChecker+Unchecked, 0.0s SdHoareTripleChecker+Time, 1 IncrementalHoareTripleChecker+Valid, 10 IncrementalHoareTripleChecker+Invalid, 0 IncrementalHoareTripleChecker+Unknown, 0 IncrementalHoareTripleChecker+Unchecked, 0.0s IncrementalHoareTripleChecker+Time [2022-04-14 19:25:16,523 INFO L914 BasicCegarLoop]: SdHoareTripleChecker [8 Valid, 29 Invalid, 11 Unknown, 0 Unchecked, 0.0s Time], IncrementalHoareTripleChecker [1 Valid, 10 Invalid, 0 Unknown, 0 Unchecked, 0.0s Time] [2022-04-14 19:25:16,533 INFO L82 GeneralOperation]: Start minimizeSevpa. Operand 13 states. [2022-04-14 19:25:16,540 INFO L88 GeneralOperation]: Finished minimizeSevpa. Reduced states from 13 to 13. [2022-04-14 19:25:16,540 INFO L214 AbstractMinimizeNwa]: Start testing correctness of minimizeSevpa [2022-04-14 19:25:16,541 INFO L82 GeneralOperation]: Start isEquivalent. First operand 13 states. Second operand has 13 states, 9 states have (on average 1.1111111111111112) internal successors, (10), 9 states have internal predecessors, (10), 2 states have call successors, (2), 2 states have call predecessors, (2), 1 states have return successors, (1), 1 states have call predecessors, (1), 1 states have call successors, (1) [2022-04-14 19:25:16,541 INFO L74 IsIncluded]: Start isIncluded. First operand 13 states. Second operand has 13 states, 9 states have (on average 1.1111111111111112) internal successors, (10), 9 states have internal predecessors, (10), 2 states have call successors, (2), 2 states have call predecessors, (2), 1 states have return successors, (1), 1 states have call predecessors, (1), 1 states have call successors, (1) [2022-04-14 19:25:16,542 INFO L87 Difference]: Start difference. First operand 13 states. Second operand has 13 states, 9 states have (on average 1.1111111111111112) internal successors, (10), 9 states have internal predecessors, (10), 2 states have call successors, (2), 2 states have call predecessors, (2), 1 states have return successors, (1), 1 states have call predecessors, (1), 1 states have call successors, (1) [2022-04-14 19:25:16,544 INFO L144 Difference]: Subtrahend was deterministic. Have not used determinization. [2022-04-14 19:25:16,544 INFO L93 Difference]: Finished difference Result 13 states and 13 transitions. [2022-04-14 19:25:16,545 INFO L276 IsEmpty]: Start isEmpty. Operand 13 states and 13 transitions. [2022-04-14 19:25:16,545 INFO L282 IsEmpty]: Finished isEmpty. No accepting run. [2022-04-14 19:25:16,545 INFO L83 IsIncluded]: Finished isIncluded. Language is included [2022-04-14 19:25:16,545 INFO L74 IsIncluded]: Start isIncluded. First operand has 13 states, 9 states have (on average 1.1111111111111112) internal successors, (10), 9 states have internal predecessors, (10), 2 states have call successors, (2), 2 states have call predecessors, (2), 1 states have return successors, (1), 1 states have call predecessors, (1), 1 states have call successors, (1) Second operand 13 states. [2022-04-14 19:25:16,546 INFO L87 Difference]: Start difference. First operand has 13 states, 9 states have (on average 1.1111111111111112) internal successors, (10), 9 states have internal predecessors, (10), 2 states have call successors, (2), 2 states have call predecessors, (2), 1 states have return successors, (1), 1 states have call predecessors, (1), 1 states have call successors, (1) Second operand 13 states. [2022-04-14 19:25:16,549 INFO L144 Difference]: Subtrahend was deterministic. Have not used determinization. [2022-04-14 19:25:16,549 INFO L93 Difference]: Finished difference Result 13 states and 13 transitions. [2022-04-14 19:25:16,549 INFO L276 IsEmpty]: Start isEmpty. Operand 13 states and 13 transitions. [2022-04-14 19:25:16,549 INFO L282 IsEmpty]: Finished isEmpty. No accepting run. [2022-04-14 19:25:16,550 INFO L83 IsIncluded]: Finished isIncluded. Language is included [2022-04-14 19:25:16,550 INFO L88 GeneralOperation]: Finished isEquivalent. [2022-04-14 19:25:16,550 INFO L221 AbstractMinimizeNwa]: Finished testing correctness of minimizeSevpa [2022-04-14 19:25:16,551 INFO L82 GeneralOperation]: Start removeUnreachable. Operand has 13 states, 9 states have (on average 1.1111111111111112) internal successors, (10), 9 states have internal predecessors, (10), 2 states have call successors, (2), 2 states have call predecessors, (2), 1 states have return successors, (1), 1 states have call predecessors, (1), 1 states have call successors, (1) [2022-04-14 19:25:16,552 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 13 states to 13 states and 13 transitions. [2022-04-14 19:25:16,553 INFO L78 Accepts]: Start accepts. Automaton has 13 states and 13 transitions. Word has length 11 [2022-04-14 19:25:16,556 INFO L84 Accepts]: Finished accepts. word is rejected. [2022-04-14 19:25:16,556 INFO L478 AbstractCegarLoop]: Abstraction has 13 states and 13 transitions. [2022-04-14 19:25:16,556 INFO L479 AbstractCegarLoop]: INTERPOLANT automaton has has 4 states, 4 states have (on average 2.0) internal successors, (8), 4 states have internal predecessors, (8), 1 states have call successors, (2), 1 states have call predecessors, (2), 1 states have return successors, (1), 1 states have call predecessors, (1), 1 states have call successors, (1) [2022-04-14 19:25:16,557 INFO L276 IsEmpty]: Start isEmpty. Operand 13 states and 13 transitions. [2022-04-14 19:25:16,557 INFO L282 IsEmpty]: Finished isEmpty. Found accepting run of length 13 [2022-04-14 19:25:16,557 INFO L491 BasicCegarLoop]: Found error trace [2022-04-14 19:25:16,557 INFO L499 BasicCegarLoop]: trace histogram [1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1] [2022-04-14 19:25:16,576 INFO L540 MonitoredProcess]: [MP /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/z3 -smt2 -in SMTLIB2_COMPLIANT=true (2)] Forceful destruction successful, exit code 0 [2022-04-14 19:25:16,771 WARN L460 AbstractCegarLoop]: Destroyed unattended storables created during the last iteration: 2 /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/z3 -smt2 -in SMTLIB2_COMPLIANT=true,SelfDestructingSolverStorable0 [2022-04-14 19:25:16,772 INFO L403 AbstractCegarLoop]: === Iteration 2 === Targeting mainErr0ASSERT_VIOLATIONERROR_FUNCTION === [mainErr0ASSERT_VIOLATIONERROR_FUNCTION] === [2022-04-14 19:25:16,772 INFO L144 PredicateUnifier]: Initialized classic predicate unifier [2022-04-14 19:25:16,772 INFO L85 PathProgramCache]: Analyzing trace with hash 1431144312, now seen corresponding path program 1 times [2022-04-14 19:25:16,772 INFO L118 FreeRefinementEngine]: Executing refinement strategy CAMEL [2022-04-14 19:25:16,772 INFO L333 FreeRefinementEngine]: Using trace check IpTcStrategyModuleSmtInterpolCraig [368096722] [2022-04-14 19:25:16,772 INFO L95 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2022-04-14 19:25:16,773 INFO L127 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout -1 ms and remaining time -1 ms [2022-04-14 19:25:16,788 ERROR L245 FreeRefinementEngine]: Caught known exception: Unsupported non-linear arithmetic [2022-04-14 19:25:16,788 INFO L333 FreeRefinementEngine]: Using trace check IpTcStrategyModuleZ3 [1458048257] [2022-04-14 19:25:16,788 INFO L95 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2022-04-14 19:25:16,788 INFO L173 SolverBuilder]: Constructing external solver with command: z3 -smt2 -in SMTLIB2_COMPLIANT=true [2022-04-14 19:25:16,789 INFO L189 MonitoredProcess]: No working directory specified, using /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/z3 [2022-04-14 19:25:16,793 INFO L229 MonitoredProcess]: Starting monitored process 3 with /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/z3 -smt2 -in SMTLIB2_COMPLIANT=true (exit command is (exit), workingDir is null) [2022-04-14 19:25:16,794 INFO L327 MonitoredProcess]: [MP /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/z3 -smt2 -in SMTLIB2_COMPLIANT=true (3)] Waiting until timeout for monitored process [2022-04-14 19:25:17,421 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2022-04-14 19:25:17,423 INFO L263 TraceCheckSpWp]: Trace formula consists of 72 conjuncts, 10 conjunts are in the unsatisfiable core [2022-04-14 19:25:18,234 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2022-04-14 19:25:18,235 INFO L286 TraceCheckSpWp]: Computing forward predicates... [2022-04-14 19:25:22,031 INFO L272 TraceCheckUtils]: 0: Hoare triple {113#true} [41] ULTIMATE.startENTRY-->ULTIMATE.initENTRY: Formula: true InVars {} OutVars{} AuxVars[] AssignedVars[] {113#true} is VALID [2022-04-14 19:25:22,031 INFO L290 TraceCheckUtils]: 1: Hoare triple {113#true} [43] ULTIMATE.initENTRY-->ULTIMATE.initFINAL: Formula: (let ((.cse0 (select |v_#memory_int_1| 1))) (and (= 48 (select .cse0 0)) (= (select |v_#valid_1| 2) 1) (= v_~__return_60~0_2 0) (= (select |v_#valid_1| 0) 0) (< 0 |v_#StackHeapBarrier_1|) (= |v_#NULL.base_1| 0) (= 1 (select |v_#valid_1| 3)) (= (select |v_#length_1| 2) 28) (= 0 v_~__return_main~0_4) (= (select |v_#length_1| 3) 12) (= (select |v_#valid_1| 1) 1) (= 2 (select |v_#length_1| 1)) (= (select .cse0 1) 0) (= |v_#NULL.offset_1| 0))) InVars {#memory_int=|v_#memory_int_1|, #StackHeapBarrier=|v_#StackHeapBarrier_1|, #length=|v_#length_1|, #valid=|v_#valid_1|} OutVars{~__return_main~0=v_~__return_main~0_4, #StackHeapBarrier=|v_#StackHeapBarrier_1|, ~__return_60~0=v_~__return_60~0_2, #valid=|v_#valid_1|, #memory_int=|v_#memory_int_1|, #NULL.offset=|v_#NULL.offset_1|, #length=|v_#length_1|, #NULL.base=|v_#NULL.base_1|} AuxVars[] AssignedVars[~__return_main~0, ~__return_60~0, #NULL.offset, #NULL.base] {113#true} is VALID [2022-04-14 19:25:22,031 INFO L290 TraceCheckUtils]: 2: Hoare triple {113#true} [46] ULTIMATE.initFINAL-->ULTIMATE.initEXIT: Formula: true InVars {} OutVars{} AuxVars[] AssignedVars[] {113#true} is VALID [2022-04-14 19:25:22,031 INFO L284 TraceCheckUtils]: 3: Hoare quadruple {113#true} {113#true} [58] ULTIMATE.initEXIT-->L-1: AOR: Formula: true InVars {} OutVars{} AuxVars[] AssignedVars[] LVA: Formula: true InVars {} OutVars{} AuxVars[] AssignedVars[] {113#true} is VALID [2022-04-14 19:25:22,032 INFO L272 TraceCheckUtils]: 4: Hoare triple {113#true} [42] L-1-->mainENTRY: Formula: true InVars {} OutVars{} AuxVars[] AssignedVars[] {113#true} is VALID [2022-04-14 19:25:22,032 INFO L290 TraceCheckUtils]: 5: Hoare triple {113#true} [45] mainENTRY-->L19: Formula: (and (= |v_main_#t~nondet4_2| v_main_~main__n~0_5) (<= 0 (+ |v_main_#t~nondet4_2| 2147483648)) (<= |v_main_#t~nondet4_2| 2147483647)) InVars {main_#t~nondet4=|v_main_#t~nondet4_2|} OutVars{main_~main__n~0=v_main_~main__n~0_5, main_~main__sum~0=v_main_~main__sum~0_5, main_~main__i~0=v_main_~main__i~0_5} AuxVars[] AssignedVars[main_#t~nondet4, main_~main__n~0, main_~main__sum~0, main_~main__i~0] {113#true} is VALID [2022-04-14 19:25:22,032 INFO L290 TraceCheckUtils]: 6: Hoare triple {113#true} [48] L19-->L25: Formula: (<= 1 v_main_~main__n~0_9) InVars {main_~main__n~0=v_main_~main__n~0_9} OutVars{main_~main__n~0=v_main_~main__n~0_9} AuxVars[] AssignedVars[] {136#(<= 1 main_~main__n~0)} is VALID [2022-04-14 19:25:22,034 INFO L290 TraceCheckUtils]: 7: Hoare triple {136#(<= 1 main_~main__n~0)} [51] L25-->L38: Formula: (and (<= v_main_~main__n~0_2 1000) (= v_main_~main__i~0_1 1) (= v_main_~main__sum~0_1 0)) InVars {main_~main__n~0=v_main_~main__n~0_2} OutVars{main_~main__n~0=v_main_~main__n~0_2, main_~main__sum~0=v_main_~main__sum~0_1, main_~main__i~0=v_main_~main__i~0_1} AuxVars[] AssignedVars[main_~main__sum~0, main_~main__i~0] {140#(and (<= 1 main_~main__n~0) (= main_~main__sum~0 0) (= main_~main__i~0 1))} is VALID [2022-04-14 19:25:22,035 INFO L290 TraceCheckUtils]: 8: Hoare triple {140#(and (<= 1 main_~main__n~0) (= main_~main__sum~0 0) (= main_~main__i~0 1))} [52] L38-->L38: Formula: (let ((.cse1 (* (- 1) v_main_~main__i~0_3))) (or (and (= v_main_~main__i~0_3 v_main_~main__i~0_2) (= v_main_~main__sum~0_3 v_main_~main__sum~0_2) (< v_main_~main__n~0_3 v_main_~main__i~0_3)) (let ((.cse0 (div (+ .cse1 v_main_~main__i~0_2) 2))) (and (<= .cse0 (+ (div (+ (- 1) .cse1 v_main_~main__n~0_3) 2) 1)) (= (mod (+ v_main_~main__i~0_3 v_main_~main__i~0_2) 2) 0) (< 0 .cse0) (= (+ .cse0 v_main_~main__sum~0_2) (+ (* 2 (* .cse0 v_main_~main__i~0_3)) v_main_~main__sum~0_3 (* 2 (* .cse0 .cse0)))))) (let ((.cse2 (div (+ (- 1) .cse1 v_main_~main__i~0_2) 2))) (and (= (mod (+ v_main_~main__i~0_3 v_main_~main__i~0_2 1) 2) 0) (<= .cse2 (div (+ .cse1 v_main_~main__n~0_3) 2)) (<= 0 .cse2) (= v_main_~main__sum~0_2 (+ (* 2 (* .cse2 v_main_~main__i~0_3)) (* (* .cse2 .cse2) 2) v_main_~main__sum~0_3 .cse2 v_main_~main__i~0_3)))))) InVars {main_~main__n~0=v_main_~main__n~0_3, main_~main__sum~0=v_main_~main__sum~0_3, main_~main__i~0=v_main_~main__i~0_3} OutVars{main_~main__n~0=v_main_~main__n~0_3, main_~main__sum~0=v_main_~main__sum~0_2, main_~main__i~0=v_main_~main__i~0_2} AuxVars[] AssignedVars[main_~main__sum~0, main_~main__i~0] {144#(or (and (<= (div (+ (- 1) main_~main__i~0) 2) (+ (div (+ (- 2) main_~main__n~0) 2) 1)) (= (mod (+ main_~main__i~0 1) 2) 0) (= (+ (* (* (div (+ (- 1) main_~main__i~0) 2) (div (+ (- 1) main_~main__i~0) 2)) 2) (* 2 (div (+ (- 1) main_~main__i~0) 2))) (+ main_~main__sum~0 (div (+ (- 1) main_~main__i~0) 2))) (< 0 (div (+ (- 1) main_~main__i~0) 2))) (and (<= 0 (div (+ (- 2) main_~main__i~0) 2)) (= (mod main_~main__i~0 2) 0) (<= (div (+ (- 2) main_~main__i~0) 2) (div (+ (- 1) main_~main__n~0) 2)) (= main_~main__sum~0 (+ (* (div (+ (- 2) main_~main__i~0) 2) 3) (* 2 (* (div (+ (- 2) main_~main__i~0) 2) (div (+ (- 2) main_~main__i~0) 2))) 1))))} is VALID [2022-04-14 19:25:22,277 INFO L290 TraceCheckUtils]: 9: Hoare triple {144#(or (and (<= (div (+ (- 1) main_~main__i~0) 2) (+ (div (+ (- 2) main_~main__n~0) 2) 1)) (= (mod (+ main_~main__i~0 1) 2) 0) (= (+ (* (* (div (+ (- 1) main_~main__i~0) 2) (div (+ (- 1) main_~main__i~0) 2)) 2) (* 2 (div (+ (- 1) main_~main__i~0) 2))) (+ main_~main__sum~0 (div (+ (- 1) main_~main__i~0) 2))) (< 0 (div (+ (- 1) main_~main__i~0) 2))) (and (<= 0 (div (+ (- 2) main_~main__i~0) 2)) (= (mod main_~main__i~0 2) 0) (<= (div (+ (- 2) main_~main__i~0) 2) (div (+ (- 1) main_~main__n~0) 2)) (= main_~main__sum~0 (+ (* (div (+ (- 2) main_~main__i~0) 2) 3) (* 2 (* (div (+ (- 2) main_~main__i~0) 2) (div (+ (- 2) main_~main__i~0) 2))) 1))))} [53] L38-->L47: Formula: (and (not (<= v_main_~main__i~0_4 v_main_~main__n~0_4)) (= v_main_~__tmp_1~0_1 v_main_~__VERIFIER_assert__cond~0_1) (= (ite (= (* (+ v_main_~main__n~0_4 1) v_main_~main__n~0_4) (* 2 v_main_~main__sum~0_4)) 1 0) v_main_~__tmp_1~0_1)) InVars {main_~main__n~0=v_main_~main__n~0_4, main_~main__sum~0=v_main_~main__sum~0_4, main_~main__i~0=v_main_~main__i~0_4} OutVars{main_~__VERIFIER_assert__cond~0=v_main_~__VERIFIER_assert__cond~0_1, main_~main__n~0=v_main_~main__n~0_4, main_~main__sum~0=v_main_~main__sum~0_4, main_~__tmp_1~0=v_main_~__tmp_1~0_1, main_~main__i~0=v_main_~main__i~0_4} AuxVars[] AssignedVars[main_~__VERIFIER_assert__cond~0, main_~__tmp_1~0] {148#(<= 1 main_~__VERIFIER_assert__cond~0)} is VALID [2022-04-14 19:25:22,278 INFO L290 TraceCheckUtils]: 10: Hoare triple {148#(<= 1 main_~__VERIFIER_assert__cond~0)} [54] L47-->L49: Formula: (= v_main_~__VERIFIER_assert__cond~0_3 0) InVars {main_~__VERIFIER_assert__cond~0=v_main_~__VERIFIER_assert__cond~0_3} OutVars{main_~__VERIFIER_assert__cond~0=v_main_~__VERIFIER_assert__cond~0_3} AuxVars[] AssignedVars[] {114#false} is VALID [2022-04-14 19:25:22,278 INFO L290 TraceCheckUtils]: 11: Hoare triple {114#false} [56] L49-->mainErr0ASSERT_VIOLATIONERROR_FUNCTION: Formula: true InVars {} OutVars{} AuxVars[] AssignedVars[] {114#false} is VALID [2022-04-14 19:25:22,279 INFO L134 CoverageAnalysis]: Checked inductivity of 1 backedges. 0 proven. 1 refuted. 0 times theorem prover too weak. 0 trivial. 0 not checked. [2022-04-14 19:25:22,279 INFO L328 TraceCheckSpWp]: Computing backward predicates... [2022-04-14 19:28:11,485 INFO L290 TraceCheckUtils]: 11: Hoare triple {114#false} [56] L49-->mainErr0ASSERT_VIOLATIONERROR_FUNCTION: Formula: true InVars {} OutVars{} AuxVars[] AssignedVars[] {114#false} is VALID [2022-04-14 19:28:11,486 INFO L290 TraceCheckUtils]: 10: Hoare triple {148#(<= 1 main_~__VERIFIER_assert__cond~0)} [54] L47-->L49: Formula: (= v_main_~__VERIFIER_assert__cond~0_3 0) InVars {main_~__VERIFIER_assert__cond~0=v_main_~__VERIFIER_assert__cond~0_3} OutVars{main_~__VERIFIER_assert__cond~0=v_main_~__VERIFIER_assert__cond~0_3} AuxVars[] AssignedVars[] {114#false} is VALID [2022-04-14 19:28:11,486 INFO L290 TraceCheckUtils]: 9: Hoare triple {161#(or (= (* main_~main__sum~0 2) (+ (* main_~main__n~0 main_~main__n~0) main_~main__n~0)) (<= main_~main__i~0 main_~main__n~0))} [53] L38-->L47: Formula: (and (not (<= v_main_~main__i~0_4 v_main_~main__n~0_4)) (= v_main_~__tmp_1~0_1 v_main_~__VERIFIER_assert__cond~0_1) (= (ite (= (* (+ v_main_~main__n~0_4 1) v_main_~main__n~0_4) (* 2 v_main_~main__sum~0_4)) 1 0) v_main_~__tmp_1~0_1)) InVars {main_~main__n~0=v_main_~main__n~0_4, main_~main__sum~0=v_main_~main__sum~0_4, main_~main__i~0=v_main_~main__i~0_4} OutVars{main_~__VERIFIER_assert__cond~0=v_main_~__VERIFIER_assert__cond~0_1, main_~main__n~0=v_main_~main__n~0_4, main_~main__sum~0=v_main_~main__sum~0_4, main_~__tmp_1~0=v_main_~__tmp_1~0_1, main_~main__i~0=v_main_~main__i~0_4} AuxVars[] AssignedVars[main_~__VERIFIER_assert__cond~0, main_~__tmp_1~0] {148#(<= 1 main_~__VERIFIER_assert__cond~0)} is VALID [2022-04-14 19:28:13,492 WARN L290 TraceCheckUtils]: 8: Hoare triple {165#(and (or (= (* main_~main__sum~0 2) (+ (* main_~main__n~0 main_~main__n~0) main_~main__n~0)) (<= main_~main__i~0 main_~main__n~0)) (forall ((aux_div_v_main_~main__i~0_7_47 Int)) (or (<= (* aux_div_v_main_~main__i~0_7_47 2) (+ main_~main__n~0 main_~main__i~0)) (< (+ main_~main__i~0 (div (+ (- 1) (* (- 1) main_~main__i~0) main_~main__n~0) 2) 1) aux_div_v_main_~main__i~0_7_47) (= (+ (* 2 (div (+ (* aux_div_v_main_~main__i~0_7_47 2) (* (- 2) main_~main__i~0)) 2)) (* main_~main__n~0 main_~main__n~0) main_~main__n~0) (+ (* main_~main__sum~0 2) (* (* (div (+ (* aux_div_v_main_~main__i~0_7_47 2) (* (- 2) main_~main__i~0)) 2) (div (+ (* aux_div_v_main_~main__i~0_7_47 2) (* (- 2) main_~main__i~0)) 2)) 4) (* (* (div (+ (* aux_div_v_main_~main__i~0_7_47 2) (* (- 2) main_~main__i~0)) 2) main_~main__i~0) 4))) (<= aux_div_v_main_~main__i~0_7_47 main_~main__i~0))) (forall ((aux_div_aux_mod_v_main_~main__i~0_7_63_38 Int) (aux_div_v_main_~main__i~0_7_63 Int)) (or (<= (+ (* aux_div_v_main_~main__i~0_7_63 2) (* 2 aux_div_aux_mod_v_main_~main__i~0_7_63_38) main_~main__i~0 1) main_~main__n~0) (< aux_div_v_main_~main__i~0_7_63 0) (< (* 2 aux_div_aux_mod_v_main_~main__i~0_7_63_38) 0) (< (div (+ (* (- 1) main_~main__i~0) main_~main__n~0) 2) (+ aux_div_v_main_~main__i~0_7_63 aux_div_aux_mod_v_main_~main__i~0_7_63_38)) (= (+ (* main_~main__n~0 main_~main__n~0) main_~main__n~0) (+ (* main_~main__sum~0 2) (* 2 main_~main__i~0) (* (* (div (+ (* aux_div_v_main_~main__i~0_7_63 2) (* 2 aux_div_aux_mod_v_main_~main__i~0_7_63_38)) 2) main_~main__i~0) 4) (* (div (+ (* aux_div_v_main_~main__i~0_7_63 2) (* 2 aux_div_aux_mod_v_main_~main__i~0_7_63_38)) 2) 2) (* (* (div (+ (* aux_div_v_main_~main__i~0_7_63 2) (* 2 aux_div_aux_mod_v_main_~main__i~0_7_63_38)) 2) (div (+ (* aux_div_v_main_~main__i~0_7_63 2) (* 2 aux_div_aux_mod_v_main_~main__i~0_7_63_38)) 2)) 4))) (<= 2 (* 2 aux_div_aux_mod_v_main_~main__i~0_7_63_38)))))} [52] L38-->L38: Formula: (let ((.cse1 (* (- 1) v_main_~main__i~0_3))) (or (and (= v_main_~main__i~0_3 v_main_~main__i~0_2) (= v_main_~main__sum~0_3 v_main_~main__sum~0_2) (< v_main_~main__n~0_3 v_main_~main__i~0_3)) (let ((.cse0 (div (+ .cse1 v_main_~main__i~0_2) 2))) (and (<= .cse0 (+ (div (+ (- 1) .cse1 v_main_~main__n~0_3) 2) 1)) (= (mod (+ v_main_~main__i~0_3 v_main_~main__i~0_2) 2) 0) (< 0 .cse0) (= (+ .cse0 v_main_~main__sum~0_2) (+ (* 2 (* .cse0 v_main_~main__i~0_3)) v_main_~main__sum~0_3 (* 2 (* .cse0 .cse0)))))) (let ((.cse2 (div (+ (- 1) .cse1 v_main_~main__i~0_2) 2))) (and (= (mod (+ v_main_~main__i~0_3 v_main_~main__i~0_2 1) 2) 0) (<= .cse2 (div (+ .cse1 v_main_~main__n~0_3) 2)) (<= 0 .cse2) (= v_main_~main__sum~0_2 (+ (* 2 (* .cse2 v_main_~main__i~0_3)) (* (* .cse2 .cse2) 2) v_main_~main__sum~0_3 .cse2 v_main_~main__i~0_3)))))) InVars {main_~main__n~0=v_main_~main__n~0_3, main_~main__sum~0=v_main_~main__sum~0_3, main_~main__i~0=v_main_~main__i~0_3} OutVars{main_~main__n~0=v_main_~main__n~0_3, main_~main__sum~0=v_main_~main__sum~0_2, main_~main__i~0=v_main_~main__i~0_2} AuxVars[] AssignedVars[main_~main__sum~0, main_~main__i~0] {161#(or (= (* main_~main__sum~0 2) (+ (* main_~main__n~0 main_~main__n~0) main_~main__n~0)) (<= main_~main__i~0 main_~main__n~0))} is UNKNOWN [2022-04-14 19:28:13,994 INFO L290 TraceCheckUtils]: 7: Hoare triple {169#(or (= (+ (* main_~main__n~0 main_~main__n~0) main_~main__n~0) 0) (<= 1 main_~main__n~0))} [51] L25-->L38: Formula: (and (<= v_main_~main__n~0_2 1000) (= v_main_~main__i~0_1 1) (= v_main_~main__sum~0_1 0)) InVars {main_~main__n~0=v_main_~main__n~0_2} OutVars{main_~main__n~0=v_main_~main__n~0_2, main_~main__sum~0=v_main_~main__sum~0_1, main_~main__i~0=v_main_~main__i~0_1} AuxVars[] AssignedVars[main_~main__sum~0, main_~main__i~0] {165#(and (or (= (* main_~main__sum~0 2) (+ (* main_~main__n~0 main_~main__n~0) main_~main__n~0)) (<= main_~main__i~0 main_~main__n~0)) (forall ((aux_div_v_main_~main__i~0_7_47 Int)) (or (<= (* aux_div_v_main_~main__i~0_7_47 2) (+ main_~main__n~0 main_~main__i~0)) (< (+ main_~main__i~0 (div (+ (- 1) (* (- 1) main_~main__i~0) main_~main__n~0) 2) 1) aux_div_v_main_~main__i~0_7_47) (= (+ (* 2 (div (+ (* aux_div_v_main_~main__i~0_7_47 2) (* (- 2) main_~main__i~0)) 2)) (* main_~main__n~0 main_~main__n~0) main_~main__n~0) (+ (* main_~main__sum~0 2) (* (* (div (+ (* aux_div_v_main_~main__i~0_7_47 2) (* (- 2) main_~main__i~0)) 2) (div (+ (* aux_div_v_main_~main__i~0_7_47 2) (* (- 2) main_~main__i~0)) 2)) 4) (* (* (div (+ (* aux_div_v_main_~main__i~0_7_47 2) (* (- 2) main_~main__i~0)) 2) main_~main__i~0) 4))) (<= aux_div_v_main_~main__i~0_7_47 main_~main__i~0))) (forall ((aux_div_aux_mod_v_main_~main__i~0_7_63_38 Int) (aux_div_v_main_~main__i~0_7_63 Int)) (or (<= (+ (* aux_div_v_main_~main__i~0_7_63 2) (* 2 aux_div_aux_mod_v_main_~main__i~0_7_63_38) main_~main__i~0 1) main_~main__n~0) (< aux_div_v_main_~main__i~0_7_63 0) (< (* 2 aux_div_aux_mod_v_main_~main__i~0_7_63_38) 0) (< (div (+ (* (- 1) main_~main__i~0) main_~main__n~0) 2) (+ aux_div_v_main_~main__i~0_7_63 aux_div_aux_mod_v_main_~main__i~0_7_63_38)) (= (+ (* main_~main__n~0 main_~main__n~0) main_~main__n~0) (+ (* main_~main__sum~0 2) (* 2 main_~main__i~0) (* (* (div (+ (* aux_div_v_main_~main__i~0_7_63 2) (* 2 aux_div_aux_mod_v_main_~main__i~0_7_63_38)) 2) main_~main__i~0) 4) (* (div (+ (* aux_div_v_main_~main__i~0_7_63 2) (* 2 aux_div_aux_mod_v_main_~main__i~0_7_63_38)) 2) 2) (* (* (div (+ (* aux_div_v_main_~main__i~0_7_63 2) (* 2 aux_div_aux_mod_v_main_~main__i~0_7_63_38)) 2) (div (+ (* aux_div_v_main_~main__i~0_7_63 2) (* 2 aux_div_aux_mod_v_main_~main__i~0_7_63_38)) 2)) 4))) (<= 2 (* 2 aux_div_aux_mod_v_main_~main__i~0_7_63_38)))))} is VALID [2022-04-14 19:28:13,995 INFO L290 TraceCheckUtils]: 6: Hoare triple {113#true} [48] L19-->L25: Formula: (<= 1 v_main_~main__n~0_9) InVars {main_~main__n~0=v_main_~main__n~0_9} OutVars{main_~main__n~0=v_main_~main__n~0_9} AuxVars[] AssignedVars[] {169#(or (= (+ (* main_~main__n~0 main_~main__n~0) main_~main__n~0) 0) (<= 1 main_~main__n~0))} is VALID [2022-04-14 19:28:13,995 INFO L290 TraceCheckUtils]: 5: Hoare triple {113#true} [45] mainENTRY-->L19: Formula: (and (= |v_main_#t~nondet4_2| v_main_~main__n~0_5) (<= 0 (+ |v_main_#t~nondet4_2| 2147483648)) (<= |v_main_#t~nondet4_2| 2147483647)) InVars {main_#t~nondet4=|v_main_#t~nondet4_2|} OutVars{main_~main__n~0=v_main_~main__n~0_5, main_~main__sum~0=v_main_~main__sum~0_5, main_~main__i~0=v_main_~main__i~0_5} AuxVars[] AssignedVars[main_#t~nondet4, main_~main__n~0, main_~main__sum~0, main_~main__i~0] {113#true} is VALID [2022-04-14 19:28:13,995 INFO L272 TraceCheckUtils]: 4: Hoare triple {113#true} [42] L-1-->mainENTRY: Formula: true InVars {} OutVars{} AuxVars[] AssignedVars[] {113#true} is VALID [2022-04-14 19:28:13,995 INFO L284 TraceCheckUtils]: 3: Hoare quadruple {113#true} {113#true} [58] ULTIMATE.initEXIT-->L-1: AOR: Formula: true InVars {} OutVars{} AuxVars[] AssignedVars[] LVA: Formula: true InVars {} OutVars{} AuxVars[] AssignedVars[] {113#true} is VALID [2022-04-14 19:28:13,995 INFO L290 TraceCheckUtils]: 2: Hoare triple {113#true} [46] ULTIMATE.initFINAL-->ULTIMATE.initEXIT: Formula: true InVars {} OutVars{} AuxVars[] AssignedVars[] {113#true} is VALID [2022-04-14 19:28:13,996 INFO L290 TraceCheckUtils]: 1: Hoare triple {113#true} [43] ULTIMATE.initENTRY-->ULTIMATE.initFINAL: Formula: (let ((.cse0 (select |v_#memory_int_1| 1))) (and (= 48 (select .cse0 0)) (= (select |v_#valid_1| 2) 1) (= v_~__return_60~0_2 0) (= (select |v_#valid_1| 0) 0) (< 0 |v_#StackHeapBarrier_1|) (= |v_#NULL.base_1| 0) (= 1 (select |v_#valid_1| 3)) (= (select |v_#length_1| 2) 28) (= 0 v_~__return_main~0_4) (= (select |v_#length_1| 3) 12) (= (select |v_#valid_1| 1) 1) (= 2 (select |v_#length_1| 1)) (= (select .cse0 1) 0) (= |v_#NULL.offset_1| 0))) InVars {#memory_int=|v_#memory_int_1|, #StackHeapBarrier=|v_#StackHeapBarrier_1|, #length=|v_#length_1|, #valid=|v_#valid_1|} OutVars{~__return_main~0=v_~__return_main~0_4, #StackHeapBarrier=|v_#StackHeapBarrier_1|, ~__return_60~0=v_~__return_60~0_2, #valid=|v_#valid_1|, #memory_int=|v_#memory_int_1|, #NULL.offset=|v_#NULL.offset_1|, #length=|v_#length_1|, #NULL.base=|v_#NULL.base_1|} AuxVars[] AssignedVars[~__return_main~0, ~__return_60~0, #NULL.offset, #NULL.base] {113#true} is VALID [2022-04-14 19:28:13,996 INFO L272 TraceCheckUtils]: 0: Hoare triple {113#true} [41] ULTIMATE.startENTRY-->ULTIMATE.initENTRY: Formula: true InVars {} OutVars{} AuxVars[] AssignedVars[] {113#true} is VALID [2022-04-14 19:28:13,996 INFO L134 CoverageAnalysis]: Checked inductivity of 1 backedges. 0 proven. 1 refuted. 0 times theorem prover too weak. 0 trivial. 0 not checked. [2022-04-14 19:28:13,996 INFO L136 FreeRefinementEngine]: Strategy CAMEL found an infeasible trace [2022-04-14 19:28:13,996 INFO L333 FreeRefinementEngine]: Using interpolant generator IpTcStrategyModuleSmtInterpolCraig [368096722] [2022-04-14 19:28:13,996 WARN L310 FreeRefinementEngine]: Interpolation failed due to KNOWN_IGNORE: SMT_SOLVER_CANNOT_INTERPOLATE_INPUT [2022-04-14 19:28:13,996 INFO L333 FreeRefinementEngine]: Using interpolant generator IpTcStrategyModuleZ3 [1458048257] [2022-04-14 19:28:13,996 INFO L157 FreeRefinementEngine]: IpTcStrategyModuleZ3 [1458048257] provided 0 perfect and 2 imperfect interpolant sequences [2022-04-14 19:28:13,997 INFO L184 FreeRefinementEngine]: Found 0 perfect and 2 imperfect interpolant sequences. [2022-04-14 19:28:13,997 INFO L197 FreeRefinementEngine]: Number of different interpolants: perfect sequences [] imperfect sequences [6, 6] total 9 [2022-04-14 19:28:13,997 INFO L121 tionRefinementEngine]: Using interpolant automaton builder IpAbStrategyModuleStraightlineAll [7832691] [2022-04-14 19:28:13,997 INFO L85 oduleStraightlineAll]: Using 2 imperfect interpolants to construct interpolant automaton [2022-04-14 19:28:13,997 INFO L78 Accepts]: Start accepts. Automaton has has 9 states, 9 states have (on average 1.4444444444444444) internal successors, (13), 9 states have internal predecessors, (13), 1 states have call successors, (2), 1 states have call predecessors, (2), 1 states have return successors, (1), 1 states have call predecessors, (1), 1 states have call successors, (1) Word has length 12 [2022-04-14 19:28:13,998 INFO L84 Accepts]: Finished accepts. word is accepted. [2022-04-14 19:28:13,998 INFO L86 InductivityCheck]: Starting inductivity check of a Floyd-Hoare automaton with has 9 states, 9 states have (on average 1.4444444444444444) internal successors, (13), 9 states have internal predecessors, (13), 1 states have call successors, (2), 1 states have call predecessors, (2), 1 states have return successors, (1), 1 states have call predecessors, (1), 1 states have call successors, (1) [2022-04-14 19:28:17,073 INFO L122 InductivityCheck]: Floyd-Hoare automaton has 16 edges. 15 inductive. 0 not inductive. 1 times theorem prover too weak to decide inductivity. [2022-04-14 19:28:17,073 INFO L554 AbstractCegarLoop]: INTERPOLANT automaton has 9 states [2022-04-14 19:28:17,074 INFO L100 FreeRefinementEngine]: Using predicate unifier PredicateUnifier provided by strategy CAMEL [2022-04-14 19:28:17,074 INFO L143 InterpolantAutomaton]: Constructing interpolant automaton starting with 9 interpolants. [2022-04-14 19:28:17,074 INFO L145 InterpolantAutomaton]: CoverageRelationStatistics Valid=24, Invalid=47, Unknown=1, NotChecked=0, Total=72 [2022-04-14 19:28:17,084 INFO L87 Difference]: Start difference. First operand 13 states and 13 transitions. Second operand has 9 states, 9 states have (on average 1.4444444444444444) internal successors, (13), 9 states have internal predecessors, (13), 1 states have call successors, (2), 1 states have call predecessors, (2), 1 states have return successors, (1), 1 states have call predecessors, (1), 1 states have call successors, (1) [2022-04-14 19:28:19,168 WARN L534 Checker$ProtectedHtc]: IncrementalHoareTripleChecker took 2.00s for a HTC check with result UNKNOWN. Formula has sorts [Bool, Int], hasArrays=false, hasNonlinArith=true, quantifiers [] [2022-04-14 19:28:21,211 WARN L534 Checker$ProtectedHtc]: IncrementalHoareTripleChecker took 2.00s for a HTC check with result UNKNOWN. Formula has sorts [Bool, Int], hasArrays=false, hasNonlinArith=true, quantifiers [] [2022-04-14 19:28:24,482 INFO L144 Difference]: Subtrahend was deterministic. Have not used determinization. [2022-04-14 19:28:24,482 INFO L93 Difference]: Finished difference Result 15 states and 15 transitions. [2022-04-14 19:28:24,482 INFO L141 InterpolantAutomaton]: Switched to read-only mode: deterministic interpolant automaton has 6 states. [2022-04-14 19:28:24,482 INFO L78 Accepts]: Start accepts. Automaton has has 9 states, 9 states have (on average 1.4444444444444444) internal successors, (13), 9 states have internal predecessors, (13), 1 states have call successors, (2), 1 states have call predecessors, (2), 1 states have return successors, (1), 1 states have call predecessors, (1), 1 states have call successors, (1) Word has length 12 [2022-04-14 19:28:24,483 INFO L84 Accepts]: Finished accepts. some prefix is accepted. [2022-04-14 19:28:24,483 INFO L82 GeneralOperation]: Start removeUnreachable. Operand has 9 states, 9 states have (on average 1.4444444444444444) internal successors, (13), 9 states have internal predecessors, (13), 1 states have call successors, (2), 1 states have call predecessors, (2), 1 states have return successors, (1), 1 states have call predecessors, (1), 1 states have call successors, (1) [2022-04-14 19:28:24,484 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 6 states to 6 states and 16 transitions. [2022-04-14 19:28:24,484 INFO L82 GeneralOperation]: Start removeUnreachable. Operand has 9 states, 9 states have (on average 1.4444444444444444) internal successors, (13), 9 states have internal predecessors, (13), 1 states have call successors, (2), 1 states have call predecessors, (2), 1 states have return successors, (1), 1 states have call predecessors, (1), 1 states have call successors, (1) [2022-04-14 19:28:24,484 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 6 states to 6 states and 16 transitions. [2022-04-14 19:28:24,484 INFO L86 InductivityCheck]: Starting inductivity check of a Floyd-Hoare automaton with 6 states and 16 transitions. [2022-04-14 19:28:25,455 INFO L122 InductivityCheck]: Floyd-Hoare automaton has 16 edges. 16 inductive. 0 not inductive. 0 times theorem prover too weak to decide inductivity. [2022-04-14 19:28:25,455 INFO L225 Difference]: With dead ends: 15 [2022-04-14 19:28:25,455 INFO L226 Difference]: Without dead ends: 14 [2022-04-14 19:28:25,456 INFO L912 BasicCegarLoop]: 0 DeclaredPredicates, 24 GetRequests, 15 SyntacticMatches, 1 SemanticMatches, 8 ConstructedPredicates, 0 IntricatePredicates, 0 DeprecatedPredicates, 13 ImplicationChecksByTransitivity, 6.1s TimeCoverageRelationStatistics Valid=31, Invalid=57, Unknown=2, NotChecked=0, Total=90 [2022-04-14 19:28:25,456 INFO L913 BasicCegarLoop]: 9 mSDtfsCounter, 8 mSDsluCounter, 27 mSDsCounter, 0 mSdLazyCounter, 19 mSolverCounterSat, 3 mSolverCounterUnsat, 2 mSolverCounterUnknown, 0 mSolverCounterNotChecked, 4.2s Time, 0 mProtectedPredicate, 0 mProtectedAction, 8 SdHoareTripleChecker+Valid, 36 SdHoareTripleChecker+Invalid, 26 SdHoareTripleChecker+Unknown, 0 SdHoareTripleChecker+Unchecked, 0.0s SdHoareTripleChecker+Time, 3 IncrementalHoareTripleChecker+Valid, 19 IncrementalHoareTripleChecker+Invalid, 2 IncrementalHoareTripleChecker+Unknown, 2 IncrementalHoareTripleChecker+Unchecked, 4.2s IncrementalHoareTripleChecker+Time [2022-04-14 19:28:25,457 INFO L914 BasicCegarLoop]: SdHoareTripleChecker [8 Valid, 36 Invalid, 26 Unknown, 0 Unchecked, 0.0s Time], IncrementalHoareTripleChecker [3 Valid, 19 Invalid, 2 Unknown, 2 Unchecked, 4.2s Time] [2022-04-14 19:28:25,457 INFO L82 GeneralOperation]: Start minimizeSevpa. Operand 14 states. [2022-04-14 19:28:25,458 INFO L88 GeneralOperation]: Finished minimizeSevpa. Reduced states from 14 to 14. [2022-04-14 19:28:25,458 INFO L214 AbstractMinimizeNwa]: Start testing correctness of minimizeSevpa [2022-04-14 19:28:25,458 INFO L82 GeneralOperation]: Start isEquivalent. First operand 14 states. Second operand has 14 states, 10 states have (on average 1.1) internal successors, (11), 10 states have internal predecessors, (11), 2 states have call successors, (2), 2 states have call predecessors, (2), 1 states have return successors, (1), 1 states have call predecessors, (1), 1 states have call successors, (1) [2022-04-14 19:28:25,458 INFO L74 IsIncluded]: Start isIncluded. First operand 14 states. Second operand has 14 states, 10 states have (on average 1.1) internal successors, (11), 10 states have internal predecessors, (11), 2 states have call successors, (2), 2 states have call predecessors, (2), 1 states have return successors, (1), 1 states have call predecessors, (1), 1 states have call successors, (1) [2022-04-14 19:28:25,459 INFO L87 Difference]: Start difference. First operand 14 states. Second operand has 14 states, 10 states have (on average 1.1) internal successors, (11), 10 states have internal predecessors, (11), 2 states have call successors, (2), 2 states have call predecessors, (2), 1 states have return successors, (1), 1 states have call predecessors, (1), 1 states have call successors, (1) [2022-04-14 19:28:25,459 INFO L144 Difference]: Subtrahend was deterministic. Have not used determinization. [2022-04-14 19:28:25,459 INFO L93 Difference]: Finished difference Result 14 states and 14 transitions. [2022-04-14 19:28:25,459 INFO L276 IsEmpty]: Start isEmpty. Operand 14 states and 14 transitions. [2022-04-14 19:28:25,460 INFO L282 IsEmpty]: Finished isEmpty. No accepting run. [2022-04-14 19:28:25,460 INFO L83 IsIncluded]: Finished isIncluded. Language is included [2022-04-14 19:28:25,460 INFO L74 IsIncluded]: Start isIncluded. First operand has 14 states, 10 states have (on average 1.1) internal successors, (11), 10 states have internal predecessors, (11), 2 states have call successors, (2), 2 states have call predecessors, (2), 1 states have return successors, (1), 1 states have call predecessors, (1), 1 states have call successors, (1) Second operand 14 states. [2022-04-14 19:28:25,460 INFO L87 Difference]: Start difference. First operand has 14 states, 10 states have (on average 1.1) internal successors, (11), 10 states have internal predecessors, (11), 2 states have call successors, (2), 2 states have call predecessors, (2), 1 states have return successors, (1), 1 states have call predecessors, (1), 1 states have call successors, (1) Second operand 14 states. [2022-04-14 19:28:25,463 INFO L144 Difference]: Subtrahend was deterministic. Have not used determinization. [2022-04-14 19:28:25,464 INFO L93 Difference]: Finished difference Result 14 states and 14 transitions. [2022-04-14 19:28:25,464 INFO L276 IsEmpty]: Start isEmpty. Operand 14 states and 14 transitions. [2022-04-14 19:28:25,464 INFO L282 IsEmpty]: Finished isEmpty. No accepting run. [2022-04-14 19:28:25,464 INFO L83 IsIncluded]: Finished isIncluded. Language is included [2022-04-14 19:28:25,464 INFO L88 GeneralOperation]: Finished isEquivalent. [2022-04-14 19:28:25,464 INFO L221 AbstractMinimizeNwa]: Finished testing correctness of minimizeSevpa [2022-04-14 19:28:25,464 INFO L82 GeneralOperation]: Start removeUnreachable. Operand has 14 states, 10 states have (on average 1.1) internal successors, (11), 10 states have internal predecessors, (11), 2 states have call successors, (2), 2 states have call predecessors, (2), 1 states have return successors, (1), 1 states have call predecessors, (1), 1 states have call successors, (1) [2022-04-14 19:28:25,465 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 14 states to 14 states and 14 transitions. [2022-04-14 19:28:25,465 INFO L78 Accepts]: Start accepts. Automaton has 14 states and 14 transitions. Word has length 12 [2022-04-14 19:28:25,465 INFO L84 Accepts]: Finished accepts. word is rejected. [2022-04-14 19:28:25,465 INFO L478 AbstractCegarLoop]: Abstraction has 14 states and 14 transitions. [2022-04-14 19:28:25,465 INFO L479 AbstractCegarLoop]: INTERPOLANT automaton has has 9 states, 9 states have (on average 1.4444444444444444) internal successors, (13), 9 states have internal predecessors, (13), 1 states have call successors, (2), 1 states have call predecessors, (2), 1 states have return successors, (1), 1 states have call predecessors, (1), 1 states have call successors, (1) [2022-04-14 19:28:25,465 INFO L276 IsEmpty]: Start isEmpty. Operand 14 states and 14 transitions. [2022-04-14 19:28:25,466 INFO L282 IsEmpty]: Finished isEmpty. Found accepting run of length 14 [2022-04-14 19:28:25,466 INFO L491 BasicCegarLoop]: Found error trace [2022-04-14 19:28:25,466 INFO L499 BasicCegarLoop]: trace histogram [2, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1] [2022-04-14 19:28:25,479 INFO L552 MonitoredProcess]: [MP /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/z3 -smt2 -in SMTLIB2_COMPLIANT=true (3)] Ended with exit code 0 [2022-04-14 19:28:25,666 WARN L460 AbstractCegarLoop]: Destroyed unattended storables created during the last iteration: 3 /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/z3 -smt2 -in SMTLIB2_COMPLIANT=true,SelfDestructingSolverStorable1 [2022-04-14 19:28:25,666 INFO L403 AbstractCegarLoop]: === Iteration 3 === Targeting mainErr0ASSERT_VIOLATIONERROR_FUNCTION === [mainErr0ASSERT_VIOLATIONERROR_FUNCTION] === [2022-04-14 19:28:25,667 INFO L144 PredicateUnifier]: Initialized classic predicate unifier [2022-04-14 19:28:25,667 INFO L85 PathProgramCache]: Analyzing trace with hash 1415769954, now seen corresponding path program 2 times [2022-04-14 19:28:25,667 INFO L118 FreeRefinementEngine]: Executing refinement strategy CAMEL [2022-04-14 19:28:25,667 INFO L333 FreeRefinementEngine]: Using trace check IpTcStrategyModuleSmtInterpolCraig [38817033] [2022-04-14 19:28:25,667 INFO L95 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2022-04-14 19:28:25,667 INFO L127 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout -1 ms and remaining time -1 ms [2022-04-14 19:28:25,683 ERROR L245 FreeRefinementEngine]: Caught known exception: Unsupported non-linear arithmetic [2022-04-14 19:28:25,683 INFO L333 FreeRefinementEngine]: Using trace check IpTcStrategyModuleZ3 [1940081569] [2022-04-14 19:28:25,683 INFO L93 rtionOrderModulation]: Changing assertion order to OUTSIDE_LOOP_FIRST1 [2022-04-14 19:28:25,683 INFO L173 SolverBuilder]: Constructing external solver with command: z3 -smt2 -in SMTLIB2_COMPLIANT=true [2022-04-14 19:28:25,684 INFO L189 MonitoredProcess]: No working directory specified, using /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/z3 [2022-04-14 19:28:25,687 INFO L229 MonitoredProcess]: Starting monitored process 4 with /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/z3 -smt2 -in SMTLIB2_COMPLIANT=true (exit command is (exit), workingDir is null) [2022-04-14 19:28:25,687 INFO L327 MonitoredProcess]: [MP /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/z3 -smt2 -in SMTLIB2_COMPLIANT=true (4)] Waiting until timeout for monitored process [2022-04-14 19:28:27,126 INFO L228 tOrderPrioritization]: Assert order OUTSIDE_LOOP_FIRST1 issued 2 check-sat command(s) [2022-04-14 19:28:27,126 INFO L229 tOrderPrioritization]: Conjunction of SSA is unsat [2022-04-14 19:28:27,129 INFO L263 TraceCheckSpWp]: Trace formula consists of 73 conjuncts, 11 conjunts are in the unsatisfiable core [2022-04-14 19:28:29,151 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unknown [2022-04-14 19:28:29,155 INFO L286 TraceCheckSpWp]: Computing forward predicates... [2022-04-14 19:30:40,693 INFO L272 TraceCheckUtils]: 0: Hoare triple {252#true} [41] ULTIMATE.startENTRY-->ULTIMATE.initENTRY: Formula: true InVars {} OutVars{} AuxVars[] AssignedVars[] {252#true} is VALID [2022-04-14 19:30:40,694 INFO L290 TraceCheckUtils]: 1: Hoare triple {252#true} [43] ULTIMATE.initENTRY-->ULTIMATE.initFINAL: Formula: (let ((.cse0 (select |v_#memory_int_1| 1))) (and (= 48 (select .cse0 0)) (= (select |v_#valid_1| 2) 1) (= v_~__return_60~0_2 0) (= (select |v_#valid_1| 0) 0) (< 0 |v_#StackHeapBarrier_1|) (= |v_#NULL.base_1| 0) (= 1 (select |v_#valid_1| 3)) (= (select |v_#length_1| 2) 28) (= 0 v_~__return_main~0_4) (= (select |v_#length_1| 3) 12) (= (select |v_#valid_1| 1) 1) (= 2 (select |v_#length_1| 1)) (= (select .cse0 1) 0) (= |v_#NULL.offset_1| 0))) InVars {#memory_int=|v_#memory_int_1|, #StackHeapBarrier=|v_#StackHeapBarrier_1|, #length=|v_#length_1|, #valid=|v_#valid_1|} OutVars{~__return_main~0=v_~__return_main~0_4, #StackHeapBarrier=|v_#StackHeapBarrier_1|, ~__return_60~0=v_~__return_60~0_2, #valid=|v_#valid_1|, #memory_int=|v_#memory_int_1|, #NULL.offset=|v_#NULL.offset_1|, #length=|v_#length_1|, #NULL.base=|v_#NULL.base_1|} AuxVars[] AssignedVars[~__return_main~0, ~__return_60~0, #NULL.offset, #NULL.base] {252#true} is VALID [2022-04-14 19:30:40,694 INFO L290 TraceCheckUtils]: 2: Hoare triple {252#true} [46] ULTIMATE.initFINAL-->ULTIMATE.initEXIT: Formula: true InVars {} OutVars{} AuxVars[] AssignedVars[] {252#true} is VALID [2022-04-14 19:30:40,694 INFO L284 TraceCheckUtils]: 3: Hoare quadruple {252#true} {252#true} [58] ULTIMATE.initEXIT-->L-1: AOR: Formula: true InVars {} OutVars{} AuxVars[] AssignedVars[] LVA: Formula: true InVars {} OutVars{} AuxVars[] AssignedVars[] {252#true} is VALID [2022-04-14 19:30:40,694 INFO L272 TraceCheckUtils]: 4: Hoare triple {252#true} [42] L-1-->mainENTRY: Formula: true InVars {} OutVars{} AuxVars[] AssignedVars[] {252#true} is VALID [2022-04-14 19:30:40,694 INFO L290 TraceCheckUtils]: 5: Hoare triple {252#true} [45] mainENTRY-->L19: Formula: (and (= |v_main_#t~nondet4_2| v_main_~main__n~0_5) (<= 0 (+ |v_main_#t~nondet4_2| 2147483648)) (<= |v_main_#t~nondet4_2| 2147483647)) InVars {main_#t~nondet4=|v_main_#t~nondet4_2|} OutVars{main_~main__n~0=v_main_~main__n~0_5, main_~main__sum~0=v_main_~main__sum~0_5, main_~main__i~0=v_main_~main__i~0_5} AuxVars[] AssignedVars[main_#t~nondet4, main_~main__n~0, main_~main__sum~0, main_~main__i~0] {252#true} is VALID [2022-04-14 19:30:40,695 INFO L290 TraceCheckUtils]: 6: Hoare triple {252#true} [48] L19-->L25: Formula: (<= 1 v_main_~main__n~0_9) InVars {main_~main__n~0=v_main_~main__n~0_9} OutVars{main_~main__n~0=v_main_~main__n~0_9} AuxVars[] AssignedVars[] {275#(<= 1 main_~main__n~0)} is VALID [2022-04-14 19:30:40,696 INFO L290 TraceCheckUtils]: 7: Hoare triple {275#(<= 1 main_~main__n~0)} [51] L25-->L38: Formula: (and (<= v_main_~main__n~0_2 1000) (= v_main_~main__i~0_1 1) (= v_main_~main__sum~0_1 0)) InVars {main_~main__n~0=v_main_~main__n~0_2} OutVars{main_~main__n~0=v_main_~main__n~0_2, main_~main__sum~0=v_main_~main__sum~0_1, main_~main__i~0=v_main_~main__i~0_1} AuxVars[] AssignedVars[main_~main__sum~0, main_~main__i~0] {279#(and (<= 1 main_~main__n~0) (= main_~main__sum~0 0) (= main_~main__i~0 1))} is VALID [2022-04-14 19:30:40,697 INFO L290 TraceCheckUtils]: 8: Hoare triple {279#(and (<= 1 main_~main__n~0) (= main_~main__sum~0 0) (= main_~main__i~0 1))} [52] L38-->L38: Formula: (let ((.cse1 (* (- 1) v_main_~main__i~0_3))) (or (and (= v_main_~main__i~0_3 v_main_~main__i~0_2) (= v_main_~main__sum~0_3 v_main_~main__sum~0_2) (< v_main_~main__n~0_3 v_main_~main__i~0_3)) (let ((.cse0 (div (+ .cse1 v_main_~main__i~0_2) 2))) (and (<= .cse0 (+ (div (+ (- 1) .cse1 v_main_~main__n~0_3) 2) 1)) (= (mod (+ v_main_~main__i~0_3 v_main_~main__i~0_2) 2) 0) (< 0 .cse0) (= (+ .cse0 v_main_~main__sum~0_2) (+ (* 2 (* .cse0 v_main_~main__i~0_3)) v_main_~main__sum~0_3 (* 2 (* .cse0 .cse0)))))) (let ((.cse2 (div (+ (- 1) .cse1 v_main_~main__i~0_2) 2))) (and (= (mod (+ v_main_~main__i~0_3 v_main_~main__i~0_2 1) 2) 0) (<= .cse2 (div (+ .cse1 v_main_~main__n~0_3) 2)) (<= 0 .cse2) (= v_main_~main__sum~0_2 (+ (* 2 (* .cse2 v_main_~main__i~0_3)) (* (* .cse2 .cse2) 2) v_main_~main__sum~0_3 .cse2 v_main_~main__i~0_3)))))) InVars {main_~main__n~0=v_main_~main__n~0_3, main_~main__sum~0=v_main_~main__sum~0_3, main_~main__i~0=v_main_~main__i~0_3} OutVars{main_~main__n~0=v_main_~main__n~0_3, main_~main__sum~0=v_main_~main__sum~0_2, main_~main__i~0=v_main_~main__i~0_2} AuxVars[] AssignedVars[main_~main__sum~0, main_~main__i~0] {283#(or (and (<= (div (+ (- 1) main_~main__i~0) 2) (+ (div (+ (- 2) main_~main__n~0) 2) 1)) (= (mod (+ main_~main__i~0 1) 2) 0) (= (+ (* (* (div (+ (- 1) main_~main__i~0) 2) (div (+ (- 1) main_~main__i~0) 2)) 2) (* 2 (div (+ (- 1) main_~main__i~0) 2))) (+ main_~main__sum~0 (div (+ (- 1) main_~main__i~0) 2))) (< 0 (div (+ (- 1) main_~main__i~0) 2))) (and (<= 0 (div (+ (- 2) main_~main__i~0) 2)) (= (mod main_~main__i~0 2) 0) (<= (div (+ (- 2) main_~main__i~0) 2) (div (+ (- 1) main_~main__n~0) 2)) (= main_~main__sum~0 (+ (* (div (+ (- 2) main_~main__i~0) 2) 3) (* 2 (* (div (+ (- 2) main_~main__i~0) 2) (div (+ (- 2) main_~main__i~0) 2))) 1))))} is VALID [2022-04-14 19:30:42,716 WARN L290 TraceCheckUtils]: 9: Hoare triple {283#(or (and (<= (div (+ (- 1) main_~main__i~0) 2) (+ (div (+ (- 2) main_~main__n~0) 2) 1)) (= (mod (+ main_~main__i~0 1) 2) 0) (= (+ (* (* (div (+ (- 1) main_~main__i~0) 2) (div (+ (- 1) main_~main__i~0) 2)) 2) (* 2 (div (+ (- 1) main_~main__i~0) 2))) (+ main_~main__sum~0 (div (+ (- 1) main_~main__i~0) 2))) (< 0 (div (+ (- 1) main_~main__i~0) 2))) (and (<= 0 (div (+ (- 2) main_~main__i~0) 2)) (= (mod main_~main__i~0 2) 0) (<= (div (+ (- 2) main_~main__i~0) 2) (div (+ (- 1) main_~main__n~0) 2)) (= main_~main__sum~0 (+ (* (div (+ (- 2) main_~main__i~0) 2) 3) (* 2 (* (div (+ (- 2) main_~main__i~0) 2) (div (+ (- 2) main_~main__i~0) 2))) 1))))} [52] L38-->L38: Formula: (let ((.cse1 (* (- 1) v_main_~main__i~0_3))) (or (and (= v_main_~main__i~0_3 v_main_~main__i~0_2) (= v_main_~main__sum~0_3 v_main_~main__sum~0_2) (< v_main_~main__n~0_3 v_main_~main__i~0_3)) (let ((.cse0 (div (+ .cse1 v_main_~main__i~0_2) 2))) (and (<= .cse0 (+ (div (+ (- 1) .cse1 v_main_~main__n~0_3) 2) 1)) (= (mod (+ v_main_~main__i~0_3 v_main_~main__i~0_2) 2) 0) (< 0 .cse0) (= (+ .cse0 v_main_~main__sum~0_2) (+ (* 2 (* .cse0 v_main_~main__i~0_3)) v_main_~main__sum~0_3 (* 2 (* .cse0 .cse0)))))) (let ((.cse2 (div (+ (- 1) .cse1 v_main_~main__i~0_2) 2))) (and (= (mod (+ v_main_~main__i~0_3 v_main_~main__i~0_2 1) 2) 0) (<= .cse2 (div (+ .cse1 v_main_~main__n~0_3) 2)) (<= 0 .cse2) (= v_main_~main__sum~0_2 (+ (* 2 (* .cse2 v_main_~main__i~0_3)) (* (* .cse2 .cse2) 2) v_main_~main__sum~0_3 .cse2 v_main_~main__i~0_3)))))) InVars {main_~main__n~0=v_main_~main__n~0_3, main_~main__sum~0=v_main_~main__sum~0_3, main_~main__i~0=v_main_~main__i~0_3} OutVars{main_~main__n~0=v_main_~main__n~0_3, main_~main__sum~0=v_main_~main__sum~0_2, main_~main__i~0=v_main_~main__i~0_2} AuxVars[] AssignedVars[main_~main__sum~0, main_~main__i~0] {287#(or (exists ((aux_div_v_main_~main__i~0_10_34 Int)) (and (< 1 aux_div_v_main_~main__i~0_10_34) (or (and (= main_~main__sum~0 (+ (* 2 (* (div (+ (- 2) (* 2 aux_div_v_main_~main__i~0_10_34)) 2) (div (+ (- 2) (* 2 aux_div_v_main_~main__i~0_10_34)) 2))) (div (+ (- 2) (* 2 aux_div_v_main_~main__i~0_10_34)) 2))) (< (+ main_~main__n~0 1) (* 2 aux_div_v_main_~main__i~0_10_34)) (= (+ main_~main__i~0 1) (* 2 aux_div_v_main_~main__i~0_10_34))) (and (<= (div (+ (* (- 2) aux_div_v_main_~main__i~0_10_34) main_~main__i~0 1) 2) (+ (div (+ (* (- 2) aux_div_v_main_~main__i~0_10_34) main_~main__n~0) 2) 1)) (= (mod (+ main_~main__i~0 1) 2) 0) (= (+ (* 3 (div (+ (* (- 2) aux_div_v_main_~main__i~0_10_34) main_~main__i~0 1) 2)) main_~main__sum~0) (+ (* 2 (* (div (+ (* (- 2) aux_div_v_main_~main__i~0_10_34) main_~main__i~0 1) 2) (div (+ (* (- 2) aux_div_v_main_~main__i~0_10_34) main_~main__i~0 1) 2))) (* 2 (* (div (+ (- 2) (* 2 aux_div_v_main_~main__i~0_10_34)) 2) (div (+ (- 2) (* 2 aux_div_v_main_~main__i~0_10_34)) 2))) (* (* aux_div_v_main_~main__i~0_10_34 (div (+ (* (- 2) aux_div_v_main_~main__i~0_10_34) main_~main__i~0 1) 2)) 4) (div (+ (- 2) (* 2 aux_div_v_main_~main__i~0_10_34)) 2))) (< 0 (div (+ (* (- 2) aux_div_v_main_~main__i~0_10_34) main_~main__i~0 1) 2))) (and (<= 0 (div (+ (* (- 2) aux_div_v_main_~main__i~0_10_34) main_~main__i~0) 2)) (= (+ (* 4 (* (div (+ (* (- 2) aux_div_v_main_~main__i~0_10_34) main_~main__i~0) 2) aux_div_v_main_~main__i~0_10_34)) (* 2 aux_div_v_main_~main__i~0_10_34) (* 2 (* (div (+ (- 2) (* 2 aux_div_v_main_~main__i~0_10_34)) 2) (div (+ (- 2) (* 2 aux_div_v_main_~main__i~0_10_34)) 2))) (div (+ (- 2) (* 2 aux_div_v_main_~main__i~0_10_34)) 2) (* 2 (* (div (+ (* (- 2) aux_div_v_main_~main__i~0_10_34) main_~main__i~0) 2) (div (+ (* (- 2) aux_div_v_main_~main__i~0_10_34) main_~main__i~0) 2)))) (+ (div (+ (* (- 2) aux_div_v_main_~main__i~0_10_34) main_~main__i~0) 2) main_~main__sum~0 1)) (= (mod main_~main__i~0 2) 0) (<= (div (+ (* (- 2) aux_div_v_main_~main__i~0_10_34) main_~main__i~0) 2) (div (+ (* (- 2) aux_div_v_main_~main__i~0_10_34) main_~main__n~0 1) 2)))) (<= aux_div_v_main_~main__i~0_10_34 (+ (div (+ (- 2) main_~main__n~0) 2) 2)))) (exists ((aux_div_aux_mod_aux_mod_v_main_~main__i~0_10_38_81_50 Int) (aux_div_aux_mod_v_main_~main__i~0_10_38_81 Int)) (and (or (and (= (mod (+ main_~main__i~0 1) 2) 0) (<= (div (+ (* aux_div_aux_mod_v_main_~main__i~0_10_38_81 (- 2)) (- 3) (* (- 2) aux_div_aux_mod_aux_mod_v_main_~main__i~0_10_38_81_50) main_~main__i~0) 2) (div (+ (- 2) (* aux_div_aux_mod_v_main_~main__i~0_10_38_81 (- 2)) (* (- 2) aux_div_aux_mod_aux_mod_v_main_~main__i~0_10_38_81_50) main_~main__n~0) 2)) (<= 0 (div (+ (* aux_div_aux_mod_v_main_~main__i~0_10_38_81 (- 2)) (- 3) (* (- 2) aux_div_aux_mod_aux_mod_v_main_~main__i~0_10_38_81_50) main_~main__i~0) 2)) (= (+ (* (* (div (+ (* aux_div_aux_mod_v_main_~main__i~0_10_38_81 (- 2)) (- 3) (* (- 2) aux_div_aux_mod_aux_mod_v_main_~main__i~0_10_38_81_50) main_~main__i~0) 2) (div (+ (* aux_div_aux_mod_v_main_~main__i~0_10_38_81 (- 2)) (- 3) (* (- 2) aux_div_aux_mod_aux_mod_v_main_~main__i~0_10_38_81_50) main_~main__i~0) 2)) 2) (* 4 (* (div (+ (* aux_div_aux_mod_v_main_~main__i~0_10_38_81 (- 2)) (- 3) (* (- 2) aux_div_aux_mod_aux_mod_v_main_~main__i~0_10_38_81_50) main_~main__i~0) 2) aux_div_aux_mod_aux_mod_v_main_~main__i~0_10_38_81_50)) (* (div (+ (* aux_div_aux_mod_v_main_~main__i~0_10_38_81 (- 2)) (- 3) (* (- 2) aux_div_aux_mod_aux_mod_v_main_~main__i~0_10_38_81_50) main_~main__i~0) 2) 5) (* 2 aux_div_aux_mod_aux_mod_v_main_~main__i~0_10_38_81_50) (* aux_div_aux_mod_v_main_~main__i~0_10_38_81 2) 3 (* (* (div (+ (* 2 aux_div_aux_mod_aux_mod_v_main_~main__i~0_10_38_81_50) (* aux_div_aux_mod_v_main_~main__i~0_10_38_81 2)) 2) (div (+ (* 2 aux_div_aux_mod_aux_mod_v_main_~main__i~0_10_38_81_50) (* aux_div_aux_mod_v_main_~main__i~0_10_38_81 2)) 2)) 2) (* (div (+ (* 2 aux_div_aux_mod_aux_mod_v_main_~main__i~0_10_38_81_50) (* aux_div_aux_mod_v_main_~main__i~0_10_38_81 2)) 2) 3) (* (* aux_div_aux_mod_v_main_~main__i~0_10_38_81 (div (+ (* aux_div_aux_mod_v_main_~main__i~0_10_38_81 (- 2)) (- 3) (* (- 2) aux_div_aux_mod_aux_mod_v_main_~main__i~0_10_38_81_50) main_~main__i~0) 2)) 4)) main_~main__sum~0)) (and (= main_~main__i~0 (+ (* 2 aux_div_aux_mod_aux_mod_v_main_~main__i~0_10_38_81_50) (* aux_div_aux_mod_v_main_~main__i~0_10_38_81 2) 2)) (< main_~main__n~0 (+ (* 2 aux_div_aux_mod_aux_mod_v_main_~main__i~0_10_38_81_50) (* aux_div_aux_mod_v_main_~main__i~0_10_38_81 2) 2)) (= main_~main__sum~0 (+ (* (* (div (+ (* 2 aux_div_aux_mod_aux_mod_v_main_~main__i~0_10_38_81_50) (* aux_div_aux_mod_v_main_~main__i~0_10_38_81 2)) 2) (div (+ (* 2 aux_div_aux_mod_aux_mod_v_main_~main__i~0_10_38_81_50) (* aux_div_aux_mod_v_main_~main__i~0_10_38_81 2)) 2)) 2) (* (div (+ (* 2 aux_div_aux_mod_aux_mod_v_main_~main__i~0_10_38_81_50) (* aux_div_aux_mod_v_main_~main__i~0_10_38_81 2)) 2) 3) 1))) (and (<= (div (+ (- 2) (* aux_div_aux_mod_v_main_~main__i~0_10_38_81 (- 2)) (* (- 2) aux_div_aux_mod_aux_mod_v_main_~main__i~0_10_38_81_50) main_~main__i~0) 2) (+ (div (+ (* aux_div_aux_mod_v_main_~main__i~0_10_38_81 (- 2)) (- 3) (* (- 2) aux_div_aux_mod_aux_mod_v_main_~main__i~0_10_38_81_50) main_~main__n~0) 2) 1)) (< 0 (div (+ (- 2) (* aux_div_aux_mod_v_main_~main__i~0_10_38_81 (- 2)) (* (- 2) aux_div_aux_mod_aux_mod_v_main_~main__i~0_10_38_81_50) main_~main__i~0) 2)) (= (mod main_~main__i~0 2) 0) (= main_~main__sum~0 (+ (* (* aux_div_aux_mod_aux_mod_v_main_~main__i~0_10_38_81_50 (div (+ (- 2) (* aux_div_aux_mod_v_main_~main__i~0_10_38_81 (- 2)) (* (- 2) aux_div_aux_mod_aux_mod_v_main_~main__i~0_10_38_81_50) main_~main__i~0) 2)) 4) (* (* aux_div_aux_mod_v_main_~main__i~0_10_38_81 (div (+ (- 2) (* aux_div_aux_mod_v_main_~main__i~0_10_38_81 (- 2)) (* (- 2) aux_div_aux_mod_aux_mod_v_main_~main__i~0_10_38_81_50) main_~main__i~0) 2)) 4) (* (* (div (+ (* 2 aux_div_aux_mod_aux_mod_v_main_~main__i~0_10_38_81_50) (* aux_div_aux_mod_v_main_~main__i~0_10_38_81 2)) 2) (div (+ (* 2 aux_div_aux_mod_aux_mod_v_main_~main__i~0_10_38_81_50) (* aux_div_aux_mod_v_main_~main__i~0_10_38_81 2)) 2)) 2) (* (div (+ (* 2 aux_div_aux_mod_aux_mod_v_main_~main__i~0_10_38_81_50) (* aux_div_aux_mod_v_main_~main__i~0_10_38_81 2)) 2) 3) (* 3 (div (+ (- 2) (* aux_div_aux_mod_v_main_~main__i~0_10_38_81 (- 2)) (* (- 2) aux_div_aux_mod_aux_mod_v_main_~main__i~0_10_38_81_50) main_~main__i~0) 2)) (* 2 (* (div (+ (- 2) (* aux_div_aux_mod_v_main_~main__i~0_10_38_81 (- 2)) (* (- 2) aux_div_aux_mod_aux_mod_v_main_~main__i~0_10_38_81_50) main_~main__i~0) 2) (div (+ (- 2) (* aux_div_aux_mod_v_main_~main__i~0_10_38_81 (- 2)) (* (- 2) aux_div_aux_mod_aux_mod_v_main_~main__i~0_10_38_81_50) main_~main__i~0) 2))) 1)))) (< (+ aux_div_aux_mod_v_main_~main__i~0_10_38_81 aux_div_aux_mod_aux_mod_v_main_~main__i~0_10_38_81_50) (+ (div (+ (- 1) main_~main__n~0) 2) 1)) (<= 0 aux_div_aux_mod_v_main_~main__i~0_10_38_81) (<= 0 (* 2 aux_div_aux_mod_aux_mod_v_main_~main__i~0_10_38_81_50)) (< (* 2 aux_div_aux_mod_aux_mod_v_main_~main__i~0_10_38_81_50) 2))))} is UNKNOWN [2022-04-14 19:30:44,721 WARN L290 TraceCheckUtils]: 10: Hoare triple {287#(or (exists ((aux_div_v_main_~main__i~0_10_34 Int)) (and (< 1 aux_div_v_main_~main__i~0_10_34) (or (and (= main_~main__sum~0 (+ (* 2 (* (div (+ (- 2) (* 2 aux_div_v_main_~main__i~0_10_34)) 2) (div (+ (- 2) (* 2 aux_div_v_main_~main__i~0_10_34)) 2))) (div (+ (- 2) (* 2 aux_div_v_main_~main__i~0_10_34)) 2))) (< (+ main_~main__n~0 1) (* 2 aux_div_v_main_~main__i~0_10_34)) (= (+ main_~main__i~0 1) (* 2 aux_div_v_main_~main__i~0_10_34))) (and (<= (div (+ (* (- 2) aux_div_v_main_~main__i~0_10_34) main_~main__i~0 1) 2) (+ (div (+ (* (- 2) aux_div_v_main_~main__i~0_10_34) main_~main__n~0) 2) 1)) (= (mod (+ main_~main__i~0 1) 2) 0) (= (+ (* 3 (div (+ (* (- 2) aux_div_v_main_~main__i~0_10_34) main_~main__i~0 1) 2)) main_~main__sum~0) (+ (* 2 (* (div (+ (* (- 2) aux_div_v_main_~main__i~0_10_34) main_~main__i~0 1) 2) (div (+ (* (- 2) aux_div_v_main_~main__i~0_10_34) main_~main__i~0 1) 2))) (* 2 (* (div (+ (- 2) (* 2 aux_div_v_main_~main__i~0_10_34)) 2) (div (+ (- 2) (* 2 aux_div_v_main_~main__i~0_10_34)) 2))) (* (* aux_div_v_main_~main__i~0_10_34 (div (+ (* (- 2) aux_div_v_main_~main__i~0_10_34) main_~main__i~0 1) 2)) 4) (div (+ (- 2) (* 2 aux_div_v_main_~main__i~0_10_34)) 2))) (< 0 (div (+ (* (- 2) aux_div_v_main_~main__i~0_10_34) main_~main__i~0 1) 2))) (and (<= 0 (div (+ (* (- 2) aux_div_v_main_~main__i~0_10_34) main_~main__i~0) 2)) (= (+ (* 4 (* (div (+ (* (- 2) aux_div_v_main_~main__i~0_10_34) main_~main__i~0) 2) aux_div_v_main_~main__i~0_10_34)) (* 2 aux_div_v_main_~main__i~0_10_34) (* 2 (* (div (+ (- 2) (* 2 aux_div_v_main_~main__i~0_10_34)) 2) (div (+ (- 2) (* 2 aux_div_v_main_~main__i~0_10_34)) 2))) (div (+ (- 2) (* 2 aux_div_v_main_~main__i~0_10_34)) 2) (* 2 (* (div (+ (* (- 2) aux_div_v_main_~main__i~0_10_34) main_~main__i~0) 2) (div (+ (* (- 2) aux_div_v_main_~main__i~0_10_34) main_~main__i~0) 2)))) (+ (div (+ (* (- 2) aux_div_v_main_~main__i~0_10_34) main_~main__i~0) 2) main_~main__sum~0 1)) (= (mod main_~main__i~0 2) 0) (<= (div (+ (* (- 2) aux_div_v_main_~main__i~0_10_34) main_~main__i~0) 2) (div (+ (* (- 2) aux_div_v_main_~main__i~0_10_34) main_~main__n~0 1) 2)))) (<= aux_div_v_main_~main__i~0_10_34 (+ (div (+ (- 2) main_~main__n~0) 2) 2)))) (exists ((aux_div_aux_mod_aux_mod_v_main_~main__i~0_10_38_81_50 Int) (aux_div_aux_mod_v_main_~main__i~0_10_38_81 Int)) (and (or (and (= (mod (+ main_~main__i~0 1) 2) 0) (<= (div (+ (* aux_div_aux_mod_v_main_~main__i~0_10_38_81 (- 2)) (- 3) (* (- 2) aux_div_aux_mod_aux_mod_v_main_~main__i~0_10_38_81_50) main_~main__i~0) 2) (div (+ (- 2) (* aux_div_aux_mod_v_main_~main__i~0_10_38_81 (- 2)) (* (- 2) aux_div_aux_mod_aux_mod_v_main_~main__i~0_10_38_81_50) main_~main__n~0) 2)) (<= 0 (div (+ (* aux_div_aux_mod_v_main_~main__i~0_10_38_81 (- 2)) (- 3) (* (- 2) aux_div_aux_mod_aux_mod_v_main_~main__i~0_10_38_81_50) main_~main__i~0) 2)) (= (+ (* (* (div (+ (* aux_div_aux_mod_v_main_~main__i~0_10_38_81 (- 2)) (- 3) (* (- 2) aux_div_aux_mod_aux_mod_v_main_~main__i~0_10_38_81_50) main_~main__i~0) 2) (div (+ (* aux_div_aux_mod_v_main_~main__i~0_10_38_81 (- 2)) (- 3) (* (- 2) aux_div_aux_mod_aux_mod_v_main_~main__i~0_10_38_81_50) main_~main__i~0) 2)) 2) (* 4 (* (div (+ (* aux_div_aux_mod_v_main_~main__i~0_10_38_81 (- 2)) (- 3) (* (- 2) aux_div_aux_mod_aux_mod_v_main_~main__i~0_10_38_81_50) main_~main__i~0) 2) aux_div_aux_mod_aux_mod_v_main_~main__i~0_10_38_81_50)) (* (div (+ (* aux_div_aux_mod_v_main_~main__i~0_10_38_81 (- 2)) (- 3) (* (- 2) aux_div_aux_mod_aux_mod_v_main_~main__i~0_10_38_81_50) main_~main__i~0) 2) 5) (* 2 aux_div_aux_mod_aux_mod_v_main_~main__i~0_10_38_81_50) (* aux_div_aux_mod_v_main_~main__i~0_10_38_81 2) 3 (* (* (div (+ (* 2 aux_div_aux_mod_aux_mod_v_main_~main__i~0_10_38_81_50) (* aux_div_aux_mod_v_main_~main__i~0_10_38_81 2)) 2) (div (+ (* 2 aux_div_aux_mod_aux_mod_v_main_~main__i~0_10_38_81_50) (* aux_div_aux_mod_v_main_~main__i~0_10_38_81 2)) 2)) 2) (* (div (+ (* 2 aux_div_aux_mod_aux_mod_v_main_~main__i~0_10_38_81_50) (* aux_div_aux_mod_v_main_~main__i~0_10_38_81 2)) 2) 3) (* (* aux_div_aux_mod_v_main_~main__i~0_10_38_81 (div (+ (* aux_div_aux_mod_v_main_~main__i~0_10_38_81 (- 2)) (- 3) (* (- 2) aux_div_aux_mod_aux_mod_v_main_~main__i~0_10_38_81_50) main_~main__i~0) 2)) 4)) main_~main__sum~0)) (and (= main_~main__i~0 (+ (* 2 aux_div_aux_mod_aux_mod_v_main_~main__i~0_10_38_81_50) (* aux_div_aux_mod_v_main_~main__i~0_10_38_81 2) 2)) (< main_~main__n~0 (+ (* 2 aux_div_aux_mod_aux_mod_v_main_~main__i~0_10_38_81_50) (* aux_div_aux_mod_v_main_~main__i~0_10_38_81 2) 2)) (= main_~main__sum~0 (+ (* (* (div (+ (* 2 aux_div_aux_mod_aux_mod_v_main_~main__i~0_10_38_81_50) (* aux_div_aux_mod_v_main_~main__i~0_10_38_81 2)) 2) (div (+ (* 2 aux_div_aux_mod_aux_mod_v_main_~main__i~0_10_38_81_50) (* aux_div_aux_mod_v_main_~main__i~0_10_38_81 2)) 2)) 2) (* (div (+ (* 2 aux_div_aux_mod_aux_mod_v_main_~main__i~0_10_38_81_50) (* aux_div_aux_mod_v_main_~main__i~0_10_38_81 2)) 2) 3) 1))) (and (<= (div (+ (- 2) (* aux_div_aux_mod_v_main_~main__i~0_10_38_81 (- 2)) (* (- 2) aux_div_aux_mod_aux_mod_v_main_~main__i~0_10_38_81_50) main_~main__i~0) 2) (+ (div (+ (* aux_div_aux_mod_v_main_~main__i~0_10_38_81 (- 2)) (- 3) (* (- 2) aux_div_aux_mod_aux_mod_v_main_~main__i~0_10_38_81_50) main_~main__n~0) 2) 1)) (< 0 (div (+ (- 2) (* aux_div_aux_mod_v_main_~main__i~0_10_38_81 (- 2)) (* (- 2) aux_div_aux_mod_aux_mod_v_main_~main__i~0_10_38_81_50) main_~main__i~0) 2)) (= (mod main_~main__i~0 2) 0) (= main_~main__sum~0 (+ (* (* aux_div_aux_mod_aux_mod_v_main_~main__i~0_10_38_81_50 (div (+ (- 2) (* aux_div_aux_mod_v_main_~main__i~0_10_38_81 (- 2)) (* (- 2) aux_div_aux_mod_aux_mod_v_main_~main__i~0_10_38_81_50) main_~main__i~0) 2)) 4) (* (* aux_div_aux_mod_v_main_~main__i~0_10_38_81 (div (+ (- 2) (* aux_div_aux_mod_v_main_~main__i~0_10_38_81 (- 2)) (* (- 2) aux_div_aux_mod_aux_mod_v_main_~main__i~0_10_38_81_50) main_~main__i~0) 2)) 4) (* (* (div (+ (* 2 aux_div_aux_mod_aux_mod_v_main_~main__i~0_10_38_81_50) (* aux_div_aux_mod_v_main_~main__i~0_10_38_81 2)) 2) (div (+ (* 2 aux_div_aux_mod_aux_mod_v_main_~main__i~0_10_38_81_50) (* aux_div_aux_mod_v_main_~main__i~0_10_38_81 2)) 2)) 2) (* (div (+ (* 2 aux_div_aux_mod_aux_mod_v_main_~main__i~0_10_38_81_50) (* aux_div_aux_mod_v_main_~main__i~0_10_38_81 2)) 2) 3) (* 3 (div (+ (- 2) (* aux_div_aux_mod_v_main_~main__i~0_10_38_81 (- 2)) (* (- 2) aux_div_aux_mod_aux_mod_v_main_~main__i~0_10_38_81_50) main_~main__i~0) 2)) (* 2 (* (div (+ (- 2) (* aux_div_aux_mod_v_main_~main__i~0_10_38_81 (- 2)) (* (- 2) aux_div_aux_mod_aux_mod_v_main_~main__i~0_10_38_81_50) main_~main__i~0) 2) (div (+ (- 2) (* aux_div_aux_mod_v_main_~main__i~0_10_38_81 (- 2)) (* (- 2) aux_div_aux_mod_aux_mod_v_main_~main__i~0_10_38_81_50) main_~main__i~0) 2))) 1)))) (< (+ aux_div_aux_mod_v_main_~main__i~0_10_38_81 aux_div_aux_mod_aux_mod_v_main_~main__i~0_10_38_81_50) (+ (div (+ (- 1) main_~main__n~0) 2) 1)) (<= 0 aux_div_aux_mod_v_main_~main__i~0_10_38_81) (<= 0 (* 2 aux_div_aux_mod_aux_mod_v_main_~main__i~0_10_38_81_50)) (< (* 2 aux_div_aux_mod_aux_mod_v_main_~main__i~0_10_38_81_50) 2))))} [53] L38-->L47: Formula: (and (not (<= v_main_~main__i~0_4 v_main_~main__n~0_4)) (= v_main_~__tmp_1~0_1 v_main_~__VERIFIER_assert__cond~0_1) (= (ite (= (* (+ v_main_~main__n~0_4 1) v_main_~main__n~0_4) (* 2 v_main_~main__sum~0_4)) 1 0) v_main_~__tmp_1~0_1)) InVars {main_~main__n~0=v_main_~main__n~0_4, main_~main__sum~0=v_main_~main__sum~0_4, main_~main__i~0=v_main_~main__i~0_4} OutVars{main_~__VERIFIER_assert__cond~0=v_main_~__VERIFIER_assert__cond~0_1, main_~main__n~0=v_main_~main__n~0_4, main_~main__sum~0=v_main_~main__sum~0_4, main_~__tmp_1~0=v_main_~__tmp_1~0_1, main_~main__i~0=v_main_~main__i~0_4} AuxVars[] AssignedVars[main_~__VERIFIER_assert__cond~0, main_~__tmp_1~0] {291#(<= 1 main_~__VERIFIER_assert__cond~0)} is UNKNOWN [2022-04-14 19:30:44,722 INFO L290 TraceCheckUtils]: 11: Hoare triple {291#(<= 1 main_~__VERIFIER_assert__cond~0)} [54] L47-->L49: Formula: (= v_main_~__VERIFIER_assert__cond~0_3 0) InVars {main_~__VERIFIER_assert__cond~0=v_main_~__VERIFIER_assert__cond~0_3} OutVars{main_~__VERIFIER_assert__cond~0=v_main_~__VERIFIER_assert__cond~0_3} AuxVars[] AssignedVars[] {253#false} is VALID [2022-04-14 19:30:44,722 INFO L290 TraceCheckUtils]: 12: Hoare triple {253#false} [56] L49-->mainErr0ASSERT_VIOLATIONERROR_FUNCTION: Formula: true InVars {} OutVars{} AuxVars[] AssignedVars[] {253#false} is VALID [2022-04-14 19:30:44,722 INFO L134 CoverageAnalysis]: Checked inductivity of 3 backedges. 0 proven. 2 refuted. 1 times theorem prover too weak. 0 trivial. 0 not checked. [2022-04-14 19:30:44,722 INFO L328 TraceCheckSpWp]: Computing backward predicates...