./Ultimate.py --spec ../../sv-benchmarks/c/properties/unreach-call.prp --file ../../sv-benchmarks/c/loops/matrix_false-unreach-call_true-termination.i --full-output --architecture 32bit -------------------------------------------------------------------------------- Checking for ERROR reachability Using default analysis Version aa418289 Calling Ultimate with: java -Dosgi.configuration.area=/tmp/vcloud-vcloud-master/worker/working_dir_2da0be0b-36c0-49f8-9ce0-9a3c643e0d30/bin-2019/ukojak/data/config -Xmx12G -Xms1G -jar /tmp/vcloud-vcloud-master/worker/working_dir_2da0be0b-36c0-49f8-9ce0-9a3c643e0d30/bin-2019/ukojak/plugins/org.eclipse.equinox.launcher_1.3.100.v20150511-1540.jar -data @noDefault -ultimatedata /tmp/vcloud-vcloud-master/worker/working_dir_2da0be0b-36c0-49f8-9ce0-9a3c643e0d30/bin-2019/ukojak/data -tc /tmp/vcloud-vcloud-master/worker/working_dir_2da0be0b-36c0-49f8-9ce0-9a3c643e0d30/bin-2019/ukojak/config/KojakReach.xml -i ../../sv-benchmarks/c/loops/matrix_false-unreach-call_true-termination.i -s /tmp/vcloud-vcloud-master/worker/working_dir_2da0be0b-36c0-49f8-9ce0-9a3c643e0d30/bin-2019/ukojak/config/svcomp-Reach-32bit-Kojak_Default.epf --cacsl2boogietranslator.entry.function main --witnessprinter.witness.directory /tmp/vcloud-vcloud-master/worker/working_dir_2da0be0b-36c0-49f8-9ce0-9a3c643e0d30/bin-2019/ukojak --witnessprinter.witness.filename witness.graphml --witnessprinter.write.witness.besides.input.file false --witnessprinter.graph.data.specification CHECK( init(main()), LTL(G ! call(__VERIFIER_error())) ) --witnessprinter.graph.data.producer Kojak --witnessprinter.graph.data.architecture 32bit --witnessprinter.graph.data.programhash a06687718ac0cd281e66000f698ec14d3c3893e6 ....................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................... Execution finished normally Writing output log to file Ultimate.log Writing human readable error path to file UltimateCounterExample.errorpath Result: FALSE --- Real Ultimate output --- This is Ultimate 0.1.23-aa41828 [2018-11-22 22:02:08,883 INFO L170 SettingsManager]: Resetting all preferences to default values... [2018-11-22 22:02:08,885 INFO L174 SettingsManager]: Resetting UltimateCore preferences to default values [2018-11-22 22:02:08,893 INFO L177 SettingsManager]: Ultimate Commandline Interface provides no preferences, ignoring... [2018-11-22 22:02:08,893 INFO L174 SettingsManager]: Resetting Boogie Preprocessor preferences to default values [2018-11-22 22:02:08,894 INFO L174 SettingsManager]: Resetting Boogie Procedure Inliner preferences to default values [2018-11-22 22:02:08,895 INFO L174 SettingsManager]: Resetting Abstract Interpretation preferences to default values [2018-11-22 22:02:08,896 INFO L174 SettingsManager]: Resetting LassoRanker preferences to default values [2018-11-22 22:02:08,897 INFO L174 SettingsManager]: Resetting Reaching Definitions preferences to default values [2018-11-22 22:02:08,898 INFO L174 SettingsManager]: Resetting SyntaxChecker preferences to default values [2018-11-22 22:02:08,899 INFO L177 SettingsManager]: Büchi Program Product provides no preferences, ignoring... [2018-11-22 22:02:08,899 INFO L174 SettingsManager]: Resetting LTL2Aut preferences to default values [2018-11-22 22:02:08,900 INFO L174 SettingsManager]: Resetting PEA to Boogie preferences to default values [2018-11-22 22:02:08,900 INFO L174 SettingsManager]: Resetting BlockEncodingV2 preferences to default values [2018-11-22 22:02:08,901 INFO L174 SettingsManager]: Resetting ChcToBoogie preferences to default values [2018-11-22 22:02:08,902 INFO L174 SettingsManager]: Resetting AutomataScriptInterpreter preferences to default values [2018-11-22 22:02:08,902 INFO L174 SettingsManager]: Resetting BuchiAutomizer preferences to default values [2018-11-22 22:02:08,903 INFO L174 SettingsManager]: Resetting CACSL2BoogieTranslator preferences to default values [2018-11-22 22:02:08,905 INFO L174 SettingsManager]: Resetting CodeCheck preferences to default values [2018-11-22 22:02:08,906 INFO L174 SettingsManager]: Resetting InvariantSynthesis preferences to default values [2018-11-22 22:02:08,907 INFO L174 SettingsManager]: Resetting RCFGBuilder preferences to default values [2018-11-22 22:02:08,908 INFO L174 SettingsManager]: Resetting TraceAbstraction preferences to default values [2018-11-22 22:02:08,910 INFO L177 SettingsManager]: TraceAbstractionConcurrent provides no preferences, ignoring... [2018-11-22 22:02:08,910 INFO L177 SettingsManager]: TraceAbstractionWithAFAs provides no preferences, ignoring... [2018-11-22 22:02:08,910 INFO L174 SettingsManager]: Resetting TreeAutomizer preferences to default values [2018-11-22 22:02:08,911 INFO L174 SettingsManager]: Resetting IcfgTransformer preferences to default values [2018-11-22 22:02:08,912 INFO L174 SettingsManager]: Resetting Boogie Printer preferences to default values [2018-11-22 22:02:08,913 INFO L174 SettingsManager]: Resetting ReqPrinter preferences to default values [2018-11-22 22:02:08,913 INFO L174 SettingsManager]: Resetting Witness Printer preferences to default values [2018-11-22 22:02:08,914 INFO L177 SettingsManager]: Boogie PL CUP Parser provides no preferences, ignoring... [2018-11-22 22:02:08,914 INFO L174 SettingsManager]: Resetting CDTParser preferences to default values [2018-11-22 22:02:08,915 INFO L177 SettingsManager]: AutomataScriptParser provides no preferences, ignoring... [2018-11-22 22:02:08,915 INFO L177 SettingsManager]: ReqParser provides no preferences, ignoring... [2018-11-22 22:02:08,915 INFO L174 SettingsManager]: Resetting SmtParser preferences to default values [2018-11-22 22:02:08,916 INFO L174 SettingsManager]: Resetting Witness Parser preferences to default values [2018-11-22 22:02:08,916 INFO L181 SettingsManager]: Finished resetting all preferences to default values... [2018-11-22 22:02:08,917 INFO L98 SettingsManager]: Beginning loading settings from /tmp/vcloud-vcloud-master/worker/working_dir_2da0be0b-36c0-49f8-9ce0-9a3c643e0d30/bin-2019/ukojak/config/svcomp-Reach-32bit-Kojak_Default.epf [2018-11-22 22:02:08,924 INFO L110 SettingsManager]: Loading preferences was successful [2018-11-22 22:02:08,924 INFO L112 SettingsManager]: Preferences different from defaults after loading the file: [2018-11-22 22:02:08,925 INFO L131 SettingsManager]: Preferences of Boogie Procedure Inliner differ from their defaults: [2018-11-22 22:02:08,925 INFO L133 SettingsManager]: * ... to procedures called more than once=ALWAYS [2018-11-22 22:02:08,926 INFO L131 SettingsManager]: Preferences of BlockEncodingV2 differ from their defaults: [2018-11-22 22:02:08,926 INFO L133 SettingsManager]: * Create parallel compositions if possible=false [2018-11-22 22:02:08,926 INFO L131 SettingsManager]: Preferences of CACSL2BoogieTranslator differ from their defaults: [2018-11-22 22:02:08,926 INFO L133 SettingsManager]: * sizeof long=4 [2018-11-22 22:02:08,926 INFO L133 SettingsManager]: * Overapproximate operations on floating types=true [2018-11-22 22:02:08,926 INFO L133 SettingsManager]: * sizeof POINTER=4 [2018-11-22 22:02:08,926 INFO L133 SettingsManager]: * Check division by zero=IGNORE [2018-11-22 22:02:08,927 INFO L133 SettingsManager]: * Pointer to allocated memory at dereference=IGNORE [2018-11-22 22:02:08,927 INFO L133 SettingsManager]: * If two pointers are subtracted or compared they have the same base address=IGNORE [2018-11-22 22:02:08,927 INFO L133 SettingsManager]: * Check array bounds for arrays that are off heap=IGNORE [2018-11-22 22:02:08,927 INFO L133 SettingsManager]: * sizeof long double=12 [2018-11-22 22:02:08,927 INFO L133 SettingsManager]: * Check if freed pointer was valid=false [2018-11-22 22:02:08,927 INFO L133 SettingsManager]: * Use constant arrays=true [2018-11-22 22:02:08,927 INFO L133 SettingsManager]: * Pointer base address is valid at dereference=IGNORE [2018-11-22 22:02:08,927 INFO L131 SettingsManager]: Preferences of CodeCheck differ from their defaults: [2018-11-22 22:02:08,927 INFO L133 SettingsManager]: * Timeout in seconds=1000000 [2018-11-22 22:02:08,928 INFO L131 SettingsManager]: Preferences of RCFGBuilder differ from their defaults: [2018-11-22 22:02:08,928 INFO L133 SettingsManager]: * To the following directory=./dump/ [2018-11-22 22:02:08,928 INFO L133 SettingsManager]: * Command for external solver=z3 SMTLIB2_COMPLIANT=true -memory:2024 -smt2 -in -t:10000 [2018-11-22 22:02:08,928 INFO L131 SettingsManager]: Preferences of TraceAbstraction differ from their defaults: [2018-11-22 22:02:08,928 INFO L133 SettingsManager]: * Compute Interpolants along a Counterexample=FPandBP [2018-11-22 22:02:08,928 INFO L133 SettingsManager]: * Positions where we compute the Hoare Annotation=LoopsAndPotentialCycles [2018-11-22 22:02:08,929 INFO L133 SettingsManager]: * Trace refinement strategy=PENGUIN [2018-11-22 22:02:08,929 INFO L133 SettingsManager]: * SMT solver=External_ModelsAndUnsatCoreMode [2018-11-22 22:02:08,930 INFO L133 SettingsManager]: * Command for external solver=z3 SMTLIB2_COMPLIANT=true -memory:2024 -smt2 -in [2018-11-22 22:02:08,930 INFO L133 SettingsManager]: * Compute Hoare Annotation of negated interpolant automaton, abstraction and CFG=true Applying setting for plugin de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator: Entry function -> main Applying setting for plugin de.uni_freiburg.informatik.ultimate.witnessprinter: Witness directory -> /tmp/vcloud-vcloud-master/worker/working_dir_2da0be0b-36c0-49f8-9ce0-9a3c643e0d30/bin-2019/ukojak Applying setting for plugin de.uni_freiburg.informatik.ultimate.witnessprinter: Witness filename -> witness.graphml Applying setting for plugin de.uni_freiburg.informatik.ultimate.witnessprinter: Write witness besides input file -> false Applying setting for plugin de.uni_freiburg.informatik.ultimate.witnessprinter: Graph data specification -> CHECK( init(main()), LTL(G ! call(__VERIFIER_error())) ) Applying setting for plugin de.uni_freiburg.informatik.ultimate.witnessprinter: Graph data producer -> Kojak Applying setting for plugin de.uni_freiburg.informatik.ultimate.witnessprinter: Graph data architecture -> 32bit Applying setting for plugin de.uni_freiburg.informatik.ultimate.witnessprinter: Graph data programhash -> a06687718ac0cd281e66000f698ec14d3c3893e6 [2018-11-22 22:02:08,951 INFO L81 nceAwareModelManager]: Repository-Root is: /tmp [2018-11-22 22:02:08,959 INFO L258 ainManager$Toolchain]: [Toolchain 1]: Applicable parser(s) successfully (re)initialized [2018-11-22 22:02:08,961 INFO L214 ainManager$Toolchain]: [Toolchain 1]: Toolchain selected. [2018-11-22 22:02:08,962 INFO L271 PluginConnector]: Initializing CDTParser... [2018-11-22 22:02:08,963 INFO L276 PluginConnector]: CDTParser initialized [2018-11-22 22:02:08,963 INFO L418 ainManager$Toolchain]: [Toolchain 1]: Parsing single file: /tmp/vcloud-vcloud-master/worker/working_dir_2da0be0b-36c0-49f8-9ce0-9a3c643e0d30/bin-2019/ukojak/../../sv-benchmarks/c/loops/matrix_false-unreach-call_true-termination.i [2018-11-22 22:02:08,996 INFO L221 CDTParser]: Created temporary CDT project at /tmp/vcloud-vcloud-master/worker/working_dir_2da0be0b-36c0-49f8-9ce0-9a3c643e0d30/bin-2019/ukojak/data/84d808202/f0c5845f7c6b48bb8b1f9e39934e0f49/FLAGdf002d692 [2018-11-22 22:02:09,385 INFO L307 CDTParser]: Found 1 translation units. [2018-11-22 22:02:09,386 INFO L161 CDTParser]: Scanning /tmp/vcloud-vcloud-master/worker/working_dir_2da0be0b-36c0-49f8-9ce0-9a3c643e0d30/sv-benchmarks/c/loops/matrix_false-unreach-call_true-termination.i [2018-11-22 22:02:09,390 INFO L355 CDTParser]: About to delete temporary CDT project at /tmp/vcloud-vcloud-master/worker/working_dir_2da0be0b-36c0-49f8-9ce0-9a3c643e0d30/bin-2019/ukojak/data/84d808202/f0c5845f7c6b48bb8b1f9e39934e0f49/FLAGdf002d692 [2018-11-22 22:02:09,398 INFO L363 CDTParser]: Successfully deleted /tmp/vcloud-vcloud-master/worker/working_dir_2da0be0b-36c0-49f8-9ce0-9a3c643e0d30/bin-2019/ukojak/data/84d808202/f0c5845f7c6b48bb8b1f9e39934e0f49 [2018-11-22 22:02:09,400 INFO L296 ainManager$Toolchain]: ####################### [Toolchain 1] ####################### [2018-11-22 22:02:09,400 INFO L131 ToolchainWalker]: Walking toolchain with 6 elements. [2018-11-22 22:02:09,401 INFO L113 PluginConnector]: ------------------------CACSL2BoogieTranslator---------------------------- [2018-11-22 22:02:09,401 INFO L271 PluginConnector]: Initializing CACSL2BoogieTranslator... [2018-11-22 22:02:09,403 INFO L276 PluginConnector]: CACSL2BoogieTranslator initialized [2018-11-22 22:02:09,403 INFO L185 PluginConnector]: Executing the observer ACSLObjectContainerObserver from plugin CACSL2BoogieTranslator for "CDTParser AST 22.11 10:02:09" (1/1) ... [2018-11-22 22:02:09,405 INFO L205 PluginConnector]: Invalid model from CACSL2BoogieTranslator for observer de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator.ACSLObjectContainerObserver@22877cf1 and model type de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 22.11 10:02:09, skipping insertion in model container [2018-11-22 22:02:09,405 INFO L185 PluginConnector]: Executing the observer CACSL2BoogieTranslatorObserver from plugin CACSL2BoogieTranslator for "CDTParser AST 22.11 10:02:09" (1/1) ... [2018-11-22 22:02:09,417 INFO L145 MainTranslator]: Starting translation in SV-COMP mode [2018-11-22 22:02:09,433 INFO L176 MainTranslator]: Built tables and reachable declarations [2018-11-22 22:02:09,533 INFO L201 PostProcessor]: Analyzing one entry point: main [2018-11-22 22:02:09,535 INFO L191 MainTranslator]: Completed pre-run [2018-11-22 22:02:09,547 INFO L201 PostProcessor]: Analyzing one entry point: main [2018-11-22 22:02:09,558 INFO L195 MainTranslator]: Completed translation [2018-11-22 22:02:09,558 INFO L202 PluginConnector]: Adding new model de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 22.11 10:02:09 WrapperNode [2018-11-22 22:02:09,558 INFO L132 PluginConnector]: ------------------------ END CACSL2BoogieTranslator---------------------------- [2018-11-22 22:02:09,559 INFO L113 PluginConnector]: ------------------------Boogie Procedure Inliner---------------------------- [2018-11-22 22:02:09,559 INFO L271 PluginConnector]: Initializing Boogie Procedure Inliner... [2018-11-22 22:02:09,559 INFO L276 PluginConnector]: Boogie Procedure Inliner initialized [2018-11-22 22:02:09,564 INFO L185 PluginConnector]: Executing the observer TypeChecker from plugin Boogie Procedure Inliner for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 22.11 10:02:09" (1/1) ... [2018-11-22 22:02:09,569 INFO L185 PluginConnector]: Executing the observer Inliner from plugin Boogie Procedure Inliner for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 22.11 10:02:09" (1/1) ... [2018-11-22 22:02:09,587 INFO L132 PluginConnector]: ------------------------ END Boogie Procedure Inliner---------------------------- [2018-11-22 22:02:09,587 INFO L113 PluginConnector]: ------------------------Boogie Preprocessor---------------------------- [2018-11-22 22:02:09,587 INFO L271 PluginConnector]: Initializing Boogie Preprocessor... [2018-11-22 22:02:09,588 INFO L276 PluginConnector]: Boogie Preprocessor initialized [2018-11-22 22:02:09,632 INFO L185 PluginConnector]: Executing the observer EnsureBoogieModelObserver from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 22.11 10:02:09" (1/1) ... [2018-11-22 22:02:09,633 INFO L185 PluginConnector]: Executing the observer TypeChecker from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 22.11 10:02:09" (1/1) ... [2018-11-22 22:02:09,634 INFO L185 PluginConnector]: Executing the observer ConstExpander from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 22.11 10:02:09" (1/1) ... [2018-11-22 22:02:09,634 INFO L185 PluginConnector]: Executing the observer StructExpander from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 22.11 10:02:09" (1/1) ... [2018-11-22 22:02:09,638 INFO L185 PluginConnector]: Executing the observer UnstructureCode from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 22.11 10:02:09" (1/1) ... [2018-11-22 22:02:09,641 INFO L185 PluginConnector]: Executing the observer FunctionInliner from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 22.11 10:02:09" (1/1) ... [2018-11-22 22:02:09,642 INFO L185 PluginConnector]: Executing the observer BoogieSymbolTableConstructor from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 22.11 10:02:09" (1/1) ... [2018-11-22 22:02:09,643 INFO L132 PluginConnector]: ------------------------ END Boogie Preprocessor---------------------------- [2018-11-22 22:02:09,643 INFO L113 PluginConnector]: ------------------------RCFGBuilder---------------------------- [2018-11-22 22:02:09,643 INFO L271 PluginConnector]: Initializing RCFGBuilder... [2018-11-22 22:02:09,643 INFO L276 PluginConnector]: RCFGBuilder initialized [2018-11-22 22:02:09,644 INFO L185 PluginConnector]: Executing the observer RCFGBuilderObserver from plugin RCFGBuilder for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 22.11 10:02:09" (1/1) ... No working directory specified, using /tmp/vcloud-vcloud-master/worker/working_dir_2da0be0b-36c0-49f8-9ce0-9a3c643e0d30/bin-2019/ukojak/z3 Starting monitored process 1 with z3 SMTLIB2_COMPLIANT=true -memory:2024 -smt2 -in -t:10000 (exit command is (exit), workingDir is null) Waiting until toolchain timeout for monitored process 1 with z3 SMTLIB2_COMPLIANT=true -memory:2024 -smt2 -in -t:10000 [2018-11-22 22:02:09,687 INFO L130 BoogieDeclarations]: Found specification of procedure write~int [2018-11-22 22:02:09,687 INFO L130 BoogieDeclarations]: Found specification of procedure #Ultimate.alloc [2018-11-22 22:02:09,687 INFO L130 BoogieDeclarations]: Found specification of procedure ULTIMATE.start [2018-11-22 22:02:09,687 INFO L138 BoogieDeclarations]: Found implementation of procedure ULTIMATE.start [2018-11-22 22:02:09,687 INFO L130 BoogieDeclarations]: Found specification of procedure read~int [2018-11-22 22:02:09,687 INFO L130 BoogieDeclarations]: Found specification of procedure ULTIMATE.dealloc [2018-11-22 22:02:09,932 INFO L275 CfgBuilder]: Using the 1 location(s) as analysis (start of procedure ULTIMATE.start) [2018-11-22 22:02:09,932 INFO L280 CfgBuilder]: Removed 10 assue(true) statements. [2018-11-22 22:02:09,932 INFO L202 PluginConnector]: Adding new model de.uni_freiburg.informatik.ultimate.plugins.generator.rcfgbuilder CFG 22.11 10:02:09 BoogieIcfgContainer [2018-11-22 22:02:09,933 INFO L132 PluginConnector]: ------------------------ END RCFGBuilder---------------------------- [2018-11-22 22:02:09,933 INFO L113 PluginConnector]: ------------------------CodeCheck---------------------------- [2018-11-22 22:02:09,933 INFO L271 PluginConnector]: Initializing CodeCheck... [2018-11-22 22:02:09,942 INFO L276 PluginConnector]: CodeCheck initialized [2018-11-22 22:02:09,942 INFO L185 PluginConnector]: Executing the observer CodeCheckObserver from plugin CodeCheck for "de.uni_freiburg.informatik.ultimate.plugins.generator.rcfgbuilder CFG 22.11 10:02:09" (1/1) ... [2018-11-22 22:02:09,952 INFO L141 PredicateUnifier]: Initialized classic predicate unifier [2018-11-22 22:02:09,977 INFO L82 GeneralOperation]: Start removeUnreachable. Operand no size info available [2018-11-22 22:02:09,983 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 14 states to 10 states and 14 transitions. [2018-11-22 22:02:09,983 INFO L276 IsEmpty]: Start isEmpty. Operand 10 states and 14 transitions. [2018-11-22 22:02:09,986 INFO L282 IsEmpty]: Finished isEmpty. Found accepting run of length 7 [2018-11-22 22:02:09,986 INFO L427 CodeCheckObserver]: Error Path is FOUND. [2018-11-22 22:02:10,052 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2018-11-22 22:02:10,058 INFO L273 TraceCheckSpWp]: Computing forward predicates... [2018-11-22 22:02:10,102 INFO L134 CoverageAnalysis]: Checked inductivity of 0 backedges. 0 proven. 0 refuted. 0 times theorem prover too weak. 0 trivial. 0 not checked. [2018-11-22 22:02:10,148 INFO L82 GeneralOperation]: Start removeUnreachable. Operand no size info available [2018-11-22 22:02:10,149 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 19 states to 12 states and 19 transitions. [2018-11-22 22:02:10,149 INFO L276 IsEmpty]: Start isEmpty. Operand 12 states and 19 transitions. [2018-11-22 22:02:10,149 INFO L282 IsEmpty]: Finished isEmpty. Found accepting run of length 9 [2018-11-22 22:02:10,149 INFO L427 CodeCheckObserver]: Error Path is FOUND. [2018-11-22 22:02:10,162 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2018-11-22 22:02:10,163 INFO L273 TraceCheckSpWp]: Computing forward predicates... [2018-11-22 22:02:10,199 INFO L134 CoverageAnalysis]: Checked inductivity of 1 backedges. 1 proven. 0 refuted. 0 times theorem prover too weak. 0 trivial. 0 not checked. [2018-11-22 22:02:10,368 INFO L82 GeneralOperation]: Start removeUnreachable. Operand no size info available [2018-11-22 22:02:10,369 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 32 states to 16 states and 32 transitions. [2018-11-22 22:02:10,369 INFO L276 IsEmpty]: Start isEmpty. Operand 16 states and 32 transitions. [2018-11-22 22:02:10,371 INFO L282 IsEmpty]: Finished isEmpty. Found accepting run of length 10 [2018-11-22 22:02:10,371 INFO L427 CodeCheckObserver]: Error Path is FOUND. [2018-11-22 22:02:10,387 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2018-11-22 22:02:10,396 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2018-11-22 22:02:10,409 WARN L493 CodeCheckObserver]: This program is UNSAFE, Check terminated with 3 iterations. ----- class de.uni_freiburg.informatik.ultimate.plugins.generator.rcfgbuilder.RCFGBacktranslator [?] #NULL.base, #NULL.offset := 0, 0;#valid := #valid[0 := 0];havoc main_#res;havoc main_#t~nondet0, main_#t~nondet1, main_#t~nondet2, main_#t~nondet5, main_#t~mem6, main_#t~mem7, main_#t~post4, main_#t~post3, main_#t~mem10, main_#t~post9, main_#t~post8, main_~N_LIN~0, main_~N_COL~0, main_~j~0, main_~k~0, main_~#matriz~0.base, main_~#matriz~0.offset, main_~maior~0;main_~N_LIN~0 := main_#t~nondet0;havoc main_#t~nondet0;main_~N_COL~0 := main_#t~nondet1;havoc main_#t~nondet1;havoc main_~j~0;havoc main_~k~0;call main_~#matriz~0.base, main_~#matriz~0.offset := #Ultimate.alloc(4 * (if main_~N_LIN~0 % 4294967296 % 4294967296 <= 2147483647 then main_~N_LIN~0 % 4294967296 % 4294967296 else main_~N_LIN~0 % 4294967296 % 4294967296 - 4294967296) * (if main_~N_COL~0 % 4294967296 % 4294967296 <= 2147483647 then main_~N_COL~0 % 4294967296 % 4294967296 else main_~N_COL~0 % 4294967296 % 4294967296 - 4294967296));havoc main_~maior~0;assume -2147483648 <= main_#t~nondet2 && main_#t~nondet2 <= 2147483647;main_~maior~0 := main_#t~nondet2;havoc main_#t~nondet2;main_~j~0 := 0; VAL [ULTIMATE.start_main_~j~0=0, ULTIMATE.start_main_~maior~0=(- 2147483648), ULTIMATE.start_main_~N_COL~0=1, ULTIMATE.start_main_~N_LIN~0=1, |#NULL.base|=0, |#NULL.offset|=0, |ULTIMATE.start_main_~#matriz~0.base|=2, |ULTIMATE.start_main_~#matriz~0.offset|=0] [?] assume !!(main_~j~0 % 4294967296 < main_~N_COL~0 % 4294967296);main_~k~0 := 0; VAL [ULTIMATE.start_main_~j~0=0, ULTIMATE.start_main_~k~0=0, ULTIMATE.start_main_~maior~0=(- 2147483648), ULTIMATE.start_main_~N_COL~0=1, ULTIMATE.start_main_~N_LIN~0=1, |#NULL.base|=0, |#NULL.offset|=0, |ULTIMATE.start_main_~#matriz~0.base|=2, |ULTIMATE.start_main_~#matriz~0.offset|=0] [?] assume !!(main_~k~0 % 4294967296 < main_~N_LIN~0 % 4294967296);assume -2147483648 <= main_#t~nondet5 && main_#t~nondet5 <= 2147483647;call write~int(main_#t~nondet5, main_~#matriz~0.base, main_~#matriz~0.offset + (if main_~j~0 % 4294967296 % 4294967296 <= 2147483647 then main_~j~0 % 4294967296 % 4294967296 else main_~j~0 % 4294967296 % 4294967296 - 4294967296) * (4 * (if main_~N_LIN~0 % 4294967296 % 4294967296 <= 2147483647 then main_~N_LIN~0 % 4294967296 % 4294967296 else main_~N_LIN~0 % 4294967296 % 4294967296 - 4294967296)) + 4 * (if main_~k~0 % 4294967296 % 4294967296 <= 2147483647 then main_~k~0 % 4294967296 % 4294967296 else main_~k~0 % 4294967296 % 4294967296 - 4294967296), 4);havoc main_#t~nondet5;call main_#t~mem6 := read~int(main_~#matriz~0.base, main_~#matriz~0.offset + (if main_~j~0 % 4294967296 % 4294967296 <= 2147483647 then main_~j~0 % 4294967296 % 4294967296 else main_~j~0 % 4294967296 % 4294967296 - 4294967296) * (4 * (if main_~N_LIN~0 % 4294967296 % 4294967296 <= 2147483647 then main_~N_LIN~0 % 4294967296 % 4294967296 else main_~N_LIN~0 % 4294967296 % 4294967296 - 4294967296)) + 4 * (if main_~k~0 % 4294967296 % 4294967296 <= 2147483647 then main_~k~0 % 4294967296 % 4294967296 else main_~k~0 % 4294967296 % 4294967296 - 4294967296), 4);BeginParallelComposition{ParallelCodeBlock0: assume main_#t~mem6 > main_~maior~0;havoc main_#t~mem6;call main_#t~mem7 := read~int(main_~#matriz~0.base, main_~#matriz~0.offset + (if main_~j~0 % 4294967296 % 4294967296 <= 2147483647 then main_~j~0 % 4294967296 % 4294967296 else main_~j~0 % 4294967296 % 4294967296 - 4294967296) * (4 * (if main_~N_LIN~0 % 4294967296 % 4294967296 <= 2147483647 then main_~N_LIN~0 % 4294967296 % 4294967296 else main_~N_LIN~0 % 4294967296 % 4294967296 - 4294967296)) + 4 * (if main_~k~0 % 4294967296 % 4294967296 <= 2147483647 then main_~k~0 % 4294967296 % 4294967296 else main_~k~0 % 4294967296 % 4294967296 - 4294967296), 4);main_~maior~0 := main_#t~mem7;havoc main_#t~mem7;ParallelCodeBlock1: assume !(main_#t~mem6 > main_~maior~0);havoc main_#t~mem6;}EndParallelCompositionmain_#t~post4 := main_~k~0;main_~k~0 := 1 + main_#t~post4;havoc main_#t~post4; VAL [ULTIMATE.start_main_~j~0=0, ULTIMATE.start_main_~k~0=1, ULTIMATE.start_main_~maior~0=(- 2147483648), ULTIMATE.start_main_~N_COL~0=1, ULTIMATE.start_main_~N_LIN~0=1, |#NULL.base|=0, |#NULL.offset|=0, |ULTIMATE.start_main_#t~mem7|=12, |ULTIMATE.start_main_~#matriz~0.base|=2, |ULTIMATE.start_main_~#matriz~0.offset|=0] [?] BeginParallelComposition{ParallelCodeBlock0: assume !true;ParallelCodeBlock1: assume !(main_~k~0 % 4294967296 < main_~N_LIN~0 % 4294967296);}EndParallelCompositionmain_#t~post3 := main_~j~0;main_~j~0 := 1 + main_#t~post3;havoc main_#t~post3; VAL [ULTIMATE.start_main_~j~0=1, ULTIMATE.start_main_~k~0=1, ULTIMATE.start_main_~maior~0=(- 2147483648), ULTIMATE.start_main_~N_COL~0=1, ULTIMATE.start_main_~N_LIN~0=1, |#NULL.base|=0, |#NULL.offset|=0, |ULTIMATE.start_main_#t~mem7|=12, |ULTIMATE.start_main_~#matriz~0.base|=2, |ULTIMATE.start_main_~#matriz~0.offset|=0] [?] BeginParallelComposition{ParallelCodeBlock0: assume !true;ParallelCodeBlock1: assume !(main_~j~0 % 4294967296 < main_~N_COL~0 % 4294967296);}EndParallelCompositionmain_~j~0 := 0; VAL [ULTIMATE.start_main_~j~0=0, ULTIMATE.start_main_~k~0=1, ULTIMATE.start_main_~maior~0=(- 2147483648), ULTIMATE.start_main_~N_COL~0=1, ULTIMATE.start_main_~N_LIN~0=1, |#NULL.base|=0, |#NULL.offset|=0, |ULTIMATE.start_main_#t~mem7|=12, |ULTIMATE.start_main_~#matriz~0.base|=2, |ULTIMATE.start_main_~#matriz~0.offset|=0] [?] assume !!(main_~j~0 % 4294967296 < main_~N_COL~0 % 4294967296);main_~k~0 := 0; VAL [ULTIMATE.start_main_~j~0=0, ULTIMATE.start_main_~k~0=0, ULTIMATE.start_main_~maior~0=(- 2147483648), ULTIMATE.start_main_~N_COL~0=1, ULTIMATE.start_main_~N_LIN~0=1, |#NULL.base|=0, |#NULL.offset|=0, |ULTIMATE.start_main_#t~mem7|=12, |ULTIMATE.start_main_~#matriz~0.base|=2, |ULTIMATE.start_main_~#matriz~0.offset|=0] [?] assume !!(main_~k~0 % 4294967296 < main_~N_LIN~0 % 4294967296);call main_#t~mem10 := read~int(main_~#matriz~0.base, main_~#matriz~0.offset + (if main_~j~0 % 4294967296 % 4294967296 <= 2147483647 then main_~j~0 % 4294967296 % 4294967296 else main_~j~0 % 4294967296 % 4294967296 - 4294967296) * (4 * (if main_~N_LIN~0 % 4294967296 % 4294967296 <= 2147483647 then main_~N_LIN~0 % 4294967296 % 4294967296 else main_~N_LIN~0 % 4294967296 % 4294967296 - 4294967296)) + 4 * (if main_~k~0 % 4294967296 % 4294967296 <= 2147483647 then main_~k~0 % 4294967296 % 4294967296 else main_~k~0 % 4294967296 % 4294967296 - 4294967296), 4);__VERIFIER_assert_#in~cond := (if main_#t~mem10 < main_~maior~0 then 1 else 0);havoc __VERIFIER_assert_~cond;__VERIFIER_assert_~cond := __VERIFIER_assert_#in~cond; VAL [ULTIMATE.start___VERIFIER_assert_~cond=0, ULTIMATE.start_main_~j~0=0, ULTIMATE.start_main_~k~0=0, ULTIMATE.start_main_~maior~0=(- 2147483648), ULTIMATE.start_main_~N_COL~0=1, ULTIMATE.start_main_~N_LIN~0=1, |#NULL.base|=0, |#NULL.offset|=0, |ULTIMATE.start___VERIFIER_assert_#in~cond|=0, |ULTIMATE.start_main_#t~mem10|=(- 2147483648), |ULTIMATE.start_main_#t~mem7|=12, |ULTIMATE.start_main_~#matriz~0.base|=2, |ULTIMATE.start_main_~#matriz~0.offset|=0] [?] assume 0 == __VERIFIER_assert_~cond; VAL [ULTIMATE.start___VERIFIER_assert_~cond=0, ULTIMATE.start_main_~j~0=0, ULTIMATE.start_main_~k~0=0, ULTIMATE.start_main_~maior~0=(- 2147483648), ULTIMATE.start_main_~N_COL~0=1, ULTIMATE.start_main_~N_LIN~0=1, |#NULL.base|=0, |#NULL.offset|=0, |ULTIMATE.start___VERIFIER_assert_#in~cond|=0, |ULTIMATE.start_main_#t~mem10|=(- 2147483648), |ULTIMATE.start_main_#t~mem7|=12, |ULTIMATE.start_main_~#matriz~0.base|=2, |ULTIMATE.start_main_~#matriz~0.offset|=0] [?] assume !false; VAL [ULTIMATE.start___VERIFIER_assert_~cond=0, ULTIMATE.start_main_~j~0=0, ULTIMATE.start_main_~k~0=0, ULTIMATE.start_main_~maior~0=(- 2147483648), ULTIMATE.start_main_~N_COL~0=1, ULTIMATE.start_main_~N_LIN~0=1, |#NULL.base|=0, |#NULL.offset|=0, |ULTIMATE.start___VERIFIER_assert_#in~cond|=0, |ULTIMATE.start_main_#t~mem10|=(- 2147483648), |ULTIMATE.start_main_#t~mem7|=12, |ULTIMATE.start_main_~#matriz~0.base|=2, |ULTIMATE.start_main_~#matriz~0.offset|=0] [?] #NULL.base, #NULL.offset := 0, 0; [?] #valid := #valid[0 := 0]; [?] havoc main_#res; [?] havoc main_#t~nondet0, main_#t~nondet1, main_#t~nondet2, main_#t~nondet5, main_#t~mem6, main_#t~mem7, main_#t~post4, main_#t~post3, main_#t~mem10, main_#t~post9, main_#t~post8, main_~N_LIN~0, main_~N_COL~0, main_~j~0, main_~k~0, main_~#matriz~0.base, main_~#matriz~0.offset, main_~maior~0; [L14] main_~N_LIN~0 := main_#t~nondet0; [L14] havoc main_#t~nondet0; [L15] main_~N_COL~0 := main_#t~nondet1; [L15] havoc main_#t~nondet1; [L16] havoc main_~j~0; [L16] havoc main_~k~0; [L17] call main_~#matriz~0.base, main_~#matriz~0.offset := #Ultimate.alloc(4 * (if main_~N_LIN~0 % 4294967296 % 4294967296 <= 2147483647 then main_~N_LIN~0 % 4294967296 % 4294967296 else main_~N_LIN~0 % 4294967296 % 4294967296 - 4294967296) * (if main_~N_COL~0 % 4294967296 % 4294967296 <= 2147483647 then main_~N_COL~0 % 4294967296 % 4294967296 else main_~N_COL~0 % 4294967296 % 4294967296 - 4294967296)); [L17] havoc main_~maior~0; [L19] assume -2147483648 <= main_#t~nondet2 && main_#t~nondet2 <= 2147483647; [L19] main_~maior~0 := main_#t~nondet2; [L19] havoc main_#t~nondet2; [L20] main_~j~0 := 0; VAL [#NULL.base=0, #NULL.offset=0, main_~#matriz~0.base=2, main_~#matriz~0.offset=0, main_~j~0=0, main_~maior~0=-2147483648, main_~N_COL~0=1, main_~N_LIN~0=1] [L20-L27] assume !!(main_~j~0 % 4294967296 < main_~N_COL~0 % 4294967296); [L21] main_~k~0 := 0; VAL [#NULL.base=0, #NULL.offset=0, main_~#matriz~0.base=2, main_~#matriz~0.offset=0, main_~j~0=0, main_~k~0=0, main_~maior~0=-2147483648, main_~N_COL~0=1, main_~N_LIN~0=1] [L21-L27] assume !!(main_~k~0 % 4294967296 < main_~N_LIN~0 % 4294967296); [L23] assume -2147483648 <= main_#t~nondet5 && main_#t~nondet5 <= 2147483647; [L23] call write~int(main_#t~nondet5, main_~#matriz~0.base, main_~#matriz~0.offset + (if main_~j~0 % 4294967296 % 4294967296 <= 2147483647 then main_~j~0 % 4294967296 % 4294967296 else main_~j~0 % 4294967296 % 4294967296 - 4294967296) * (4 * (if main_~N_LIN~0 % 4294967296 % 4294967296 <= 2147483647 then main_~N_LIN~0 % 4294967296 % 4294967296 else main_~N_LIN~0 % 4294967296 % 4294967296 - 4294967296)) + 4 * (if main_~k~0 % 4294967296 % 4294967296 <= 2147483647 then main_~k~0 % 4294967296 % 4294967296 else main_~k~0 % 4294967296 % 4294967296 - 4294967296), 4); [L23] havoc main_#t~nondet5; [L25] call main_#t~mem6 := read~int(main_~#matriz~0.base, main_~#matriz~0.offset + (if main_~j~0 % 4294967296 % 4294967296 <= 2147483647 then main_~j~0 % 4294967296 % 4294967296 else main_~j~0 % 4294967296 % 4294967296 - 4294967296) * (4 * (if main_~N_LIN~0 % 4294967296 % 4294967296 <= 2147483647 then main_~N_LIN~0 % 4294967296 % 4294967296 else main_~N_LIN~0 % 4294967296 % 4294967296 - 4294967296)) + 4 * (if main_~k~0 % 4294967296 % 4294967296 <= 2147483647 then main_~k~0 % 4294967296 % 4294967296 else main_~k~0 % 4294967296 % 4294967296 - 4294967296), 4); [L25-L26] assume !(main_#t~mem6 > main_~maior~0); [L25] havoc main_#t~mem6; [L21] main_#t~post4 := main_~k~0; [L21] main_~k~0 := 1 + main_#t~post4; [L21] havoc main_#t~post4; VAL [#NULL.base=0, #NULL.offset=0, main_#t~mem7=12, main_~#matriz~0.base=2, main_~#matriz~0.offset=0, main_~j~0=0, main_~k~0=1, main_~maior~0=-2147483648, main_~N_COL~0=1, main_~N_LIN~0=1] [L21-L27] assume !(main_~k~0 % 4294967296 < main_~N_LIN~0 % 4294967296); [L20] main_#t~post3 := main_~j~0; [L20] main_~j~0 := 1 + main_#t~post3; [L20] havoc main_#t~post3; VAL [#NULL.base=0, #NULL.offset=0, main_#t~mem7=12, main_~#matriz~0.base=2, main_~#matriz~0.offset=0, main_~j~0=1, main_~k~0=1, main_~maior~0=-2147483648, main_~N_COL~0=1, main_~N_LIN~0=1] [L20-L27] assume !(main_~j~0 % 4294967296 < main_~N_COL~0 % 4294967296); [L29] main_~j~0 := 0; VAL [#NULL.base=0, #NULL.offset=0, main_#t~mem7=12, main_~#matriz~0.base=2, main_~#matriz~0.offset=0, main_~j~0=0, main_~k~0=1, main_~maior~0=-2147483648, main_~N_COL~0=1, main_~N_LIN~0=1] [L29-L31] assume !!(main_~j~0 % 4294967296 < main_~N_COL~0 % 4294967296); [L30] main_~k~0 := 0; VAL [#NULL.base=0, #NULL.offset=0, main_#t~mem7=12, main_~#matriz~0.base=2, main_~#matriz~0.offset=0, main_~j~0=0, main_~k~0=0, main_~maior~0=-2147483648, main_~N_COL~0=1, main_~N_LIN~0=1] [L30-L31] assume !!(main_~k~0 % 4294967296 < main_~N_LIN~0 % 4294967296); [L31] call main_#t~mem10 := read~int(main_~#matriz~0.base, main_~#matriz~0.offset + (if main_~j~0 % 4294967296 % 4294967296 <= 2147483647 then main_~j~0 % 4294967296 % 4294967296 else main_~j~0 % 4294967296 % 4294967296 - 4294967296) * (4 * (if main_~N_LIN~0 % 4294967296 % 4294967296 <= 2147483647 then main_~N_LIN~0 % 4294967296 % 4294967296 else main_~N_LIN~0 % 4294967296 % 4294967296 - 4294967296)) + 4 * (if main_~k~0 % 4294967296 % 4294967296 <= 2147483647 then main_~k~0 % 4294967296 % 4294967296 else main_~k~0 % 4294967296 % 4294967296 - 4294967296), 4); [L31] __VERIFIER_assert_#in~cond := (if main_#t~mem10 < main_~maior~0 then 1 else 0); [L31] havoc __VERIFIER_assert_~cond; [L3-L8] __VERIFIER_assert_~cond := __VERIFIER_assert_#in~cond; VAL [#NULL.base=0, #NULL.offset=0, __VERIFIER_assert_#in~cond=0, __VERIFIER_assert_~cond=0, main_#t~mem10=-2147483648, main_#t~mem7=12, main_~#matriz~0.base=2, main_~#matriz~0.offset=0, main_~j~0=0, main_~k~0=0, main_~maior~0=-2147483648, main_~N_COL~0=1, main_~N_LIN~0=1] [L4-L6] assume 0 == __VERIFIER_assert_~cond; VAL [#NULL.base=0, #NULL.offset=0, __VERIFIER_assert_#in~cond=0, __VERIFIER_assert_~cond=0, main_#t~mem10=-2147483648, main_#t~mem7=12, main_~#matriz~0.base=2, main_~#matriz~0.offset=0, main_~j~0=0, main_~k~0=0, main_~maior~0=-2147483648, main_~N_COL~0=1, main_~N_LIN~0=1] [L5] assert false; VAL [#NULL.base=0, #NULL.offset=0, __VERIFIER_assert_#in~cond=0, __VERIFIER_assert_~cond=0, main_#t~mem10=-2147483648, main_#t~mem7=12, main_~#matriz~0.base=2, main_~#matriz~0.offset=0, main_~j~0=0, main_~k~0=0, main_~maior~0=-2147483648, main_~N_COL~0=1, main_~N_LIN~0=1] ----- ----- class de.uni_freiburg.informatik.ultimate.boogie.preprocessor.BoogiePreprocessorBacktranslator [?] #NULL.base, #NULL.offset := 0, 0; [?] #valid := #valid[0 := 0]; [?] havoc main_#res; [?] havoc main_#t~nondet0, main_#t~nondet1, main_#t~nondet2, main_#t~nondet5, main_#t~mem6, main_#t~mem7, main_#t~post4, main_#t~post3, main_#t~mem10, main_#t~post9, main_#t~post8, main_~N_LIN~0, main_~N_COL~0, main_~j~0, main_~k~0, main_~#matriz~0.base, main_~#matriz~0.offset, main_~maior~0; [L14] main_~N_LIN~0 := main_#t~nondet0; [L14] havoc main_#t~nondet0; [L15] main_~N_COL~0 := main_#t~nondet1; [L15] havoc main_#t~nondet1; [L16] havoc main_~j~0; [L16] havoc main_~k~0; [L17] call main_~#matriz~0.base, main_~#matriz~0.offset := #Ultimate.alloc(4 * (if main_~N_LIN~0 % 4294967296 % 4294967296 <= 2147483647 then main_~N_LIN~0 % 4294967296 % 4294967296 else main_~N_LIN~0 % 4294967296 % 4294967296 - 4294967296) * (if main_~N_COL~0 % 4294967296 % 4294967296 <= 2147483647 then main_~N_COL~0 % 4294967296 % 4294967296 else main_~N_COL~0 % 4294967296 % 4294967296 - 4294967296)); [L17] havoc main_~maior~0; [L19] assume -2147483648 <= main_#t~nondet2 && main_#t~nondet2 <= 2147483647; [L19] main_~maior~0 := main_#t~nondet2; [L19] havoc main_#t~nondet2; [L20] main_~j~0 := 0; VAL [#NULL.base=0, #NULL.offset=0, main_~#matriz~0.base=2, main_~#matriz~0.offset=0, main_~j~0=0, main_~maior~0=-2147483648, main_~N_COL~0=1, main_~N_LIN~0=1] [L20-L27] assume !!(main_~j~0 % 4294967296 < main_~N_COL~0 % 4294967296); [L21] main_~k~0 := 0; VAL [#NULL.base=0, #NULL.offset=0, main_~#matriz~0.base=2, main_~#matriz~0.offset=0, main_~j~0=0, main_~k~0=0, main_~maior~0=-2147483648, main_~N_COL~0=1, main_~N_LIN~0=1] [L21-L27] assume !!(main_~k~0 % 4294967296 < main_~N_LIN~0 % 4294967296); [L23] assume -2147483648 <= main_#t~nondet5 && main_#t~nondet5 <= 2147483647; [L23] call write~int(main_#t~nondet5, main_~#matriz~0.base, main_~#matriz~0.offset + (if main_~j~0 % 4294967296 % 4294967296 <= 2147483647 then main_~j~0 % 4294967296 % 4294967296 else main_~j~0 % 4294967296 % 4294967296 - 4294967296) * (4 * (if main_~N_LIN~0 % 4294967296 % 4294967296 <= 2147483647 then main_~N_LIN~0 % 4294967296 % 4294967296 else main_~N_LIN~0 % 4294967296 % 4294967296 - 4294967296)) + 4 * (if main_~k~0 % 4294967296 % 4294967296 <= 2147483647 then main_~k~0 % 4294967296 % 4294967296 else main_~k~0 % 4294967296 % 4294967296 - 4294967296), 4); [L23] havoc main_#t~nondet5; [L25] call main_#t~mem6 := read~int(main_~#matriz~0.base, main_~#matriz~0.offset + (if main_~j~0 % 4294967296 % 4294967296 <= 2147483647 then main_~j~0 % 4294967296 % 4294967296 else main_~j~0 % 4294967296 % 4294967296 - 4294967296) * (4 * (if main_~N_LIN~0 % 4294967296 % 4294967296 <= 2147483647 then main_~N_LIN~0 % 4294967296 % 4294967296 else main_~N_LIN~0 % 4294967296 % 4294967296 - 4294967296)) + 4 * (if main_~k~0 % 4294967296 % 4294967296 <= 2147483647 then main_~k~0 % 4294967296 % 4294967296 else main_~k~0 % 4294967296 % 4294967296 - 4294967296), 4); [L25-L26] assume !(main_#t~mem6 > main_~maior~0); [L25] havoc main_#t~mem6; [L21] main_#t~post4 := main_~k~0; [L21] main_~k~0 := 1 + main_#t~post4; [L21] havoc main_#t~post4; VAL [#NULL.base=0, #NULL.offset=0, main_#t~mem7=12, main_~#matriz~0.base=2, main_~#matriz~0.offset=0, main_~j~0=0, main_~k~0=1, main_~maior~0=-2147483648, main_~N_COL~0=1, main_~N_LIN~0=1] [L21-L27] assume !(main_~k~0 % 4294967296 < main_~N_LIN~0 % 4294967296); [L20] main_#t~post3 := main_~j~0; [L20] main_~j~0 := 1 + main_#t~post3; [L20] havoc main_#t~post3; VAL [#NULL.base=0, #NULL.offset=0, main_#t~mem7=12, main_~#matriz~0.base=2, main_~#matriz~0.offset=0, main_~j~0=1, main_~k~0=1, main_~maior~0=-2147483648, main_~N_COL~0=1, main_~N_LIN~0=1] [L20-L27] assume !(main_~j~0 % 4294967296 < main_~N_COL~0 % 4294967296); [L29] main_~j~0 := 0; VAL [#NULL.base=0, #NULL.offset=0, main_#t~mem7=12, main_~#matriz~0.base=2, main_~#matriz~0.offset=0, main_~j~0=0, main_~k~0=1, main_~maior~0=-2147483648, main_~N_COL~0=1, main_~N_LIN~0=1] [L29-L31] assume !!(main_~j~0 % 4294967296 < main_~N_COL~0 % 4294967296); [L30] main_~k~0 := 0; VAL [#NULL.base=0, #NULL.offset=0, main_#t~mem7=12, main_~#matriz~0.base=2, main_~#matriz~0.offset=0, main_~j~0=0, main_~k~0=0, main_~maior~0=-2147483648, main_~N_COL~0=1, main_~N_LIN~0=1] [L30-L31] assume !!(main_~k~0 % 4294967296 < main_~N_LIN~0 % 4294967296); [L31] call main_#t~mem10 := read~int(main_~#matriz~0.base, main_~#matriz~0.offset + (if main_~j~0 % 4294967296 % 4294967296 <= 2147483647 then main_~j~0 % 4294967296 % 4294967296 else main_~j~0 % 4294967296 % 4294967296 - 4294967296) * (4 * (if main_~N_LIN~0 % 4294967296 % 4294967296 <= 2147483647 then main_~N_LIN~0 % 4294967296 % 4294967296 else main_~N_LIN~0 % 4294967296 % 4294967296 - 4294967296)) + 4 * (if main_~k~0 % 4294967296 % 4294967296 <= 2147483647 then main_~k~0 % 4294967296 % 4294967296 else main_~k~0 % 4294967296 % 4294967296 - 4294967296), 4); [L31] __VERIFIER_assert_#in~cond := (if main_#t~mem10 < main_~maior~0 then 1 else 0); [L31] havoc __VERIFIER_assert_~cond; [L3-L8] __VERIFIER_assert_~cond := __VERIFIER_assert_#in~cond; VAL [#NULL.base=0, #NULL.offset=0, __VERIFIER_assert_#in~cond=0, __VERIFIER_assert_~cond=0, main_#t~mem10=-2147483648, main_#t~mem7=12, main_~#matriz~0.base=2, main_~#matriz~0.offset=0, main_~j~0=0, main_~k~0=0, main_~maior~0=-2147483648, main_~N_COL~0=1, main_~N_LIN~0=1] [L4-L6] assume 0 == __VERIFIER_assert_~cond; VAL [#NULL.base=0, #NULL.offset=0, __VERIFIER_assert_#in~cond=0, __VERIFIER_assert_~cond=0, main_#t~mem10=-2147483648, main_#t~mem7=12, main_~#matriz~0.base=2, main_~#matriz~0.offset=0, main_~j~0=0, main_~k~0=0, main_~maior~0=-2147483648, main_~N_COL~0=1, main_~N_LIN~0=1] [L5] assert false; VAL [#NULL.base=0, #NULL.offset=0, __VERIFIER_assert_#in~cond=0, __VERIFIER_assert_~cond=0, main_#t~mem10=-2147483648, main_#t~mem7=12, main_~#matriz~0.base=2, main_~#matriz~0.offset=0, main_~j~0=0, main_~k~0=0, main_~maior~0=-2147483648, main_~N_COL~0=1, main_~N_LIN~0=1] [?] #NULL := { base: 0, offset: 0 }; [?] #valid[0] := 0; [?] havoc main_#res; [?] havoc main_#t~nondet0, main_#t~nondet1, main_#t~nondet2, main_#t~nondet5, main_#t~mem6, main_#t~mem7, main_#t~post4, main_#t~post3, main_#t~mem10, main_#t~post9, main_#t~post8, main_~N_LIN~0, main_~N_COL~0, main_~j~0, main_~k~0, main_~#matriz~0, main_~maior~0; [L14] main_~N_LIN~0 := main_#t~nondet0; [L14] havoc main_#t~nondet0; [L15] main_~N_COL~0 := main_#t~nondet1; [L15] havoc main_#t~nondet1; [L16] havoc main_~j~0; [L16] havoc main_~k~0; [L17] FCALL call main_~#matriz~0 := #Ultimate.alloc(4 * (if main_~N_LIN~0 % 4294967296 % 4294967296 <= 2147483647 then main_~N_LIN~0 % 4294967296 % 4294967296 else main_~N_LIN~0 % 4294967296 % 4294967296 - 4294967296) * (if main_~N_COL~0 % 4294967296 % 4294967296 <= 2147483647 then main_~N_COL~0 % 4294967296 % 4294967296 else main_~N_COL~0 % 4294967296 % 4294967296 - 4294967296)); [L17] havoc main_~maior~0; [L19] assume -2147483648 <= main_#t~nondet2 && main_#t~nondet2 <= 2147483647; [L19] main_~maior~0 := main_#t~nondet2; [L19] havoc main_#t~nondet2; [L20] main_~j~0 := 0; VAL [#NULL!base=0, #NULL!offset=0, main_~#matriz~0!base=2, main_~#matriz~0!offset=0, main_~j~0=0, main_~maior~0=-2147483648, main_~N_COL~0=1, main_~N_LIN~0=1] [L20-L27] COND FALSE !(!(main_~j~0 % 4294967296 < main_~N_COL~0 % 4294967296)) [L21] main_~k~0 := 0; VAL [#NULL!base=0, #NULL!offset=0, main_~#matriz~0!base=2, main_~#matriz~0!offset=0, main_~j~0=0, main_~k~0=0, main_~maior~0=-2147483648, main_~N_COL~0=1, main_~N_LIN~0=1] [L21-L27] COND FALSE !(!(main_~k~0 % 4294967296 < main_~N_LIN~0 % 4294967296)) [L23] assume -2147483648 <= main_#t~nondet5 && main_#t~nondet5 <= 2147483647; [L23] FCALL call write~int(main_#t~nondet5, { base: main_~#matriz~0!base, offset: main_~#matriz~0!offset + (if main_~j~0 % 4294967296 % 4294967296 <= 2147483647 then main_~j~0 % 4294967296 % 4294967296 else main_~j~0 % 4294967296 % 4294967296 - 4294967296) * (4 * (if main_~N_LIN~0 % 4294967296 % 4294967296 <= 2147483647 then main_~N_LIN~0 % 4294967296 % 4294967296 else main_~N_LIN~0 % 4294967296 % 4294967296 - 4294967296)) + 4 * (if main_~k~0 % 4294967296 % 4294967296 <= 2147483647 then main_~k~0 % 4294967296 % 4294967296 else main_~k~0 % 4294967296 % 4294967296 - 4294967296) }, 4); [L23] havoc main_#t~nondet5; [L25] FCALL call main_#t~mem6 := read~int({ base: main_~#matriz~0!base, offset: main_~#matriz~0!offset + (if main_~j~0 % 4294967296 % 4294967296 <= 2147483647 then main_~j~0 % 4294967296 % 4294967296 else main_~j~0 % 4294967296 % 4294967296 - 4294967296) * (4 * (if main_~N_LIN~0 % 4294967296 % 4294967296 <= 2147483647 then main_~N_LIN~0 % 4294967296 % 4294967296 else main_~N_LIN~0 % 4294967296 % 4294967296 - 4294967296)) + 4 * (if main_~k~0 % 4294967296 % 4294967296 <= 2147483647 then main_~k~0 % 4294967296 % 4294967296 else main_~k~0 % 4294967296 % 4294967296 - 4294967296) }, 4); [L25] COND FALSE !(main_#t~mem6 > main_~maior~0) [L25] havoc main_#t~mem6; [L21] main_#t~post4 := main_~k~0; [L21] main_~k~0 := 1 + main_#t~post4; [L21] havoc main_#t~post4; VAL [#NULL!base=0, #NULL!offset=0, main_#t~mem7=12, main_~#matriz~0!base=2, main_~#matriz~0!offset=0, main_~j~0=0, main_~k~0=1, main_~maior~0=-2147483648, main_~N_COL~0=1, main_~N_LIN~0=1] [L21-L27] COND TRUE !(main_~k~0 % 4294967296 < main_~N_LIN~0 % 4294967296) [L20] main_#t~post3 := main_~j~0; [L20] main_~j~0 := 1 + main_#t~post3; [L20] havoc main_#t~post3; VAL [#NULL!base=0, #NULL!offset=0, main_#t~mem7=12, main_~#matriz~0!base=2, main_~#matriz~0!offset=0, main_~j~0=1, main_~k~0=1, main_~maior~0=-2147483648, main_~N_COL~0=1, main_~N_LIN~0=1] [L20-L27] COND TRUE !(main_~j~0 % 4294967296 < main_~N_COL~0 % 4294967296) [L29] main_~j~0 := 0; VAL [#NULL!base=0, #NULL!offset=0, main_#t~mem7=12, main_~#matriz~0!base=2, main_~#matriz~0!offset=0, main_~j~0=0, main_~k~0=1, main_~maior~0=-2147483648, main_~N_COL~0=1, main_~N_LIN~0=1] [L29-L31] COND FALSE !(!(main_~j~0 % 4294967296 < main_~N_COL~0 % 4294967296)) [L30] main_~k~0 := 0; VAL [#NULL!base=0, #NULL!offset=0, main_#t~mem7=12, main_~#matriz~0!base=2, main_~#matriz~0!offset=0, main_~j~0=0, main_~k~0=0, main_~maior~0=-2147483648, main_~N_COL~0=1, main_~N_LIN~0=1] [L30-L31] COND FALSE !(!(main_~k~0 % 4294967296 < main_~N_LIN~0 % 4294967296)) [L31] FCALL call main_#t~mem10 := read~int({ base: main_~#matriz~0!base, offset: main_~#matriz~0!offset + (if main_~j~0 % 4294967296 % 4294967296 <= 2147483647 then main_~j~0 % 4294967296 % 4294967296 else main_~j~0 % 4294967296 % 4294967296 - 4294967296) * (4 * (if main_~N_LIN~0 % 4294967296 % 4294967296 <= 2147483647 then main_~N_LIN~0 % 4294967296 % 4294967296 else main_~N_LIN~0 % 4294967296 % 4294967296 - 4294967296)) + 4 * (if main_~k~0 % 4294967296 % 4294967296 <= 2147483647 then main_~k~0 % 4294967296 % 4294967296 else main_~k~0 % 4294967296 % 4294967296 - 4294967296) }, 4); [L31] __VERIFIER_assert_#in~cond := (if main_#t~mem10 < main_~maior~0 then 1 else 0); [L31] havoc __VERIFIER_assert_~cond; [L3-L8] __VERIFIER_assert_~cond := __VERIFIER_assert_#in~cond; VAL [#NULL!base=0, #NULL!offset=0, __VERIFIER_assert_#in~cond=0, __VERIFIER_assert_~cond=0, main_#t~mem10=-2147483648, main_#t~mem7=12, main_~#matriz~0!base=2, main_~#matriz~0!offset=0, main_~j~0=0, main_~k~0=0, main_~maior~0=-2147483648, main_~N_COL~0=1, main_~N_LIN~0=1] [L4] COND TRUE 0 == __VERIFIER_assert_~cond VAL [#NULL!base=0, #NULL!offset=0, __VERIFIER_assert_#in~cond=0, __VERIFIER_assert_~cond=0, main_#t~mem10=-2147483648, main_#t~mem7=12, main_~#matriz~0!base=2, main_~#matriz~0!offset=0, main_~j~0=0, main_~k~0=0, main_~maior~0=-2147483648, main_~N_COL~0=1, main_~N_LIN~0=1] [L5] assert false; VAL [#NULL!base=0, #NULL!offset=0, __VERIFIER_assert_#in~cond=0, __VERIFIER_assert_~cond=0, main_#t~mem10=-2147483648, main_#t~mem7=12, main_~#matriz~0!base=2, main_~#matriz~0!offset=0, main_~j~0=0, main_~k~0=0, main_~maior~0=-2147483648, main_~N_COL~0=1, main_~N_LIN~0=1] ----- ----- class de.uni_freiburg.informatik.ultimate.boogie.procedureinliner.backtranslation.InlinerBacktranslator [?] #NULL := { base: 0, offset: 0 }; [?] #valid[0] := 0; [?] havoc main_#res; [?] havoc main_#t~nondet0, main_#t~nondet1, main_#t~nondet2, main_#t~nondet5, main_#t~mem6, main_#t~mem7, main_#t~post4, main_#t~post3, main_#t~mem10, main_#t~post9, main_#t~post8, main_~N_LIN~0, main_~N_COL~0, main_~j~0, main_~k~0, main_~#matriz~0, main_~maior~0; [L14] main_~N_LIN~0 := main_#t~nondet0; [L14] havoc main_#t~nondet0; [L15] main_~N_COL~0 := main_#t~nondet1; [L15] havoc main_#t~nondet1; [L16] havoc main_~j~0; [L16] havoc main_~k~0; [L17] FCALL call main_~#matriz~0 := #Ultimate.alloc(4 * (if main_~N_LIN~0 % 4294967296 % 4294967296 <= 2147483647 then main_~N_LIN~0 % 4294967296 % 4294967296 else main_~N_LIN~0 % 4294967296 % 4294967296 - 4294967296) * (if main_~N_COL~0 % 4294967296 % 4294967296 <= 2147483647 then main_~N_COL~0 % 4294967296 % 4294967296 else main_~N_COL~0 % 4294967296 % 4294967296 - 4294967296)); [L17] havoc main_~maior~0; [L19] assume -2147483648 <= main_#t~nondet2 && main_#t~nondet2 <= 2147483647; [L19] main_~maior~0 := main_#t~nondet2; [L19] havoc main_#t~nondet2; [L20] main_~j~0 := 0; VAL [#NULL!base=0, #NULL!offset=0, main_~#matriz~0!base=2, main_~#matriz~0!offset=0, main_~j~0=0, main_~maior~0=-2147483648, main_~N_COL~0=1, main_~N_LIN~0=1] [L20-L27] COND FALSE !(!(main_~j~0 % 4294967296 < main_~N_COL~0 % 4294967296)) [L21] main_~k~0 := 0; VAL [#NULL!base=0, #NULL!offset=0, main_~#matriz~0!base=2, main_~#matriz~0!offset=0, main_~j~0=0, main_~k~0=0, main_~maior~0=-2147483648, main_~N_COL~0=1, main_~N_LIN~0=1] [L21-L27] COND FALSE !(!(main_~k~0 % 4294967296 < main_~N_LIN~0 % 4294967296)) [L23] assume -2147483648 <= main_#t~nondet5 && main_#t~nondet5 <= 2147483647; [L23] FCALL call write~int(main_#t~nondet5, { base: main_~#matriz~0!base, offset: main_~#matriz~0!offset + (if main_~j~0 % 4294967296 % 4294967296 <= 2147483647 then main_~j~0 % 4294967296 % 4294967296 else main_~j~0 % 4294967296 % 4294967296 - 4294967296) * (4 * (if main_~N_LIN~0 % 4294967296 % 4294967296 <= 2147483647 then main_~N_LIN~0 % 4294967296 % 4294967296 else main_~N_LIN~0 % 4294967296 % 4294967296 - 4294967296)) + 4 * (if main_~k~0 % 4294967296 % 4294967296 <= 2147483647 then main_~k~0 % 4294967296 % 4294967296 else main_~k~0 % 4294967296 % 4294967296 - 4294967296) }, 4); [L23] havoc main_#t~nondet5; [L25] FCALL call main_#t~mem6 := read~int({ base: main_~#matriz~0!base, offset: main_~#matriz~0!offset + (if main_~j~0 % 4294967296 % 4294967296 <= 2147483647 then main_~j~0 % 4294967296 % 4294967296 else main_~j~0 % 4294967296 % 4294967296 - 4294967296) * (4 * (if main_~N_LIN~0 % 4294967296 % 4294967296 <= 2147483647 then main_~N_LIN~0 % 4294967296 % 4294967296 else main_~N_LIN~0 % 4294967296 % 4294967296 - 4294967296)) + 4 * (if main_~k~0 % 4294967296 % 4294967296 <= 2147483647 then main_~k~0 % 4294967296 % 4294967296 else main_~k~0 % 4294967296 % 4294967296 - 4294967296) }, 4); [L25] COND FALSE !(main_#t~mem6 > main_~maior~0) [L25] havoc main_#t~mem6; [L21] main_#t~post4 := main_~k~0; [L21] main_~k~0 := 1 + main_#t~post4; [L21] havoc main_#t~post4; VAL [#NULL!base=0, #NULL!offset=0, main_#t~mem7=12, main_~#matriz~0!base=2, main_~#matriz~0!offset=0, main_~j~0=0, main_~k~0=1, main_~maior~0=-2147483648, main_~N_COL~0=1, main_~N_LIN~0=1] [L21-L27] COND TRUE !(main_~k~0 % 4294967296 < main_~N_LIN~0 % 4294967296) [L20] main_#t~post3 := main_~j~0; [L20] main_~j~0 := 1 + main_#t~post3; [L20] havoc main_#t~post3; VAL [#NULL!base=0, #NULL!offset=0, main_#t~mem7=12, main_~#matriz~0!base=2, main_~#matriz~0!offset=0, main_~j~0=1, main_~k~0=1, main_~maior~0=-2147483648, main_~N_COL~0=1, main_~N_LIN~0=1] [L20-L27] COND TRUE !(main_~j~0 % 4294967296 < main_~N_COL~0 % 4294967296) [L29] main_~j~0 := 0; VAL [#NULL!base=0, #NULL!offset=0, main_#t~mem7=12, main_~#matriz~0!base=2, main_~#matriz~0!offset=0, main_~j~0=0, main_~k~0=1, main_~maior~0=-2147483648, main_~N_COL~0=1, main_~N_LIN~0=1] [L29-L31] COND FALSE !(!(main_~j~0 % 4294967296 < main_~N_COL~0 % 4294967296)) [L30] main_~k~0 := 0; VAL [#NULL!base=0, #NULL!offset=0, main_#t~mem7=12, main_~#matriz~0!base=2, main_~#matriz~0!offset=0, main_~j~0=0, main_~k~0=0, main_~maior~0=-2147483648, main_~N_COL~0=1, main_~N_LIN~0=1] [L30-L31] COND FALSE !(!(main_~k~0 % 4294967296 < main_~N_LIN~0 % 4294967296)) [L31] FCALL call main_#t~mem10 := read~int({ base: main_~#matriz~0!base, offset: main_~#matriz~0!offset + (if main_~j~0 % 4294967296 % 4294967296 <= 2147483647 then main_~j~0 % 4294967296 % 4294967296 else main_~j~0 % 4294967296 % 4294967296 - 4294967296) * (4 * (if main_~N_LIN~0 % 4294967296 % 4294967296 <= 2147483647 then main_~N_LIN~0 % 4294967296 % 4294967296 else main_~N_LIN~0 % 4294967296 % 4294967296 - 4294967296)) + 4 * (if main_~k~0 % 4294967296 % 4294967296 <= 2147483647 then main_~k~0 % 4294967296 % 4294967296 else main_~k~0 % 4294967296 % 4294967296 - 4294967296) }, 4); [L31] __VERIFIER_assert_#in~cond := (if main_#t~mem10 < main_~maior~0 then 1 else 0); [L31] havoc __VERIFIER_assert_~cond; [L3-L8] __VERIFIER_assert_~cond := __VERIFIER_assert_#in~cond; VAL [#NULL!base=0, #NULL!offset=0, __VERIFIER_assert_#in~cond=0, __VERIFIER_assert_~cond=0, main_#t~mem10=-2147483648, main_#t~mem7=12, main_~#matriz~0!base=2, main_~#matriz~0!offset=0, main_~j~0=0, main_~k~0=0, main_~maior~0=-2147483648, main_~N_COL~0=1, main_~N_LIN~0=1] [L4] COND TRUE 0 == __VERIFIER_assert_~cond VAL [#NULL!base=0, #NULL!offset=0, __VERIFIER_assert_#in~cond=0, __VERIFIER_assert_~cond=0, main_#t~mem10=-2147483648, main_#t~mem7=12, main_~#matriz~0!base=2, main_~#matriz~0!offset=0, main_~j~0=0, main_~k~0=0, main_~maior~0=-2147483648, main_~N_COL~0=1, main_~N_LIN~0=1] [L5] assert false; VAL [#NULL!base=0, #NULL!offset=0, __VERIFIER_assert_#in~cond=0, __VERIFIER_assert_~cond=0, main_#t~mem10=-2147483648, main_#t~mem7=12, main_~#matriz~0!base=2, main_~#matriz~0!offset=0, main_~j~0=0, main_~k~0=0, main_~maior~0=-2147483648, main_~N_COL~0=1, main_~N_LIN~0=1] [?] #NULL := { base: 0, offset: 0 }; [?] #valid[0] := 0; [L14] ~N_LIN~0 := #t~nondet0; [L14] havoc #t~nondet0; [L15] ~N_COL~0 := #t~nondet1; [L15] havoc #t~nondet1; [L16] havoc ~j~0; [L16] havoc ~k~0; [L17] FCALL call ~#matriz~0 := #Ultimate.alloc(4 * (if ~N_LIN~0 % 4294967296 % 4294967296 <= 2147483647 then ~N_LIN~0 % 4294967296 % 4294967296 else ~N_LIN~0 % 4294967296 % 4294967296 - 4294967296) * (if ~N_COL~0 % 4294967296 % 4294967296 <= 2147483647 then ~N_COL~0 % 4294967296 % 4294967296 else ~N_COL~0 % 4294967296 % 4294967296 - 4294967296)); [L17] havoc ~maior~0; [L19] assume -2147483648 <= #t~nondet2 && #t~nondet2 <= 2147483647; [L19] ~maior~0 := #t~nondet2; [L19] havoc #t~nondet2; [L20] ~j~0 := 0; VAL [#NULL!base=0, #NULL!offset=0] [L20-L27] COND FALSE !(!(~j~0 % 4294967296 < ~N_COL~0 % 4294967296)) [L21] ~k~0 := 0; VAL [#NULL!base=0, #NULL!offset=0] [L21-L27] COND FALSE !(!(~k~0 % 4294967296 < ~N_LIN~0 % 4294967296)) [L23] assume -2147483648 <= #t~nondet5 && #t~nondet5 <= 2147483647; [L23] FCALL call write~int(#t~nondet5, { base: ~#matriz~0!base, offset: ~#matriz~0!offset + (if ~j~0 % 4294967296 % 4294967296 <= 2147483647 then ~j~0 % 4294967296 % 4294967296 else ~j~0 % 4294967296 % 4294967296 - 4294967296) * (4 * (if ~N_LIN~0 % 4294967296 % 4294967296 <= 2147483647 then ~N_LIN~0 % 4294967296 % 4294967296 else ~N_LIN~0 % 4294967296 % 4294967296 - 4294967296)) + 4 * (if ~k~0 % 4294967296 % 4294967296 <= 2147483647 then ~k~0 % 4294967296 % 4294967296 else ~k~0 % 4294967296 % 4294967296 - 4294967296) }, 4); [L23] havoc #t~nondet5; [L25] FCALL call #t~mem6 := read~int({ base: ~#matriz~0!base, offset: ~#matriz~0!offset + (if ~j~0 % 4294967296 % 4294967296 <= 2147483647 then ~j~0 % 4294967296 % 4294967296 else ~j~0 % 4294967296 % 4294967296 - 4294967296) * (4 * (if ~N_LIN~0 % 4294967296 % 4294967296 <= 2147483647 then ~N_LIN~0 % 4294967296 % 4294967296 else ~N_LIN~0 % 4294967296 % 4294967296 - 4294967296)) + 4 * (if ~k~0 % 4294967296 % 4294967296 <= 2147483647 then ~k~0 % 4294967296 % 4294967296 else ~k~0 % 4294967296 % 4294967296 - 4294967296) }, 4); [L25] COND FALSE !(#t~mem6 > ~maior~0) [L25] havoc #t~mem6; [L21] #t~post4 := ~k~0; [L21] ~k~0 := 1 + #t~post4; [L21] havoc #t~post4; VAL [#NULL!base=0, #NULL!offset=0] [L21-L27] COND TRUE !(~k~0 % 4294967296 < ~N_LIN~0 % 4294967296) [L20] #t~post3 := ~j~0; [L20] ~j~0 := 1 + #t~post3; [L20] havoc #t~post3; VAL [#NULL!base=0, #NULL!offset=0] [L20-L27] COND TRUE !(~j~0 % 4294967296 < ~N_COL~0 % 4294967296) [L29] ~j~0 := 0; VAL [#NULL!base=0, #NULL!offset=0] [L29-L31] COND FALSE !(!(~j~0 % 4294967296 < ~N_COL~0 % 4294967296)) [L30] ~k~0 := 0; VAL [#NULL!base=0, #NULL!offset=0] [L30-L31] COND FALSE !(!(~k~0 % 4294967296 < ~N_LIN~0 % 4294967296)) [L31] FCALL call #t~mem10 := read~int({ base: ~#matriz~0!base, offset: ~#matriz~0!offset + (if ~j~0 % 4294967296 % 4294967296 <= 2147483647 then ~j~0 % 4294967296 % 4294967296 else ~j~0 % 4294967296 % 4294967296 - 4294967296) * (4 * (if ~N_LIN~0 % 4294967296 % 4294967296 <= 2147483647 then ~N_LIN~0 % 4294967296 % 4294967296 else ~N_LIN~0 % 4294967296 % 4294967296 - 4294967296)) + 4 * (if ~k~0 % 4294967296 % 4294967296 <= 2147483647 then ~k~0 % 4294967296 % 4294967296 else ~k~0 % 4294967296 % 4294967296 - 4294967296) }, 4); [L3-L8] ~cond := #in~cond; VAL [#NULL!base=0, #NULL!offset=0] [L4] COND TRUE 0 == ~cond VAL [#NULL!base=0, #NULL!offset=0] [L5] assert false; VAL [#NULL!base=0, #NULL!offset=0] ----- ----- class de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator.CACSL2BoogieBacktranslator [?] #NULL := { base: 0, offset: 0 }; [?] #valid[0] := 0; [L14] ~N_LIN~0 := #t~nondet0; [L14] havoc #t~nondet0; [L15] ~N_COL~0 := #t~nondet1; [L15] havoc #t~nondet1; [L16] havoc ~j~0; [L16] havoc ~k~0; [L17] FCALL call ~#matriz~0 := #Ultimate.alloc(4 * (if ~N_LIN~0 % 4294967296 % 4294967296 <= 2147483647 then ~N_LIN~0 % 4294967296 % 4294967296 else ~N_LIN~0 % 4294967296 % 4294967296 - 4294967296) * (if ~N_COL~0 % 4294967296 % 4294967296 <= 2147483647 then ~N_COL~0 % 4294967296 % 4294967296 else ~N_COL~0 % 4294967296 % 4294967296 - 4294967296)); [L17] havoc ~maior~0; [L19] assume -2147483648 <= #t~nondet2 && #t~nondet2 <= 2147483647; [L19] ~maior~0 := #t~nondet2; [L19] havoc #t~nondet2; [L20] ~j~0 := 0; VAL [#NULL!base=0, #NULL!offset=0] [L20-L27] COND FALSE !(!(~j~0 % 4294967296 < ~N_COL~0 % 4294967296)) [L21] ~k~0 := 0; VAL [#NULL!base=0, #NULL!offset=0] [L21-L27] COND FALSE !(!(~k~0 % 4294967296 < ~N_LIN~0 % 4294967296)) [L23] assume -2147483648 <= #t~nondet5 && #t~nondet5 <= 2147483647; [L23] FCALL call write~int(#t~nondet5, { base: ~#matriz~0!base, offset: ~#matriz~0!offset + (if ~j~0 % 4294967296 % 4294967296 <= 2147483647 then ~j~0 % 4294967296 % 4294967296 else ~j~0 % 4294967296 % 4294967296 - 4294967296) * (4 * (if ~N_LIN~0 % 4294967296 % 4294967296 <= 2147483647 then ~N_LIN~0 % 4294967296 % 4294967296 else ~N_LIN~0 % 4294967296 % 4294967296 - 4294967296)) + 4 * (if ~k~0 % 4294967296 % 4294967296 <= 2147483647 then ~k~0 % 4294967296 % 4294967296 else ~k~0 % 4294967296 % 4294967296 - 4294967296) }, 4); [L23] havoc #t~nondet5; [L25] FCALL call #t~mem6 := read~int({ base: ~#matriz~0!base, offset: ~#matriz~0!offset + (if ~j~0 % 4294967296 % 4294967296 <= 2147483647 then ~j~0 % 4294967296 % 4294967296 else ~j~0 % 4294967296 % 4294967296 - 4294967296) * (4 * (if ~N_LIN~0 % 4294967296 % 4294967296 <= 2147483647 then ~N_LIN~0 % 4294967296 % 4294967296 else ~N_LIN~0 % 4294967296 % 4294967296 - 4294967296)) + 4 * (if ~k~0 % 4294967296 % 4294967296 <= 2147483647 then ~k~0 % 4294967296 % 4294967296 else ~k~0 % 4294967296 % 4294967296 - 4294967296) }, 4); [L25] COND FALSE !(#t~mem6 > ~maior~0) [L25] havoc #t~mem6; [L21] #t~post4 := ~k~0; [L21] ~k~0 := 1 + #t~post4; [L21] havoc #t~post4; VAL [#NULL!base=0, #NULL!offset=0] [L21-L27] COND TRUE !(~k~0 % 4294967296 < ~N_LIN~0 % 4294967296) [L20] #t~post3 := ~j~0; [L20] ~j~0 := 1 + #t~post3; [L20] havoc #t~post3; VAL [#NULL!base=0, #NULL!offset=0] [L20-L27] COND TRUE !(~j~0 % 4294967296 < ~N_COL~0 % 4294967296) [L29] ~j~0 := 0; VAL [#NULL!base=0, #NULL!offset=0] [L29-L31] COND FALSE !(!(~j~0 % 4294967296 < ~N_COL~0 % 4294967296)) [L30] ~k~0 := 0; VAL [#NULL!base=0, #NULL!offset=0] [L30-L31] COND FALSE !(!(~k~0 % 4294967296 < ~N_LIN~0 % 4294967296)) [L31] FCALL call #t~mem10 := read~int({ base: ~#matriz~0!base, offset: ~#matriz~0!offset + (if ~j~0 % 4294967296 % 4294967296 <= 2147483647 then ~j~0 % 4294967296 % 4294967296 else ~j~0 % 4294967296 % 4294967296 - 4294967296) * (4 * (if ~N_LIN~0 % 4294967296 % 4294967296 <= 2147483647 then ~N_LIN~0 % 4294967296 % 4294967296 else ~N_LIN~0 % 4294967296 % 4294967296 - 4294967296)) + 4 * (if ~k~0 % 4294967296 % 4294967296 <= 2147483647 then ~k~0 % 4294967296 % 4294967296 else ~k~0 % 4294967296 % 4294967296 - 4294967296) }, 4); [L3-L8] ~cond := #in~cond; VAL [#NULL!base=0, #NULL!offset=0] [L4] COND TRUE 0 == ~cond VAL [#NULL!base=0, #NULL!offset=0] [L5] assert false; VAL [#NULL!base=0, #NULL!offset=0] [L14] unsigned int N_LIN=__VERIFIER_nondet_uint(); [L15] unsigned int N_COL=__VERIFIER_nondet_uint(); [L16] unsigned int j,k; [L17] int matriz[N_COL][N_LIN], maior; [L19] maior = __VERIFIER_nondet_int() [L20] j=0 [L20] COND TRUE jmaior) [L21] k++ [L21] COND FALSE !(k main_~maior~0;havoc main_#t~mem6;call main_#t~mem7 := read~int(main_~#matriz~0.base, main_~#matriz~0.offset + (if main_~j~0 % 4294967296 % 4294967296 <= 2147483647 then main_~j~0 % 4294967296 % 4294967296 else main_~j~0 % 4294967296 % 4294967296 - 4294967296) * (4 * (if main_~N_LIN~0 % 4294967296 % 4294967296 <= 2147483647 then main_~N_LIN~0 % 4294967296 % 4294967296 else main_~N_LIN~0 % 4294967296 % 4294967296 - 4294967296)) + 4 * (if main_~k~0 % 4294967296 % 4294967296 <= 2147483647 then main_~k~0 % 4294967296 % 4294967296 else main_~k~0 % 4294967296 % 4294967296 - 4294967296), 4);main_~maior~0 := main_#t~mem7;havoc main_#t~mem7;ParallelCodeBlock1: assume !(main_#t~mem6 > main_~maior~0);havoc main_#t~mem6;}EndParallelCompositionmain_#t~post4 := main_~k~0;main_~k~0 := 1 + main_#t~post4;havoc main_#t~post4; VAL [ULTIMATE.start_main_~j~0=0, ULTIMATE.start_main_~k~0=1, ULTIMATE.start_main_~maior~0=(- 2147483648), ULTIMATE.start_main_~N_COL~0=1, ULTIMATE.start_main_~N_LIN~0=1, |#NULL.base|=0, |#NULL.offset|=0, |ULTIMATE.start_main_#t~mem7|=12, |ULTIMATE.start_main_~#matriz~0.base|=2, |ULTIMATE.start_main_~#matriz~0.offset|=0] [?] BeginParallelComposition{ParallelCodeBlock0: assume !true;ParallelCodeBlock1: assume !(main_~k~0 % 4294967296 < main_~N_LIN~0 % 4294967296);}EndParallelCompositionmain_#t~post3 := main_~j~0;main_~j~0 := 1 + main_#t~post3;havoc main_#t~post3; VAL [ULTIMATE.start_main_~j~0=1, ULTIMATE.start_main_~k~0=1, ULTIMATE.start_main_~maior~0=(- 2147483648), ULTIMATE.start_main_~N_COL~0=1, ULTIMATE.start_main_~N_LIN~0=1, |#NULL.base|=0, |#NULL.offset|=0, |ULTIMATE.start_main_#t~mem7|=12, |ULTIMATE.start_main_~#matriz~0.base|=2, |ULTIMATE.start_main_~#matriz~0.offset|=0] [?] BeginParallelComposition{ParallelCodeBlock0: assume !true;ParallelCodeBlock1: assume !(main_~j~0 % 4294967296 < main_~N_COL~0 % 4294967296);}EndParallelCompositionmain_~j~0 := 0; VAL [ULTIMATE.start_main_~j~0=0, ULTIMATE.start_main_~k~0=1, ULTIMATE.start_main_~maior~0=(- 2147483648), ULTIMATE.start_main_~N_COL~0=1, ULTIMATE.start_main_~N_LIN~0=1, |#NULL.base|=0, |#NULL.offset|=0, |ULTIMATE.start_main_#t~mem7|=12, |ULTIMATE.start_main_~#matriz~0.base|=2, |ULTIMATE.start_main_~#matriz~0.offset|=0] [?] assume !!(main_~j~0 % 4294967296 < main_~N_COL~0 % 4294967296);main_~k~0 := 0; VAL [ULTIMATE.start_main_~j~0=0, ULTIMATE.start_main_~k~0=0, ULTIMATE.start_main_~maior~0=(- 2147483648), ULTIMATE.start_main_~N_COL~0=1, ULTIMATE.start_main_~N_LIN~0=1, |#NULL.base|=0, |#NULL.offset|=0, |ULTIMATE.start_main_#t~mem7|=12, |ULTIMATE.start_main_~#matriz~0.base|=2, |ULTIMATE.start_main_~#matriz~0.offset|=0] [?] assume !!(main_~k~0 % 4294967296 < main_~N_LIN~0 % 4294967296);call main_#t~mem10 := read~int(main_~#matriz~0.base, main_~#matriz~0.offset + (if main_~j~0 % 4294967296 % 4294967296 <= 2147483647 then main_~j~0 % 4294967296 % 4294967296 else main_~j~0 % 4294967296 % 4294967296 - 4294967296) * (4 * (if main_~N_LIN~0 % 4294967296 % 4294967296 <= 2147483647 then main_~N_LIN~0 % 4294967296 % 4294967296 else main_~N_LIN~0 % 4294967296 % 4294967296 - 4294967296)) + 4 * (if main_~k~0 % 4294967296 % 4294967296 <= 2147483647 then main_~k~0 % 4294967296 % 4294967296 else main_~k~0 % 4294967296 % 4294967296 - 4294967296), 4);__VERIFIER_assert_#in~cond := (if main_#t~mem10 < main_~maior~0 then 1 else 0);havoc __VERIFIER_assert_~cond;__VERIFIER_assert_~cond := __VERIFIER_assert_#in~cond; VAL [ULTIMATE.start___VERIFIER_assert_~cond=0, ULTIMATE.start_main_~j~0=0, ULTIMATE.start_main_~k~0=0, ULTIMATE.start_main_~maior~0=(- 2147483648), ULTIMATE.start_main_~N_COL~0=1, ULTIMATE.start_main_~N_LIN~0=1, |#NULL.base|=0, |#NULL.offset|=0, |ULTIMATE.start___VERIFIER_assert_#in~cond|=0, |ULTIMATE.start_main_#t~mem10|=(- 2147483648), |ULTIMATE.start_main_#t~mem7|=12, |ULTIMATE.start_main_~#matriz~0.base|=2, |ULTIMATE.start_main_~#matriz~0.offset|=0] [?] assume 0 == __VERIFIER_assert_~cond; VAL [ULTIMATE.start___VERIFIER_assert_~cond=0, ULTIMATE.start_main_~j~0=0, ULTIMATE.start_main_~k~0=0, ULTIMATE.start_main_~maior~0=(- 2147483648), ULTIMATE.start_main_~N_COL~0=1, ULTIMATE.start_main_~N_LIN~0=1, |#NULL.base|=0, |#NULL.offset|=0, |ULTIMATE.start___VERIFIER_assert_#in~cond|=0, |ULTIMATE.start_main_#t~mem10|=(- 2147483648), |ULTIMATE.start_main_#t~mem7|=12, |ULTIMATE.start_main_~#matriz~0.base|=2, |ULTIMATE.start_main_~#matriz~0.offset|=0] [?] assume !false; VAL [ULTIMATE.start___VERIFIER_assert_~cond=0, ULTIMATE.start_main_~j~0=0, ULTIMATE.start_main_~k~0=0, ULTIMATE.start_main_~maior~0=(- 2147483648), ULTIMATE.start_main_~N_COL~0=1, ULTIMATE.start_main_~N_LIN~0=1, |#NULL.base|=0, |#NULL.offset|=0, |ULTIMATE.start___VERIFIER_assert_#in~cond|=0, |ULTIMATE.start_main_#t~mem10|=(- 2147483648), |ULTIMATE.start_main_#t~mem7|=12, |ULTIMATE.start_main_~#matriz~0.base|=2, |ULTIMATE.start_main_~#matriz~0.offset|=0] [?] #NULL.base, #NULL.offset := 0, 0; [?] #valid := #valid[0 := 0]; [?] havoc main_#res; [?] havoc main_#t~nondet0, main_#t~nondet1, main_#t~nondet2, main_#t~nondet5, main_#t~mem6, main_#t~mem7, main_#t~post4, main_#t~post3, main_#t~mem10, main_#t~post9, main_#t~post8, main_~N_LIN~0, main_~N_COL~0, main_~j~0, main_~k~0, main_~#matriz~0.base, main_~#matriz~0.offset, main_~maior~0; [L14] main_~N_LIN~0 := main_#t~nondet0; [L14] havoc main_#t~nondet0; [L15] main_~N_COL~0 := main_#t~nondet1; [L15] havoc main_#t~nondet1; [L16] havoc main_~j~0; [L16] havoc main_~k~0; [L17] call main_~#matriz~0.base, main_~#matriz~0.offset := #Ultimate.alloc(4 * (if main_~N_LIN~0 % 4294967296 % 4294967296 <= 2147483647 then main_~N_LIN~0 % 4294967296 % 4294967296 else main_~N_LIN~0 % 4294967296 % 4294967296 - 4294967296) * (if main_~N_COL~0 % 4294967296 % 4294967296 <= 2147483647 then main_~N_COL~0 % 4294967296 % 4294967296 else main_~N_COL~0 % 4294967296 % 4294967296 - 4294967296)); [L17] havoc main_~maior~0; [L19] assume -2147483648 <= main_#t~nondet2 && main_#t~nondet2 <= 2147483647; [L19] main_~maior~0 := main_#t~nondet2; [L19] havoc main_#t~nondet2; [L20] main_~j~0 := 0; VAL [#NULL.base=0, #NULL.offset=0, main_~#matriz~0.base=2, main_~#matriz~0.offset=0, main_~j~0=0, main_~maior~0=-2147483648, main_~N_COL~0=1, main_~N_LIN~0=1] [L20-L27] assume !!(main_~j~0 % 4294967296 < main_~N_COL~0 % 4294967296); [L21] main_~k~0 := 0; VAL [#NULL.base=0, #NULL.offset=0, main_~#matriz~0.base=2, main_~#matriz~0.offset=0, main_~j~0=0, main_~k~0=0, main_~maior~0=-2147483648, main_~N_COL~0=1, main_~N_LIN~0=1] [L21-L27] assume !!(main_~k~0 % 4294967296 < main_~N_LIN~0 % 4294967296); [L23] assume -2147483648 <= main_#t~nondet5 && main_#t~nondet5 <= 2147483647; [L23] call write~int(main_#t~nondet5, main_~#matriz~0.base, main_~#matriz~0.offset + (if main_~j~0 % 4294967296 % 4294967296 <= 2147483647 then main_~j~0 % 4294967296 % 4294967296 else main_~j~0 % 4294967296 % 4294967296 - 4294967296) * (4 * (if main_~N_LIN~0 % 4294967296 % 4294967296 <= 2147483647 then main_~N_LIN~0 % 4294967296 % 4294967296 else main_~N_LIN~0 % 4294967296 % 4294967296 - 4294967296)) + 4 * (if main_~k~0 % 4294967296 % 4294967296 <= 2147483647 then main_~k~0 % 4294967296 % 4294967296 else main_~k~0 % 4294967296 % 4294967296 - 4294967296), 4); [L23] havoc main_#t~nondet5; [L25] call main_#t~mem6 := read~int(main_~#matriz~0.base, main_~#matriz~0.offset + (if main_~j~0 % 4294967296 % 4294967296 <= 2147483647 then main_~j~0 % 4294967296 % 4294967296 else main_~j~0 % 4294967296 % 4294967296 - 4294967296) * (4 * (if main_~N_LIN~0 % 4294967296 % 4294967296 <= 2147483647 then main_~N_LIN~0 % 4294967296 % 4294967296 else main_~N_LIN~0 % 4294967296 % 4294967296 - 4294967296)) + 4 * (if main_~k~0 % 4294967296 % 4294967296 <= 2147483647 then main_~k~0 % 4294967296 % 4294967296 else main_~k~0 % 4294967296 % 4294967296 - 4294967296), 4); [L25-L26] assume !(main_#t~mem6 > main_~maior~0); [L25] havoc main_#t~mem6; [L21] main_#t~post4 := main_~k~0; [L21] main_~k~0 := 1 + main_#t~post4; [L21] havoc main_#t~post4; VAL [#NULL.base=0, #NULL.offset=0, main_#t~mem7=12, main_~#matriz~0.base=2, main_~#matriz~0.offset=0, main_~j~0=0, main_~k~0=1, main_~maior~0=-2147483648, main_~N_COL~0=1, main_~N_LIN~0=1] [L21-L27] assume !(main_~k~0 % 4294967296 < main_~N_LIN~0 % 4294967296); [L20] main_#t~post3 := main_~j~0; [L20] main_~j~0 := 1 + main_#t~post3; [L20] havoc main_#t~post3; VAL [#NULL.base=0, #NULL.offset=0, main_#t~mem7=12, main_~#matriz~0.base=2, main_~#matriz~0.offset=0, main_~j~0=1, main_~k~0=1, main_~maior~0=-2147483648, main_~N_COL~0=1, main_~N_LIN~0=1] [L20-L27] assume !(main_~j~0 % 4294967296 < main_~N_COL~0 % 4294967296); [L29] main_~j~0 := 0; VAL [#NULL.base=0, #NULL.offset=0, main_#t~mem7=12, main_~#matriz~0.base=2, main_~#matriz~0.offset=0, main_~j~0=0, main_~k~0=1, main_~maior~0=-2147483648, main_~N_COL~0=1, main_~N_LIN~0=1] [L29-L31] assume !!(main_~j~0 % 4294967296 < main_~N_COL~0 % 4294967296); [L30] main_~k~0 := 0; VAL [#NULL.base=0, #NULL.offset=0, main_#t~mem7=12, main_~#matriz~0.base=2, main_~#matriz~0.offset=0, main_~j~0=0, main_~k~0=0, main_~maior~0=-2147483648, main_~N_COL~0=1, main_~N_LIN~0=1] [L30-L31] assume !!(main_~k~0 % 4294967296 < main_~N_LIN~0 % 4294967296); [L31] call main_#t~mem10 := read~int(main_~#matriz~0.base, main_~#matriz~0.offset + (if main_~j~0 % 4294967296 % 4294967296 <= 2147483647 then main_~j~0 % 4294967296 % 4294967296 else main_~j~0 % 4294967296 % 4294967296 - 4294967296) * (4 * (if main_~N_LIN~0 % 4294967296 % 4294967296 <= 2147483647 then main_~N_LIN~0 % 4294967296 % 4294967296 else main_~N_LIN~0 % 4294967296 % 4294967296 - 4294967296)) + 4 * (if main_~k~0 % 4294967296 % 4294967296 <= 2147483647 then main_~k~0 % 4294967296 % 4294967296 else main_~k~0 % 4294967296 % 4294967296 - 4294967296), 4); [L31] __VERIFIER_assert_#in~cond := (if main_#t~mem10 < main_~maior~0 then 1 else 0); [L31] havoc __VERIFIER_assert_~cond; [L3-L8] __VERIFIER_assert_~cond := __VERIFIER_assert_#in~cond; VAL [#NULL.base=0, #NULL.offset=0, __VERIFIER_assert_#in~cond=0, __VERIFIER_assert_~cond=0, main_#t~mem10=-2147483648, main_#t~mem7=12, main_~#matriz~0.base=2, main_~#matriz~0.offset=0, main_~j~0=0, main_~k~0=0, main_~maior~0=-2147483648, main_~N_COL~0=1, main_~N_LIN~0=1] [L4-L6] assume 0 == __VERIFIER_assert_~cond; VAL [#NULL.base=0, #NULL.offset=0, __VERIFIER_assert_#in~cond=0, __VERIFIER_assert_~cond=0, main_#t~mem10=-2147483648, main_#t~mem7=12, main_~#matriz~0.base=2, main_~#matriz~0.offset=0, main_~j~0=0, main_~k~0=0, main_~maior~0=-2147483648, main_~N_COL~0=1, main_~N_LIN~0=1] [L5] assert false; VAL [#NULL.base=0, #NULL.offset=0, __VERIFIER_assert_#in~cond=0, __VERIFIER_assert_~cond=0, main_#t~mem10=-2147483648, main_#t~mem7=12, main_~#matriz~0.base=2, main_~#matriz~0.offset=0, main_~j~0=0, main_~k~0=0, main_~maior~0=-2147483648, main_~N_COL~0=1, main_~N_LIN~0=1] ----- ----- class de.uni_freiburg.informatik.ultimate.boogie.preprocessor.BoogiePreprocessorBacktranslator [?] #NULL.base, #NULL.offset := 0, 0; [?] #valid := #valid[0 := 0]; [?] havoc main_#res; [?] havoc main_#t~nondet0, main_#t~nondet1, main_#t~nondet2, main_#t~nondet5, main_#t~mem6, main_#t~mem7, main_#t~post4, main_#t~post3, main_#t~mem10, main_#t~post9, main_#t~post8, main_~N_LIN~0, main_~N_COL~0, main_~j~0, main_~k~0, main_~#matriz~0.base, main_~#matriz~0.offset, main_~maior~0; [L14] main_~N_LIN~0 := main_#t~nondet0; [L14] havoc main_#t~nondet0; [L15] main_~N_COL~0 := main_#t~nondet1; [L15] havoc main_#t~nondet1; [L16] havoc main_~j~0; [L16] havoc main_~k~0; [L17] call main_~#matriz~0.base, main_~#matriz~0.offset := #Ultimate.alloc(4 * (if main_~N_LIN~0 % 4294967296 % 4294967296 <= 2147483647 then main_~N_LIN~0 % 4294967296 % 4294967296 else main_~N_LIN~0 % 4294967296 % 4294967296 - 4294967296) * (if main_~N_COL~0 % 4294967296 % 4294967296 <= 2147483647 then main_~N_COL~0 % 4294967296 % 4294967296 else main_~N_COL~0 % 4294967296 % 4294967296 - 4294967296)); [L17] havoc main_~maior~0; [L19] assume -2147483648 <= main_#t~nondet2 && main_#t~nondet2 <= 2147483647; [L19] main_~maior~0 := main_#t~nondet2; [L19] havoc main_#t~nondet2; [L20] main_~j~0 := 0; VAL [#NULL.base=0, #NULL.offset=0, main_~#matriz~0.base=2, main_~#matriz~0.offset=0, main_~j~0=0, main_~maior~0=-2147483648, main_~N_COL~0=1, main_~N_LIN~0=1] [L20-L27] assume !!(main_~j~0 % 4294967296 < main_~N_COL~0 % 4294967296); [L21] main_~k~0 := 0; VAL [#NULL.base=0, #NULL.offset=0, main_~#matriz~0.base=2, main_~#matriz~0.offset=0, main_~j~0=0, main_~k~0=0, main_~maior~0=-2147483648, main_~N_COL~0=1, main_~N_LIN~0=1] [L21-L27] assume !!(main_~k~0 % 4294967296 < main_~N_LIN~0 % 4294967296); [L23] assume -2147483648 <= main_#t~nondet5 && main_#t~nondet5 <= 2147483647; [L23] call write~int(main_#t~nondet5, main_~#matriz~0.base, main_~#matriz~0.offset + (if main_~j~0 % 4294967296 % 4294967296 <= 2147483647 then main_~j~0 % 4294967296 % 4294967296 else main_~j~0 % 4294967296 % 4294967296 - 4294967296) * (4 * (if main_~N_LIN~0 % 4294967296 % 4294967296 <= 2147483647 then main_~N_LIN~0 % 4294967296 % 4294967296 else main_~N_LIN~0 % 4294967296 % 4294967296 - 4294967296)) + 4 * (if main_~k~0 % 4294967296 % 4294967296 <= 2147483647 then main_~k~0 % 4294967296 % 4294967296 else main_~k~0 % 4294967296 % 4294967296 - 4294967296), 4); [L23] havoc main_#t~nondet5; [L25] call main_#t~mem6 := read~int(main_~#matriz~0.base, main_~#matriz~0.offset + (if main_~j~0 % 4294967296 % 4294967296 <= 2147483647 then main_~j~0 % 4294967296 % 4294967296 else main_~j~0 % 4294967296 % 4294967296 - 4294967296) * (4 * (if main_~N_LIN~0 % 4294967296 % 4294967296 <= 2147483647 then main_~N_LIN~0 % 4294967296 % 4294967296 else main_~N_LIN~0 % 4294967296 % 4294967296 - 4294967296)) + 4 * (if main_~k~0 % 4294967296 % 4294967296 <= 2147483647 then main_~k~0 % 4294967296 % 4294967296 else main_~k~0 % 4294967296 % 4294967296 - 4294967296), 4); [L25-L26] assume !(main_#t~mem6 > main_~maior~0); [L25] havoc main_#t~mem6; [L21] main_#t~post4 := main_~k~0; [L21] main_~k~0 := 1 + main_#t~post4; [L21] havoc main_#t~post4; VAL [#NULL.base=0, #NULL.offset=0, main_#t~mem7=12, main_~#matriz~0.base=2, main_~#matriz~0.offset=0, main_~j~0=0, main_~k~0=1, main_~maior~0=-2147483648, main_~N_COL~0=1, main_~N_LIN~0=1] [L21-L27] assume !(main_~k~0 % 4294967296 < main_~N_LIN~0 % 4294967296); [L20] main_#t~post3 := main_~j~0; [L20] main_~j~0 := 1 + main_#t~post3; [L20] havoc main_#t~post3; VAL [#NULL.base=0, #NULL.offset=0, main_#t~mem7=12, main_~#matriz~0.base=2, main_~#matriz~0.offset=0, main_~j~0=1, main_~k~0=1, main_~maior~0=-2147483648, main_~N_COL~0=1, main_~N_LIN~0=1] [L20-L27] assume !(main_~j~0 % 4294967296 < main_~N_COL~0 % 4294967296); [L29] main_~j~0 := 0; VAL [#NULL.base=0, #NULL.offset=0, main_#t~mem7=12, main_~#matriz~0.base=2, main_~#matriz~0.offset=0, main_~j~0=0, main_~k~0=1, main_~maior~0=-2147483648, main_~N_COL~0=1, main_~N_LIN~0=1] [L29-L31] assume !!(main_~j~0 % 4294967296 < main_~N_COL~0 % 4294967296); [L30] main_~k~0 := 0; VAL [#NULL.base=0, #NULL.offset=0, main_#t~mem7=12, main_~#matriz~0.base=2, main_~#matriz~0.offset=0, main_~j~0=0, main_~k~0=0, main_~maior~0=-2147483648, main_~N_COL~0=1, main_~N_LIN~0=1] [L30-L31] assume !!(main_~k~0 % 4294967296 < main_~N_LIN~0 % 4294967296); [L31] call main_#t~mem10 := read~int(main_~#matriz~0.base, main_~#matriz~0.offset + (if main_~j~0 % 4294967296 % 4294967296 <= 2147483647 then main_~j~0 % 4294967296 % 4294967296 else main_~j~0 % 4294967296 % 4294967296 - 4294967296) * (4 * (if main_~N_LIN~0 % 4294967296 % 4294967296 <= 2147483647 then main_~N_LIN~0 % 4294967296 % 4294967296 else main_~N_LIN~0 % 4294967296 % 4294967296 - 4294967296)) + 4 * (if main_~k~0 % 4294967296 % 4294967296 <= 2147483647 then main_~k~0 % 4294967296 % 4294967296 else main_~k~0 % 4294967296 % 4294967296 - 4294967296), 4); [L31] __VERIFIER_assert_#in~cond := (if main_#t~mem10 < main_~maior~0 then 1 else 0); [L31] havoc __VERIFIER_assert_~cond; [L3-L8] __VERIFIER_assert_~cond := __VERIFIER_assert_#in~cond; VAL [#NULL.base=0, #NULL.offset=0, __VERIFIER_assert_#in~cond=0, __VERIFIER_assert_~cond=0, main_#t~mem10=-2147483648, main_#t~mem7=12, main_~#matriz~0.base=2, main_~#matriz~0.offset=0, main_~j~0=0, main_~k~0=0, main_~maior~0=-2147483648, main_~N_COL~0=1, main_~N_LIN~0=1] [L4-L6] assume 0 == __VERIFIER_assert_~cond; VAL [#NULL.base=0, #NULL.offset=0, __VERIFIER_assert_#in~cond=0, __VERIFIER_assert_~cond=0, main_#t~mem10=-2147483648, main_#t~mem7=12, main_~#matriz~0.base=2, main_~#matriz~0.offset=0, main_~j~0=0, main_~k~0=0, main_~maior~0=-2147483648, main_~N_COL~0=1, main_~N_LIN~0=1] [L5] assert false; VAL [#NULL.base=0, #NULL.offset=0, __VERIFIER_assert_#in~cond=0, __VERIFIER_assert_~cond=0, main_#t~mem10=-2147483648, main_#t~mem7=12, main_~#matriz~0.base=2, main_~#matriz~0.offset=0, main_~j~0=0, main_~k~0=0, main_~maior~0=-2147483648, main_~N_COL~0=1, main_~N_LIN~0=1] [?] #NULL := { base: 0, offset: 0 }; [?] #valid[0] := 0; [?] havoc main_#res; [?] havoc main_#t~nondet0, main_#t~nondet1, main_#t~nondet2, main_#t~nondet5, main_#t~mem6, main_#t~mem7, main_#t~post4, main_#t~post3, main_#t~mem10, main_#t~post9, main_#t~post8, main_~N_LIN~0, main_~N_COL~0, main_~j~0, main_~k~0, main_~#matriz~0, main_~maior~0; [L14] main_~N_LIN~0 := main_#t~nondet0; [L14] havoc main_#t~nondet0; [L15] main_~N_COL~0 := main_#t~nondet1; [L15] havoc main_#t~nondet1; [L16] havoc main_~j~0; [L16] havoc main_~k~0; [L17] FCALL call main_~#matriz~0 := #Ultimate.alloc(4 * (if main_~N_LIN~0 % 4294967296 % 4294967296 <= 2147483647 then main_~N_LIN~0 % 4294967296 % 4294967296 else main_~N_LIN~0 % 4294967296 % 4294967296 - 4294967296) * (if main_~N_COL~0 % 4294967296 % 4294967296 <= 2147483647 then main_~N_COL~0 % 4294967296 % 4294967296 else main_~N_COL~0 % 4294967296 % 4294967296 - 4294967296)); [L17] havoc main_~maior~0; [L19] assume -2147483648 <= main_#t~nondet2 && main_#t~nondet2 <= 2147483647; [L19] main_~maior~0 := main_#t~nondet2; [L19] havoc main_#t~nondet2; [L20] main_~j~0 := 0; VAL [#NULL!base=0, #NULL!offset=0, main_~#matriz~0!base=2, main_~#matriz~0!offset=0, main_~j~0=0, main_~maior~0=-2147483648, main_~N_COL~0=1, main_~N_LIN~0=1] [L20-L27] COND FALSE !(!(main_~j~0 % 4294967296 < main_~N_COL~0 % 4294967296)) [L21] main_~k~0 := 0; VAL [#NULL!base=0, #NULL!offset=0, main_~#matriz~0!base=2, main_~#matriz~0!offset=0, main_~j~0=0, main_~k~0=0, main_~maior~0=-2147483648, main_~N_COL~0=1, main_~N_LIN~0=1] [L21-L27] COND FALSE !(!(main_~k~0 % 4294967296 < main_~N_LIN~0 % 4294967296)) [L23] assume -2147483648 <= main_#t~nondet5 && main_#t~nondet5 <= 2147483647; [L23] FCALL call write~int(main_#t~nondet5, { base: main_~#matriz~0!base, offset: main_~#matriz~0!offset + (if main_~j~0 % 4294967296 % 4294967296 <= 2147483647 then main_~j~0 % 4294967296 % 4294967296 else main_~j~0 % 4294967296 % 4294967296 - 4294967296) * (4 * (if main_~N_LIN~0 % 4294967296 % 4294967296 <= 2147483647 then main_~N_LIN~0 % 4294967296 % 4294967296 else main_~N_LIN~0 % 4294967296 % 4294967296 - 4294967296)) + 4 * (if main_~k~0 % 4294967296 % 4294967296 <= 2147483647 then main_~k~0 % 4294967296 % 4294967296 else main_~k~0 % 4294967296 % 4294967296 - 4294967296) }, 4); [L23] havoc main_#t~nondet5; [L25] FCALL call main_#t~mem6 := read~int({ base: main_~#matriz~0!base, offset: main_~#matriz~0!offset + (if main_~j~0 % 4294967296 % 4294967296 <= 2147483647 then main_~j~0 % 4294967296 % 4294967296 else main_~j~0 % 4294967296 % 4294967296 - 4294967296) * (4 * (if main_~N_LIN~0 % 4294967296 % 4294967296 <= 2147483647 then main_~N_LIN~0 % 4294967296 % 4294967296 else main_~N_LIN~0 % 4294967296 % 4294967296 - 4294967296)) + 4 * (if main_~k~0 % 4294967296 % 4294967296 <= 2147483647 then main_~k~0 % 4294967296 % 4294967296 else main_~k~0 % 4294967296 % 4294967296 - 4294967296) }, 4); [L25] COND FALSE !(main_#t~mem6 > main_~maior~0) [L25] havoc main_#t~mem6; [L21] main_#t~post4 := main_~k~0; [L21] main_~k~0 := 1 + main_#t~post4; [L21] havoc main_#t~post4; VAL [#NULL!base=0, #NULL!offset=0, main_#t~mem7=12, main_~#matriz~0!base=2, main_~#matriz~0!offset=0, main_~j~0=0, main_~k~0=1, main_~maior~0=-2147483648, main_~N_COL~0=1, main_~N_LIN~0=1] [L21-L27] COND TRUE !(main_~k~0 % 4294967296 < main_~N_LIN~0 % 4294967296) [L20] main_#t~post3 := main_~j~0; [L20] main_~j~0 := 1 + main_#t~post3; [L20] havoc main_#t~post3; VAL [#NULL!base=0, #NULL!offset=0, main_#t~mem7=12, main_~#matriz~0!base=2, main_~#matriz~0!offset=0, main_~j~0=1, main_~k~0=1, main_~maior~0=-2147483648, main_~N_COL~0=1, main_~N_LIN~0=1] [L20-L27] COND TRUE !(main_~j~0 % 4294967296 < main_~N_COL~0 % 4294967296) [L29] main_~j~0 := 0; VAL [#NULL!base=0, #NULL!offset=0, main_#t~mem7=12, main_~#matriz~0!base=2, main_~#matriz~0!offset=0, main_~j~0=0, main_~k~0=1, main_~maior~0=-2147483648, main_~N_COL~0=1, main_~N_LIN~0=1] [L29-L31] COND FALSE !(!(main_~j~0 % 4294967296 < main_~N_COL~0 % 4294967296)) [L30] main_~k~0 := 0; VAL [#NULL!base=0, #NULL!offset=0, main_#t~mem7=12, main_~#matriz~0!base=2, main_~#matriz~0!offset=0, main_~j~0=0, main_~k~0=0, main_~maior~0=-2147483648, main_~N_COL~0=1, main_~N_LIN~0=1] [L30-L31] COND FALSE !(!(main_~k~0 % 4294967296 < main_~N_LIN~0 % 4294967296)) [L31] FCALL call main_#t~mem10 := read~int({ base: main_~#matriz~0!base, offset: main_~#matriz~0!offset + (if main_~j~0 % 4294967296 % 4294967296 <= 2147483647 then main_~j~0 % 4294967296 % 4294967296 else main_~j~0 % 4294967296 % 4294967296 - 4294967296) * (4 * (if main_~N_LIN~0 % 4294967296 % 4294967296 <= 2147483647 then main_~N_LIN~0 % 4294967296 % 4294967296 else main_~N_LIN~0 % 4294967296 % 4294967296 - 4294967296)) + 4 * (if main_~k~0 % 4294967296 % 4294967296 <= 2147483647 then main_~k~0 % 4294967296 % 4294967296 else main_~k~0 % 4294967296 % 4294967296 - 4294967296) }, 4); [L31] __VERIFIER_assert_#in~cond := (if main_#t~mem10 < main_~maior~0 then 1 else 0); [L31] havoc __VERIFIER_assert_~cond; [L3-L8] __VERIFIER_assert_~cond := __VERIFIER_assert_#in~cond; VAL [#NULL!base=0, #NULL!offset=0, __VERIFIER_assert_#in~cond=0, __VERIFIER_assert_~cond=0, main_#t~mem10=-2147483648, main_#t~mem7=12, main_~#matriz~0!base=2, main_~#matriz~0!offset=0, main_~j~0=0, main_~k~0=0, main_~maior~0=-2147483648, main_~N_COL~0=1, main_~N_LIN~0=1] [L4] COND TRUE 0 == __VERIFIER_assert_~cond VAL [#NULL!base=0, #NULL!offset=0, __VERIFIER_assert_#in~cond=0, __VERIFIER_assert_~cond=0, main_#t~mem10=-2147483648, main_#t~mem7=12, main_~#matriz~0!base=2, main_~#matriz~0!offset=0, main_~j~0=0, main_~k~0=0, main_~maior~0=-2147483648, main_~N_COL~0=1, main_~N_LIN~0=1] [L5] assert false; VAL [#NULL!base=0, #NULL!offset=0, __VERIFIER_assert_#in~cond=0, __VERIFIER_assert_~cond=0, main_#t~mem10=-2147483648, main_#t~mem7=12, main_~#matriz~0!base=2, main_~#matriz~0!offset=0, main_~j~0=0, main_~k~0=0, main_~maior~0=-2147483648, main_~N_COL~0=1, main_~N_LIN~0=1] ----- ----- class de.uni_freiburg.informatik.ultimate.boogie.procedureinliner.backtranslation.InlinerBacktranslator [?] #NULL := { base: 0, offset: 0 }; [?] #valid[0] := 0; [?] havoc main_#res; [?] havoc main_#t~nondet0, main_#t~nondet1, main_#t~nondet2, main_#t~nondet5, main_#t~mem6, main_#t~mem7, main_#t~post4, main_#t~post3, main_#t~mem10, main_#t~post9, main_#t~post8, main_~N_LIN~0, main_~N_COL~0, main_~j~0, main_~k~0, main_~#matriz~0, main_~maior~0; [L14] main_~N_LIN~0 := main_#t~nondet0; [L14] havoc main_#t~nondet0; [L15] main_~N_COL~0 := main_#t~nondet1; [L15] havoc main_#t~nondet1; [L16] havoc main_~j~0; [L16] havoc main_~k~0; [L17] FCALL call main_~#matriz~0 := #Ultimate.alloc(4 * (if main_~N_LIN~0 % 4294967296 % 4294967296 <= 2147483647 then main_~N_LIN~0 % 4294967296 % 4294967296 else main_~N_LIN~0 % 4294967296 % 4294967296 - 4294967296) * (if main_~N_COL~0 % 4294967296 % 4294967296 <= 2147483647 then main_~N_COL~0 % 4294967296 % 4294967296 else main_~N_COL~0 % 4294967296 % 4294967296 - 4294967296)); [L17] havoc main_~maior~0; [L19] assume -2147483648 <= main_#t~nondet2 && main_#t~nondet2 <= 2147483647; [L19] main_~maior~0 := main_#t~nondet2; [L19] havoc main_#t~nondet2; [L20] main_~j~0 := 0; VAL [#NULL!base=0, #NULL!offset=0, main_~#matriz~0!base=2, main_~#matriz~0!offset=0, main_~j~0=0, main_~maior~0=-2147483648, main_~N_COL~0=1, main_~N_LIN~0=1] [L20-L27] COND FALSE !(!(main_~j~0 % 4294967296 < main_~N_COL~0 % 4294967296)) [L21] main_~k~0 := 0; VAL [#NULL!base=0, #NULL!offset=0, main_~#matriz~0!base=2, main_~#matriz~0!offset=0, main_~j~0=0, main_~k~0=0, main_~maior~0=-2147483648, main_~N_COL~0=1, main_~N_LIN~0=1] [L21-L27] COND FALSE !(!(main_~k~0 % 4294967296 < main_~N_LIN~0 % 4294967296)) [L23] assume -2147483648 <= main_#t~nondet5 && main_#t~nondet5 <= 2147483647; [L23] FCALL call write~int(main_#t~nondet5, { base: main_~#matriz~0!base, offset: main_~#matriz~0!offset + (if main_~j~0 % 4294967296 % 4294967296 <= 2147483647 then main_~j~0 % 4294967296 % 4294967296 else main_~j~0 % 4294967296 % 4294967296 - 4294967296) * (4 * (if main_~N_LIN~0 % 4294967296 % 4294967296 <= 2147483647 then main_~N_LIN~0 % 4294967296 % 4294967296 else main_~N_LIN~0 % 4294967296 % 4294967296 - 4294967296)) + 4 * (if main_~k~0 % 4294967296 % 4294967296 <= 2147483647 then main_~k~0 % 4294967296 % 4294967296 else main_~k~0 % 4294967296 % 4294967296 - 4294967296) }, 4); [L23] havoc main_#t~nondet5; [L25] FCALL call main_#t~mem6 := read~int({ base: main_~#matriz~0!base, offset: main_~#matriz~0!offset + (if main_~j~0 % 4294967296 % 4294967296 <= 2147483647 then main_~j~0 % 4294967296 % 4294967296 else main_~j~0 % 4294967296 % 4294967296 - 4294967296) * (4 * (if main_~N_LIN~0 % 4294967296 % 4294967296 <= 2147483647 then main_~N_LIN~0 % 4294967296 % 4294967296 else main_~N_LIN~0 % 4294967296 % 4294967296 - 4294967296)) + 4 * (if main_~k~0 % 4294967296 % 4294967296 <= 2147483647 then main_~k~0 % 4294967296 % 4294967296 else main_~k~0 % 4294967296 % 4294967296 - 4294967296) }, 4); [L25] COND FALSE !(main_#t~mem6 > main_~maior~0) [L25] havoc main_#t~mem6; [L21] main_#t~post4 := main_~k~0; [L21] main_~k~0 := 1 + main_#t~post4; [L21] havoc main_#t~post4; VAL [#NULL!base=0, #NULL!offset=0, main_#t~mem7=12, main_~#matriz~0!base=2, main_~#matriz~0!offset=0, main_~j~0=0, main_~k~0=1, main_~maior~0=-2147483648, main_~N_COL~0=1, main_~N_LIN~0=1] [L21-L27] COND TRUE !(main_~k~0 % 4294967296 < main_~N_LIN~0 % 4294967296) [L20] main_#t~post3 := main_~j~0; [L20] main_~j~0 := 1 + main_#t~post3; [L20] havoc main_#t~post3; VAL [#NULL!base=0, #NULL!offset=0, main_#t~mem7=12, main_~#matriz~0!base=2, main_~#matriz~0!offset=0, main_~j~0=1, main_~k~0=1, main_~maior~0=-2147483648, main_~N_COL~0=1, main_~N_LIN~0=1] [L20-L27] COND TRUE !(main_~j~0 % 4294967296 < main_~N_COL~0 % 4294967296) [L29] main_~j~0 := 0; VAL [#NULL!base=0, #NULL!offset=0, main_#t~mem7=12, main_~#matriz~0!base=2, main_~#matriz~0!offset=0, main_~j~0=0, main_~k~0=1, main_~maior~0=-2147483648, main_~N_COL~0=1, main_~N_LIN~0=1] [L29-L31] COND FALSE !(!(main_~j~0 % 4294967296 < main_~N_COL~0 % 4294967296)) [L30] main_~k~0 := 0; VAL [#NULL!base=0, #NULL!offset=0, main_#t~mem7=12, main_~#matriz~0!base=2, main_~#matriz~0!offset=0, main_~j~0=0, main_~k~0=0, main_~maior~0=-2147483648, main_~N_COL~0=1, main_~N_LIN~0=1] [L30-L31] COND FALSE !(!(main_~k~0 % 4294967296 < main_~N_LIN~0 % 4294967296)) [L31] FCALL call main_#t~mem10 := read~int({ base: main_~#matriz~0!base, offset: main_~#matriz~0!offset + (if main_~j~0 % 4294967296 % 4294967296 <= 2147483647 then main_~j~0 % 4294967296 % 4294967296 else main_~j~0 % 4294967296 % 4294967296 - 4294967296) * (4 * (if main_~N_LIN~0 % 4294967296 % 4294967296 <= 2147483647 then main_~N_LIN~0 % 4294967296 % 4294967296 else main_~N_LIN~0 % 4294967296 % 4294967296 - 4294967296)) + 4 * (if main_~k~0 % 4294967296 % 4294967296 <= 2147483647 then main_~k~0 % 4294967296 % 4294967296 else main_~k~0 % 4294967296 % 4294967296 - 4294967296) }, 4); [L31] __VERIFIER_assert_#in~cond := (if main_#t~mem10 < main_~maior~0 then 1 else 0); [L31] havoc __VERIFIER_assert_~cond; [L3-L8] __VERIFIER_assert_~cond := __VERIFIER_assert_#in~cond; VAL [#NULL!base=0, #NULL!offset=0, __VERIFIER_assert_#in~cond=0, __VERIFIER_assert_~cond=0, main_#t~mem10=-2147483648, main_#t~mem7=12, main_~#matriz~0!base=2, main_~#matriz~0!offset=0, main_~j~0=0, main_~k~0=0, main_~maior~0=-2147483648, main_~N_COL~0=1, main_~N_LIN~0=1] [L4] COND TRUE 0 == __VERIFIER_assert_~cond VAL [#NULL!base=0, #NULL!offset=0, __VERIFIER_assert_#in~cond=0, __VERIFIER_assert_~cond=0, main_#t~mem10=-2147483648, main_#t~mem7=12, main_~#matriz~0!base=2, main_~#matriz~0!offset=0, main_~j~0=0, main_~k~0=0, main_~maior~0=-2147483648, main_~N_COL~0=1, main_~N_LIN~0=1] [L5] assert false; VAL [#NULL!base=0, #NULL!offset=0, __VERIFIER_assert_#in~cond=0, __VERIFIER_assert_~cond=0, main_#t~mem10=-2147483648, main_#t~mem7=12, main_~#matriz~0!base=2, main_~#matriz~0!offset=0, main_~j~0=0, main_~k~0=0, main_~maior~0=-2147483648, main_~N_COL~0=1, main_~N_LIN~0=1] [?] #NULL := { base: 0, offset: 0 }; [?] #valid[0] := 0; [L14] ~N_LIN~0 := #t~nondet0; [L14] havoc #t~nondet0; [L15] ~N_COL~0 := #t~nondet1; [L15] havoc #t~nondet1; [L16] havoc ~j~0; [L16] havoc ~k~0; [L17] FCALL call ~#matriz~0 := #Ultimate.alloc(4 * (if ~N_LIN~0 % 4294967296 % 4294967296 <= 2147483647 then ~N_LIN~0 % 4294967296 % 4294967296 else ~N_LIN~0 % 4294967296 % 4294967296 - 4294967296) * (if ~N_COL~0 % 4294967296 % 4294967296 <= 2147483647 then ~N_COL~0 % 4294967296 % 4294967296 else ~N_COL~0 % 4294967296 % 4294967296 - 4294967296)); [L17] havoc ~maior~0; [L19] assume -2147483648 <= #t~nondet2 && #t~nondet2 <= 2147483647; [L19] ~maior~0 := #t~nondet2; [L19] havoc #t~nondet2; [L20] ~j~0 := 0; VAL [#NULL!base=0, #NULL!offset=0] [L20-L27] COND FALSE !(!(~j~0 % 4294967296 < ~N_COL~0 % 4294967296)) [L21] ~k~0 := 0; VAL [#NULL!base=0, #NULL!offset=0] [L21-L27] COND FALSE !(!(~k~0 % 4294967296 < ~N_LIN~0 % 4294967296)) [L23] assume -2147483648 <= #t~nondet5 && #t~nondet5 <= 2147483647; [L23] FCALL call write~int(#t~nondet5, { base: ~#matriz~0!base, offset: ~#matriz~0!offset + (if ~j~0 % 4294967296 % 4294967296 <= 2147483647 then ~j~0 % 4294967296 % 4294967296 else ~j~0 % 4294967296 % 4294967296 - 4294967296) * (4 * (if ~N_LIN~0 % 4294967296 % 4294967296 <= 2147483647 then ~N_LIN~0 % 4294967296 % 4294967296 else ~N_LIN~0 % 4294967296 % 4294967296 - 4294967296)) + 4 * (if ~k~0 % 4294967296 % 4294967296 <= 2147483647 then ~k~0 % 4294967296 % 4294967296 else ~k~0 % 4294967296 % 4294967296 - 4294967296) }, 4); [L23] havoc #t~nondet5; [L25] FCALL call #t~mem6 := read~int({ base: ~#matriz~0!base, offset: ~#matriz~0!offset + (if ~j~0 % 4294967296 % 4294967296 <= 2147483647 then ~j~0 % 4294967296 % 4294967296 else ~j~0 % 4294967296 % 4294967296 - 4294967296) * (4 * (if ~N_LIN~0 % 4294967296 % 4294967296 <= 2147483647 then ~N_LIN~0 % 4294967296 % 4294967296 else ~N_LIN~0 % 4294967296 % 4294967296 - 4294967296)) + 4 * (if ~k~0 % 4294967296 % 4294967296 <= 2147483647 then ~k~0 % 4294967296 % 4294967296 else ~k~0 % 4294967296 % 4294967296 - 4294967296) }, 4); [L25] COND FALSE !(#t~mem6 > ~maior~0) [L25] havoc #t~mem6; [L21] #t~post4 := ~k~0; [L21] ~k~0 := 1 + #t~post4; [L21] havoc #t~post4; VAL [#NULL!base=0, #NULL!offset=0] [L21-L27] COND TRUE !(~k~0 % 4294967296 < ~N_LIN~0 % 4294967296) [L20] #t~post3 := ~j~0; [L20] ~j~0 := 1 + #t~post3; [L20] havoc #t~post3; VAL [#NULL!base=0, #NULL!offset=0] [L20-L27] COND TRUE !(~j~0 % 4294967296 < ~N_COL~0 % 4294967296) [L29] ~j~0 := 0; VAL [#NULL!base=0, #NULL!offset=0] [L29-L31] COND FALSE !(!(~j~0 % 4294967296 < ~N_COL~0 % 4294967296)) [L30] ~k~0 := 0; VAL [#NULL!base=0, #NULL!offset=0] [L30-L31] COND FALSE !(!(~k~0 % 4294967296 < ~N_LIN~0 % 4294967296)) [L31] FCALL call #t~mem10 := read~int({ base: ~#matriz~0!base, offset: ~#matriz~0!offset + (if ~j~0 % 4294967296 % 4294967296 <= 2147483647 then ~j~0 % 4294967296 % 4294967296 else ~j~0 % 4294967296 % 4294967296 - 4294967296) * (4 * (if ~N_LIN~0 % 4294967296 % 4294967296 <= 2147483647 then ~N_LIN~0 % 4294967296 % 4294967296 else ~N_LIN~0 % 4294967296 % 4294967296 - 4294967296)) + 4 * (if ~k~0 % 4294967296 % 4294967296 <= 2147483647 then ~k~0 % 4294967296 % 4294967296 else ~k~0 % 4294967296 % 4294967296 - 4294967296) }, 4); [L3-L8] ~cond := #in~cond; VAL [#NULL!base=0, #NULL!offset=0] [L4] COND TRUE 0 == ~cond VAL [#NULL!base=0, #NULL!offset=0] [L5] assert false; VAL [#NULL!base=0, #NULL!offset=0] ----- ----- class de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator.CACSL2BoogieBacktranslator [?] #NULL := { base: 0, offset: 0 }; [?] #valid[0] := 0; [L14] ~N_LIN~0 := #t~nondet0; [L14] havoc #t~nondet0; [L15] ~N_COL~0 := #t~nondet1; [L15] havoc #t~nondet1; [L16] havoc ~j~0; [L16] havoc ~k~0; [L17] FCALL call ~#matriz~0 := #Ultimate.alloc(4 * (if ~N_LIN~0 % 4294967296 % 4294967296 <= 2147483647 then ~N_LIN~0 % 4294967296 % 4294967296 else ~N_LIN~0 % 4294967296 % 4294967296 - 4294967296) * (if ~N_COL~0 % 4294967296 % 4294967296 <= 2147483647 then ~N_COL~0 % 4294967296 % 4294967296 else ~N_COL~0 % 4294967296 % 4294967296 - 4294967296)); [L17] havoc ~maior~0; [L19] assume -2147483648 <= #t~nondet2 && #t~nondet2 <= 2147483647; [L19] ~maior~0 := #t~nondet2; [L19] havoc #t~nondet2; [L20] ~j~0 := 0; VAL [#NULL!base=0, #NULL!offset=0] [L20-L27] COND FALSE !(!(~j~0 % 4294967296 < ~N_COL~0 % 4294967296)) [L21] ~k~0 := 0; VAL [#NULL!base=0, #NULL!offset=0] [L21-L27] COND FALSE !(!(~k~0 % 4294967296 < ~N_LIN~0 % 4294967296)) [L23] assume -2147483648 <= #t~nondet5 && #t~nondet5 <= 2147483647; [L23] FCALL call write~int(#t~nondet5, { base: ~#matriz~0!base, offset: ~#matriz~0!offset + (if ~j~0 % 4294967296 % 4294967296 <= 2147483647 then ~j~0 % 4294967296 % 4294967296 else ~j~0 % 4294967296 % 4294967296 - 4294967296) * (4 * (if ~N_LIN~0 % 4294967296 % 4294967296 <= 2147483647 then ~N_LIN~0 % 4294967296 % 4294967296 else ~N_LIN~0 % 4294967296 % 4294967296 - 4294967296)) + 4 * (if ~k~0 % 4294967296 % 4294967296 <= 2147483647 then ~k~0 % 4294967296 % 4294967296 else ~k~0 % 4294967296 % 4294967296 - 4294967296) }, 4); [L23] havoc #t~nondet5; [L25] FCALL call #t~mem6 := read~int({ base: ~#matriz~0!base, offset: ~#matriz~0!offset + (if ~j~0 % 4294967296 % 4294967296 <= 2147483647 then ~j~0 % 4294967296 % 4294967296 else ~j~0 % 4294967296 % 4294967296 - 4294967296) * (4 * (if ~N_LIN~0 % 4294967296 % 4294967296 <= 2147483647 then ~N_LIN~0 % 4294967296 % 4294967296 else ~N_LIN~0 % 4294967296 % 4294967296 - 4294967296)) + 4 * (if ~k~0 % 4294967296 % 4294967296 <= 2147483647 then ~k~0 % 4294967296 % 4294967296 else ~k~0 % 4294967296 % 4294967296 - 4294967296) }, 4); [L25] COND FALSE !(#t~mem6 > ~maior~0) [L25] havoc #t~mem6; [L21] #t~post4 := ~k~0; [L21] ~k~0 := 1 + #t~post4; [L21] havoc #t~post4; VAL [#NULL!base=0, #NULL!offset=0] [L21-L27] COND TRUE !(~k~0 % 4294967296 < ~N_LIN~0 % 4294967296) [L20] #t~post3 := ~j~0; [L20] ~j~0 := 1 + #t~post3; [L20] havoc #t~post3; VAL [#NULL!base=0, #NULL!offset=0] [L20-L27] COND TRUE !(~j~0 % 4294967296 < ~N_COL~0 % 4294967296) [L29] ~j~0 := 0; VAL [#NULL!base=0, #NULL!offset=0] [L29-L31] COND FALSE !(!(~j~0 % 4294967296 < ~N_COL~0 % 4294967296)) [L30] ~k~0 := 0; VAL [#NULL!base=0, #NULL!offset=0] [L30-L31] COND FALSE !(!(~k~0 % 4294967296 < ~N_LIN~0 % 4294967296)) [L31] FCALL call #t~mem10 := read~int({ base: ~#matriz~0!base, offset: ~#matriz~0!offset + (if ~j~0 % 4294967296 % 4294967296 <= 2147483647 then ~j~0 % 4294967296 % 4294967296 else ~j~0 % 4294967296 % 4294967296 - 4294967296) * (4 * (if ~N_LIN~0 % 4294967296 % 4294967296 <= 2147483647 then ~N_LIN~0 % 4294967296 % 4294967296 else ~N_LIN~0 % 4294967296 % 4294967296 - 4294967296)) + 4 * (if ~k~0 % 4294967296 % 4294967296 <= 2147483647 then ~k~0 % 4294967296 % 4294967296 else ~k~0 % 4294967296 % 4294967296 - 4294967296) }, 4); [L3-L8] ~cond := #in~cond; VAL [#NULL!base=0, #NULL!offset=0] [L4] COND TRUE 0 == ~cond VAL [#NULL!base=0, #NULL!offset=0] [L5] assert false; VAL [#NULL!base=0, #NULL!offset=0] [L14] unsigned int N_LIN=__VERIFIER_nondet_uint(); [L15] unsigned int N_COL=__VERIFIER_nondet_uint(); [L16] unsigned int j,k; [L17] int matriz[N_COL][N_LIN], maior; [L19] maior = __VERIFIER_nondet_int() [L20] j=0 [L20] COND TRUE jmaior) [L21] k++ [L21] COND FALSE !(kmaior) [L21] k++ [L21] COND FALSE !(k