./Ultimate.py --spec ../../sv-benchmarks/c/properties/unreach-call.prp --file ../../sv-benchmarks/c/float-newlib/float_req_bl_1210_false-unreach-call.c --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_29e88f00-00cd-4d32-ae8c-90917fa1d949/bin-2019/uautomizer/data/config -Xmx12G -Xms1G -jar /tmp/vcloud-vcloud-master/worker/working_dir_29e88f00-00cd-4d32-ae8c-90917fa1d949/bin-2019/uautomizer/plugins/org.eclipse.equinox.launcher_1.3.100.v20150511-1540.jar -data @noDefault -ultimatedata /tmp/vcloud-vcloud-master/worker/working_dir_29e88f00-00cd-4d32-ae8c-90917fa1d949/bin-2019/uautomizer/data -tc /tmp/vcloud-vcloud-master/worker/working_dir_29e88f00-00cd-4d32-ae8c-90917fa1d949/bin-2019/uautomizer/config/AutomizerReach.xml -i ../../sv-benchmarks/c/float-newlib/float_req_bl_1210_false-unreach-call.c -s /tmp/vcloud-vcloud-master/worker/working_dir_29e88f00-00cd-4d32-ae8c-90917fa1d949/bin-2019/uautomizer/config/svcomp-Reach-32bit-Automizer_Default.epf --cacsl2boogietranslator.entry.function main --witnessprinter.witness.directory /tmp/vcloud-vcloud-master/worker/working_dir_29e88f00-00cd-4d32-ae8c-90917fa1d949/bin-2019/uautomizer --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 Automizer --witnessprinter.graph.data.architecture 32bit --witnessprinter.graph.data.programhash 36fce2ac9d239f0bf9286aa317af7b50704c65b6 ................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................ Execution finished normally Using bit-precise analysis Retrying with bit-precise analysis Calling Ultimate with: java -Dosgi.configuration.area=/tmp/vcloud-vcloud-master/worker/working_dir_29e88f00-00cd-4d32-ae8c-90917fa1d949/bin-2019/uautomizer/data/config -Xmx12G -Xms1G -jar /tmp/vcloud-vcloud-master/worker/working_dir_29e88f00-00cd-4d32-ae8c-90917fa1d949/bin-2019/uautomizer/plugins/org.eclipse.equinox.launcher_1.3.100.v20150511-1540.jar -data @noDefault -ultimatedata /tmp/vcloud-vcloud-master/worker/working_dir_29e88f00-00cd-4d32-ae8c-90917fa1d949/bin-2019/uautomizer/data -tc /tmp/vcloud-vcloud-master/worker/working_dir_29e88f00-00cd-4d32-ae8c-90917fa1d949/bin-2019/uautomizer/config/AutomizerReach.xml -i ../../sv-benchmarks/c/float-newlib/float_req_bl_1210_false-unreach-call.c -s /tmp/vcloud-vcloud-master/worker/working_dir_29e88f00-00cd-4d32-ae8c-90917fa1d949/bin-2019/uautomizer/config/svcomp-Reach-32bit-Automizer_Bitvector.epf --cacsl2boogietranslator.entry.function main --witnessprinter.witness.directory /tmp/vcloud-vcloud-master/worker/working_dir_29e88f00-00cd-4d32-ae8c-90917fa1d949/bin-2019/uautomizer --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 Automizer --witnessprinter.graph.data.architecture 32bit --witnessprinter.graph.data.programhash 36fce2ac9d239f0bf9286aa317af7b50704c65b6 ............................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................ 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-23 13:11:36,774 INFO L170 SettingsManager]: Resetting all preferences to default values... [2018-11-23 13:11:36,775 INFO L174 SettingsManager]: Resetting UltimateCore preferences to default values [2018-11-23 13:11:36,784 INFO L177 SettingsManager]: Ultimate Commandline Interface provides no preferences, ignoring... [2018-11-23 13:11:36,784 INFO L174 SettingsManager]: Resetting Boogie Preprocessor preferences to default values [2018-11-23 13:11:36,785 INFO L174 SettingsManager]: Resetting Boogie Procedure Inliner preferences to default values [2018-11-23 13:11:36,786 INFO L174 SettingsManager]: Resetting Abstract Interpretation preferences to default values [2018-11-23 13:11:36,787 INFO L174 SettingsManager]: Resetting LassoRanker preferences to default values [2018-11-23 13:11:36,788 INFO L174 SettingsManager]: Resetting Reaching Definitions preferences to default values [2018-11-23 13:11:36,789 INFO L174 SettingsManager]: Resetting SyntaxChecker preferences to default values [2018-11-23 13:11:36,790 INFO L177 SettingsManager]: Büchi Program Product provides no preferences, ignoring... [2018-11-23 13:11:36,790 INFO L174 SettingsManager]: Resetting LTL2Aut preferences to default values [2018-11-23 13:11:36,791 INFO L174 SettingsManager]: Resetting PEA to Boogie preferences to default values [2018-11-23 13:11:36,791 INFO L174 SettingsManager]: Resetting BlockEncodingV2 preferences to default values [2018-11-23 13:11:36,792 INFO L174 SettingsManager]: Resetting ChcToBoogie preferences to default values [2018-11-23 13:11:36,793 INFO L174 SettingsManager]: Resetting AutomataScriptInterpreter preferences to default values [2018-11-23 13:11:36,793 INFO L174 SettingsManager]: Resetting BuchiAutomizer preferences to default values [2018-11-23 13:11:36,795 INFO L174 SettingsManager]: Resetting CACSL2BoogieTranslator preferences to default values [2018-11-23 13:11:36,796 INFO L174 SettingsManager]: Resetting CodeCheck preferences to default values [2018-11-23 13:11:36,797 INFO L174 SettingsManager]: Resetting InvariantSynthesis preferences to default values [2018-11-23 13:11:36,798 INFO L174 SettingsManager]: Resetting RCFGBuilder preferences to default values [2018-11-23 13:11:36,798 INFO L174 SettingsManager]: Resetting TraceAbstraction preferences to default values [2018-11-23 13:11:36,800 INFO L177 SettingsManager]: TraceAbstractionConcurrent provides no preferences, ignoring... [2018-11-23 13:11:36,800 INFO L177 SettingsManager]: TraceAbstractionWithAFAs provides no preferences, ignoring... [2018-11-23 13:11:36,800 INFO L174 SettingsManager]: Resetting TreeAutomizer preferences to default values [2018-11-23 13:11:36,801 INFO L174 SettingsManager]: Resetting IcfgTransformer preferences to default values [2018-11-23 13:11:36,801 INFO L174 SettingsManager]: Resetting Boogie Printer preferences to default values [2018-11-23 13:11:36,802 INFO L174 SettingsManager]: Resetting ReqPrinter preferences to default values [2018-11-23 13:11:36,802 INFO L174 SettingsManager]: Resetting Witness Printer preferences to default values [2018-11-23 13:11:36,803 INFO L177 SettingsManager]: Boogie PL CUP Parser provides no preferences, ignoring... [2018-11-23 13:11:36,803 INFO L174 SettingsManager]: Resetting CDTParser preferences to default values [2018-11-23 13:11:36,804 INFO L177 SettingsManager]: AutomataScriptParser provides no preferences, ignoring... [2018-11-23 13:11:36,804 INFO L177 SettingsManager]: ReqParser provides no preferences, ignoring... [2018-11-23 13:11:36,804 INFO L174 SettingsManager]: Resetting SmtParser preferences to default values [2018-11-23 13:11:36,805 INFO L174 SettingsManager]: Resetting Witness Parser preferences to default values [2018-11-23 13:11:36,805 INFO L181 SettingsManager]: Finished resetting all preferences to default values... [2018-11-23 13:11:36,805 INFO L98 SettingsManager]: Beginning loading settings from /tmp/vcloud-vcloud-master/worker/working_dir_29e88f00-00cd-4d32-ae8c-90917fa1d949/bin-2019/uautomizer/config/svcomp-Reach-32bit-Automizer_Default.epf [2018-11-23 13:11:36,814 INFO L110 SettingsManager]: Loading preferences was successful [2018-11-23 13:11:36,814 INFO L112 SettingsManager]: Preferences different from defaults after loading the file: [2018-11-23 13:11:36,815 INFO L131 SettingsManager]: Preferences of Boogie Procedure Inliner differ from their defaults: [2018-11-23 13:11:36,815 INFO L133 SettingsManager]: * ... calls to implemented procedures=ONLY_FOR_CONCURRENT_PROGRAMS [2018-11-23 13:11:36,815 INFO L131 SettingsManager]: Preferences of BlockEncodingV2 differ from their defaults: [2018-11-23 13:11:36,816 INFO L133 SettingsManager]: * Create parallel compositions if possible=false [2018-11-23 13:11:36,816 INFO L133 SettingsManager]: * Use SBE=true [2018-11-23 13:11:36,816 INFO L131 SettingsManager]: Preferences of CACSL2BoogieTranslator differ from their defaults: [2018-11-23 13:11:36,816 INFO L133 SettingsManager]: * sizeof long=4 [2018-11-23 13:11:36,816 INFO L133 SettingsManager]: * Overapproximate operations on floating types=true [2018-11-23 13:11:36,816 INFO L133 SettingsManager]: * sizeof POINTER=4 [2018-11-23 13:11:36,816 INFO L133 SettingsManager]: * Check division by zero=IGNORE [2018-11-23 13:11:36,817 INFO L133 SettingsManager]: * Pointer to allocated memory at dereference=IGNORE [2018-11-23 13:11:36,817 INFO L133 SettingsManager]: * If two pointers are subtracted or compared they have the same base address=IGNORE [2018-11-23 13:11:36,817 INFO L133 SettingsManager]: * Check array bounds for arrays that are off heap=IGNORE [2018-11-23 13:11:36,817 INFO L133 SettingsManager]: * sizeof long double=12 [2018-11-23 13:11:36,817 INFO L133 SettingsManager]: * Check if freed pointer was valid=false [2018-11-23 13:11:36,817 INFO L133 SettingsManager]: * Use constant arrays=true [2018-11-23 13:11:36,817 INFO L133 SettingsManager]: * Pointer base address is valid at dereference=IGNORE [2018-11-23 13:11:36,817 INFO L131 SettingsManager]: Preferences of RCFGBuilder differ from their defaults: [2018-11-23 13:11:36,817 INFO L133 SettingsManager]: * Size of a code block=SequenceOfStatements [2018-11-23 13:11:36,818 INFO L133 SettingsManager]: * To the following directory=./dump/ [2018-11-23 13:11:36,818 INFO L133 SettingsManager]: * SMT solver=External_DefaultMode [2018-11-23 13:11:36,818 INFO L133 SettingsManager]: * Command for external solver=z3 SMTLIB2_COMPLIANT=true -memory:2024 -smt2 -in -t:2000 [2018-11-23 13:11:36,818 INFO L131 SettingsManager]: Preferences of TraceAbstraction differ from their defaults: [2018-11-23 13:11:36,818 INFO L133 SettingsManager]: * Compute Interpolants along a Counterexample=FPandBP [2018-11-23 13:11:36,818 INFO L133 SettingsManager]: * Positions where we compute the Hoare Annotation=LoopsAndPotentialCycles [2018-11-23 13:11:36,818 INFO L133 SettingsManager]: * Trace refinement strategy=CAMEL [2018-11-23 13:11:36,818 INFO L133 SettingsManager]: * SMT solver=External_ModelsAndUnsatCoreMode [2018-11-23 13:11:36,819 INFO L133 SettingsManager]: * Command for external solver=z3 SMTLIB2_COMPLIANT=true -memory:2024 -smt2 -in [2018-11-23 13:11:36,819 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_29e88f00-00cd-4d32-ae8c-90917fa1d949/bin-2019/uautomizer 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 -> Automizer 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 -> 36fce2ac9d239f0bf9286aa317af7b50704c65b6 [2018-11-23 13:11:36,840 INFO L81 nceAwareModelManager]: Repository-Root is: /tmp [2018-11-23 13:11:36,848 INFO L258 ainManager$Toolchain]: [Toolchain 1]: Applicable parser(s) successfully (re)initialized [2018-11-23 13:11:36,851 INFO L214 ainManager$Toolchain]: [Toolchain 1]: Toolchain selected. [2018-11-23 13:11:36,852 INFO L271 PluginConnector]: Initializing CDTParser... [2018-11-23 13:11:36,852 INFO L276 PluginConnector]: CDTParser initialized [2018-11-23 13:11:36,853 INFO L418 ainManager$Toolchain]: [Toolchain 1]: Parsing single file: /tmp/vcloud-vcloud-master/worker/working_dir_29e88f00-00cd-4d32-ae8c-90917fa1d949/bin-2019/uautomizer/../../sv-benchmarks/c/float-newlib/float_req_bl_1210_false-unreach-call.c [2018-11-23 13:11:36,896 INFO L221 CDTParser]: Created temporary CDT project at /tmp/vcloud-vcloud-master/worker/working_dir_29e88f00-00cd-4d32-ae8c-90917fa1d949/bin-2019/uautomizer/data/a47726e68/464b7a6c5cec46ea9844c8abe8b4ce48/FLAGdf2c0e1f2 [2018-11-23 13:11:37,248 INFO L307 CDTParser]: Found 1 translation units. [2018-11-23 13:11:37,248 INFO L161 CDTParser]: Scanning /tmp/vcloud-vcloud-master/worker/working_dir_29e88f00-00cd-4d32-ae8c-90917fa1d949/sv-benchmarks/c/float-newlib/float_req_bl_1210_false-unreach-call.c [2018-11-23 13:11:37,254 INFO L355 CDTParser]: About to delete temporary CDT project at /tmp/vcloud-vcloud-master/worker/working_dir_29e88f00-00cd-4d32-ae8c-90917fa1d949/bin-2019/uautomizer/data/a47726e68/464b7a6c5cec46ea9844c8abe8b4ce48/FLAGdf2c0e1f2 [2018-11-23 13:11:37,681 INFO L363 CDTParser]: Successfully deleted /tmp/vcloud-vcloud-master/worker/working_dir_29e88f00-00cd-4d32-ae8c-90917fa1d949/bin-2019/uautomizer/data/a47726e68/464b7a6c5cec46ea9844c8abe8b4ce48 [2018-11-23 13:11:37,683 INFO L296 ainManager$Toolchain]: ####################### [Toolchain 1] ####################### [2018-11-23 13:11:37,684 INFO L131 ToolchainWalker]: Walking toolchain with 6 elements. [2018-11-23 13:11:37,685 INFO L113 PluginConnector]: ------------------------CACSL2BoogieTranslator---------------------------- [2018-11-23 13:11:37,685 INFO L271 PluginConnector]: Initializing CACSL2BoogieTranslator... [2018-11-23 13:11:37,687 INFO L276 PluginConnector]: CACSL2BoogieTranslator initialized [2018-11-23 13:11:37,688 INFO L185 PluginConnector]: Executing the observer ACSLObjectContainerObserver from plugin CACSL2BoogieTranslator for "CDTParser AST 23.11 01:11:37" (1/1) ... [2018-11-23 13:11:37,689 INFO L205 PluginConnector]: Invalid model from CACSL2BoogieTranslator for observer de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator.ACSLObjectContainerObserver@76b02929 and model type de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 23.11 01:11:37, skipping insertion in model container [2018-11-23 13:11:37,689 INFO L185 PluginConnector]: Executing the observer CACSL2BoogieTranslatorObserver from plugin CACSL2BoogieTranslator for "CDTParser AST 23.11 01:11:37" (1/1) ... [2018-11-23 13:11:37,697 INFO L145 MainTranslator]: Starting translation in SV-COMP mode [2018-11-23 13:11:37,713 INFO L176 MainTranslator]: Built tables and reachable declarations [2018-11-23 13:11:37,828 INFO L201 PostProcessor]: Analyzing one entry point: main [2018-11-23 13:11:37,835 INFO L191 MainTranslator]: Completed pre-run [2018-11-23 13:11:37,854 INFO L201 PostProcessor]: Analyzing one entry point: main [2018-11-23 13:11:37,865 INFO L195 MainTranslator]: Completed translation [2018-11-23 13:11:37,865 INFO L202 PluginConnector]: Adding new model de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 23.11 01:11:37 WrapperNode [2018-11-23 13:11:37,865 INFO L132 PluginConnector]: ------------------------ END CACSL2BoogieTranslator---------------------------- [2018-11-23 13:11:37,865 INFO L113 PluginConnector]: ------------------------Boogie Procedure Inliner---------------------------- [2018-11-23 13:11:37,865 INFO L271 PluginConnector]: Initializing Boogie Procedure Inliner... [2018-11-23 13:11:37,866 INFO L276 PluginConnector]: Boogie Procedure Inliner initialized [2018-11-23 13:11:37,871 INFO L185 PluginConnector]: Executing the observer TypeChecker from plugin Boogie Procedure Inliner for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 23.11 01:11:37" (1/1) ... [2018-11-23 13:11:37,878 INFO L185 PluginConnector]: Executing the observer Inliner from plugin Boogie Procedure Inliner for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 23.11 01:11:37" (1/1) ... [2018-11-23 13:11:37,884 INFO L132 PluginConnector]: ------------------------ END Boogie Procedure Inliner---------------------------- [2018-11-23 13:11:37,884 INFO L113 PluginConnector]: ------------------------Boogie Preprocessor---------------------------- [2018-11-23 13:11:37,884 INFO L271 PluginConnector]: Initializing Boogie Preprocessor... [2018-11-23 13:11:37,884 INFO L276 PluginConnector]: Boogie Preprocessor initialized [2018-11-23 13:11:37,891 INFO L185 PluginConnector]: Executing the observer EnsureBoogieModelObserver from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 23.11 01:11:37" (1/1) ... [2018-11-23 13:11:37,892 INFO L185 PluginConnector]: Executing the observer TypeChecker from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 23.11 01:11:37" (1/1) ... [2018-11-23 13:11:37,894 INFO L185 PluginConnector]: Executing the observer ConstExpander from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 23.11 01:11:37" (1/1) ... [2018-11-23 13:11:37,894 INFO L185 PluginConnector]: Executing the observer StructExpander from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 23.11 01:11:37" (1/1) ... [2018-11-23 13:11:37,904 INFO L185 PluginConnector]: Executing the observer UnstructureCode from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 23.11 01:11:37" (1/1) ... [2018-11-23 13:11:37,954 INFO L185 PluginConnector]: Executing the observer FunctionInliner from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 23.11 01:11:37" (1/1) ... [2018-11-23 13:11:37,957 INFO L185 PluginConnector]: Executing the observer BoogieSymbolTableConstructor from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 23.11 01:11:37" (1/1) ... [2018-11-23 13:11:37,959 INFO L132 PluginConnector]: ------------------------ END Boogie Preprocessor---------------------------- [2018-11-23 13:11:37,960 INFO L113 PluginConnector]: ------------------------RCFGBuilder---------------------------- [2018-11-23 13:11:37,960 INFO L271 PluginConnector]: Initializing RCFGBuilder... [2018-11-23 13:11:37,960 INFO L276 PluginConnector]: RCFGBuilder initialized [2018-11-23 13:11:37,961 INFO L185 PluginConnector]: Executing the observer RCFGBuilderObserver from plugin RCFGBuilder for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 23.11 01:11:37" (1/1) ... No working directory specified, using /tmp/vcloud-vcloud-master/worker/working_dir_29e88f00-00cd-4d32-ae8c-90917fa1d949/bin-2019/uautomizer/z3 Starting monitored process 1 with z3 SMTLIB2_COMPLIANT=true -memory:2024 -smt2 -in -t:2000 (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:2000 [2018-11-23 13:11:37,995 INFO L130 BoogieDeclarations]: Found specification of procedure isnan_float [2018-11-23 13:11:37,996 INFO L138 BoogieDeclarations]: Found implementation of procedure isnan_float [2018-11-23 13:11:37,996 INFO L130 BoogieDeclarations]: Found specification of procedure read~real [2018-11-23 13:11:37,996 INFO L130 BoogieDeclarations]: Found specification of procedure write~int [2018-11-23 13:11:37,996 INFO L130 BoogieDeclarations]: Found specification of procedure ULTIMATE.init [2018-11-23 13:11:37,996 INFO L138 BoogieDeclarations]: Found implementation of procedure ULTIMATE.init [2018-11-23 13:11:37,996 INFO L130 BoogieDeclarations]: Found specification of procedure write~real [2018-11-23 13:11:37,996 INFO L130 BoogieDeclarations]: Found specification of procedure #Ultimate.alloc [2018-11-23 13:11:37,996 INFO L130 BoogieDeclarations]: Found specification of procedure ULTIMATE.start [2018-11-23 13:11:37,996 INFO L138 BoogieDeclarations]: Found implementation of procedure ULTIMATE.start [2018-11-23 13:11:37,996 INFO L130 BoogieDeclarations]: Found specification of procedure read~int [2018-11-23 13:11:37,996 INFO L130 BoogieDeclarations]: Found specification of procedure main [2018-11-23 13:11:37,996 INFO L138 BoogieDeclarations]: Found implementation of procedure main [2018-11-23 13:11:37,996 INFO L130 BoogieDeclarations]: Found specification of procedure ULTIMATE.dealloc [2018-11-23 13:11:37,997 INFO L130 BoogieDeclarations]: Found specification of procedure modf_float [2018-11-23 13:11:37,997 INFO L138 BoogieDeclarations]: Found implementation of procedure modf_float [2018-11-23 13:11:38,202 INFO L275 CfgBuilder]: Using the 1 location(s) as analysis (start of procedure ULTIMATE.start) [2018-11-23 13:11:38,203 INFO L280 CfgBuilder]: Removed 14 assue(true) statements. [2018-11-23 13:11:38,203 INFO L202 PluginConnector]: Adding new model de.uni_freiburg.informatik.ultimate.plugins.generator.rcfgbuilder CFG 23.11 01:11:38 BoogieIcfgContainer [2018-11-23 13:11:38,203 INFO L132 PluginConnector]: ------------------------ END RCFGBuilder---------------------------- [2018-11-23 13:11:38,204 INFO L113 PluginConnector]: ------------------------TraceAbstraction---------------------------- [2018-11-23 13:11:38,204 INFO L271 PluginConnector]: Initializing TraceAbstraction... [2018-11-23 13:11:38,206 INFO L276 PluginConnector]: TraceAbstraction initialized [2018-11-23 13:11:38,206 INFO L185 PluginConnector]: Executing the observer TraceAbstractionObserver from plugin TraceAbstraction for "CDTParser AST 23.11 01:11:37" (1/3) ... [2018-11-23 13:11:38,206 INFO L205 PluginConnector]: Invalid model from TraceAbstraction for observer de.uni_freiburg.informatik.ultimate.plugins.generator.traceabstraction.TraceAbstractionObserver@2f9ecfc0 and model type de.uni_freiburg.informatik.ultimate.plugins.generator.traceabstraction AST 23.11 01:11:38, skipping insertion in model container [2018-11-23 13:11:38,206 INFO L185 PluginConnector]: Executing the observer TraceAbstractionObserver from plugin TraceAbstraction for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 23.11 01:11:37" (2/3) ... [2018-11-23 13:11:38,207 INFO L205 PluginConnector]: Invalid model from TraceAbstraction for observer de.uni_freiburg.informatik.ultimate.plugins.generator.traceabstraction.TraceAbstractionObserver@2f9ecfc0 and model type de.uni_freiburg.informatik.ultimate.plugins.generator.traceabstraction AST 23.11 01:11:38, skipping insertion in model container [2018-11-23 13:11:38,207 INFO L185 PluginConnector]: Executing the observer TraceAbstractionObserver from plugin TraceAbstraction for "de.uni_freiburg.informatik.ultimate.plugins.generator.rcfgbuilder CFG 23.11 01:11:38" (3/3) ... [2018-11-23 13:11:38,208 INFO L112 eAbstractionObserver]: Analyzing ICFG float_req_bl_1210_false-unreach-call.c [2018-11-23 13:11:38,214 INFO L156 ceAbstractionStarter]: Automizer settings: Hoare:true NWA Interpolation:FPandBP Determinization: PREDICATE_ABSTRACTION [2018-11-23 13:11:38,218 INFO L168 ceAbstractionStarter]: Appying trace abstraction to program that has 1 error locations. [2018-11-23 13:11:38,229 INFO L257 AbstractCegarLoop]: Starting to check reachability of 1 error locations. [2018-11-23 13:11:38,255 INFO L133 ementStrategyFactory]: Using default assertion order modulation [2018-11-23 13:11:38,255 INFO L382 AbstractCegarLoop]: Interprodecural is true [2018-11-23 13:11:38,255 INFO L383 AbstractCegarLoop]: Hoare is true [2018-11-23 13:11:38,255 INFO L384 AbstractCegarLoop]: Compute interpolants for FPandBP [2018-11-23 13:11:38,256 INFO L385 AbstractCegarLoop]: Backedges is STRAIGHT_LINE [2018-11-23 13:11:38,256 INFO L386 AbstractCegarLoop]: Determinization is PREDICATE_ABSTRACTION [2018-11-23 13:11:38,256 INFO L387 AbstractCegarLoop]: Difference is false [2018-11-23 13:11:38,256 INFO L388 AbstractCegarLoop]: Minimize is MINIMIZE_SEVPA [2018-11-23 13:11:38,256 INFO L393 AbstractCegarLoop]: ======== Iteration 0==of CEGAR loop == AllErrorsAtOnce======== [2018-11-23 13:11:38,271 INFO L276 IsEmpty]: Start isEmpty. Operand 48 states. [2018-11-23 13:11:38,276 INFO L282 IsEmpty]: Finished isEmpty. Found accepting run of length 26 [2018-11-23 13:11:38,277 INFO L394 BasicCegarLoop]: Found error trace [2018-11-23 13:11:38,277 INFO L402 BasicCegarLoop]: trace histogram [1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1] [2018-11-23 13:11:38,279 INFO L423 AbstractCegarLoop]: === Iteration 1 === [mainErr0ASSERT_VIOLATIONERROR_FUNCTION]=== [2018-11-23 13:11:38,284 INFO L141 PredicateUnifier]: Initialized classic predicate unifier [2018-11-23 13:11:38,284 INFO L82 PathProgramCache]: Analyzing trace with hash -1399428577, now seen corresponding path program 1 times [2018-11-23 13:11:38,286 INFO L223 ckRefinementStrategy]: Switched to mode SMTINTERPOL_TREE_INTERPOLANTS [2018-11-23 13:11:38,286 INFO L69 tionRefinementEngine]: Using refinement strategy CamelRefinementStrategy [2018-11-23 13:11:38,326 INFO L119 rtionOrderModulation]: Craig_TreeInterpolation forces the order to NOT_INCREMENTALLY [2018-11-23 13:11:38,327 INFO L103 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2018-11-23 13:11:38,327 INFO L119 rtionOrderModulation]: Craig_TreeInterpolation forces the order to NOT_INCREMENTALLY [2018-11-23 13:11:38,363 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2018-11-23 13:11:38,394 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-23 13:11:38,396 INFO L312 seRefinementStrategy]: Constructing automaton from 1 perfect and 0 imperfect interpolant sequences. [2018-11-23 13:11:38,396 INFO L327 seRefinementStrategy]: Number of different interpolants: perfect sequences [2] imperfect sequences [] total 2 [2018-11-23 13:11:38,398 INFO L459 AbstractCegarLoop]: Interpolant automaton has 2 states [2018-11-23 13:11:38,405 INFO L142 InterpolantAutomaton]: Constructing interpolant automaton starting with 2 interpolants. [2018-11-23 13:11:38,405 INFO L144 InterpolantAutomaton]: CoverageRelationStatistics Valid=1, Invalid=1, Unknown=0, NotChecked=0, Total=2 [2018-11-23 13:11:38,407 INFO L87 Difference]: Start difference. First operand 48 states. Second operand 2 states. [2018-11-23 13:11:38,420 INFO L144 Difference]: Subtrahend was deterministic. Have not used determinization. [2018-11-23 13:11:38,421 INFO L93 Difference]: Finished difference Result 88 states and 126 transitions. [2018-11-23 13:11:38,421 INFO L142 InterpolantAutomaton]: Switched to read-only mode: deterministic interpolant automaton has 2 states. [2018-11-23 13:11:38,422 INFO L78 Accepts]: Start accepts. Automaton has 2 states. Word has length 25 [2018-11-23 13:11:38,422 INFO L84 Accepts]: Finished accepts. some prefix is accepted. [2018-11-23 13:11:38,430 INFO L225 Difference]: With dead ends: 88 [2018-11-23 13:11:38,430 INFO L226 Difference]: Without dead ends: 44 [2018-11-23 13:11:38,433 INFO L631 BasicCegarLoop]: 0 DeclaredPredicates, 2 GetRequests, 2 SyntacticMatches, 0 SemanticMatches, 0 ConstructedPredicates, 0 IntricatePredicates, 0 DeprecatedPredicates, 0 ImplicationChecksByTransitivity, 0.0s TimeCoverageRelationStatistics Valid=1, Invalid=1, Unknown=0, NotChecked=0, Total=2 [2018-11-23 13:11:38,445 INFO L82 GeneralOperation]: Start minimizeSevpa. Operand 44 states. [2018-11-23 13:11:38,457 INFO L88 GeneralOperation]: Finished minimizeSevpa. Reduced states from 44 to 44. [2018-11-23 13:11:38,458 INFO L82 GeneralOperation]: Start removeUnreachable. Operand 44 states. [2018-11-23 13:11:38,458 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 44 states to 44 states and 48 transitions. [2018-11-23 13:11:38,459 INFO L78 Accepts]: Start accepts. Automaton has 44 states and 48 transitions. Word has length 25 [2018-11-23 13:11:38,460 INFO L84 Accepts]: Finished accepts. word is rejected. [2018-11-23 13:11:38,460 INFO L480 AbstractCegarLoop]: Abstraction has 44 states and 48 transitions. [2018-11-23 13:11:38,460 INFO L481 AbstractCegarLoop]: Interpolant automaton has 2 states. [2018-11-23 13:11:38,460 INFO L276 IsEmpty]: Start isEmpty. Operand 44 states and 48 transitions. [2018-11-23 13:11:38,461 INFO L282 IsEmpty]: Finished isEmpty. Found accepting run of length 28 [2018-11-23 13:11:38,461 INFO L394 BasicCegarLoop]: Found error trace [2018-11-23 13:11:38,461 INFO L402 BasicCegarLoop]: trace histogram [1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1] [2018-11-23 13:11:38,461 INFO L423 AbstractCegarLoop]: === Iteration 2 === [mainErr0ASSERT_VIOLATIONERROR_FUNCTION]=== [2018-11-23 13:11:38,462 INFO L141 PredicateUnifier]: Initialized classic predicate unifier [2018-11-23 13:11:38,462 INFO L82 PathProgramCache]: Analyzing trace with hash 1932138526, now seen corresponding path program 1 times [2018-11-23 13:11:38,462 INFO L223 ckRefinementStrategy]: Switched to mode SMTINTERPOL_TREE_INTERPOLANTS [2018-11-23 13:11:38,462 INFO L69 tionRefinementEngine]: Using refinement strategy CamelRefinementStrategy [2018-11-23 13:11:38,463 INFO L119 rtionOrderModulation]: Craig_TreeInterpolation forces the order to NOT_INCREMENTALLY [2018-11-23 13:11:38,463 INFO L103 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2018-11-23 13:11:38,463 INFO L119 rtionOrderModulation]: Craig_TreeInterpolation forces the order to NOT_INCREMENTALLY [2018-11-23 13:11:38,486 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2018-11-23 13:11:38,526 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-23 13:11:38,526 INFO L312 seRefinementStrategy]: Constructing automaton from 1 perfect and 0 imperfect interpolant sequences. [2018-11-23 13:11:38,526 INFO L327 seRefinementStrategy]: Number of different interpolants: perfect sequences [3] imperfect sequences [] total 3 [2018-11-23 13:11:38,527 INFO L459 AbstractCegarLoop]: Interpolant automaton has 3 states [2018-11-23 13:11:38,527 INFO L142 InterpolantAutomaton]: Constructing interpolant automaton starting with 3 interpolants. [2018-11-23 13:11:38,528 INFO L144 InterpolantAutomaton]: CoverageRelationStatistics Valid=3, Invalid=3, Unknown=0, NotChecked=0, Total=6 [2018-11-23 13:11:38,528 INFO L87 Difference]: Start difference. First operand 44 states and 48 transitions. Second operand 3 states. [2018-11-23 13:11:38,552 INFO L144 Difference]: Subtrahend was deterministic. Have not used determinization. [2018-11-23 13:11:38,552 INFO L93 Difference]: Finished difference Result 47 states and 50 transitions. [2018-11-23 13:11:38,552 INFO L142 InterpolantAutomaton]: Switched to read-only mode: deterministic interpolant automaton has 3 states. [2018-11-23 13:11:38,552 INFO L78 Accepts]: Start accepts. Automaton has 3 states. Word has length 27 [2018-11-23 13:11:38,553 INFO L84 Accepts]: Finished accepts. some prefix is accepted. [2018-11-23 13:11:38,553 INFO L225 Difference]: With dead ends: 47 [2018-11-23 13:11:38,553 INFO L226 Difference]: Without dead ends: 44 [2018-11-23 13:11:38,554 INFO L631 BasicCegarLoop]: 0 DeclaredPredicates, 3 GetRequests, 2 SyntacticMatches, 0 SemanticMatches, 1 ConstructedPredicates, 0 IntricatePredicates, 0 DeprecatedPredicates, 0 ImplicationChecksByTransitivity, 0.0s TimeCoverageRelationStatistics Valid=3, Invalid=3, Unknown=0, NotChecked=0, Total=6 [2018-11-23 13:11:38,554 INFO L82 GeneralOperation]: Start minimizeSevpa. Operand 44 states. [2018-11-23 13:11:38,558 INFO L88 GeneralOperation]: Finished minimizeSevpa. Reduced states from 44 to 44. [2018-11-23 13:11:38,558 INFO L82 GeneralOperation]: Start removeUnreachable. Operand 44 states. [2018-11-23 13:11:38,559 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 44 states to 44 states and 47 transitions. [2018-11-23 13:11:38,559 INFO L78 Accepts]: Start accepts. Automaton has 44 states and 47 transitions. Word has length 27 [2018-11-23 13:11:38,560 INFO L84 Accepts]: Finished accepts. word is rejected. [2018-11-23 13:11:38,560 INFO L480 AbstractCegarLoop]: Abstraction has 44 states and 47 transitions. [2018-11-23 13:11:38,560 INFO L481 AbstractCegarLoop]: Interpolant automaton has 3 states. [2018-11-23 13:11:38,560 INFO L276 IsEmpty]: Start isEmpty. Operand 44 states and 47 transitions. [2018-11-23 13:11:38,561 INFO L282 IsEmpty]: Finished isEmpty. Found accepting run of length 33 [2018-11-23 13:11:38,561 INFO L394 BasicCegarLoop]: Found error trace [2018-11-23 13:11:38,561 INFO L402 BasicCegarLoop]: trace histogram [2, 2, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1] [2018-11-23 13:11:38,562 INFO L423 AbstractCegarLoop]: === Iteration 3 === [mainErr0ASSERT_VIOLATIONERROR_FUNCTION]=== [2018-11-23 13:11:38,562 INFO L141 PredicateUnifier]: Initialized classic predicate unifier [2018-11-23 13:11:38,562 INFO L82 PathProgramCache]: Analyzing trace with hash -425385736, now seen corresponding path program 1 times [2018-11-23 13:11:38,562 INFO L223 ckRefinementStrategy]: Switched to mode SMTINTERPOL_TREE_INTERPOLANTS [2018-11-23 13:11:38,562 INFO L69 tionRefinementEngine]: Using refinement strategy CamelRefinementStrategy [2018-11-23 13:11:38,563 INFO L119 rtionOrderModulation]: Craig_TreeInterpolation forces the order to NOT_INCREMENTALLY [2018-11-23 13:11:38,563 INFO L103 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2018-11-23 13:11:38,563 INFO L119 rtionOrderModulation]: Craig_TreeInterpolation forces the order to NOT_INCREMENTALLY [2018-11-23 13:11:38,589 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2018-11-23 13:11:38,609 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2018-11-23 13:11:38,630 INFO L469 BasicCegarLoop]: Counterexample might be feasible ----- class de.uni_freiburg.informatik.ultimate.plugins.generator.rcfgbuilder.RCFGBacktranslator [?] CALL call ULTIMATE.init(); VAL [|#NULL.base|=6442450952, |#NULL.offset|=6442450945, |old(#NULL.base)|=6442450952, |old(#NULL.offset)|=6442450945, |old(~one_modf~0)|=6442450950.0, ~one_modf~0=6442450950.0] [?] #NULL.base, #NULL.offset := 0, 0;#valid := #valid[0 := 0];~one_modf~0 := 1.0; VAL [|#NULL.base|=0, |#NULL.offset|=0, |old(#NULL.base)|=6442450952, |old(#NULL.offset)|=6442450945, |old(~one_modf~0)|=6442450950.0, ~one_modf~0=1.0] [?] assume true; VAL [|#NULL.base|=0, |#NULL.offset|=0, |old(#NULL.base)|=6442450952, |old(#NULL.offset)|=6442450945, |old(~one_modf~0)|=6442450950.0, ~one_modf~0=1.0] [?] RET #129#return; VAL [|#NULL.base|=0, |#NULL.offset|=0, ~one_modf~0=1.0] [?] CALL call #t~ret18 := main(); VAL [|#NULL.base|=0, |#NULL.offset|=0, ~one_modf~0=1.0] [?] ~x~0 := ~someBinaryArithmeticFLOAToperation(0.0, 0.0);call ~#iptr~0.base, ~#iptr~0.offset := #Ultimate.alloc(4); VAL [|#NULL.base|=0, |#NULL.offset|=0, |main_~#iptr~0.base|=6442450955, |main_~#iptr~0.offset|=0, ~one_modf~0=1.0] [?] CALL call #t~ret13 := modf_float(~x~0, ~#iptr~0.base, ~#iptr~0.offset); VAL [|#NULL.base|=0, |#NULL.offset|=0, |modf_float_#in~iptr.base|=6442450955, |modf_float_#in~iptr.offset|=0, |modf_float_#in~x|=6442450947.0, ~one_modf~0=1.0] [?] ~x := #in~x;~iptr.base, ~iptr.offset := #in~iptr.base, #in~iptr.offset;havoc ~i0~0;havoc ~j0~0;havoc ~i~0; VAL [modf_float_~iptr.base=6442450955, modf_float_~iptr.offset=0, modf_float_~x=6442450947.0, |#NULL.base|=0, |#NULL.offset|=0, |modf_float_#in~iptr.base|=6442450955, |modf_float_#in~iptr.offset|=0, |modf_float_#in~x|=6442450947.0, ~one_modf~0=1.0] [?] call ~#gf_u~0.base, ~#gf_u~0.offset := #Ultimate.alloc(4);call write~real(~x, ~#gf_u~0.base, ~#gf_u~0.offset, 4);call #t~mem0 := read~int(~#gf_u~0.base, ~#gf_u~0.offset, 4);~i0~0 := (if #t~mem0 % 4294967296 % 4294967296 <= 2147483647 then #t~mem0 % 4294967296 % 4294967296 else #t~mem0 % 4294967296 % 4294967296 - 4294967296);call write~real(#t~union1, ~#gf_u~0.base, ~#gf_u~0.offset, 4);havoc #t~mem0;havoc #t~union1;call ULTIMATE.dealloc(~#gf_u~0.base, ~#gf_u~0.offset);havoc ~#gf_u~0.base, ~#gf_u~0.offset; VAL [modf_float_~i0~0=(- 2147483648), modf_float_~iptr.base=6442450955, modf_float_~iptr.offset=0, modf_float_~x=6442450947.0, |#NULL.base|=0, |#NULL.offset|=0, |modf_float_#in~iptr.base|=6442450955, |modf_float_#in~iptr.offset|=0, |modf_float_#in~x|=6442450947.0, ~one_modf~0=1.0] [?] goto; VAL [modf_float_~i0~0=(- 2147483648), modf_float_~iptr.base=6442450955, modf_float_~iptr.offset=0, modf_float_~x=6442450947.0, |#NULL.base|=0, |#NULL.offset|=0, |modf_float_#in~iptr.base|=6442450955, |modf_float_#in~iptr.offset|=0, |modf_float_#in~x|=6442450947.0, ~one_modf~0=1.0] [?] ~j0~0 := ~bitwiseAnd(~i0~0 / 8388608, 255) - 127; VAL [modf_float_~i0~0=(- 2147483648), modf_float_~iptr.base=6442450955, modf_float_~iptr.offset=0, modf_float_~x=6442450947.0, |#NULL.base|=0, |#NULL.offset|=0, |modf_float_#in~iptr.base|=6442450955, |modf_float_#in~iptr.offset|=0, |modf_float_#in~x|=6442450947.0, ~one_modf~0=1.0] [?] assume ~j0~0 < 23; VAL [modf_float_~i0~0=(- 2147483648), modf_float_~iptr.base=6442450955, modf_float_~iptr.offset=0, modf_float_~j0~0=(- 1), modf_float_~x=6442450947.0, |#NULL.base|=0, |#NULL.offset|=0, |modf_float_#in~iptr.base|=6442450955, |modf_float_#in~iptr.offset|=0, |modf_float_#in~x|=6442450947.0, ~one_modf~0=1.0] [?] assume ~j0~0 < 0; VAL [modf_float_~i0~0=(- 2147483648), modf_float_~iptr.base=6442450955, modf_float_~iptr.offset=0, modf_float_~j0~0=(- 1), modf_float_~x=6442450947.0, |#NULL.base|=0, |#NULL.offset|=0, |modf_float_#in~iptr.base|=6442450955, |modf_float_#in~iptr.offset|=0, |modf_float_#in~x|=6442450947.0, ~one_modf~0=1.0] [?] call ~#sf_u~0.base, ~#sf_u~0.offset := #Ultimate.alloc(4);call write~int(~bitwiseAnd(~i0~0, 2147483648), ~#sf_u~0.base, ~#sf_u~0.offset, 4);call #t~mem2 := read~real(~#sf_u~0.base, ~#sf_u~0.offset, 4);call write~real(#t~mem2, ~iptr.base, ~iptr.offset, 4);havoc #t~mem2;call ULTIMATE.dealloc(~#sf_u~0.base, ~#sf_u~0.offset);havoc ~#sf_u~0.base, ~#sf_u~0.offset; VAL [modf_float_~i0~0=(- 2147483648), modf_float_~iptr.base=6442450955, modf_float_~iptr.offset=0, modf_float_~j0~0=(- 1), modf_float_~x=6442450947.0, |#NULL.base|=0, |#NULL.offset|=0, |modf_float_#in~iptr.base|=6442450955, |modf_float_#in~iptr.offset|=0, |modf_float_#in~x|=6442450947.0, ~one_modf~0=1.0] [?] goto; VAL [modf_float_~i0~0=(- 2147483648), modf_float_~iptr.base=6442450955, modf_float_~iptr.offset=0, modf_float_~j0~0=(- 1), modf_float_~x=6442450947.0, |#NULL.base|=0, |#NULL.offset|=0, |modf_float_#in~iptr.base|=6442450955, |modf_float_#in~iptr.offset|=0, |modf_float_#in~x|=6442450947.0, ~one_modf~0=1.0] [?] #res := ~x; VAL [modf_float_~i0~0=(- 2147483648), modf_float_~iptr.base=6442450955, modf_float_~iptr.offset=0, modf_float_~j0~0=(- 1), modf_float_~x=6442450947.0, |#NULL.base|=0, |#NULL.offset|=0, |modf_float_#in~iptr.base|=6442450955, |modf_float_#in~iptr.offset|=0, |modf_float_#in~x|=6442450947.0, |modf_float_#res|=6442450947.0, ~one_modf~0=1.0] [?] assume true; VAL [modf_float_~i0~0=(- 2147483648), modf_float_~iptr.base=6442450955, modf_float_~iptr.offset=0, modf_float_~j0~0=(- 1), modf_float_~x=6442450947.0, |#NULL.base|=0, |#NULL.offset|=0, |modf_float_#in~iptr.base|=6442450955, |modf_float_#in~iptr.offset|=0, |modf_float_#in~x|=6442450947.0, |modf_float_#res|=6442450947.0, ~one_modf~0=1.0] [?] RET #133#return; VAL [main_~x~0=6442450947.0, |#NULL.base|=0, |#NULL.offset|=0, |main_#t~ret13|=6442450947.0, |main_~#iptr~0.base|=6442450955, |main_~#iptr~0.offset|=0, ~one_modf~0=1.0] [?] ~res~0 := #t~ret13;havoc #t~ret13;call #t~mem14 := read~real(~#iptr~0.base, ~#iptr~0.offset, 4); VAL [main_~res~0=6442450947.0, main_~x~0=6442450947.0, |#NULL.base|=0, |#NULL.offset|=0, |main_#t~mem14|=6442450954.0, |main_~#iptr~0.base|=6442450955, |main_~#iptr~0.offset|=0, ~one_modf~0=1.0] [?] CALL call #t~ret15 := isnan_float(#t~mem14); VAL [|#NULL.base|=0, |#NULL.offset|=0, |isnan_float_#in~x|=6442450954.0, ~one_modf~0=1.0] [?] ~x := #in~x;#res := (if ~someBinaryFLOATComparisonOperation(~x, ~x) then 1 else 0); VAL [isnan_float_~x=6442450954.0, |#NULL.base|=0, |#NULL.offset|=0, |isnan_float_#in~x|=6442450954.0, |isnan_float_#res|=1, ~one_modf~0=1.0] [?] assume true; VAL [isnan_float_~x=6442450954.0, |#NULL.base|=0, |#NULL.offset|=0, |isnan_float_#in~x|=6442450954.0, |isnan_float_#res|=1, ~one_modf~0=1.0] [?] RET #135#return; VAL [main_~res~0=6442450947.0, main_~x~0=6442450947.0, |#NULL.base|=0, |#NULL.offset|=0, |main_#t~mem14|=6442450954.0, |main_#t~ret15|=1, |main_~#iptr~0.base|=6442450955, |main_~#iptr~0.offset|=0, ~one_modf~0=1.0] [?] assume -2147483648 <= #t~ret15 && #t~ret15 <= 2147483647;#t~short17 := 0 != #t~ret15; VAL [main_~res~0=6442450947.0, main_~x~0=6442450947.0, |#NULL.base|=0, |#NULL.offset|=0, |main_#t~mem14|=6442450954.0, |main_#t~ret15|=1, |main_#t~short17|=true, |main_~#iptr~0.base|=6442450955, |main_~#iptr~0.offset|=0, ~one_modf~0=1.0] [?] assume #t~short17; VAL [main_~res~0=6442450947.0, main_~x~0=6442450947.0, |#NULL.base|=0, |#NULL.offset|=0, |main_#t~mem14|=6442450954.0, |main_#t~ret15|=1, |main_#t~short17|=true, |main_~#iptr~0.base|=6442450955, |main_~#iptr~0.offset|=0, ~one_modf~0=1.0] [?] CALL call #t~ret16 := isnan_float(~res~0); VAL [|#NULL.base|=0, |#NULL.offset|=0, |isnan_float_#in~x|=6442450947.0, ~one_modf~0=1.0] [?] ~x := #in~x;#res := (if ~someBinaryFLOATComparisonOperation(~x, ~x) then 1 else 0); VAL [isnan_float_~x=6442450947.0, |#NULL.base|=0, |#NULL.offset|=0, |isnan_float_#in~x|=6442450947.0, |isnan_float_#res|=0, ~one_modf~0=1.0] [?] assume true; VAL [isnan_float_~x=6442450947.0, |#NULL.base|=0, |#NULL.offset|=0, |isnan_float_#in~x|=6442450947.0, |isnan_float_#res|=0, ~one_modf~0=1.0] [?] RET #137#return; VAL [main_~res~0=6442450947.0, main_~x~0=6442450947.0, |#NULL.base|=0, |#NULL.offset|=0, |main_#t~mem14|=6442450954.0, |main_#t~ret15|=1, |main_#t~ret16|=0, |main_#t~short17|=true, |main_~#iptr~0.base|=6442450955, |main_~#iptr~0.offset|=0, ~one_modf~0=1.0] [?] assume -2147483648 <= #t~ret16 && #t~ret16 <= 2147483647;#t~short17 := 0 == #t~ret16; VAL [main_~res~0=6442450947.0, main_~x~0=6442450947.0, |#NULL.base|=0, |#NULL.offset|=0, |main_#t~mem14|=6442450954.0, |main_#t~ret15|=1, |main_#t~ret16|=0, |main_#t~short17|=true, |main_~#iptr~0.base|=6442450955, |main_~#iptr~0.offset|=0, ~one_modf~0=1.0] [?] assume #t~short17;havoc #t~mem14;havoc #t~ret16;havoc #t~short17;havoc #t~ret15; VAL [main_~res~0=6442450947.0, main_~x~0=6442450947.0, |#NULL.base|=0, |#NULL.offset|=0, |main_~#iptr~0.base|=6442450955, |main_~#iptr~0.offset|=0, ~one_modf~0=1.0] [?] assume !false; VAL [main_~res~0=6442450947.0, main_~x~0=6442450947.0, |#NULL.base|=0, |#NULL.offset|=0, |main_~#iptr~0.base|=6442450955, |main_~#iptr~0.offset|=0, ~one_modf~0=1.0] [?] CALL call ULTIMATE.init(); VAL [#NULL.base=6442450952, #NULL.offset=6442450945, old(#NULL.base)=6442450952, old(#NULL.offset)=6442450945, old(~one_modf~0)=6.44245095E9, ~one_modf~0=6.44245095E9] [?] #NULL.base, #NULL.offset := 0, 0; [?] #valid := #valid[0 := 0]; [L11] ~one_modf~0 := 1.0; VAL [#NULL.base=0, #NULL.offset=0, old(#NULL.base)=6442450952, old(#NULL.offset)=6442450945, old(~one_modf~0)=6.44245095E9, ~one_modf~0=1.0] [?] ensures true; VAL [#NULL.base=0, #NULL.offset=0, old(#NULL.base)=6442450952, old(#NULL.offset)=6442450945, old(~one_modf~0)=6.44245095E9, ~one_modf~0=1.0] [?] RET call ULTIMATE.init(); VAL [#NULL.base=0, #NULL.offset=0, ~one_modf~0=1.0] [?] CALL call #t~ret18 := main(); VAL [#NULL.base=0, #NULL.offset=0, ~one_modf~0=1.0] [L80] ~x~0 := ~someBinaryArithmeticFLOAToperation(0.0, 0.0); [L81] call ~#iptr~0.base, ~#iptr~0.offset := #Ultimate.alloc(4); VAL [#NULL.base=0, #NULL.offset=0, ~#iptr~0.base=6442450955, ~#iptr~0.offset=0, ~one_modf~0=1.0] [L82] CALL call #t~ret13 := modf_float(~x~0, ~#iptr~0.base, ~#iptr~0.offset); VAL [#in~iptr.base=6442450955, #in~iptr.offset=0, #in~x=6.442450947E9, #NULL.base=0, #NULL.offset=0, ~one_modf~0=1.0] [L13-L70] ~x := #in~x; [L13-L70] ~iptr.base, ~iptr.offset := #in~iptr.base, #in~iptr.offset; [L14] havoc ~i0~0; [L14] havoc ~j0~0; [L15] havoc ~i~0; VAL [#in~iptr.base=6442450955, #in~iptr.offset=0, #in~x=6.442450947E9, #NULL.base=0, #NULL.offset=0, ~iptr.base=6442450955, ~iptr.offset=0, ~one_modf~0=1.0, ~x=6.442450947E9] [L17] call ~#gf_u~0.base, ~#gf_u~0.offset := #Ultimate.alloc(4); [L18] call write~real(~x, ~#gf_u~0.base, ~#gf_u~0.offset, 4); [L19] call #t~mem0 := read~int(~#gf_u~0.base, ~#gf_u~0.offset, 4); [L19] ~i0~0 := (if #t~mem0 % 4294967296 % 4294967296 <= 2147483647 then #t~mem0 % 4294967296 % 4294967296 else #t~mem0 % 4294967296 % 4294967296 - 4294967296); [L19] call write~real(#t~union1, ~#gf_u~0.base, ~#gf_u~0.offset, 4); [L19] havoc #t~mem0; [L19] havoc #t~union1; [L17] call ULTIMATE.dealloc(~#gf_u~0.base, ~#gf_u~0.offset); [L17] havoc ~#gf_u~0.base, ~#gf_u~0.offset; VAL [#in~iptr.base=6442450955, #in~iptr.offset=0, #in~x=6.442450947E9, #NULL.base=0, #NULL.offset=0, ~i0~0=-2147483648, ~iptr.base=6442450955, ~iptr.offset=0, ~one_modf~0=1.0, ~x=6.442450947E9] [L21] ~j0~0 := ~bitwiseAnd(~i0~0 / 8388608, 255) - 127; VAL [#in~iptr.base=6442450955, #in~iptr.offset=0, #in~x=6.442450947E9, #NULL.base=0, #NULL.offset=0, ~i0~0=-2147483648, ~iptr.base=6442450955, ~iptr.offset=0, ~one_modf~0=1.0, ~x=6.442450947E9] [L22-L69] assume ~j0~0 < 23; VAL [#in~iptr.base=6442450955, #in~iptr.offset=0, #in~x=6.442450947E9, #NULL.base=0, #NULL.offset=0, ~i0~0=-2147483648, ~iptr.base=6442450955, ~iptr.offset=0, ~j0~0=-1, ~one_modf~0=1.0, ~x=6.442450947E9] [L23-L54] assume ~j0~0 < 0; VAL [#in~iptr.base=6442450955, #in~iptr.offset=0, #in~x=6.442450947E9, #NULL.base=0, #NULL.offset=0, ~i0~0=-2147483648, ~iptr.base=6442450955, ~iptr.offset=0, ~j0~0=-1, ~one_modf~0=1.0, ~x=6.442450947E9] [L25] call ~#sf_u~0.base, ~#sf_u~0.offset := #Ultimate.alloc(4); [L26] call write~int(~bitwiseAnd(~i0~0, 2147483648), ~#sf_u~0.base, ~#sf_u~0.offset, 4); [L27] call #t~mem2 := read~real(~#sf_u~0.base, ~#sf_u~0.offset, 4); [L27] call write~real(#t~mem2, ~iptr.base, ~iptr.offset, 4); [L27] havoc #t~mem2; [L25] call ULTIMATE.dealloc(~#sf_u~0.base, ~#sf_u~0.offset); [L25] havoc ~#sf_u~0.base, ~#sf_u~0.offset; VAL [#in~iptr.base=6442450955, #in~iptr.offset=0, #in~x=6.442450947E9, #NULL.base=0, #NULL.offset=0, ~i0~0=-2147483648, ~iptr.base=6442450955, ~iptr.offset=0, ~j0~0=-1, ~one_modf~0=1.0, ~x=6.442450947E9] [L29] #res := ~x; VAL [#in~iptr.base=6442450955, #in~iptr.offset=0, #in~x=6.442450947E9, #NULL.base=0, #NULL.offset=0, #res=6.442450947E9, ~i0~0=-2147483648, ~iptr.base=6442450955, ~iptr.offset=0, ~j0~0=-1, ~one_modf~0=1.0, ~x=6.442450947E9] [L13-L70] ensures true; VAL [#in~iptr.base=6442450955, #in~iptr.offset=0, #in~x=6.442450947E9, #NULL.base=0, #NULL.offset=0, #res=6.442450947E9, ~i0~0=-2147483648, ~iptr.base=6442450955, ~iptr.offset=0, ~j0~0=-1, ~one_modf~0=1.0, ~x=6.442450947E9] [L82] RET call #t~ret13 := modf_float(~x~0, ~#iptr~0.base, ~#iptr~0.offset); VAL [#NULL.base=0, #NULL.offset=0, #t~ret13=6.442450947E9, ~#iptr~0.base=6442450955, ~#iptr~0.offset=0, ~one_modf~0=1.0, ~x~0=6.442450947E9] [L82] ~res~0 := #t~ret13; [L82] havoc #t~ret13; [L85] call #t~mem14 := read~real(~#iptr~0.base, ~#iptr~0.offset, 4); VAL [#NULL.base=0, #NULL.offset=0, #t~mem14=6.442450954E9, ~#iptr~0.base=6442450955, ~#iptr~0.offset=0, ~one_modf~0=1.0, ~res~0=6.442450947E9, ~x~0=6.442450947E9] [L85] CALL call #t~ret15 := isnan_float(#t~mem14); VAL [#in~x=6.442450954E9, #NULL.base=0, #NULL.offset=0, ~one_modf~0=1.0] [L73] ~x := #in~x; [L73] #res := (if ~someBinaryFLOATComparisonOperation(~x, ~x) then 1 else 0); VAL [#in~x=6.442450954E9, #NULL.base=0, #NULL.offset=0, #res=1, ~one_modf~0=1.0, ~x=6.442450954E9] [L73] ensures true; VAL [#in~x=6.442450954E9, #NULL.base=0, #NULL.offset=0, #res=1, ~one_modf~0=1.0, ~x=6.442450954E9] [L85] RET call #t~ret15 := isnan_float(#t~mem14); VAL [#NULL.base=0, #NULL.offset=0, #t~mem14=6.442450954E9, #t~ret15=1, ~#iptr~0.base=6442450955, ~#iptr~0.offset=0, ~one_modf~0=1.0, ~res~0=6.442450947E9, ~x~0=6.442450947E9] [L85] assume -2147483648 <= #t~ret15 && #t~ret15 <= 2147483647; [L85] #t~short17 := 0 != #t~ret15; VAL [#NULL.base=0, #NULL.offset=0, #t~mem14=6.442450954E9, #t~ret15=1, #t~short17=true, ~#iptr~0.base=6442450955, ~#iptr~0.offset=0, ~one_modf~0=1.0, ~res~0=6.442450947E9, ~x~0=6.442450947E9] [L85] assume #t~short17; VAL [#NULL.base=0, #NULL.offset=0, #t~mem14=6.442450954E9, #t~ret15=1, #t~short17=true, ~#iptr~0.base=6442450955, ~#iptr~0.offset=0, ~one_modf~0=1.0, ~res~0=6.442450947E9, ~x~0=6.442450947E9] [L85] CALL call #t~ret16 := isnan_float(~res~0); VAL [#in~x=6.442450947E9, #NULL.base=0, #NULL.offset=0, ~one_modf~0=1.0] [L73] ~x := #in~x; [L73] #res := (if ~someBinaryFLOATComparisonOperation(~x, ~x) then 1 else 0); VAL [#in~x=6.442450947E9, #NULL.base=0, #NULL.offset=0, #res=0, ~one_modf~0=1.0, ~x=6.442450947E9] [L73] ensures true; VAL [#in~x=6.442450947E9, #NULL.base=0, #NULL.offset=0, #res=0, ~one_modf~0=1.0, ~x=6.442450947E9] [L85] RET call #t~ret16 := isnan_float(~res~0); VAL [#NULL.base=0, #NULL.offset=0, #t~mem14=6.442450954E9, #t~ret15=1, #t~ret16=0, #t~short17=true, ~#iptr~0.base=6442450955, ~#iptr~0.offset=0, ~one_modf~0=1.0, ~res~0=6.442450947E9, ~x~0=6.442450947E9] [L85] assume -2147483648 <= #t~ret16 && #t~ret16 <= 2147483647; [L85] #t~short17 := 0 == #t~ret16; VAL [#NULL.base=0, #NULL.offset=0, #t~mem14=6.442450954E9, #t~ret15=1, #t~ret16=0, #t~short17=true, ~#iptr~0.base=6442450955, ~#iptr~0.offset=0, ~one_modf~0=1.0, ~res~0=6.442450947E9, ~x~0=6.442450947E9] [L85-L88] assume #t~short17; [L85] havoc #t~mem14; [L85] havoc #t~ret16; [L85] havoc #t~short17; [L85] havoc #t~ret15; VAL [#NULL.base=0, #NULL.offset=0, ~#iptr~0.base=6442450955, ~#iptr~0.offset=0, ~one_modf~0=1.0, ~res~0=6.442450947E9, ~x~0=6.442450947E9] [L86] assert false; VAL [#NULL.base=0, #NULL.offset=0, ~#iptr~0.base=6442450955, ~#iptr~0.offset=0, ~one_modf~0=1.0, ~res~0=6.442450947E9, ~x~0=6.442450947E9] ----- ----- class de.uni_freiburg.informatik.ultimate.boogie.preprocessor.BoogiePreprocessorBacktranslator [?] CALL call ULTIMATE.init(); VAL [#NULL.base=6442450952, #NULL.offset=6442450945, old(#NULL.base)=6442450952, old(#NULL.offset)=6442450945, old(~one_modf~0)=6.44245095E9, ~one_modf~0=6.44245095E9] [?] #NULL.base, #NULL.offset := 0, 0; [?] #valid := #valid[0 := 0]; [L11] ~one_modf~0 := 1.0; VAL [#NULL.base=0, #NULL.offset=0, old(#NULL.base)=6442450952, old(#NULL.offset)=6442450945, old(~one_modf~0)=6.44245095E9, ~one_modf~0=1.0] [?] ensures true; VAL [#NULL.base=0, #NULL.offset=0, old(#NULL.base)=6442450952, old(#NULL.offset)=6442450945, old(~one_modf~0)=6.44245095E9, ~one_modf~0=1.0] [?] RET call ULTIMATE.init(); VAL [#NULL.base=0, #NULL.offset=0, ~one_modf~0=1.0] [?] CALL call #t~ret18 := main(); VAL [#NULL.base=0, #NULL.offset=0, ~one_modf~0=1.0] [L80] ~x~0 := ~someBinaryArithmeticFLOAToperation(0.0, 0.0); [L81] call ~#iptr~0.base, ~#iptr~0.offset := #Ultimate.alloc(4); VAL [#NULL.base=0, #NULL.offset=0, ~#iptr~0.base=6442450955, ~#iptr~0.offset=0, ~one_modf~0=1.0] [L82] CALL call #t~ret13 := modf_float(~x~0, ~#iptr~0.base, ~#iptr~0.offset); VAL [#in~iptr.base=6442450955, #in~iptr.offset=0, #in~x=6.442450947E9, #NULL.base=0, #NULL.offset=0, ~one_modf~0=1.0] [L13-L70] ~x := #in~x; [L13-L70] ~iptr.base, ~iptr.offset := #in~iptr.base, #in~iptr.offset; [L14] havoc ~i0~0; [L14] havoc ~j0~0; [L15] havoc ~i~0; VAL [#in~iptr.base=6442450955, #in~iptr.offset=0, #in~x=6.442450947E9, #NULL.base=0, #NULL.offset=0, ~iptr.base=6442450955, ~iptr.offset=0, ~one_modf~0=1.0, ~x=6.442450947E9] [L17] call ~#gf_u~0.base, ~#gf_u~0.offset := #Ultimate.alloc(4); [L18] call write~real(~x, ~#gf_u~0.base, ~#gf_u~0.offset, 4); [L19] call #t~mem0 := read~int(~#gf_u~0.base, ~#gf_u~0.offset, 4); [L19] ~i0~0 := (if #t~mem0 % 4294967296 % 4294967296 <= 2147483647 then #t~mem0 % 4294967296 % 4294967296 else #t~mem0 % 4294967296 % 4294967296 - 4294967296); [L19] call write~real(#t~union1, ~#gf_u~0.base, ~#gf_u~0.offset, 4); [L19] havoc #t~mem0; [L19] havoc #t~union1; [L17] call ULTIMATE.dealloc(~#gf_u~0.base, ~#gf_u~0.offset); [L17] havoc ~#gf_u~0.base, ~#gf_u~0.offset; VAL [#in~iptr.base=6442450955, #in~iptr.offset=0, #in~x=6.442450947E9, #NULL.base=0, #NULL.offset=0, ~i0~0=-2147483648, ~iptr.base=6442450955, ~iptr.offset=0, ~one_modf~0=1.0, ~x=6.442450947E9] [L21] ~j0~0 := ~bitwiseAnd(~i0~0 / 8388608, 255) - 127; VAL [#in~iptr.base=6442450955, #in~iptr.offset=0, #in~x=6.442450947E9, #NULL.base=0, #NULL.offset=0, ~i0~0=-2147483648, ~iptr.base=6442450955, ~iptr.offset=0, ~one_modf~0=1.0, ~x=6.442450947E9] [L22-L69] assume ~j0~0 < 23; VAL [#in~iptr.base=6442450955, #in~iptr.offset=0, #in~x=6.442450947E9, #NULL.base=0, #NULL.offset=0, ~i0~0=-2147483648, ~iptr.base=6442450955, ~iptr.offset=0, ~j0~0=-1, ~one_modf~0=1.0, ~x=6.442450947E9] [L23-L54] assume ~j0~0 < 0; VAL [#in~iptr.base=6442450955, #in~iptr.offset=0, #in~x=6.442450947E9, #NULL.base=0, #NULL.offset=0, ~i0~0=-2147483648, ~iptr.base=6442450955, ~iptr.offset=0, ~j0~0=-1, ~one_modf~0=1.0, ~x=6.442450947E9] [L25] call ~#sf_u~0.base, ~#sf_u~0.offset := #Ultimate.alloc(4); [L26] call write~int(~bitwiseAnd(~i0~0, 2147483648), ~#sf_u~0.base, ~#sf_u~0.offset, 4); [L27] call #t~mem2 := read~real(~#sf_u~0.base, ~#sf_u~0.offset, 4); [L27] call write~real(#t~mem2, ~iptr.base, ~iptr.offset, 4); [L27] havoc #t~mem2; [L25] call ULTIMATE.dealloc(~#sf_u~0.base, ~#sf_u~0.offset); [L25] havoc ~#sf_u~0.base, ~#sf_u~0.offset; VAL [#in~iptr.base=6442450955, #in~iptr.offset=0, #in~x=6.442450947E9, #NULL.base=0, #NULL.offset=0, ~i0~0=-2147483648, ~iptr.base=6442450955, ~iptr.offset=0, ~j0~0=-1, ~one_modf~0=1.0, ~x=6.442450947E9] [L29] #res := ~x; VAL [#in~iptr.base=6442450955, #in~iptr.offset=0, #in~x=6.442450947E9, #NULL.base=0, #NULL.offset=0, #res=6.442450947E9, ~i0~0=-2147483648, ~iptr.base=6442450955, ~iptr.offset=0, ~j0~0=-1, ~one_modf~0=1.0, ~x=6.442450947E9] [L13-L70] ensures true; VAL [#in~iptr.base=6442450955, #in~iptr.offset=0, #in~x=6.442450947E9, #NULL.base=0, #NULL.offset=0, #res=6.442450947E9, ~i0~0=-2147483648, ~iptr.base=6442450955, ~iptr.offset=0, ~j0~0=-1, ~one_modf~0=1.0, ~x=6.442450947E9] [L82] RET call #t~ret13 := modf_float(~x~0, ~#iptr~0.base, ~#iptr~0.offset); VAL [#NULL.base=0, #NULL.offset=0, #t~ret13=6.442450947E9, ~#iptr~0.base=6442450955, ~#iptr~0.offset=0, ~one_modf~0=1.0, ~x~0=6.442450947E9] [L82] ~res~0 := #t~ret13; [L82] havoc #t~ret13; [L85] call #t~mem14 := read~real(~#iptr~0.base, ~#iptr~0.offset, 4); VAL [#NULL.base=0, #NULL.offset=0, #t~mem14=6.442450954E9, ~#iptr~0.base=6442450955, ~#iptr~0.offset=0, ~one_modf~0=1.0, ~res~0=6.442450947E9, ~x~0=6.442450947E9] [L85] CALL call #t~ret15 := isnan_float(#t~mem14); VAL [#in~x=6.442450954E9, #NULL.base=0, #NULL.offset=0, ~one_modf~0=1.0] [L73] ~x := #in~x; [L73] #res := (if ~someBinaryFLOATComparisonOperation(~x, ~x) then 1 else 0); VAL [#in~x=6.442450954E9, #NULL.base=0, #NULL.offset=0, #res=1, ~one_modf~0=1.0, ~x=6.442450954E9] [L73] ensures true; VAL [#in~x=6.442450954E9, #NULL.base=0, #NULL.offset=0, #res=1, ~one_modf~0=1.0, ~x=6.442450954E9] [L85] RET call #t~ret15 := isnan_float(#t~mem14); VAL [#NULL.base=0, #NULL.offset=0, #t~mem14=6.442450954E9, #t~ret15=1, ~#iptr~0.base=6442450955, ~#iptr~0.offset=0, ~one_modf~0=1.0, ~res~0=6.442450947E9, ~x~0=6.442450947E9] [L85] assume -2147483648 <= #t~ret15 && #t~ret15 <= 2147483647; [L85] #t~short17 := 0 != #t~ret15; VAL [#NULL.base=0, #NULL.offset=0, #t~mem14=6.442450954E9, #t~ret15=1, #t~short17=true, ~#iptr~0.base=6442450955, ~#iptr~0.offset=0, ~one_modf~0=1.0, ~res~0=6.442450947E9, ~x~0=6.442450947E9] [L85] assume #t~short17; VAL [#NULL.base=0, #NULL.offset=0, #t~mem14=6.442450954E9, #t~ret15=1, #t~short17=true, ~#iptr~0.base=6442450955, ~#iptr~0.offset=0, ~one_modf~0=1.0, ~res~0=6.442450947E9, ~x~0=6.442450947E9] [L85] CALL call #t~ret16 := isnan_float(~res~0); VAL [#in~x=6.442450947E9, #NULL.base=0, #NULL.offset=0, ~one_modf~0=1.0] [L73] ~x := #in~x; [L73] #res := (if ~someBinaryFLOATComparisonOperation(~x, ~x) then 1 else 0); VAL [#in~x=6.442450947E9, #NULL.base=0, #NULL.offset=0, #res=0, ~one_modf~0=1.0, ~x=6.442450947E9] [L73] ensures true; VAL [#in~x=6.442450947E9, #NULL.base=0, #NULL.offset=0, #res=0, ~one_modf~0=1.0, ~x=6.442450947E9] [L85] RET call #t~ret16 := isnan_float(~res~0); VAL [#NULL.base=0, #NULL.offset=0, #t~mem14=6.442450954E9, #t~ret15=1, #t~ret16=0, #t~short17=true, ~#iptr~0.base=6442450955, ~#iptr~0.offset=0, ~one_modf~0=1.0, ~res~0=6.442450947E9, ~x~0=6.442450947E9] [L85] assume -2147483648 <= #t~ret16 && #t~ret16 <= 2147483647; [L85] #t~short17 := 0 == #t~ret16; VAL [#NULL.base=0, #NULL.offset=0, #t~mem14=6.442450954E9, #t~ret15=1, #t~ret16=0, #t~short17=true, ~#iptr~0.base=6442450955, ~#iptr~0.offset=0, ~one_modf~0=1.0, ~res~0=6.442450947E9, ~x~0=6.442450947E9] [L85-L88] assume #t~short17; [L85] havoc #t~mem14; [L85] havoc #t~ret16; [L85] havoc #t~short17; [L85] havoc #t~ret15; VAL [#NULL.base=0, #NULL.offset=0, ~#iptr~0.base=6442450955, ~#iptr~0.offset=0, ~one_modf~0=1.0, ~res~0=6.442450947E9, ~x~0=6.442450947E9] [L86] assert false; VAL [#NULL.base=0, #NULL.offset=0, ~#iptr~0.base=6442450955, ~#iptr~0.offset=0, ~one_modf~0=1.0, ~res~0=6.442450947E9, ~x~0=6.442450947E9] [?] CALL call ULTIMATE.init(); VAL [#NULL!base=6442450952, #NULL!offset=6442450945, old(#NULL!base)=6442450952, old(#NULL!offset)=6442450945, old(~one_modf~0)=6.44245095E9, ~one_modf~0=6.44245095E9] [?] #NULL := { base: 0, offset: 0 }; [?] #valid[0] := 0; [L11] ~one_modf~0 := 1.0; VAL [#NULL!base=0, #NULL!offset=0, old(#NULL!base)=6442450952, old(#NULL!offset)=6442450945, old(~one_modf~0)=6.44245095E9, ~one_modf~0=1.0] [?] RET call ULTIMATE.init(); VAL [#NULL!base=0, #NULL!offset=0, ~one_modf~0=1.0] [?] CALL call #t~ret18 := main(); VAL [#NULL!base=0, #NULL!offset=0, ~one_modf~0=1.0] [L80] ~x~0 := ~someBinaryArithmeticFLOAToperation(0.0, 0.0); [L81] FCALL call ~#iptr~0 := #Ultimate.alloc(4); VAL [#NULL!base=0, #NULL!offset=0, ~#iptr~0!base=6442450955, ~#iptr~0!offset=0, ~one_modf~0=1.0] [L82] CALL call #t~ret13 := modf_float(~x~0, ~#iptr~0); VAL [#in~iptr!base=6442450955, #in~iptr!offset=0, #in~x=6.442450947E9, #NULL!base=0, #NULL!offset=0, ~one_modf~0=1.0] [L13-L70] ~x := #in~x; [L13-L70] ~iptr := #in~iptr; [L14] havoc ~i0~0; [L14] havoc ~j0~0; [L15] havoc ~i~0; VAL [#in~iptr!base=6442450955, #in~iptr!offset=0, #in~x=6.442450947E9, #NULL!base=0, #NULL!offset=0, ~iptr!base=6442450955, ~iptr!offset=0, ~one_modf~0=1.0, ~x=6.442450947E9] [L17] FCALL call ~#gf_u~0 := #Ultimate.alloc(4); [L18] FCALL call write~real(~x, { base: ~#gf_u~0!base, offset: ~#gf_u~0!offset }, 4); [L19] FCALL call #t~mem0 := read~int({ base: ~#gf_u~0!base, offset: ~#gf_u~0!offset }, 4); [L19] ~i0~0 := (if #t~mem0 % 4294967296 % 4294967296 <= 2147483647 then #t~mem0 % 4294967296 % 4294967296 else #t~mem0 % 4294967296 % 4294967296 - 4294967296); [L19] FCALL call write~real(#t~union1, { base: ~#gf_u~0!base, offset: ~#gf_u~0!offset }, 4); [L19] havoc #t~mem0; [L19] havoc #t~union1; [L17] FCALL call ULTIMATE.dealloc(~#gf_u~0); [L17] havoc ~#gf_u~0; VAL [#in~iptr!base=6442450955, #in~iptr!offset=0, #in~x=6.442450947E9, #NULL!base=0, #NULL!offset=0, ~i0~0=-2147483648, ~iptr!base=6442450955, ~iptr!offset=0, ~one_modf~0=1.0, ~x=6.442450947E9] [L21] ~j0~0 := ~bitwiseAnd(~i0~0 / 8388608, 255) - 127; VAL [#in~iptr!base=6442450955, #in~iptr!offset=0, #in~x=6.442450947E9, #NULL!base=0, #NULL!offset=0, ~i0~0=-2147483648, ~iptr!base=6442450955, ~iptr!offset=0, ~one_modf~0=1.0, ~x=6.442450947E9] [L22] COND TRUE ~j0~0 < 23 VAL [#in~iptr!base=6442450955, #in~iptr!offset=0, #in~x=6.442450947E9, #NULL!base=0, #NULL!offset=0, ~i0~0=-2147483648, ~iptr!base=6442450955, ~iptr!offset=0, ~j0~0=-1, ~one_modf~0=1.0, ~x=6.442450947E9] [L23] COND TRUE ~j0~0 < 0 VAL [#in~iptr!base=6442450955, #in~iptr!offset=0, #in~x=6.442450947E9, #NULL!base=0, #NULL!offset=0, ~i0~0=-2147483648, ~iptr!base=6442450955, ~iptr!offset=0, ~j0~0=-1, ~one_modf~0=1.0, ~x=6.442450947E9] [L25] FCALL call ~#sf_u~0 := #Ultimate.alloc(4); [L26] FCALL call write~int(~bitwiseAnd(~i0~0, 2147483648), { base: ~#sf_u~0!base, offset: ~#sf_u~0!offset }, 4); [L27] FCALL call #t~mem2 := read~real({ base: ~#sf_u~0!base, offset: ~#sf_u~0!offset }, 4); [L27] FCALL call write~real(#t~mem2, ~iptr, 4); [L27] havoc #t~mem2; [L25] FCALL call ULTIMATE.dealloc(~#sf_u~0); [L25] havoc ~#sf_u~0; VAL [#in~iptr!base=6442450955, #in~iptr!offset=0, #in~x=6.442450947E9, #NULL!base=0, #NULL!offset=0, ~i0~0=-2147483648, ~iptr!base=6442450955, ~iptr!offset=0, ~j0~0=-1, ~one_modf~0=1.0, ~x=6.442450947E9] [L29] #res := ~x; VAL [#in~iptr!base=6442450955, #in~iptr!offset=0, #in~x=6.442450947E9, #NULL!base=0, #NULL!offset=0, #res=6.442450947E9, ~i0~0=-2147483648, ~iptr!base=6442450955, ~iptr!offset=0, ~j0~0=-1, ~one_modf~0=1.0, ~x=6.442450947E9] [L82] RET call #t~ret13 := modf_float(~x~0, ~#iptr~0); VAL [#NULL!base=0, #NULL!offset=0, #t~ret13=6.442450947E9, ~#iptr~0!base=6442450955, ~#iptr~0!offset=0, ~one_modf~0=1.0, ~x~0=6.442450947E9] [L82] ~res~0 := #t~ret13; [L82] havoc #t~ret13; [L85] FCALL call #t~mem14 := read~real(~#iptr~0, 4); VAL [#NULL!base=0, #NULL!offset=0, #t~mem14=6.442450954E9, ~#iptr~0!base=6442450955, ~#iptr~0!offset=0, ~one_modf~0=1.0, ~res~0=6.442450947E9, ~x~0=6.442450947E9] [L85] CALL call #t~ret15 := isnan_float(#t~mem14); VAL [#in~x=6.442450954E9, #NULL!base=0, #NULL!offset=0, ~one_modf~0=1.0] [L73] ~x := #in~x; [L73] #res := (if ~someBinaryFLOATComparisonOperation(~x, ~x) then 1 else 0); VAL [#in~x=6.442450954E9, #NULL!base=0, #NULL!offset=0, #res=1, ~one_modf~0=1.0, ~x=6.442450954E9] [L85] RET call #t~ret15 := isnan_float(#t~mem14); VAL [#NULL!base=0, #NULL!offset=0, #t~mem14=6.442450954E9, #t~ret15=1, ~#iptr~0!base=6442450955, ~#iptr~0!offset=0, ~one_modf~0=1.0, ~res~0=6.442450947E9, ~x~0=6.442450947E9] [L85] assume -2147483648 <= #t~ret15 && #t~ret15 <= 2147483647; [L85] #t~short17 := 0 != #t~ret15; VAL [#NULL!base=0, #NULL!offset=0, #t~mem14=6.442450954E9, #t~ret15=1, #t~short17=true, ~#iptr~0!base=6442450955, ~#iptr~0!offset=0, ~one_modf~0=1.0, ~res~0=6.442450947E9, ~x~0=6.442450947E9] [L85] COND TRUE #t~short17 VAL [#NULL!base=0, #NULL!offset=0, #t~mem14=6.442450954E9, #t~ret15=1, #t~short17=true, ~#iptr~0!base=6442450955, ~#iptr~0!offset=0, ~one_modf~0=1.0, ~res~0=6.442450947E9, ~x~0=6.442450947E9] [L85] CALL call #t~ret16 := isnan_float(~res~0); VAL [#in~x=6.442450947E9, #NULL!base=0, #NULL!offset=0, ~one_modf~0=1.0] [L73] ~x := #in~x; [L73] #res := (if ~someBinaryFLOATComparisonOperation(~x, ~x) then 1 else 0); VAL [#in~x=6.442450947E9, #NULL!base=0, #NULL!offset=0, #res=0, ~one_modf~0=1.0, ~x=6.442450947E9] [L85] RET call #t~ret16 := isnan_float(~res~0); VAL [#NULL!base=0, #NULL!offset=0, #t~mem14=6.442450954E9, #t~ret15=1, #t~ret16=0, #t~short17=true, ~#iptr~0!base=6442450955, ~#iptr~0!offset=0, ~one_modf~0=1.0, ~res~0=6.442450947E9, ~x~0=6.442450947E9] [L85] assume -2147483648 <= #t~ret16 && #t~ret16 <= 2147483647; [L85] #t~short17 := 0 == #t~ret16; VAL [#NULL!base=0, #NULL!offset=0, #t~mem14=6.442450954E9, #t~ret15=1, #t~ret16=0, #t~short17=true, ~#iptr~0!base=6442450955, ~#iptr~0!offset=0, ~one_modf~0=1.0, ~res~0=6.442450947E9, ~x~0=6.442450947E9] [L85] COND TRUE #t~short17 [L85] havoc #t~mem14; [L85] havoc #t~ret16; [L85] havoc #t~short17; [L85] havoc #t~ret15; VAL [#NULL!base=0, #NULL!offset=0, ~#iptr~0!base=6442450955, ~#iptr~0!offset=0, ~one_modf~0=1.0, ~res~0=6.442450947E9, ~x~0=6.442450947E9] [L86] assert false; VAL [#NULL!base=0, #NULL!offset=0, ~#iptr~0!base=6442450955, ~#iptr~0!offset=0, ~one_modf~0=1.0, ~res~0=6.442450947E9, ~x~0=6.442450947E9] ----- ----- class de.uni_freiburg.informatik.ultimate.boogie.procedureinliner.backtranslation.InlinerBacktranslator [?] CALL call ULTIMATE.init(); VAL [#NULL!base=6442450952, #NULL!offset=6442450945, old(#NULL!base)=6442450952, old(#NULL!offset)=6442450945, old(~one_modf~0)=6.44245095E9, ~one_modf~0=6.44245095E9] [?] #NULL := { base: 0, offset: 0 }; [?] #valid[0] := 0; [L11] ~one_modf~0 := 1.0; VAL [#NULL!base=0, #NULL!offset=0, old(#NULL!base)=6442450952, old(#NULL!offset)=6442450945, old(~one_modf~0)=6.44245095E9, ~one_modf~0=1.0] [?] RET call ULTIMATE.init(); VAL [#NULL!base=0, #NULL!offset=0, ~one_modf~0=1.0] [?] CALL call #t~ret18 := main(); VAL [#NULL!base=0, #NULL!offset=0, ~one_modf~0=1.0] [L80] ~x~0 := ~someBinaryArithmeticFLOAToperation(0.0, 0.0); [L81] FCALL call ~#iptr~0 := #Ultimate.alloc(4); VAL [#NULL!base=0, #NULL!offset=0, ~#iptr~0!base=6442450955, ~#iptr~0!offset=0, ~one_modf~0=1.0] [L82] CALL call #t~ret13 := modf_float(~x~0, ~#iptr~0); VAL [#in~iptr!base=6442450955, #in~iptr!offset=0, #in~x=6.442450947E9, #NULL!base=0, #NULL!offset=0, ~one_modf~0=1.0] [L13-L70] ~x := #in~x; [L13-L70] ~iptr := #in~iptr; [L14] havoc ~i0~0; [L14] havoc ~j0~0; [L15] havoc ~i~0; VAL [#in~iptr!base=6442450955, #in~iptr!offset=0, #in~x=6.442450947E9, #NULL!base=0, #NULL!offset=0, ~iptr!base=6442450955, ~iptr!offset=0, ~one_modf~0=1.0, ~x=6.442450947E9] [L17] FCALL call ~#gf_u~0 := #Ultimate.alloc(4); [L18] FCALL call write~real(~x, { base: ~#gf_u~0!base, offset: ~#gf_u~0!offset }, 4); [L19] FCALL call #t~mem0 := read~int({ base: ~#gf_u~0!base, offset: ~#gf_u~0!offset }, 4); [L19] ~i0~0 := (if #t~mem0 % 4294967296 % 4294967296 <= 2147483647 then #t~mem0 % 4294967296 % 4294967296 else #t~mem0 % 4294967296 % 4294967296 - 4294967296); [L19] FCALL call write~real(#t~union1, { base: ~#gf_u~0!base, offset: ~#gf_u~0!offset }, 4); [L19] havoc #t~mem0; [L19] havoc #t~union1; [L17] FCALL call ULTIMATE.dealloc(~#gf_u~0); [L17] havoc ~#gf_u~0; VAL [#in~iptr!base=6442450955, #in~iptr!offset=0, #in~x=6.442450947E9, #NULL!base=0, #NULL!offset=0, ~i0~0=-2147483648, ~iptr!base=6442450955, ~iptr!offset=0, ~one_modf~0=1.0, ~x=6.442450947E9] [L21] ~j0~0 := ~bitwiseAnd(~i0~0 / 8388608, 255) - 127; VAL [#in~iptr!base=6442450955, #in~iptr!offset=0, #in~x=6.442450947E9, #NULL!base=0, #NULL!offset=0, ~i0~0=-2147483648, ~iptr!base=6442450955, ~iptr!offset=0, ~one_modf~0=1.0, ~x=6.442450947E9] [L22] COND TRUE ~j0~0 < 23 VAL [#in~iptr!base=6442450955, #in~iptr!offset=0, #in~x=6.442450947E9, #NULL!base=0, #NULL!offset=0, ~i0~0=-2147483648, ~iptr!base=6442450955, ~iptr!offset=0, ~j0~0=-1, ~one_modf~0=1.0, ~x=6.442450947E9] [L23] COND TRUE ~j0~0 < 0 VAL [#in~iptr!base=6442450955, #in~iptr!offset=0, #in~x=6.442450947E9, #NULL!base=0, #NULL!offset=0, ~i0~0=-2147483648, ~iptr!base=6442450955, ~iptr!offset=0, ~j0~0=-1, ~one_modf~0=1.0, ~x=6.442450947E9] [L25] FCALL call ~#sf_u~0 := #Ultimate.alloc(4); [L26] FCALL call write~int(~bitwiseAnd(~i0~0, 2147483648), { base: ~#sf_u~0!base, offset: ~#sf_u~0!offset }, 4); [L27] FCALL call #t~mem2 := read~real({ base: ~#sf_u~0!base, offset: ~#sf_u~0!offset }, 4); [L27] FCALL call write~real(#t~mem2, ~iptr, 4); [L27] havoc #t~mem2; [L25] FCALL call ULTIMATE.dealloc(~#sf_u~0); [L25] havoc ~#sf_u~0; VAL [#in~iptr!base=6442450955, #in~iptr!offset=0, #in~x=6.442450947E9, #NULL!base=0, #NULL!offset=0, ~i0~0=-2147483648, ~iptr!base=6442450955, ~iptr!offset=0, ~j0~0=-1, ~one_modf~0=1.0, ~x=6.442450947E9] [L29] #res := ~x; VAL [#in~iptr!base=6442450955, #in~iptr!offset=0, #in~x=6.442450947E9, #NULL!base=0, #NULL!offset=0, #res=6.442450947E9, ~i0~0=-2147483648, ~iptr!base=6442450955, ~iptr!offset=0, ~j0~0=-1, ~one_modf~0=1.0, ~x=6.442450947E9] [L82] RET call #t~ret13 := modf_float(~x~0, ~#iptr~0); VAL [#NULL!base=0, #NULL!offset=0, #t~ret13=6.442450947E9, ~#iptr~0!base=6442450955, ~#iptr~0!offset=0, ~one_modf~0=1.0, ~x~0=6.442450947E9] [L82] ~res~0 := #t~ret13; [L82] havoc #t~ret13; [L85] FCALL call #t~mem14 := read~real(~#iptr~0, 4); VAL [#NULL!base=0, #NULL!offset=0, #t~mem14=6.442450954E9, ~#iptr~0!base=6442450955, ~#iptr~0!offset=0, ~one_modf~0=1.0, ~res~0=6.442450947E9, ~x~0=6.442450947E9] [L85] CALL call #t~ret15 := isnan_float(#t~mem14); VAL [#in~x=6.442450954E9, #NULL!base=0, #NULL!offset=0, ~one_modf~0=1.0] [L73] ~x := #in~x; [L73] #res := (if ~someBinaryFLOATComparisonOperation(~x, ~x) then 1 else 0); VAL [#in~x=6.442450954E9, #NULL!base=0, #NULL!offset=0, #res=1, ~one_modf~0=1.0, ~x=6.442450954E9] [L85] RET call #t~ret15 := isnan_float(#t~mem14); VAL [#NULL!base=0, #NULL!offset=0, #t~mem14=6.442450954E9, #t~ret15=1, ~#iptr~0!base=6442450955, ~#iptr~0!offset=0, ~one_modf~0=1.0, ~res~0=6.442450947E9, ~x~0=6.442450947E9] [L85] assume -2147483648 <= #t~ret15 && #t~ret15 <= 2147483647; [L85] #t~short17 := 0 != #t~ret15; VAL [#NULL!base=0, #NULL!offset=0, #t~mem14=6.442450954E9, #t~ret15=1, #t~short17=true, ~#iptr~0!base=6442450955, ~#iptr~0!offset=0, ~one_modf~0=1.0, ~res~0=6.442450947E9, ~x~0=6.442450947E9] [L85] COND TRUE #t~short17 VAL [#NULL!base=0, #NULL!offset=0, #t~mem14=6.442450954E9, #t~ret15=1, #t~short17=true, ~#iptr~0!base=6442450955, ~#iptr~0!offset=0, ~one_modf~0=1.0, ~res~0=6.442450947E9, ~x~0=6.442450947E9] [L85] CALL call #t~ret16 := isnan_float(~res~0); VAL [#in~x=6.442450947E9, #NULL!base=0, #NULL!offset=0, ~one_modf~0=1.0] [L73] ~x := #in~x; [L73] #res := (if ~someBinaryFLOATComparisonOperation(~x, ~x) then 1 else 0); VAL [#in~x=6.442450947E9, #NULL!base=0, #NULL!offset=0, #res=0, ~one_modf~0=1.0, ~x=6.442450947E9] [L85] RET call #t~ret16 := isnan_float(~res~0); VAL [#NULL!base=0, #NULL!offset=0, #t~mem14=6.442450954E9, #t~ret15=1, #t~ret16=0, #t~short17=true, ~#iptr~0!base=6442450955, ~#iptr~0!offset=0, ~one_modf~0=1.0, ~res~0=6.442450947E9, ~x~0=6.442450947E9] [L85] assume -2147483648 <= #t~ret16 && #t~ret16 <= 2147483647; [L85] #t~short17 := 0 == #t~ret16; VAL [#NULL!base=0, #NULL!offset=0, #t~mem14=6.442450954E9, #t~ret15=1, #t~ret16=0, #t~short17=true, ~#iptr~0!base=6442450955, ~#iptr~0!offset=0, ~one_modf~0=1.0, ~res~0=6.442450947E9, ~x~0=6.442450947E9] [L85] COND TRUE #t~short17 [L85] havoc #t~mem14; [L85] havoc #t~ret16; [L85] havoc #t~short17; [L85] havoc #t~ret15; VAL [#NULL!base=0, #NULL!offset=0, ~#iptr~0!base=6442450955, ~#iptr~0!offset=0, ~one_modf~0=1.0, ~res~0=6.442450947E9, ~x~0=6.442450947E9] [L86] assert false; VAL [#NULL!base=0, #NULL!offset=0, ~#iptr~0!base=6442450955, ~#iptr~0!offset=0, ~one_modf~0=1.0, ~res~0=6.442450947E9, ~x~0=6.442450947E9] [?] CALL call ULTIMATE.init(); VAL [#NULL!base=6442450952, #NULL!offset=6442450945, old(#NULL!base)=6442450952, old(#NULL!offset)=6442450945, old(~one_modf~0)=6.44245095E9, ~one_modf~0=6.44245095E9] [?] #NULL := { base: 0, offset: 0 }; [?] #valid[0] := 0; [L11] ~one_modf~0 := 1.0; VAL [#NULL!base=0, #NULL!offset=0, old(#NULL!base)=6442450952, old(#NULL!offset)=6442450945, old(~one_modf~0)=6.44245095E9, ~one_modf~0=1.0] [?] RET call ULTIMATE.init(); VAL [#NULL!base=0, #NULL!offset=0, ~one_modf~0=1.0] [?] CALL call #t~ret18 := main(); VAL [#NULL!base=0, #NULL!offset=0, ~one_modf~0=1.0] [L80] ~x~0 := ~someBinaryArithmeticFLOAToperation(0.0, 0.0); [L81] FCALL call ~#iptr~0 := #Ultimate.alloc(4); VAL [#NULL!base=0, #NULL!offset=0, ~#iptr~0!base=6442450955, ~#iptr~0!offset=0, ~one_modf~0=1.0] [L82] CALL call #t~ret13 := modf_float(~x~0, ~#iptr~0); VAL [#in~iptr!base=6442450955, #in~iptr!offset=0, #in~x=6.442450947E9, #NULL!base=0, #NULL!offset=0, ~one_modf~0=1.0] [L13-L70] ~x := #in~x; [L13-L70] ~iptr := #in~iptr; [L14] havoc ~i0~0; [L14] havoc ~j0~0; [L15] havoc ~i~0; VAL [#in~iptr!base=6442450955, #in~iptr!offset=0, #in~x=6.442450947E9, #NULL!base=0, #NULL!offset=0, ~iptr!base=6442450955, ~iptr!offset=0, ~one_modf~0=1.0, ~x=6.442450947E9] [L17] FCALL call ~#gf_u~0 := #Ultimate.alloc(4); [L18] FCALL call write~real(~x, { base: ~#gf_u~0!base, offset: ~#gf_u~0!offset }, 4); [L19] FCALL call #t~mem0 := read~int({ base: ~#gf_u~0!base, offset: ~#gf_u~0!offset }, 4); [L19] ~i0~0 := (if #t~mem0 % 4294967296 % 4294967296 <= 2147483647 then #t~mem0 % 4294967296 % 4294967296 else #t~mem0 % 4294967296 % 4294967296 - 4294967296); [L19] FCALL call write~real(#t~union1, { base: ~#gf_u~0!base, offset: ~#gf_u~0!offset }, 4); [L19] havoc #t~mem0; [L19] havoc #t~union1; [L17] FCALL call ULTIMATE.dealloc(~#gf_u~0); [L17] havoc ~#gf_u~0; VAL [#in~iptr!base=6442450955, #in~iptr!offset=0, #in~x=6.442450947E9, #NULL!base=0, #NULL!offset=0, ~i0~0=-2147483648, ~iptr!base=6442450955, ~iptr!offset=0, ~one_modf~0=1.0, ~x=6.442450947E9] [L21] ~j0~0 := ~bitwiseAnd(~i0~0 / 8388608, 255) - 127; VAL [#in~iptr!base=6442450955, #in~iptr!offset=0, #in~x=6.442450947E9, #NULL!base=0, #NULL!offset=0, ~i0~0=-2147483648, ~iptr!base=6442450955, ~iptr!offset=0, ~one_modf~0=1.0, ~x=6.442450947E9] [L22] COND TRUE ~j0~0 < 23 VAL [#in~iptr!base=6442450955, #in~iptr!offset=0, #in~x=6.442450947E9, #NULL!base=0, #NULL!offset=0, ~i0~0=-2147483648, ~iptr!base=6442450955, ~iptr!offset=0, ~j0~0=-1, ~one_modf~0=1.0, ~x=6.442450947E9] [L23] COND TRUE ~j0~0 < 0 VAL [#in~iptr!base=6442450955, #in~iptr!offset=0, #in~x=6.442450947E9, #NULL!base=0, #NULL!offset=0, ~i0~0=-2147483648, ~iptr!base=6442450955, ~iptr!offset=0, ~j0~0=-1, ~one_modf~0=1.0, ~x=6.442450947E9] [L25] FCALL call ~#sf_u~0 := #Ultimate.alloc(4); [L26] FCALL call write~int(~bitwiseAnd(~i0~0, 2147483648), { base: ~#sf_u~0!base, offset: ~#sf_u~0!offset }, 4); [L27] FCALL call #t~mem2 := read~real({ base: ~#sf_u~0!base, offset: ~#sf_u~0!offset }, 4); [L27] FCALL call write~real(#t~mem2, ~iptr, 4); [L27] havoc #t~mem2; [L25] FCALL call ULTIMATE.dealloc(~#sf_u~0); [L25] havoc ~#sf_u~0; VAL [#in~iptr!base=6442450955, #in~iptr!offset=0, #in~x=6.442450947E9, #NULL!base=0, #NULL!offset=0, ~i0~0=-2147483648, ~iptr!base=6442450955, ~iptr!offset=0, ~j0~0=-1, ~one_modf~0=1.0, ~x=6.442450947E9] [L29] #res := ~x; VAL [#in~iptr!base=6442450955, #in~iptr!offset=0, #in~x=6.442450947E9, #NULL!base=0, #NULL!offset=0, #res=6.442450947E9, ~i0~0=-2147483648, ~iptr!base=6442450955, ~iptr!offset=0, ~j0~0=-1, ~one_modf~0=1.0, ~x=6.442450947E9] [L82] RET call #t~ret13 := modf_float(~x~0, ~#iptr~0); VAL [#NULL!base=0, #NULL!offset=0, #t~ret13=6.442450947E9, ~#iptr~0!base=6442450955, ~#iptr~0!offset=0, ~one_modf~0=1.0, ~x~0=6.442450947E9] [L82] ~res~0 := #t~ret13; [L82] havoc #t~ret13; [L85] FCALL call #t~mem14 := read~real(~#iptr~0, 4); VAL [#NULL!base=0, #NULL!offset=0, #t~mem14=6.442450954E9, ~#iptr~0!base=6442450955, ~#iptr~0!offset=0, ~one_modf~0=1.0, ~res~0=6.442450947E9, ~x~0=6.442450947E9] [L85] CALL call #t~ret15 := isnan_float(#t~mem14); VAL [#in~x=6.442450954E9, #NULL!base=0, #NULL!offset=0, ~one_modf~0=1.0] [L73] ~x := #in~x; [L73] #res := (if ~someBinaryFLOATComparisonOperation(~x, ~x) then 1 else 0); VAL [#in~x=6.442450954E9, #NULL!base=0, #NULL!offset=0, #res=1, ~one_modf~0=1.0, ~x=6.442450954E9] [L85] RET call #t~ret15 := isnan_float(#t~mem14); VAL [#NULL!base=0, #NULL!offset=0, #t~mem14=6.442450954E9, #t~ret15=1, ~#iptr~0!base=6442450955, ~#iptr~0!offset=0, ~one_modf~0=1.0, ~res~0=6.442450947E9, ~x~0=6.442450947E9] [L85] assume -2147483648 <= #t~ret15 && #t~ret15 <= 2147483647; [L85] #t~short17 := 0 != #t~ret15; VAL [#NULL!base=0, #NULL!offset=0, #t~mem14=6.442450954E9, #t~ret15=1, #t~short17=true, ~#iptr~0!base=6442450955, ~#iptr~0!offset=0, ~one_modf~0=1.0, ~res~0=6.442450947E9, ~x~0=6.442450947E9] [L85] COND TRUE #t~short17 VAL [#NULL!base=0, #NULL!offset=0, #t~mem14=6.442450954E9, #t~ret15=1, #t~short17=true, ~#iptr~0!base=6442450955, ~#iptr~0!offset=0, ~one_modf~0=1.0, ~res~0=6.442450947E9, ~x~0=6.442450947E9] [L85] CALL call #t~ret16 := isnan_float(~res~0); VAL [#in~x=6.442450947E9, #NULL!base=0, #NULL!offset=0, ~one_modf~0=1.0] [L73] ~x := #in~x; [L73] #res := (if ~someBinaryFLOATComparisonOperation(~x, ~x) then 1 else 0); VAL [#in~x=6.442450947E9, #NULL!base=0, #NULL!offset=0, #res=0, ~one_modf~0=1.0, ~x=6.442450947E9] [L85] RET call #t~ret16 := isnan_float(~res~0); VAL [#NULL!base=0, #NULL!offset=0, #t~mem14=6.442450954E9, #t~ret15=1, #t~ret16=0, #t~short17=true, ~#iptr~0!base=6442450955, ~#iptr~0!offset=0, ~one_modf~0=1.0, ~res~0=6.442450947E9, ~x~0=6.442450947E9] [L85] assume -2147483648 <= #t~ret16 && #t~ret16 <= 2147483647; [L85] #t~short17 := 0 == #t~ret16; VAL [#NULL!base=0, #NULL!offset=0, #t~mem14=6.442450954E9, #t~ret15=1, #t~ret16=0, #t~short17=true, ~#iptr~0!base=6442450955, ~#iptr~0!offset=0, ~one_modf~0=1.0, ~res~0=6.442450947E9, ~x~0=6.442450947E9] [L85] COND TRUE #t~short17 [L85] havoc #t~mem14; [L85] havoc #t~ret16; [L85] havoc #t~short17; [L85] havoc #t~ret15; VAL [#NULL!base=0, #NULL!offset=0, ~#iptr~0!base=6442450955, ~#iptr~0!offset=0, ~one_modf~0=1.0, ~res~0=6.442450947E9, ~x~0=6.442450947E9] [L86] assert false; VAL [#NULL!base=0, #NULL!offset=0, ~#iptr~0!base=6442450955, ~#iptr~0!offset=0, ~one_modf~0=1.0, ~res~0=6.442450947E9, ~x~0=6.442450947E9] ----- ----- class de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator.CACSL2BoogieBacktranslator [?] CALL call ULTIMATE.init(); VAL [#NULL!base=6442450952, #NULL!offset=6442450945, old(#NULL!base)=6442450952, old(#NULL!offset)=6442450945, old(~one_modf~0)=6.44245095E9, ~one_modf~0=6.44245095E9] [?] #NULL := { base: 0, offset: 0 }; [?] #valid[0] := 0; [L11] ~one_modf~0 := 1.0; VAL [#NULL!base=0, #NULL!offset=0, old(#NULL!base)=6442450952, old(#NULL!offset)=6442450945, old(~one_modf~0)=6.44245095E9, ~one_modf~0=1.0] [?] RET call ULTIMATE.init(); VAL [#NULL!base=0, #NULL!offset=0, ~one_modf~0=1.0] [?] CALL call #t~ret18 := main(); VAL [#NULL!base=0, #NULL!offset=0, ~one_modf~0=1.0] [L80] ~x~0 := ~someBinaryArithmeticFLOAToperation(0.0, 0.0); [L81] FCALL call ~#iptr~0 := #Ultimate.alloc(4); VAL [#NULL!base=0, #NULL!offset=0, ~#iptr~0!base=6442450955, ~#iptr~0!offset=0, ~one_modf~0=1.0] [L82] CALL call #t~ret13 := modf_float(~x~0, ~#iptr~0); VAL [#in~iptr!base=6442450955, #in~iptr!offset=0, #in~x=6.442450947E9, #NULL!base=0, #NULL!offset=0, ~one_modf~0=1.0] [L13-L70] ~x := #in~x; [L13-L70] ~iptr := #in~iptr; [L14] havoc ~i0~0; [L14] havoc ~j0~0; [L15] havoc ~i~0; VAL [#in~iptr!base=6442450955, #in~iptr!offset=0, #in~x=6.442450947E9, #NULL!base=0, #NULL!offset=0, ~iptr!base=6442450955, ~iptr!offset=0, ~one_modf~0=1.0, ~x=6.442450947E9] [L17] FCALL call ~#gf_u~0 := #Ultimate.alloc(4); [L18] FCALL call write~real(~x, { base: ~#gf_u~0!base, offset: ~#gf_u~0!offset }, 4); [L19] FCALL call #t~mem0 := read~int({ base: ~#gf_u~0!base, offset: ~#gf_u~0!offset }, 4); [L19] ~i0~0 := (if #t~mem0 % 4294967296 % 4294967296 <= 2147483647 then #t~mem0 % 4294967296 % 4294967296 else #t~mem0 % 4294967296 % 4294967296 - 4294967296); [L19] FCALL call write~real(#t~union1, { base: ~#gf_u~0!base, offset: ~#gf_u~0!offset }, 4); [L19] havoc #t~mem0; [L19] havoc #t~union1; [L17] FCALL call ULTIMATE.dealloc(~#gf_u~0); [L17] havoc ~#gf_u~0; VAL [#in~iptr!base=6442450955, #in~iptr!offset=0, #in~x=6.442450947E9, #NULL!base=0, #NULL!offset=0, ~i0~0=-2147483648, ~iptr!base=6442450955, ~iptr!offset=0, ~one_modf~0=1.0, ~x=6.442450947E9] [L21] ~j0~0 := ~bitwiseAnd(~i0~0 / 8388608, 255) - 127; VAL [#in~iptr!base=6442450955, #in~iptr!offset=0, #in~x=6.442450947E9, #NULL!base=0, #NULL!offset=0, ~i0~0=-2147483648, ~iptr!base=6442450955, ~iptr!offset=0, ~one_modf~0=1.0, ~x=6.442450947E9] [L22] COND TRUE ~j0~0 < 23 VAL [#in~iptr!base=6442450955, #in~iptr!offset=0, #in~x=6.442450947E9, #NULL!base=0, #NULL!offset=0, ~i0~0=-2147483648, ~iptr!base=6442450955, ~iptr!offset=0, ~j0~0=-1, ~one_modf~0=1.0, ~x=6.442450947E9] [L23] COND TRUE ~j0~0 < 0 VAL [#in~iptr!base=6442450955, #in~iptr!offset=0, #in~x=6.442450947E9, #NULL!base=0, #NULL!offset=0, ~i0~0=-2147483648, ~iptr!base=6442450955, ~iptr!offset=0, ~j0~0=-1, ~one_modf~0=1.0, ~x=6.442450947E9] [L25] FCALL call ~#sf_u~0 := #Ultimate.alloc(4); [L26] FCALL call write~int(~bitwiseAnd(~i0~0, 2147483648), { base: ~#sf_u~0!base, offset: ~#sf_u~0!offset }, 4); [L27] FCALL call #t~mem2 := read~real({ base: ~#sf_u~0!base, offset: ~#sf_u~0!offset }, 4); [L27] FCALL call write~real(#t~mem2, ~iptr, 4); [L27] havoc #t~mem2; [L25] FCALL call ULTIMATE.dealloc(~#sf_u~0); [L25] havoc ~#sf_u~0; VAL [#in~iptr!base=6442450955, #in~iptr!offset=0, #in~x=6.442450947E9, #NULL!base=0, #NULL!offset=0, ~i0~0=-2147483648, ~iptr!base=6442450955, ~iptr!offset=0, ~j0~0=-1, ~one_modf~0=1.0, ~x=6.442450947E9] [L29] #res := ~x; VAL [#in~iptr!base=6442450955, #in~iptr!offset=0, #in~x=6.442450947E9, #NULL!base=0, #NULL!offset=0, #res=6.442450947E9, ~i0~0=-2147483648, ~iptr!base=6442450955, ~iptr!offset=0, ~j0~0=-1, ~one_modf~0=1.0, ~x=6.442450947E9] [L82] RET call #t~ret13 := modf_float(~x~0, ~#iptr~0); VAL [#NULL!base=0, #NULL!offset=0, #t~ret13=6.442450947E9, ~#iptr~0!base=6442450955, ~#iptr~0!offset=0, ~one_modf~0=1.0, ~x~0=6.442450947E9] [L82] ~res~0 := #t~ret13; [L82] havoc #t~ret13; [L85] FCALL call #t~mem14 := read~real(~#iptr~0, 4); VAL [#NULL!base=0, #NULL!offset=0, #t~mem14=6.442450954E9, ~#iptr~0!base=6442450955, ~#iptr~0!offset=0, ~one_modf~0=1.0, ~res~0=6.442450947E9, ~x~0=6.442450947E9] [L85] CALL call #t~ret15 := isnan_float(#t~mem14); VAL [#in~x=6.442450954E9, #NULL!base=0, #NULL!offset=0, ~one_modf~0=1.0] [L73] ~x := #in~x; [L73] #res := (if ~someBinaryFLOATComparisonOperation(~x, ~x) then 1 else 0); VAL [#in~x=6.442450954E9, #NULL!base=0, #NULL!offset=0, #res=1, ~one_modf~0=1.0, ~x=6.442450954E9] [L85] RET call #t~ret15 := isnan_float(#t~mem14); VAL [#NULL!base=0, #NULL!offset=0, #t~mem14=6.442450954E9, #t~ret15=1, ~#iptr~0!base=6442450955, ~#iptr~0!offset=0, ~one_modf~0=1.0, ~res~0=6.442450947E9, ~x~0=6.442450947E9] [L85] assume -2147483648 <= #t~ret15 && #t~ret15 <= 2147483647; [L85] #t~short17 := 0 != #t~ret15; VAL [#NULL!base=0, #NULL!offset=0, #t~mem14=6.442450954E9, #t~ret15=1, #t~short17=true, ~#iptr~0!base=6442450955, ~#iptr~0!offset=0, ~one_modf~0=1.0, ~res~0=6.442450947E9, ~x~0=6.442450947E9] [L85] COND TRUE #t~short17 VAL [#NULL!base=0, #NULL!offset=0, #t~mem14=6.442450954E9, #t~ret15=1, #t~short17=true, ~#iptr~0!base=6442450955, ~#iptr~0!offset=0, ~one_modf~0=1.0, ~res~0=6.442450947E9, ~x~0=6.442450947E9] [L85] CALL call #t~ret16 := isnan_float(~res~0); VAL [#in~x=6.442450947E9, #NULL!base=0, #NULL!offset=0, ~one_modf~0=1.0] [L73] ~x := #in~x; [L73] #res := (if ~someBinaryFLOATComparisonOperation(~x, ~x) then 1 else 0); VAL [#in~x=6.442450947E9, #NULL!base=0, #NULL!offset=0, #res=0, ~one_modf~0=1.0, ~x=6.442450947E9] [L85] RET call #t~ret16 := isnan_float(~res~0); VAL [#NULL!base=0, #NULL!offset=0, #t~mem14=6.442450954E9, #t~ret15=1, #t~ret16=0, #t~short17=true, ~#iptr~0!base=6442450955, ~#iptr~0!offset=0, ~one_modf~0=1.0, ~res~0=6.442450947E9, ~x~0=6.442450947E9] [L85] assume -2147483648 <= #t~ret16 && #t~ret16 <= 2147483647; [L85] #t~short17 := 0 == #t~ret16; VAL [#NULL!base=0, #NULL!offset=0, #t~mem14=6.442450954E9, #t~ret15=1, #t~ret16=0, #t~short17=true, ~#iptr~0!base=6442450955, ~#iptr~0!offset=0, ~one_modf~0=1.0, ~res~0=6.442450947E9, ~x~0=6.442450947E9] [L85] COND TRUE #t~short17 [L85] havoc #t~mem14; [L85] havoc #t~ret16; [L85] havoc #t~short17; [L85] havoc #t~ret15; VAL [#NULL!base=0, #NULL!offset=0, ~#iptr~0!base=6442450955, ~#iptr~0!offset=0, ~one_modf~0=1.0, ~res~0=6.442450947E9, ~x~0=6.442450947E9] [L86] assert false; VAL [#NULL!base=0, #NULL!offset=0, ~#iptr~0!base=6442450955, ~#iptr~0!offset=0, ~one_modf~0=1.0, ~res~0=6.442450947E9, ~x~0=6.442450947E9] [L11] static const float one_modf = 1.0; VAL [\old(one_modf)=6442450950, one_modf=1] [L80] float x = 0.0f / 0.0f; [L81] float iptr; VAL [iptr={6442450955:0}, one_modf=1] [L82] CALL, EXPR modf_float(x, &iptr) VAL [\old(x)=6442450947, iptr={6442450955:0}, one_modf=1] [L14] __int32_t i0, j0; [L15] __uint32_t i; VAL [\old(x)=6442450947, iptr={6442450955:0}, iptr={6442450955:0}, one_modf=1, x=6442450947] [L17] ieee_float_shape_type gf_u; [L18] gf_u.value = (x) [L19] EXPR gf_u.word [L19] (i0) = gf_u.word [L21] j0 = ((i0 >> 23) & 0xff) - 0x7f VAL [\old(x)=6442450947, i0=-2147483648, iptr={6442450955:0}, iptr={6442450955:0}, one_modf=1, x=6442450947] [L22] COND TRUE j0 < 23 VAL [\old(x)=6442450947, i0=-2147483648, iptr={6442450955:0}, iptr={6442450955:0}, j0=-1, one_modf=1, x=6442450947] [L23] COND TRUE j0 < 0 VAL [\old(x)=6442450947, i0=-2147483648, iptr={6442450955:0}, iptr={6442450955:0}, j0=-1, one_modf=1, x=6442450947] [L25] ieee_float_shape_type sf_u; [L26] sf_u.word = (i0 & 0x80000000) [L27] EXPR sf_u.value [L27] (*iptr) = sf_u.value [L29] return x; VAL [\old(x)=6442450947, \result=6442450947, i0=-2147483648, iptr={6442450955:0}, iptr={6442450955:0}, j0=-1, one_modf=1, x=6442450947] [L82] RET, EXPR modf_float(x, &iptr) VAL [iptr={6442450955:0}, modf_float(x, &iptr)=6442450947, one_modf=1, x=6442450947] [L82] float res = modf_float(x, &iptr); [L85] EXPR \read(iptr) VAL [\read(iptr)=6442450954, iptr={6442450955:0}, one_modf=1, res=6442450947, x=6442450947] [L85] CALL, EXPR isnan_float(iptr) VAL [\old(x)=6442450954, one_modf=1] [L73] return x != x; VAL [\old(x)=6442450954, \result=1, one_modf=1, x=6442450954] [L85] RET, EXPR isnan_float(iptr) VAL [\read(iptr)=6442450954, iptr={6442450955:0}, isnan_float(iptr)=1, one_modf=1, res=6442450947, x=6442450947] [L85] isnan_float(iptr) && !isnan_float(res) VAL [\read(iptr)=6442450954, iptr={6442450955:0}, isnan_float(iptr)=1, isnan_float(iptr) && !isnan_float(res)=1, one_modf=1, res=6442450947, x=6442450947] [L85] CALL, EXPR isnan_float(res) VAL [\old(x)=6442450947, one_modf=1] [L73] return x != x; VAL [\old(x)=6442450947, \result=0, one_modf=1, x=6442450947] [L85] RET, EXPR isnan_float(res) VAL [\read(iptr)=6442450954, iptr={6442450955:0}, isnan_float(iptr)=1, isnan_float(iptr) && !isnan_float(res)=1, isnan_float(res)=0, one_modf=1, res=6442450947, x=6442450947] [L85] isnan_float(iptr) && !isnan_float(res) VAL [\read(iptr)=6442450954, iptr={6442450955:0}, isnan_float(iptr)=1, isnan_float(iptr) && !isnan_float(res)=1, isnan_float(res)=0, one_modf=1, res=6442450947, x=6442450947] [L85] COND TRUE isnan_float(iptr) && !isnan_float(res) [L86] __VERIFIER_error() VAL [iptr={6442450955:0}, one_modf=1, res=6442450947, x=6442450947] ----- [2018-11-23 13:11:38,676 INFO L202 PluginConnector]: Adding new model de.uni_freiburg.informatik.ultimate.plugins.generator.traceabstraction CFG 23.11 01:11:38 BoogieIcfgContainer [2018-11-23 13:11:38,676 INFO L132 PluginConnector]: ------------------------ END TraceAbstraction---------------------------- [2018-11-23 13:11:38,676 INFO L113 PluginConnector]: ------------------------Witness Printer---------------------------- [2018-11-23 13:11:38,676 INFO L271 PluginConnector]: Initializing Witness Printer... [2018-11-23 13:11:38,677 INFO L276 PluginConnector]: Witness Printer initialized [2018-11-23 13:11:38,677 INFO L185 PluginConnector]: Executing the observer RCFGCatcher from plugin Witness Printer for "de.uni_freiburg.informatik.ultimate.plugins.generator.rcfgbuilder CFG 23.11 01:11:38" (3/4) ... [2018-11-23 13:11:38,680 INFO L147 WitnessPrinter]: No result that supports witness generation found [2018-11-23 13:11:38,680 INFO L132 PluginConnector]: ------------------------ END Witness Printer---------------------------- [2018-11-23 13:11:38,681 INFO L168 Benchmark]: Toolchain (without parser) took 997.40 ms. Allocated memory was 1.0 GB in the beginning and 1.2 GB in the end (delta: 184.5 MB). Free memory was 953.8 MB in the beginning and 1.1 GB in the end (delta: -154.7 MB). Peak memory consumption was 29.8 MB. Max. memory is 11.5 GB. [2018-11-23 13:11:38,683 INFO L168 Benchmark]: CDTParser took 0.17 ms. Allocated memory is still 1.0 GB. Free memory is still 985.4 MB. There was no memory consumed. Max. memory is 11.5 GB. [2018-11-23 13:11:38,683 INFO L168 Benchmark]: CACSL2BoogieTranslator took 180.58 ms. Allocated memory is still 1.0 GB. Free memory was 953.8 MB in the beginning and 940.3 MB in the end (delta: 13.4 MB). Peak memory consumption was 13.4 MB. Max. memory is 11.5 GB. [2018-11-23 13:11:38,684 INFO L168 Benchmark]: Boogie Procedure Inliner took 18.66 ms. Allocated memory is still 1.0 GB. Free memory is still 940.3 MB. There was no memory consumed. Max. memory is 11.5 GB. [2018-11-23 13:11:38,684 INFO L168 Benchmark]: Boogie Preprocessor took 75.11 ms. Allocated memory was 1.0 GB in the beginning and 1.2 GB in the end (delta: 184.5 MB). Free memory was 940.3 MB in the beginning and 1.2 GB in the end (delta: -241.5 MB). Peak memory consumption was 17.6 MB. Max. memory is 11.5 GB. [2018-11-23 13:11:38,685 INFO L168 Benchmark]: RCFGBuilder took 243.62 ms. Allocated memory is still 1.2 GB. Free memory was 1.2 GB in the beginning and 1.1 GB in the end (delta: 32.5 MB). Peak memory consumption was 32.5 MB. Max. memory is 11.5 GB. [2018-11-23 13:11:38,686 INFO L168 Benchmark]: TraceAbstraction took 472.34 ms. Allocated memory is still 1.2 GB. Free memory was 1.1 GB in the beginning and 1.1 GB in the end (delta: 40.8 MB). Peak memory consumption was 40.8 MB. Max. memory is 11.5 GB. [2018-11-23 13:11:38,686 INFO L168 Benchmark]: Witness Printer took 4.12 ms. Allocated memory is still 1.2 GB. Free memory is still 1.1 GB. There was no memory consumed. Max. memory is 11.5 GB. [2018-11-23 13:11:38,689 INFO L336 ainManager$Toolchain]: ####################### End [Toolchain 1] ####################### --- Results --- * Results from de.uni_freiburg.informatik.ultimate.core: - StatisticsResult: Toolchain Benchmarks Benchmark results are: * CDTParser took 0.17 ms. Allocated memory is still 1.0 GB. Free memory is still 985.4 MB. There was no memory consumed. Max. memory is 11.5 GB. * CACSL2BoogieTranslator took 180.58 ms. Allocated memory is still 1.0 GB. Free memory was 953.8 MB in the beginning and 940.3 MB in the end (delta: 13.4 MB). Peak memory consumption was 13.4 MB. Max. memory is 11.5 GB. * Boogie Procedure Inliner took 18.66 ms. Allocated memory is still 1.0 GB. Free memory is still 940.3 MB. There was no memory consumed. Max. memory is 11.5 GB. * Boogie Preprocessor took 75.11 ms. Allocated memory was 1.0 GB in the beginning and 1.2 GB in the end (delta: 184.5 MB). Free memory was 940.3 MB in the beginning and 1.2 GB in the end (delta: -241.5 MB). Peak memory consumption was 17.6 MB. Max. memory is 11.5 GB. * RCFGBuilder took 243.62 ms. Allocated memory is still 1.2 GB. Free memory was 1.2 GB in the beginning and 1.1 GB in the end (delta: 32.5 MB). Peak memory consumption was 32.5 MB. Max. memory is 11.5 GB. * TraceAbstraction took 472.34 ms. Allocated memory is still 1.2 GB. Free memory was 1.1 GB in the beginning and 1.1 GB in the end (delta: 40.8 MB). Peak memory consumption was 40.8 MB. Max. memory is 11.5 GB. * Witness Printer took 4.12 ms. Allocated memory is still 1.2 GB. Free memory is still 1.1 GB. There was no memory consumed. Max. memory is 11.5 GB. * Results from de.uni_freiburg.informatik.ultimate.plugins.generator.traceabstraction: - UnprovableResult [Line: 86]: Unable to prove that call of __VERIFIER_error() unreachable Unable to prove that call of __VERIFIER_error() unreachable Reason: overapproximation of someBinaryFLOATComparisonOperation at line 73, overapproximation of someBinaryArithmeticFLOAToperation at line 80, overapproximation of bitwiseAnd at line 26. Possible FailurePath: [L11] static const float one_modf = 1.0; VAL [\old(one_modf)=6442450950, one_modf=1] [L80] float x = 0.0f / 0.0f; [L81] float iptr; VAL [iptr={6442450955:0}, one_modf=1] [L82] CALL, EXPR modf_float(x, &iptr) VAL [\old(x)=6442450947, iptr={6442450955:0}, one_modf=1] [L14] __int32_t i0, j0; [L15] __uint32_t i; VAL [\old(x)=6442450947, iptr={6442450955:0}, iptr={6442450955:0}, one_modf=1, x=6442450947] [L17] ieee_float_shape_type gf_u; [L18] gf_u.value = (x) [L19] EXPR gf_u.word [L19] (i0) = gf_u.word [L21] j0 = ((i0 >> 23) & 0xff) - 0x7f VAL [\old(x)=6442450947, i0=-2147483648, iptr={6442450955:0}, iptr={6442450955:0}, one_modf=1, x=6442450947] [L22] COND TRUE j0 < 23 VAL [\old(x)=6442450947, i0=-2147483648, iptr={6442450955:0}, iptr={6442450955:0}, j0=-1, one_modf=1, x=6442450947] [L23] COND TRUE j0 < 0 VAL [\old(x)=6442450947, i0=-2147483648, iptr={6442450955:0}, iptr={6442450955:0}, j0=-1, one_modf=1, x=6442450947] [L25] ieee_float_shape_type sf_u; [L26] sf_u.word = (i0 & 0x80000000) [L27] EXPR sf_u.value [L27] (*iptr) = sf_u.value [L29] return x; VAL [\old(x)=6442450947, \result=6442450947, i0=-2147483648, iptr={6442450955:0}, iptr={6442450955:0}, j0=-1, one_modf=1, x=6442450947] [L82] RET, EXPR modf_float(x, &iptr) VAL [iptr={6442450955:0}, modf_float(x, &iptr)=6442450947, one_modf=1, x=6442450947] [L82] float res = modf_float(x, &iptr); [L85] EXPR \read(iptr) VAL [\read(iptr)=6442450954, iptr={6442450955:0}, one_modf=1, res=6442450947, x=6442450947] [L85] CALL, EXPR isnan_float(iptr) VAL [\old(x)=6442450954, one_modf=1] [L73] return x != x; VAL [\old(x)=6442450954, \result=1, one_modf=1, x=6442450954] [L85] RET, EXPR isnan_float(iptr) VAL [\read(iptr)=6442450954, iptr={6442450955:0}, isnan_float(iptr)=1, one_modf=1, res=6442450947, x=6442450947] [L85] isnan_float(iptr) && !isnan_float(res) VAL [\read(iptr)=6442450954, iptr={6442450955:0}, isnan_float(iptr)=1, isnan_float(iptr) && !isnan_float(res)=1, one_modf=1, res=6442450947, x=6442450947] [L85] CALL, EXPR isnan_float(res) VAL [\old(x)=6442450947, one_modf=1] [L73] return x != x; VAL [\old(x)=6442450947, \result=0, one_modf=1, x=6442450947] [L85] RET, EXPR isnan_float(res) VAL [\read(iptr)=6442450954, iptr={6442450955:0}, isnan_float(iptr)=1, isnan_float(iptr) && !isnan_float(res)=1, isnan_float(res)=0, one_modf=1, res=6442450947, x=6442450947] [L85] isnan_float(iptr) && !isnan_float(res) VAL [\read(iptr)=6442450954, iptr={6442450955:0}, isnan_float(iptr)=1, isnan_float(iptr) && !isnan_float(res)=1, isnan_float(res)=0, one_modf=1, res=6442450947, x=6442450947] [L85] COND TRUE isnan_float(iptr) && !isnan_float(res) [L86] __VERIFIER_error() VAL [iptr={6442450955:0}, one_modf=1, res=6442450947, x=6442450947] - StatisticsResult: Ultimate Automizer benchmark data CFG has 5 procedures, 48 locations, 1 error locations. UNSAFE Result, 0.4s OverallTime, 3 OverallIterations, 2 TraceHistogramMax, 0.0s AutomataDifference, 0.0s DeadEndRemovalTime, 0.0s HoareAnnotationTime, HoareTripleCheckerStatistics: 100 SDtfs, 0 SDslu, 43 SDs, 0 SdLazy, 4 SolverSat, 0 SolverUnsat, 0 SolverUnknown, 0 SolverNotchecked, 0.0s Time, PredicateUnifierStatistics: 0 DeclaredPredicates, 5 GetRequests, 4 SyntacticMatches, 0 SemanticMatches, 1 ConstructedPredicates, 0 IntricatePredicates, 0 DeprecatedPredicates, 0 ImplicationChecksByTransitivity, 0.0s Time, 0.0s BasicInterpolantAutomatonTime, BiggestAbstraction: size=48occurred in iteration=0, traceCheckStatistics: No data available, InterpolantConsolidationStatistics: No data available, PathInvariantsStatistics: No data available, 0/0 InterpolantCoveringCapability, TotalInterpolationStatistics: No data available, 0.0s AbstIntTime, 0 AbstIntIterations, 0 AbstIntStrong, NaN AbsIntWeakeningRatio, NaN AbsIntAvgWeakeningVarsNumRemoved, NaN AbsIntAvgWeakenedConjuncts, 0.0s DumpTime, AutomataMinimizationStatistics: 0.0s AutomataMinimizationTime, 2 MinimizatonAttempts, 0 StatesRemovedByMinimization, 0 NontrivialMinimizations, HoareAnnotationStatistics: No data available, RefinementEngineStatistics: TraceCheckStatistics: 0.0s SsaConstructionTime, 0.0s SatisfiabilityAnalysisTime, 0.0s InterpolantComputationTime, 84 NumberOfCodeBlocks, 84 NumberOfCodeBlocksAsserted, 3 NumberOfCheckSat, 50 ConstructedInterpolants, 0 QuantifiedInterpolants, 1278 SizeOfPredicates, 0 NumberOfNonLiveVariables, 0 ConjunctsInSsa, 0 ConjunctsInUnsatCore, 2 InterpolantComputations, 2 PerfectInterpolantSequences, 0/0 InterpolantCoveringCapability, InvariantSynthesisStatistics: No data available, InterpolantConsolidationStatistics: No data available, ReuseStatistics: No data available RESULT: Ultimate could not prove your program: unable to determine feasibility of some traces Received shutdown request... ### Bit-precise run ### This is Ultimate 0.1.23-aa41828 [2018-11-23 13:11:40,082 INFO L170 SettingsManager]: Resetting all preferences to default values... [2018-11-23 13:11:40,084 INFO L174 SettingsManager]: Resetting UltimateCore preferences to default values [2018-11-23 13:11:40,091 INFO L177 SettingsManager]: Ultimate Commandline Interface provides no preferences, ignoring... [2018-11-23 13:11:40,091 INFO L174 SettingsManager]: Resetting Boogie Preprocessor preferences to default values [2018-11-23 13:11:40,092 INFO L174 SettingsManager]: Resetting Boogie Procedure Inliner preferences to default values [2018-11-23 13:11:40,093 INFO L174 SettingsManager]: Resetting Abstract Interpretation preferences to default values [2018-11-23 13:11:40,094 INFO L174 SettingsManager]: Resetting LassoRanker preferences to default values [2018-11-23 13:11:40,095 INFO L174 SettingsManager]: Resetting Reaching Definitions preferences to default values [2018-11-23 13:11:40,096 INFO L174 SettingsManager]: Resetting SyntaxChecker preferences to default values [2018-11-23 13:11:40,096 INFO L177 SettingsManager]: Büchi Program Product provides no preferences, ignoring... [2018-11-23 13:11:40,096 INFO L174 SettingsManager]: Resetting LTL2Aut preferences to default values [2018-11-23 13:11:40,097 INFO L174 SettingsManager]: Resetting PEA to Boogie preferences to default values [2018-11-23 13:11:40,098 INFO L174 SettingsManager]: Resetting BlockEncodingV2 preferences to default values [2018-11-23 13:11:40,098 INFO L174 SettingsManager]: Resetting ChcToBoogie preferences to default values [2018-11-23 13:11:40,099 INFO L174 SettingsManager]: Resetting AutomataScriptInterpreter preferences to default values [2018-11-23 13:11:40,100 INFO L174 SettingsManager]: Resetting BuchiAutomizer preferences to default values [2018-11-23 13:11:40,101 INFO L174 SettingsManager]: Resetting CACSL2BoogieTranslator preferences to default values [2018-11-23 13:11:40,102 INFO L174 SettingsManager]: Resetting CodeCheck preferences to default values [2018-11-23 13:11:40,103 INFO L174 SettingsManager]: Resetting InvariantSynthesis preferences to default values [2018-11-23 13:11:40,104 INFO L174 SettingsManager]: Resetting RCFGBuilder preferences to default values [2018-11-23 13:11:40,105 INFO L174 SettingsManager]: Resetting TraceAbstraction preferences to default values [2018-11-23 13:11:40,106 INFO L177 SettingsManager]: TraceAbstractionConcurrent provides no preferences, ignoring... [2018-11-23 13:11:40,106 INFO L177 SettingsManager]: TraceAbstractionWithAFAs provides no preferences, ignoring... [2018-11-23 13:11:40,107 INFO L174 SettingsManager]: Resetting TreeAutomizer preferences to default values [2018-11-23 13:11:40,107 INFO L174 SettingsManager]: Resetting IcfgTransformer preferences to default values [2018-11-23 13:11:40,108 INFO L174 SettingsManager]: Resetting Boogie Printer preferences to default values [2018-11-23 13:11:40,108 INFO L174 SettingsManager]: Resetting ReqPrinter preferences to default values [2018-11-23 13:11:40,109 INFO L174 SettingsManager]: Resetting Witness Printer preferences to default values [2018-11-23 13:11:40,110 INFO L177 SettingsManager]: Boogie PL CUP Parser provides no preferences, ignoring... [2018-11-23 13:11:40,110 INFO L174 SettingsManager]: Resetting CDTParser preferences to default values [2018-11-23 13:11:40,110 INFO L177 SettingsManager]: AutomataScriptParser provides no preferences, ignoring... [2018-11-23 13:11:40,110 INFO L177 SettingsManager]: ReqParser provides no preferences, ignoring... [2018-11-23 13:11:40,111 INFO L174 SettingsManager]: Resetting SmtParser preferences to default values [2018-11-23 13:11:40,111 INFO L174 SettingsManager]: Resetting Witness Parser preferences to default values [2018-11-23 13:11:40,112 INFO L181 SettingsManager]: Finished resetting all preferences to default values... [2018-11-23 13:11:40,112 INFO L98 SettingsManager]: Beginning loading settings from /tmp/vcloud-vcloud-master/worker/working_dir_29e88f00-00cd-4d32-ae8c-90917fa1d949/bin-2019/uautomizer/config/svcomp-Reach-32bit-Automizer_Bitvector.epf [2018-11-23 13:11:40,122 INFO L110 SettingsManager]: Loading preferences was successful [2018-11-23 13:11:40,122 INFO L112 SettingsManager]: Preferences different from defaults after loading the file: [2018-11-23 13:11:40,123 INFO L131 SettingsManager]: Preferences of Boogie Procedure Inliner differ from their defaults: [2018-11-23 13:11:40,123 INFO L133 SettingsManager]: * ... calls to implemented procedures=ONLY_FOR_CONCURRENT_PROGRAMS [2018-11-23 13:11:40,123 INFO L131 SettingsManager]: Preferences of BlockEncodingV2 differ from their defaults: [2018-11-23 13:11:40,124 INFO L133 SettingsManager]: * Create parallel compositions if possible=false [2018-11-23 13:11:40,124 INFO L133 SettingsManager]: * Use SBE=true [2018-11-23 13:11:40,124 INFO L131 SettingsManager]: Preferences of CACSL2BoogieTranslator differ from their defaults: [2018-11-23 13:11:40,124 INFO L133 SettingsManager]: * sizeof long=4 [2018-11-23 13:11:40,124 INFO L133 SettingsManager]: * sizeof POINTER=4 [2018-11-23 13:11:40,124 INFO L133 SettingsManager]: * Check division by zero=IGNORE [2018-11-23 13:11:40,124 INFO L133 SettingsManager]: * Pointer to allocated memory at dereference=IGNORE [2018-11-23 13:11:40,125 INFO L133 SettingsManager]: * If two pointers are subtracted or compared they have the same base address=IGNORE [2018-11-23 13:11:40,125 INFO L133 SettingsManager]: * Check array bounds for arrays that are off heap=IGNORE [2018-11-23 13:11:40,125 INFO L133 SettingsManager]: * Use bitvectors instead of ints=true [2018-11-23 13:11:40,125 INFO L133 SettingsManager]: * Memory model=HoenickeLindenmann_4ByteResolution [2018-11-23 13:11:40,125 INFO L133 SettingsManager]: * sizeof long double=12 [2018-11-23 13:11:40,125 INFO L133 SettingsManager]: * Check if freed pointer was valid=false [2018-11-23 13:11:40,125 INFO L133 SettingsManager]: * Use constant arrays=true [2018-11-23 13:11:40,125 INFO L133 SettingsManager]: * Pointer base address is valid at dereference=IGNORE [2018-11-23 13:11:40,126 INFO L131 SettingsManager]: Preferences of RCFGBuilder differ from their defaults: [2018-11-23 13:11:40,126 INFO L133 SettingsManager]: * Size of a code block=SequenceOfStatements [2018-11-23 13:11:40,126 INFO L133 SettingsManager]: * To the following directory=./dump/ [2018-11-23 13:11:40,126 INFO L133 SettingsManager]: * SMT solver=External_DefaultMode [2018-11-23 13:11:40,126 INFO L133 SettingsManager]: * Command for external solver=z3 SMTLIB2_COMPLIANT=true -memory:2024 -smt2 -in -t:2000 [2018-11-23 13:11:40,126 INFO L131 SettingsManager]: Preferences of TraceAbstraction differ from their defaults: [2018-11-23 13:11:40,126 INFO L133 SettingsManager]: * Compute Interpolants along a Counterexample=FPandBP [2018-11-23 13:11:40,127 INFO L133 SettingsManager]: * Positions where we compute the Hoare Annotation=LoopsAndPotentialCycles [2018-11-23 13:11:40,127 INFO L133 SettingsManager]: * Trace refinement strategy=WOLF [2018-11-23 13:11:40,127 INFO L133 SettingsManager]: * SMT solver=External_ModelsAndUnsatCoreMode [2018-11-23 13:11:40,127 INFO L133 SettingsManager]: * Command for external solver=cvc4nyu --tear-down-incremental --rewrite-divk --print-success --lang smt [2018-11-23 13:11:40,127 INFO L133 SettingsManager]: * Logic for external solver=AUFBV [2018-11-23 13:11:40,127 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_29e88f00-00cd-4d32-ae8c-90917fa1d949/bin-2019/uautomizer 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 -> Automizer 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 -> 36fce2ac9d239f0bf9286aa317af7b50704c65b6 [2018-11-23 13:11:40,155 INFO L81 nceAwareModelManager]: Repository-Root is: /tmp [2018-11-23 13:11:40,163 INFO L258 ainManager$Toolchain]: [Toolchain 1]: Applicable parser(s) successfully (re)initialized [2018-11-23 13:11:40,165 INFO L214 ainManager$Toolchain]: [Toolchain 1]: Toolchain selected. [2018-11-23 13:11:40,166 INFO L271 PluginConnector]: Initializing CDTParser... [2018-11-23 13:11:40,166 INFO L276 PluginConnector]: CDTParser initialized [2018-11-23 13:11:40,167 INFO L418 ainManager$Toolchain]: [Toolchain 1]: Parsing single file: /tmp/vcloud-vcloud-master/worker/working_dir_29e88f00-00cd-4d32-ae8c-90917fa1d949/bin-2019/uautomizer/../../sv-benchmarks/c/float-newlib/float_req_bl_1210_false-unreach-call.c [2018-11-23 13:11:40,201 INFO L221 CDTParser]: Created temporary CDT project at /tmp/vcloud-vcloud-master/worker/working_dir_29e88f00-00cd-4d32-ae8c-90917fa1d949/bin-2019/uautomizer/data/254037516/7c952d7fbb484a28a8f77175633bf07f/FLAGf66cdf721 [2018-11-23 13:11:40,596 INFO L307 CDTParser]: Found 1 translation units. [2018-11-23 13:11:40,597 INFO L161 CDTParser]: Scanning /tmp/vcloud-vcloud-master/worker/working_dir_29e88f00-00cd-4d32-ae8c-90917fa1d949/sv-benchmarks/c/float-newlib/float_req_bl_1210_false-unreach-call.c [2018-11-23 13:11:40,602 INFO L355 CDTParser]: About to delete temporary CDT project at /tmp/vcloud-vcloud-master/worker/working_dir_29e88f00-00cd-4d32-ae8c-90917fa1d949/bin-2019/uautomizer/data/254037516/7c952d7fbb484a28a8f77175633bf07f/FLAGf66cdf721 [2018-11-23 13:11:40,611 INFO L363 CDTParser]: Successfully deleted /tmp/vcloud-vcloud-master/worker/working_dir_29e88f00-00cd-4d32-ae8c-90917fa1d949/bin-2019/uautomizer/data/254037516/7c952d7fbb484a28a8f77175633bf07f [2018-11-23 13:11:40,613 INFO L296 ainManager$Toolchain]: ####################### [Toolchain 1] ####################### [2018-11-23 13:11:40,614 INFO L131 ToolchainWalker]: Walking toolchain with 6 elements. [2018-11-23 13:11:40,614 INFO L113 PluginConnector]: ------------------------CACSL2BoogieTranslator---------------------------- [2018-11-23 13:11:40,614 INFO L271 PluginConnector]: Initializing CACSL2BoogieTranslator... [2018-11-23 13:11:40,617 INFO L276 PluginConnector]: CACSL2BoogieTranslator initialized [2018-11-23 13:11:40,617 INFO L185 PluginConnector]: Executing the observer ACSLObjectContainerObserver from plugin CACSL2BoogieTranslator for "CDTParser AST 23.11 01:11:40" (1/1) ... [2018-11-23 13:11:40,619 INFO L205 PluginConnector]: Invalid model from CACSL2BoogieTranslator for observer de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator.ACSLObjectContainerObserver@2bf9fdeb and model type de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 23.11 01:11:40, skipping insertion in model container [2018-11-23 13:11:40,619 INFO L185 PluginConnector]: Executing the observer CACSL2BoogieTranslatorObserver from plugin CACSL2BoogieTranslator for "CDTParser AST 23.11 01:11:40" (1/1) ... [2018-11-23 13:11:40,625 INFO L145 MainTranslator]: Starting translation in SV-COMP mode [2018-11-23 13:11:40,639 INFO L176 MainTranslator]: Built tables and reachable declarations [2018-11-23 13:11:40,764 INFO L201 PostProcessor]: Analyzing one entry point: main [2018-11-23 13:11:40,773 INFO L191 MainTranslator]: Completed pre-run [2018-11-23 13:11:40,793 INFO L201 PostProcessor]: Analyzing one entry point: main [2018-11-23 13:11:40,806 INFO L195 MainTranslator]: Completed translation [2018-11-23 13:11:40,807 INFO L202 PluginConnector]: Adding new model de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 23.11 01:11:40 WrapperNode [2018-11-23 13:11:40,807 INFO L132 PluginConnector]: ------------------------ END CACSL2BoogieTranslator---------------------------- [2018-11-23 13:11:40,807 INFO L113 PluginConnector]: ------------------------Boogie Procedure Inliner---------------------------- [2018-11-23 13:11:40,807 INFO L271 PluginConnector]: Initializing Boogie Procedure Inliner... [2018-11-23 13:11:40,808 INFO L276 PluginConnector]: Boogie Procedure Inliner initialized [2018-11-23 13:11:40,813 INFO L185 PluginConnector]: Executing the observer TypeChecker from plugin Boogie Procedure Inliner for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 23.11 01:11:40" (1/1) ... [2018-11-23 13:11:40,820 INFO L185 PluginConnector]: Executing the observer Inliner from plugin Boogie Procedure Inliner for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 23.11 01:11:40" (1/1) ... [2018-11-23 13:11:40,825 INFO L132 PluginConnector]: ------------------------ END Boogie Procedure Inliner---------------------------- [2018-11-23 13:11:40,825 INFO L113 PluginConnector]: ------------------------Boogie Preprocessor---------------------------- [2018-11-23 13:11:40,825 INFO L271 PluginConnector]: Initializing Boogie Preprocessor... [2018-11-23 13:11:40,825 INFO L276 PluginConnector]: Boogie Preprocessor initialized [2018-11-23 13:11:40,831 INFO L185 PluginConnector]: Executing the observer EnsureBoogieModelObserver from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 23.11 01:11:40" (1/1) ... [2018-11-23 13:11:40,831 INFO L185 PluginConnector]: Executing the observer TypeChecker from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 23.11 01:11:40" (1/1) ... [2018-11-23 13:11:40,833 INFO L185 PluginConnector]: Executing the observer ConstExpander from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 23.11 01:11:40" (1/1) ... [2018-11-23 13:11:40,833 INFO L185 PluginConnector]: Executing the observer StructExpander from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 23.11 01:11:40" (1/1) ... [2018-11-23 13:11:40,842 INFO L185 PluginConnector]: Executing the observer UnstructureCode from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 23.11 01:11:40" (1/1) ... [2018-11-23 13:11:40,846 INFO L185 PluginConnector]: Executing the observer FunctionInliner from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 23.11 01:11:40" (1/1) ... [2018-11-23 13:11:40,848 INFO L185 PluginConnector]: Executing the observer BoogieSymbolTableConstructor from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 23.11 01:11:40" (1/1) ... [2018-11-23 13:11:40,850 INFO L132 PluginConnector]: ------------------------ END Boogie Preprocessor---------------------------- [2018-11-23 13:11:40,850 INFO L113 PluginConnector]: ------------------------RCFGBuilder---------------------------- [2018-11-23 13:11:40,851 INFO L271 PluginConnector]: Initializing RCFGBuilder... [2018-11-23 13:11:40,851 INFO L276 PluginConnector]: RCFGBuilder initialized [2018-11-23 13:11:40,851 INFO L185 PluginConnector]: Executing the observer RCFGBuilderObserver from plugin RCFGBuilder for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 23.11 01:11:40" (1/1) ... No working directory specified, using /tmp/vcloud-vcloud-master/worker/working_dir_29e88f00-00cd-4d32-ae8c-90917fa1d949/bin-2019/uautomizer/z3 Starting monitored process 1 with z3 SMTLIB2_COMPLIANT=true -memory:2024 -smt2 -in -t:2000 (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:2000 [2018-11-23 13:11:40,928 INFO L130 BoogieDeclarations]: Found specification of procedure isnan_float [2018-11-23 13:11:40,928 INFO L138 BoogieDeclarations]: Found implementation of procedure isnan_float [2018-11-23 13:11:40,928 INFO L130 BoogieDeclarations]: Found specification of procedure ULTIMATE.init [2018-11-23 13:11:40,928 INFO L138 BoogieDeclarations]: Found implementation of procedure ULTIMATE.init [2018-11-23 13:11:40,928 INFO L130 BoogieDeclarations]: Found specification of procedure #Ultimate.alloc [2018-11-23 13:11:40,928 INFO L130 BoogieDeclarations]: Found specification of procedure read~intINTTYPE4 [2018-11-23 13:11:40,928 INFO L130 BoogieDeclarations]: Found specification of procedure ULTIMATE.start [2018-11-23 13:11:40,928 INFO L138 BoogieDeclarations]: Found implementation of procedure ULTIMATE.start [2018-11-23 13:11:40,928 INFO L130 BoogieDeclarations]: Found specification of procedure write~intFLOATTYPE4 [2018-11-23 13:11:40,929 INFO L130 BoogieDeclarations]: Found specification of procedure main [2018-11-23 13:11:40,929 INFO L138 BoogieDeclarations]: Found implementation of procedure main [2018-11-23 13:11:40,929 INFO L130 BoogieDeclarations]: Found specification of procedure read~intFLOATTYPE4 [2018-11-23 13:11:40,929 INFO L130 BoogieDeclarations]: Found specification of procedure write~intINTTYPE4 [2018-11-23 13:11:40,929 INFO L130 BoogieDeclarations]: Found specification of procedure ULTIMATE.dealloc [2018-11-23 13:11:40,929 INFO L130 BoogieDeclarations]: Found specification of procedure modf_float [2018-11-23 13:11:40,929 INFO L138 BoogieDeclarations]: Found implementation of procedure modf_float [2018-11-23 13:11:41,080 WARN L317 ript$VariableManager]: TermVariabe |q#valueAsBitvector| not constructed by VariableManager. Cannot ensure absence of name clashes. [2018-11-23 13:11:41,114 WARN L317 ript$VariableManager]: TermVariabe |q#valueAsBitvector| not constructed by VariableManager. Cannot ensure absence of name clashes. [2018-11-23 13:11:41,121 WARN L317 ript$VariableManager]: TermVariabe |q#valueAsBitvector| not constructed by VariableManager. Cannot ensure absence of name clashes. [2018-11-23 13:11:41,205 WARN L317 ript$VariableManager]: TermVariabe |q#valueAsBitvector| not constructed by VariableManager. Cannot ensure absence of name clashes. [2018-11-23 13:11:41,237 WARN L317 ript$VariableManager]: TermVariabe |q#valueAsBitvector| not constructed by VariableManager. Cannot ensure absence of name clashes. [2018-11-23 13:11:41,258 WARN L317 ript$VariableManager]: TermVariabe |q#valueAsBitvector| not constructed by VariableManager. Cannot ensure absence of name clashes. [2018-11-23 13:11:41,261 INFO L275 CfgBuilder]: Using the 1 location(s) as analysis (start of procedure ULTIMATE.start) [2018-11-23 13:11:41,261 INFO L280 CfgBuilder]: Removed 14 assue(true) statements. [2018-11-23 13:11:41,261 INFO L202 PluginConnector]: Adding new model de.uni_freiburg.informatik.ultimate.plugins.generator.rcfgbuilder CFG 23.11 01:11:41 BoogieIcfgContainer [2018-11-23 13:11:41,262 INFO L132 PluginConnector]: ------------------------ END RCFGBuilder---------------------------- [2018-11-23 13:11:41,262 INFO L113 PluginConnector]: ------------------------TraceAbstraction---------------------------- [2018-11-23 13:11:41,262 INFO L271 PluginConnector]: Initializing TraceAbstraction... [2018-11-23 13:11:41,264 INFO L276 PluginConnector]: TraceAbstraction initialized [2018-11-23 13:11:41,264 INFO L185 PluginConnector]: Executing the observer TraceAbstractionObserver from plugin TraceAbstraction for "CDTParser AST 23.11 01:11:40" (1/3) ... [2018-11-23 13:11:41,264 INFO L205 PluginConnector]: Invalid model from TraceAbstraction for observer de.uni_freiburg.informatik.ultimate.plugins.generator.traceabstraction.TraceAbstractionObserver@22fd8e9b and model type de.uni_freiburg.informatik.ultimate.plugins.generator.traceabstraction AST 23.11 01:11:41, skipping insertion in model container [2018-11-23 13:11:41,265 INFO L185 PluginConnector]: Executing the observer TraceAbstractionObserver from plugin TraceAbstraction for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 23.11 01:11:40" (2/3) ... [2018-11-23 13:11:41,265 INFO L205 PluginConnector]: Invalid model from TraceAbstraction for observer de.uni_freiburg.informatik.ultimate.plugins.generator.traceabstraction.TraceAbstractionObserver@22fd8e9b and model type de.uni_freiburg.informatik.ultimate.plugins.generator.traceabstraction AST 23.11 01:11:41, skipping insertion in model container [2018-11-23 13:11:41,265 INFO L185 PluginConnector]: Executing the observer TraceAbstractionObserver from plugin TraceAbstraction for "de.uni_freiburg.informatik.ultimate.plugins.generator.rcfgbuilder CFG 23.11 01:11:41" (3/3) ... [2018-11-23 13:11:41,266 INFO L112 eAbstractionObserver]: Analyzing ICFG float_req_bl_1210_false-unreach-call.c [2018-11-23 13:11:41,272 INFO L156 ceAbstractionStarter]: Automizer settings: Hoare:true NWA Interpolation:FPandBP Determinization: PREDICATE_ABSTRACTION [2018-11-23 13:11:41,277 INFO L168 ceAbstractionStarter]: Appying trace abstraction to program that has 1 error locations. [2018-11-23 13:11:41,286 INFO L257 AbstractCegarLoop]: Starting to check reachability of 1 error locations. [2018-11-23 13:11:41,305 INFO L133 ementStrategyFactory]: Using default assertion order modulation [2018-11-23 13:11:41,306 INFO L382 AbstractCegarLoop]: Interprodecural is true [2018-11-23 13:11:41,306 INFO L383 AbstractCegarLoop]: Hoare is true [2018-11-23 13:11:41,306 INFO L384 AbstractCegarLoop]: Compute interpolants for FPandBP [2018-11-23 13:11:41,306 INFO L385 AbstractCegarLoop]: Backedges is STRAIGHT_LINE [2018-11-23 13:11:41,306 INFO L386 AbstractCegarLoop]: Determinization is PREDICATE_ABSTRACTION [2018-11-23 13:11:41,306 INFO L387 AbstractCegarLoop]: Difference is false [2018-11-23 13:11:41,306 INFO L388 AbstractCegarLoop]: Minimize is MINIMIZE_SEVPA [2018-11-23 13:11:41,307 INFO L393 AbstractCegarLoop]: ======== Iteration 0==of CEGAR loop == AllErrorsAtOnce======== [2018-11-23 13:11:41,318 INFO L276 IsEmpty]: Start isEmpty. Operand 48 states. [2018-11-23 13:11:41,322 INFO L282 IsEmpty]: Finished isEmpty. Found accepting run of length 26 [2018-11-23 13:11:41,322 INFO L394 BasicCegarLoop]: Found error trace [2018-11-23 13:11:41,323 INFO L402 BasicCegarLoop]: trace histogram [1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1] [2018-11-23 13:11:41,325 INFO L423 AbstractCegarLoop]: === Iteration 1 === [mainErr0ASSERT_VIOLATIONERROR_FUNCTION]=== [2018-11-23 13:11:41,328 INFO L141 PredicateUnifier]: Initialized classic predicate unifier [2018-11-23 13:11:41,328 INFO L82 PathProgramCache]: Analyzing trace with hash -1399428577, now seen corresponding path program 1 times [2018-11-23 13:11:41,330 INFO L223 ckRefinementStrategy]: Switched to mode MATHSAT_FPBP [2018-11-23 13:11:41,331 INFO L69 tionRefinementEngine]: Using refinement strategy WolfRefinementStrategy No working directory specified, using /tmp/vcloud-vcloud-master/worker/working_dir_29e88f00-00cd-4d32-ae8c-90917fa1d949/bin-2019/uautomizer/mathsat Starting monitored process 2 with mathsat -unsat_core_generation=3 (exit command is (exit), workingDir is null) Waiting until toolchain timeout for monitored process 2 with mathsat -unsat_core_generation=3 [2018-11-23 13:11:41,334 INFO L103 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2018-11-23 13:11:41,417 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2018-11-23 13:11:41,427 INFO L273 TraceCheckSpWp]: Computing forward predicates... [2018-11-23 13:11:41,439 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-23 13:11:41,439 INFO L312 TraceCheckSpWp]: Omiting computation of backward sequence because forward sequence was already perfect [2018-11-23 13:11:41,448 INFO L312 seRefinementStrategy]: Constructing automaton from 1 perfect and 0 imperfect interpolant sequences. [2018-11-23 13:11:41,448 INFO L327 seRefinementStrategy]: Number of different interpolants: perfect sequences [2] imperfect sequences [] total 2 [2018-11-23 13:11:41,450 INFO L459 AbstractCegarLoop]: Interpolant automaton has 2 states [2018-11-23 13:11:41,457 INFO L142 InterpolantAutomaton]: Constructing interpolant automaton starting with 2 interpolants. [2018-11-23 13:11:41,457 INFO L144 InterpolantAutomaton]: CoverageRelationStatistics Valid=1, Invalid=1, Unknown=0, NotChecked=0, Total=2 [2018-11-23 13:11:41,459 INFO L87 Difference]: Start difference. First operand 48 states. Second operand 2 states. [2018-11-23 13:11:41,475 INFO L144 Difference]: Subtrahend was deterministic. Have not used determinization. [2018-11-23 13:11:41,475 INFO L93 Difference]: Finished difference Result 88 states and 126 transitions. [2018-11-23 13:11:41,475 INFO L142 InterpolantAutomaton]: Switched to read-only mode: deterministic interpolant automaton has 2 states. [2018-11-23 13:11:41,476 INFO L78 Accepts]: Start accepts. Automaton has 2 states. Word has length 25 [2018-11-23 13:11:41,476 INFO L84 Accepts]: Finished accepts. some prefix is accepted. [2018-11-23 13:11:41,483 INFO L225 Difference]: With dead ends: 88 [2018-11-23 13:11:41,483 INFO L226 Difference]: Without dead ends: 44 [2018-11-23 13:11:41,485 INFO L631 BasicCegarLoop]: 0 DeclaredPredicates, 24 GetRequests, 24 SyntacticMatches, 0 SemanticMatches, 0 ConstructedPredicates, 0 IntricatePredicates, 0 DeprecatedPredicates, 0 ImplicationChecksByTransitivity, 0.0s TimeCoverageRelationStatistics Valid=1, Invalid=1, Unknown=0, NotChecked=0, Total=2 [2018-11-23 13:11:41,495 INFO L82 GeneralOperation]: Start minimizeSevpa. Operand 44 states. [2018-11-23 13:11:41,509 INFO L88 GeneralOperation]: Finished minimizeSevpa. Reduced states from 44 to 44. [2018-11-23 13:11:41,510 INFO L82 GeneralOperation]: Start removeUnreachable. Operand 44 states. [2018-11-23 13:11:41,510 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 44 states to 44 states and 48 transitions. [2018-11-23 13:11:41,511 INFO L78 Accepts]: Start accepts. Automaton has 44 states and 48 transitions. Word has length 25 [2018-11-23 13:11:41,512 INFO L84 Accepts]: Finished accepts. word is rejected. [2018-11-23 13:11:41,512 INFO L480 AbstractCegarLoop]: Abstraction has 44 states and 48 transitions. [2018-11-23 13:11:41,512 INFO L481 AbstractCegarLoop]: Interpolant automaton has 2 states. [2018-11-23 13:11:41,512 INFO L276 IsEmpty]: Start isEmpty. Operand 44 states and 48 transitions. [2018-11-23 13:11:41,513 INFO L282 IsEmpty]: Finished isEmpty. Found accepting run of length 28 [2018-11-23 13:11:41,513 INFO L394 BasicCegarLoop]: Found error trace [2018-11-23 13:11:41,513 INFO L402 BasicCegarLoop]: trace histogram [1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1] [2018-11-23 13:11:41,514 INFO L423 AbstractCegarLoop]: === Iteration 2 === [mainErr0ASSERT_VIOLATIONERROR_FUNCTION]=== [2018-11-23 13:11:41,514 INFO L141 PredicateUnifier]: Initialized classic predicate unifier [2018-11-23 13:11:41,514 INFO L82 PathProgramCache]: Analyzing trace with hash 1932138526, now seen corresponding path program 1 times [2018-11-23 13:11:41,514 INFO L223 ckRefinementStrategy]: Switched to mode MATHSAT_FPBP [2018-11-23 13:11:41,514 INFO L69 tionRefinementEngine]: Using refinement strategy WolfRefinementStrategy No working directory specified, using /tmp/vcloud-vcloud-master/worker/working_dir_29e88f00-00cd-4d32-ae8c-90917fa1d949/bin-2019/uautomizer/mathsat Starting monitored process 3 with mathsat -unsat_core_generation=3 (exit command is (exit), workingDir is null) Waiting until toolchain timeout for monitored process 3 with mathsat -unsat_core_generation=3 [2018-11-23 13:11:41,517 INFO L103 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2018-11-23 13:11:41,554 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2018-11-23 13:11:41,559 INFO L273 TraceCheckSpWp]: Computing forward predicates... [2018-11-23 13:11:41,684 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-23 13:11:41,684 INFO L312 TraceCheckSpWp]: Omiting computation of backward sequence because forward sequence was already perfect [2018-11-23 13:11:41,696 INFO L312 seRefinementStrategy]: Constructing automaton from 1 perfect and 0 imperfect interpolant sequences. [2018-11-23 13:11:41,696 INFO L327 seRefinementStrategy]: Number of different interpolants: perfect sequences [7] imperfect sequences [] total 7 [2018-11-23 13:11:41,697 INFO L459 AbstractCegarLoop]: Interpolant automaton has 7 states [2018-11-23 13:11:41,698 INFO L142 InterpolantAutomaton]: Constructing interpolant automaton starting with 7 interpolants. [2018-11-23 13:11:41,698 INFO L144 InterpolantAutomaton]: CoverageRelationStatistics Valid=11, Invalid=31, Unknown=0, NotChecked=0, Total=42 [2018-11-23 13:11:41,698 INFO L87 Difference]: Start difference. First operand 44 states and 48 transitions. Second operand 7 states. [2018-11-23 13:11:42,256 INFO L144 Difference]: Subtrahend was deterministic. Have not used determinization. [2018-11-23 13:11:42,256 INFO L93 Difference]: Finished difference Result 60 states and 65 transitions. [2018-11-23 13:11:42,257 INFO L142 InterpolantAutomaton]: Switched to read-only mode: deterministic interpolant automaton has 9 states. [2018-11-23 13:11:42,257 INFO L78 Accepts]: Start accepts. Automaton has 7 states. Word has length 27 [2018-11-23 13:11:42,257 INFO L84 Accepts]: Finished accepts. some prefix is accepted. [2018-11-23 13:11:42,258 INFO L225 Difference]: With dead ends: 60 [2018-11-23 13:11:42,258 INFO L226 Difference]: Without dead ends: 31 [2018-11-23 13:11:42,259 INFO L631 BasicCegarLoop]: 0 DeclaredPredicates, 31 GetRequests, 21 SyntacticMatches, 0 SemanticMatches, 10 ConstructedPredicates, 0 IntricatePredicates, 0 DeprecatedPredicates, 7 ImplicationChecksByTransitivity, 0.2s TimeCoverageRelationStatistics Valid=42, Invalid=90, Unknown=0, NotChecked=0, Total=132 [2018-11-23 13:11:42,259 INFO L82 GeneralOperation]: Start minimizeSevpa. Operand 31 states. [2018-11-23 13:11:42,263 INFO L88 GeneralOperation]: Finished minimizeSevpa. Reduced states from 31 to 31. [2018-11-23 13:11:42,263 INFO L82 GeneralOperation]: Start removeUnreachable. Operand 31 states. [2018-11-23 13:11:42,264 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 31 states to 31 states and 32 transitions. [2018-11-23 13:11:42,264 INFO L78 Accepts]: Start accepts. Automaton has 31 states and 32 transitions. Word has length 27 [2018-11-23 13:11:42,265 INFO L84 Accepts]: Finished accepts. word is rejected. [2018-11-23 13:11:42,265 INFO L480 AbstractCegarLoop]: Abstraction has 31 states and 32 transitions. [2018-11-23 13:11:42,265 INFO L481 AbstractCegarLoop]: Interpolant automaton has 7 states. [2018-11-23 13:11:42,265 INFO L276 IsEmpty]: Start isEmpty. Operand 31 states and 32 transitions. [2018-11-23 13:11:42,266 INFO L282 IsEmpty]: Finished isEmpty. Found accepting run of length 29 [2018-11-23 13:11:42,266 INFO L394 BasicCegarLoop]: Found error trace [2018-11-23 13:11:42,266 INFO L402 BasicCegarLoop]: trace histogram [1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1] [2018-11-23 13:11:42,266 INFO L423 AbstractCegarLoop]: === Iteration 3 === [mainErr0ASSERT_VIOLATIONERROR_FUNCTION]=== [2018-11-23 13:11:42,267 INFO L141 PredicateUnifier]: Initialized classic predicate unifier [2018-11-23 13:11:42,267 INFO L82 PathProgramCache]: Analyzing trace with hash -2040204428, now seen corresponding path program 1 times [2018-11-23 13:11:42,267 INFO L223 ckRefinementStrategy]: Switched to mode MATHSAT_FPBP [2018-11-23 13:11:42,267 INFO L69 tionRefinementEngine]: Using refinement strategy WolfRefinementStrategy No working directory specified, using /tmp/vcloud-vcloud-master/worker/working_dir_29e88f00-00cd-4d32-ae8c-90917fa1d949/bin-2019/uautomizer/mathsat Starting monitored process 4 with mathsat -unsat_core_generation=3 (exit command is (exit), workingDir is null) Waiting until toolchain timeout for monitored process 4 with mathsat -unsat_core_generation=3 [2018-11-23 13:11:42,275 INFO L103 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2018-11-23 13:11:42,349 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2018-11-23 13:11:42,355 INFO L273 TraceCheckSpWp]: Computing forward predicates... [2018-11-23 13:11:42,361 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-23 13:11:42,361 INFO L312 TraceCheckSpWp]: Omiting computation of backward sequence because forward sequence was already perfect [2018-11-23 13:11:42,372 INFO L312 seRefinementStrategy]: Constructing automaton from 1 perfect and 0 imperfect interpolant sequences. [2018-11-23 13:11:42,372 INFO L327 seRefinementStrategy]: Number of different interpolants: perfect sequences [3] imperfect sequences [] total 3 [2018-11-23 13:11:42,373 INFO L459 AbstractCegarLoop]: Interpolant automaton has 3 states [2018-11-23 13:11:42,373 INFO L142 InterpolantAutomaton]: Constructing interpolant automaton starting with 3 interpolants. [2018-11-23 13:11:42,373 INFO L144 InterpolantAutomaton]: CoverageRelationStatistics Valid=3, Invalid=3, Unknown=0, NotChecked=0, Total=6 [2018-11-23 13:11:42,373 INFO L87 Difference]: Start difference. First operand 31 states and 32 transitions. Second operand 3 states. [2018-11-23 13:11:42,381 INFO L144 Difference]: Subtrahend was deterministic. Have not used determinization. [2018-11-23 13:11:42,381 INFO L93 Difference]: Finished difference Result 34 states and 34 transitions. [2018-11-23 13:11:42,381 INFO L142 InterpolantAutomaton]: Switched to read-only mode: deterministic interpolant automaton has 3 states. [2018-11-23 13:11:42,382 INFO L78 Accepts]: Start accepts. Automaton has 3 states. Word has length 28 [2018-11-23 13:11:42,382 INFO L84 Accepts]: Finished accepts. some prefix is accepted. [2018-11-23 13:11:42,382 INFO L225 Difference]: With dead ends: 34 [2018-11-23 13:11:42,382 INFO L226 Difference]: Without dead ends: 31 [2018-11-23 13:11:42,383 INFO L631 BasicCegarLoop]: 0 DeclaredPredicates, 27 GetRequests, 26 SyntacticMatches, 0 SemanticMatches, 1 ConstructedPredicates, 0 IntricatePredicates, 0 DeprecatedPredicates, 0 ImplicationChecksByTransitivity, 0.0s TimeCoverageRelationStatistics Valid=3, Invalid=3, Unknown=0, NotChecked=0, Total=6 [2018-11-23 13:11:42,383 INFO L82 GeneralOperation]: Start minimizeSevpa. Operand 31 states. [2018-11-23 13:11:42,385 INFO L88 GeneralOperation]: Finished minimizeSevpa. Reduced states from 31 to 31. [2018-11-23 13:11:42,385 INFO L82 GeneralOperation]: Start removeUnreachable. Operand 31 states. [2018-11-23 13:11:42,386 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 31 states to 31 states and 31 transitions. [2018-11-23 13:11:42,386 INFO L78 Accepts]: Start accepts. Automaton has 31 states and 31 transitions. Word has length 28 [2018-11-23 13:11:42,387 INFO L84 Accepts]: Finished accepts. word is rejected. [2018-11-23 13:11:42,387 INFO L480 AbstractCegarLoop]: Abstraction has 31 states and 31 transitions. [2018-11-23 13:11:42,387 INFO L481 AbstractCegarLoop]: Interpolant automaton has 3 states. [2018-11-23 13:11:42,387 INFO L276 IsEmpty]: Start isEmpty. Operand 31 states and 31 transitions. [2018-11-23 13:11:42,388 INFO L282 IsEmpty]: Finished isEmpty. Found accepting run of length 34 [2018-11-23 13:11:42,388 INFO L394 BasicCegarLoop]: Found error trace [2018-11-23 13:11:42,388 INFO L402 BasicCegarLoop]: trace histogram [2, 2, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1] [2018-11-23 13:11:42,388 INFO L423 AbstractCegarLoop]: === Iteration 4 === [mainErr0ASSERT_VIOLATIONERROR_FUNCTION]=== [2018-11-23 13:11:42,389 INFO L141 PredicateUnifier]: Initialized classic predicate unifier [2018-11-23 13:11:42,389 INFO L82 PathProgramCache]: Analyzing trace with hash 263973730, now seen corresponding path program 1 times [2018-11-23 13:11:42,389 INFO L223 ckRefinementStrategy]: Switched to mode MATHSAT_FPBP [2018-11-23 13:11:42,389 INFO L69 tionRefinementEngine]: Using refinement strategy WolfRefinementStrategy No working directory specified, using /tmp/vcloud-vcloud-master/worker/working_dir_29e88f00-00cd-4d32-ae8c-90917fa1d949/bin-2019/uautomizer/mathsat Starting monitored process 5 with mathsat -unsat_core_generation=3 (exit command is (exit), workingDir is null) Waiting until toolchain timeout for monitored process 5 with mathsat -unsat_core_generation=3 [2018-11-23 13:11:42,392 INFO L103 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2018-11-23 13:11:42,492 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2018-11-23 13:11:42,595 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2018-11-23 13:11:42,643 INFO L469 BasicCegarLoop]: Counterexample might be feasible ----- class de.uni_freiburg.informatik.ultimate.plugins.generator.rcfgbuilder.RCFGBacktranslator [?] CALL call ULTIMATE.init(); VAL [|#NULL.base|=(_ bv6 32), |#NULL.offset|=(_ bv5 32), |old(#NULL.base)|=(_ bv6 32), |old(#NULL.offset)|=(_ bv5 32), |old(~one_modf~0)|=(fp #b0 #b00000000 #b00000000000000000000101), ~one_modf~0=(fp #b0 #b00000000 #b00000000000000000000101)] [?] #NULL.base, #NULL.offset := 0bv32, 0bv32;#valid := #valid[0bv32 := 0bv1];~one_modf~0 := ~convertDOUBLEToFLOAT(~roundNearestTiesToEven, ~to_fp~DOUBLE(~roundNearestTiesToEven, 1.0)); VAL [|#NULL.base|=(_ bv0 32), |#NULL.offset|=(_ bv0 32), |old(#NULL.base)|=(_ bv6 32), |old(#NULL.offset)|=(_ bv5 32), |old(~one_modf~0)|=(fp #b0 #b00000000 #b00000000000000000000101), ~one_modf~0=(fp #b0 #b01111111 #b00000000000000000000000)] [?] assume true; VAL [|#NULL.base|=(_ bv0 32), |#NULL.offset|=(_ bv0 32), |old(#NULL.base)|=(_ bv6 32), |old(#NULL.offset)|=(_ bv5 32), |old(~one_modf~0)|=(fp #b0 #b00000000 #b00000000000000000000101), ~one_modf~0=(fp #b0 #b01111111 #b00000000000000000000000)] [?] RET #129#return; VAL [|#NULL.base|=(_ bv0 32), |#NULL.offset|=(_ bv0 32), ~one_modf~0=(fp #b0 #b01111111 #b00000000000000000000000)] [?] CALL call #t~ret18 := main(); VAL [|#NULL.base|=(_ bv0 32), |#NULL.offset|=(_ bv0 32), ~one_modf~0=(fp #b0 #b01111111 #b00000000000000000000000)] [?] ~x~0 := ~fp.div~FLOAT(~roundNearestTiesToEven, ~Pluszero~FLOAT(), ~Pluszero~FLOAT());call ~#iptr~0.base, ~#iptr~0.offset := #Ultimate.alloc(4bv32); VAL [main_~x~0=(_ NaN 8 24), |#NULL.base|=(_ bv0 32), |#NULL.offset|=(_ bv0 32), |main_~#iptr~0.base|=(_ bv2 32), |main_~#iptr~0.offset|=(_ bv0 32), ~one_modf~0=(fp #b0 #b01111111 #b00000000000000000000000)] [?] CALL call #t~ret13 := modf_float(~x~0, ~#iptr~0.base, ~#iptr~0.offset); VAL [|#NULL.base|=(_ bv0 32), |#NULL.offset|=(_ bv0 32), |modf_float_#in~iptr.base|=(_ bv2 32), |modf_float_#in~iptr.offset|=(_ bv0 32), |modf_float_#in~x|=(_ NaN 8 24), ~one_modf~0=(fp #b0 #b01111111 #b00000000000000000000000)] [?] ~x := #in~x;~iptr.base, ~iptr.offset := #in~iptr.base, #in~iptr.offset;havoc ~i0~0;havoc ~j0~0;havoc ~i~0; VAL [modf_float_~iptr.base=(_ bv2 32), modf_float_~iptr.offset=(_ bv0 32), modf_float_~x=(_ NaN 8 24), |#NULL.base|=(_ bv0 32), |#NULL.offset|=(_ bv0 32), |modf_float_#in~iptr.base|=(_ bv2 32), |modf_float_#in~iptr.offset|=(_ bv0 32), |modf_float_#in~x|=(_ NaN 8 24), ~one_modf~0=(fp #b0 #b01111111 #b00000000000000000000000)] [?] call ~#gf_u~0.base, ~#gf_u~0.offset := #Ultimate.alloc(4bv32);call write~intFLOATTYPE4(~x, ~#gf_u~0.base, ~#gf_u~0.offset, 4bv32);call #t~mem0 := read~intINTTYPE4(~#gf_u~0.base, ~#gf_u~0.offset, 4bv32);~i0~0 := #t~mem0;call write~intFLOATTYPE4(#t~union1, ~#gf_u~0.base, ~#gf_u~0.offset, 4bv32);havoc #t~mem0;havoc #t~union1;call ULTIMATE.dealloc(~#gf_u~0.base, ~#gf_u~0.offset);havoc ~#gf_u~0.base, ~#gf_u~0.offset; VAL [modf_float_~i0~0=(_ bv2143289344 32), modf_float_~iptr.base=(_ bv2 32), modf_float_~iptr.offset=(_ bv0 32), modf_float_~x=(_ NaN 8 24), |#NULL.base|=(_ bv0 32), |#NULL.offset|=(_ bv0 32), |modf_float_#in~iptr.base|=(_ bv2 32), |modf_float_#in~iptr.offset|=(_ bv0 32), |modf_float_#in~x|=(_ NaN 8 24), ~one_modf~0=(fp #b0 #b01111111 #b00000000000000000000000)] [?] goto; VAL [modf_float_~i0~0=(_ bv2143289344 32), modf_float_~iptr.base=(_ bv2 32), modf_float_~iptr.offset=(_ bv0 32), modf_float_~x=(_ NaN 8 24), |#NULL.base|=(_ bv0 32), |#NULL.offset|=(_ bv0 32), |modf_float_#in~iptr.base|=(_ bv2 32), |modf_float_#in~iptr.offset|=(_ bv0 32), |modf_float_#in~x|=(_ NaN 8 24), ~one_modf~0=(fp #b0 #b01111111 #b00000000000000000000000)] [?] ~j0~0 := ~bvsub32(~bvand32(255bv32, ~bvashr32(~i0~0, 23bv32)), 127bv32); VAL [modf_float_~i0~0=(_ bv2143289344 32), modf_float_~iptr.base=(_ bv2 32), modf_float_~iptr.offset=(_ bv0 32), modf_float_~j0~0=(_ bv128 32), modf_float_~x=(_ NaN 8 24), |#NULL.base|=(_ bv0 32), |#NULL.offset|=(_ bv0 32), |modf_float_#in~iptr.base|=(_ bv2 32), |modf_float_#in~iptr.offset|=(_ bv0 32), |modf_float_#in~x|=(_ NaN 8 24), ~one_modf~0=(fp #b0 #b01111111 #b00000000000000000000000)] [?] assume !~bvslt32(~j0~0, 23bv32);havoc ~ix~1;call write~intFLOATTYPE4(~fp.mul~FLOAT(~roundNearestTiesToEven, ~x, ~one_modf~0), ~iptr.base, ~iptr.offset, 4bv32); VAL [modf_float_~i0~0=(_ bv2143289344 32), modf_float_~iptr.base=(_ bv2 32), modf_float_~iptr.offset=(_ bv0 32), modf_float_~j0~0=(_ bv128 32), modf_float_~x=(_ NaN 8 24), |#NULL.base|=(_ bv0 32), |#NULL.offset|=(_ bv0 32), |modf_float_#in~iptr.base|=(_ bv2 32), |modf_float_#in~iptr.offset|=(_ bv0 32), |modf_float_#in~x|=(_ NaN 8 24), ~one_modf~0=(fp #b0 #b01111111 #b00000000000000000000000)] [?] call ~#gf_u~2.base, ~#gf_u~2.offset := #Ultimate.alloc(4bv32);call write~intFLOATTYPE4(~x, ~#gf_u~2.base, ~#gf_u~2.offset, 4bv32);call #t~mem9 := read~intINTTYPE4(~#gf_u~2.base, ~#gf_u~2.offset, 4bv32);~ix~1 := #t~mem9;call write~intFLOATTYPE4(#t~union10, ~#gf_u~2.base, ~#gf_u~2.offset, 4bv32);havoc #t~mem9;havoc #t~union10;call ULTIMATE.dealloc(~#gf_u~2.base, ~#gf_u~2.offset);havoc ~#gf_u~2.base, ~#gf_u~2.offset; VAL [modf_float_~i0~0=(_ bv2143289344 32), modf_float_~iptr.base=(_ bv2 32), modf_float_~iptr.offset=(_ bv0 32), modf_float_~ix~1=(_ bv2143289344 32), modf_float_~j0~0=(_ bv128 32), modf_float_~x=(_ NaN 8 24), |#NULL.base|=(_ bv0 32), |#NULL.offset|=(_ bv0 32), |modf_float_#in~iptr.base|=(_ bv2 32), |modf_float_#in~iptr.offset|=(_ bv0 32), |modf_float_#in~x|=(_ NaN 8 24), ~one_modf~0=(fp #b0 #b01111111 #b00000000000000000000000)] [?] goto; VAL [modf_float_~i0~0=(_ bv2143289344 32), modf_float_~iptr.base=(_ bv2 32), modf_float_~iptr.offset=(_ bv0 32), modf_float_~ix~1=(_ bv2143289344 32), modf_float_~j0~0=(_ bv128 32), modf_float_~x=(_ NaN 8 24), |#NULL.base|=(_ bv0 32), |#NULL.offset|=(_ bv0 32), |modf_float_#in~iptr.base|=(_ bv2 32), |modf_float_#in~iptr.offset|=(_ bv0 32), |modf_float_#in~x|=(_ NaN 8 24), ~one_modf~0=(fp #b0 #b01111111 #b00000000000000000000000)] [?] call ~#sf_u~3.base, ~#sf_u~3.offset := #Ultimate.alloc(4bv32);call write~intINTTYPE4(~bvand32(2147483648bv32, ~ix~1), ~#sf_u~3.base, ~#sf_u~3.offset, 4bv32);call #t~mem11 := read~intFLOATTYPE4(~#sf_u~3.base, ~#sf_u~3.offset, 4bv32);~x := #t~mem11;call write~intINTTYPE4(#t~union12, ~#sf_u~3.base, ~#sf_u~3.offset, 4bv32);havoc #t~mem11;havoc #t~union12;call ULTIMATE.dealloc(~#sf_u~3.base, ~#sf_u~3.offset);havoc ~#sf_u~3.base, ~#sf_u~3.offset; VAL [modf_float_~i0~0=(_ bv2143289344 32), modf_float_~iptr.base=(_ bv2 32), modf_float_~iptr.offset=(_ bv0 32), modf_float_~ix~1=(_ bv2143289344 32), modf_float_~j0~0=(_ bv128 32), modf_float_~x=(fp #b0 #b00000000 #b00000000000000000000000), |#NULL.base|=(_ bv0 32), |#NULL.offset|=(_ bv0 32), |modf_float_#in~iptr.base|=(_ bv2 32), |modf_float_#in~iptr.offset|=(_ bv0 32), |modf_float_#in~x|=(_ NaN 8 24), ~one_modf~0=(fp #b0 #b01111111 #b00000000000000000000000)] [?] goto; VAL [modf_float_~i0~0=(_ bv2143289344 32), modf_float_~iptr.base=(_ bv2 32), modf_float_~iptr.offset=(_ bv0 32), modf_float_~ix~1=(_ bv2143289344 32), modf_float_~j0~0=(_ bv128 32), modf_float_~x=(fp #b0 #b00000000 #b00000000000000000000000), |#NULL.base|=(_ bv0 32), |#NULL.offset|=(_ bv0 32), |modf_float_#in~iptr.base|=(_ bv2 32), |modf_float_#in~iptr.offset|=(_ bv0 32), |modf_float_#in~x|=(_ NaN 8 24), ~one_modf~0=(fp #b0 #b01111111 #b00000000000000000000000)] [?] #res := ~x; VAL [modf_float_~i0~0=(_ bv2143289344 32), modf_float_~iptr.base=(_ bv2 32), modf_float_~iptr.offset=(_ bv0 32), modf_float_~ix~1=(_ bv2143289344 32), modf_float_~j0~0=(_ bv128 32), modf_float_~x=(fp #b0 #b00000000 #b00000000000000000000000), |#NULL.base|=(_ bv0 32), |#NULL.offset|=(_ bv0 32), |modf_float_#in~iptr.base|=(_ bv2 32), |modf_float_#in~iptr.offset|=(_ bv0 32), |modf_float_#in~x|=(_ NaN 8 24), |modf_float_#res|=(fp #b0 #b00000000 #b00000000000000000000000), ~one_modf~0=(fp #b0 #b01111111 #b00000000000000000000000)] [?] assume true; VAL [modf_float_~i0~0=(_ bv2143289344 32), modf_float_~iptr.base=(_ bv2 32), modf_float_~iptr.offset=(_ bv0 32), modf_float_~ix~1=(_ bv2143289344 32), modf_float_~j0~0=(_ bv128 32), modf_float_~x=(fp #b0 #b00000000 #b00000000000000000000000), |#NULL.base|=(_ bv0 32), |#NULL.offset|=(_ bv0 32), |modf_float_#in~iptr.base|=(_ bv2 32), |modf_float_#in~iptr.offset|=(_ bv0 32), |modf_float_#in~x|=(_ NaN 8 24), |modf_float_#res|=(fp #b0 #b00000000 #b00000000000000000000000), ~one_modf~0=(fp #b0 #b01111111 #b00000000000000000000000)] [?] RET #133#return; VAL [main_~x~0=(_ NaN 8 24), |#NULL.base|=(_ bv0 32), |#NULL.offset|=(_ bv0 32), |main_#t~ret13|=(fp #b0 #b00000000 #b00000000000000000000000), |main_~#iptr~0.base|=(_ bv2 32), |main_~#iptr~0.offset|=(_ bv0 32), ~one_modf~0=(fp #b0 #b01111111 #b00000000000000000000000)] [?] ~res~0 := #t~ret13;havoc #t~ret13;call #t~mem14 := read~intFLOATTYPE4(~#iptr~0.base, ~#iptr~0.offset, 4bv32); VAL [main_~res~0=(fp #b0 #b00000000 #b00000000000000000000000), main_~x~0=(_ NaN 8 24), |#NULL.base|=(_ bv0 32), |#NULL.offset|=(_ bv0 32), |main_#t~mem14|=(_ NaN 8 24), |main_~#iptr~0.base|=(_ bv2 32), |main_~#iptr~0.offset|=(_ bv0 32), ~one_modf~0=(fp #b0 #b01111111 #b00000000000000000000000)] [?] CALL call #t~ret15 := isnan_float(#t~mem14); VAL [|#NULL.base|=(_ bv0 32), |#NULL.offset|=(_ bv0 32), |isnan_float_#in~x|=(_ NaN 8 24), ~one_modf~0=(fp #b0 #b01111111 #b00000000000000000000000)] [?] ~x := #in~x;#res := (if !~fp.eq~FLOAT(~x, ~x) then 1bv32 else 0bv32); VAL [isnan_float_~x=(_ NaN 8 24), |#NULL.base|=(_ bv0 32), |#NULL.offset|=(_ bv0 32), |isnan_float_#in~x|=(_ NaN 8 24), |isnan_float_#res|=(_ bv1 32), ~one_modf~0=(fp #b0 #b01111111 #b00000000000000000000000)] [?] assume true; VAL [isnan_float_~x=(_ NaN 8 24), |#NULL.base|=(_ bv0 32), |#NULL.offset|=(_ bv0 32), |isnan_float_#in~x|=(_ NaN 8 24), |isnan_float_#res|=(_ bv1 32), ~one_modf~0=(fp #b0 #b01111111 #b00000000000000000000000)] [?] RET #135#return; VAL [main_~res~0=(fp #b0 #b00000000 #b00000000000000000000000), main_~x~0=(_ NaN 8 24), |#NULL.base|=(_ bv0 32), |#NULL.offset|=(_ bv0 32), |main_#t~mem14|=(_ NaN 8 24), |main_#t~ret15|=(_ bv1 32), |main_~#iptr~0.base|=(_ bv2 32), |main_~#iptr~0.offset|=(_ bv0 32), ~one_modf~0=(fp #b0 #b01111111 #b00000000000000000000000)] [?] #t~short17 := 0bv32 != #t~ret15; VAL [main_~res~0=(fp #b0 #b00000000 #b00000000000000000000000), main_~x~0=(_ NaN 8 24), |#NULL.base|=(_ bv0 32), |#NULL.offset|=(_ bv0 32), |main_#t~mem14|=(_ NaN 8 24), |main_#t~ret15|=(_ bv1 32), |main_#t~short17|=true, |main_~#iptr~0.base|=(_ bv2 32), |main_~#iptr~0.offset|=(_ bv0 32), ~one_modf~0=(fp #b0 #b01111111 #b00000000000000000000000)] [?] assume #t~short17; VAL [main_~res~0=(fp #b0 #b00000000 #b00000000000000000000000), main_~x~0=(_ NaN 8 24), |#NULL.base|=(_ bv0 32), |#NULL.offset|=(_ bv0 32), |main_#t~mem14|=(_ NaN 8 24), |main_#t~ret15|=(_ bv1 32), |main_#t~short17|=true, |main_~#iptr~0.base|=(_ bv2 32), |main_~#iptr~0.offset|=(_ bv0 32), ~one_modf~0=(fp #b0 #b01111111 #b00000000000000000000000)] [?] CALL call #t~ret16 := isnan_float(~res~0); VAL [|#NULL.base|=(_ bv0 32), |#NULL.offset|=(_ bv0 32), |isnan_float_#in~x|=(fp #b0 #b00000000 #b00000000000000000000000), ~one_modf~0=(fp #b0 #b01111111 #b00000000000000000000000)] [?] ~x := #in~x;#res := (if !~fp.eq~FLOAT(~x, ~x) then 1bv32 else 0bv32); VAL [isnan_float_~x=(fp #b0 #b00000000 #b00000000000000000000000), |#NULL.base|=(_ bv0 32), |#NULL.offset|=(_ bv0 32), |isnan_float_#in~x|=(fp #b0 #b00000000 #b00000000000000000000000), |isnan_float_#res|=(_ bv0 32), ~one_modf~0=(fp #b0 #b01111111 #b00000000000000000000000)] [?] assume true; VAL [isnan_float_~x=(fp #b0 #b00000000 #b00000000000000000000000), |#NULL.base|=(_ bv0 32), |#NULL.offset|=(_ bv0 32), |isnan_float_#in~x|=(fp #b0 #b00000000 #b00000000000000000000000), |isnan_float_#res|=(_ bv0 32), ~one_modf~0=(fp #b0 #b01111111 #b00000000000000000000000)] [?] RET #137#return; VAL [main_~res~0=(fp #b0 #b00000000 #b00000000000000000000000), main_~x~0=(_ NaN 8 24), |#NULL.base|=(_ bv0 32), |#NULL.offset|=(_ bv0 32), |main_#t~mem14|=(_ NaN 8 24), |main_#t~ret15|=(_ bv1 32), |main_#t~ret16|=(_ bv0 32), |main_#t~short17|=true, |main_~#iptr~0.base|=(_ bv2 32), |main_~#iptr~0.offset|=(_ bv0 32), ~one_modf~0=(fp #b0 #b01111111 #b00000000000000000000000)] [?] #t~short17 := 0bv32 == #t~ret16; VAL [main_~res~0=(fp #b0 #b00000000 #b00000000000000000000000), main_~x~0=(_ NaN 8 24), |#NULL.base|=(_ bv0 32), |#NULL.offset|=(_ bv0 32), |main_#t~mem14|=(_ NaN 8 24), |main_#t~ret15|=(_ bv1 32), |main_#t~ret16|=(_ bv0 32), |main_#t~short17|=true, |main_~#iptr~0.base|=(_ bv2 32), |main_~#iptr~0.offset|=(_ bv0 32), ~one_modf~0=(fp #b0 #b01111111 #b00000000000000000000000)] [?] assume #t~short17;havoc #t~ret15;havoc #t~ret16;havoc #t~mem14;havoc #t~short17; VAL [main_~res~0=(fp #b0 #b00000000 #b00000000000000000000000), main_~x~0=(_ NaN 8 24), |#NULL.base|=(_ bv0 32), |#NULL.offset|=(_ bv0 32), |main_~#iptr~0.base|=(_ bv2 32), |main_~#iptr~0.offset|=(_ bv0 32), ~one_modf~0=(fp #b0 #b01111111 #b00000000000000000000000)] [?] assume !false; VAL [main_~res~0=(fp #b0 #b00000000 #b00000000000000000000000), main_~x~0=(_ NaN 8 24), |#NULL.base|=(_ bv0 32), |#NULL.offset|=(_ bv0 32), |main_~#iptr~0.base|=(_ bv2 32), |main_~#iptr~0.offset|=(_ bv0 32), ~one_modf~0=(fp #b0 #b01111111 #b00000000000000000000000)] [?] CALL call ULTIMATE.init(); VAL [#NULL.base=6bv32, #NULL.offset=5bv32, old(#NULL.base)=6bv32, old(#NULL.offset)=5bv32, old(~one_modf~0)=~fp~LONGDOUBLE(0bv1, 0bv8, 5bv23), ~one_modf~0=~fp~LONGDOUBLE(0bv1, 0bv8, 5bv23)] [?] #NULL.base, #NULL.offset := 0bv32, 0bv32; [?] #valid := #valid[0bv32 := 0bv1]; [L11] ~one_modf~0 := ~convertDOUBLEToFLOAT(~roundNearestTiesToEven, ~to_fp~DOUBLE(~roundNearestTiesToEven, 1.0)); VAL [#NULL.base=0bv32, #NULL.offset=0bv32, old(#NULL.base)=6bv32, old(#NULL.offset)=5bv32, old(~one_modf~0)=~fp~LONGDOUBLE(0bv1, 0bv8, 5bv23), ~one_modf~0=~fp~LONGDOUBLE(0bv1, 127bv8, 0bv23)] [?] ensures true; VAL [#NULL.base=0bv32, #NULL.offset=0bv32, old(#NULL.base)=6bv32, old(#NULL.offset)=5bv32, old(~one_modf~0)=~fp~LONGDOUBLE(0bv1, 0bv8, 5bv23), ~one_modf~0=~fp~LONGDOUBLE(0bv1, 127bv8, 0bv23)] [?] RET call ULTIMATE.init(); VAL [#NULL.base=0bv32, #NULL.offset=0bv32, ~one_modf~0=~fp~LONGDOUBLE(0bv1, 127bv8, 0bv23)] [?] CALL call #t~ret18 := main(); VAL [#NULL.base=0bv32, #NULL.offset=0bv32, ~one_modf~0=~fp~LONGDOUBLE(0bv1, 127bv8, 0bv23)] [L80] ~x~0 := ~fp.div~FLOAT(~roundNearestTiesToEven, ~Pluszero~FLOAT(), ~Pluszero~FLOAT()); [L81] call ~#iptr~0.base, ~#iptr~0.offset := #Ultimate.alloc(4bv32); VAL [#NULL.base=0bv32, #NULL.offset=0bv32, ~#iptr~0.base=2bv32, ~#iptr~0.offset=0bv32, ~one_modf~0=~fp~LONGDOUBLE(0bv1, 127bv8, 0bv23), ~x~0=~NaN~LONGDOUBLE()] [L82] CALL call #t~ret13 := modf_float(~x~0, ~#iptr~0.base, ~#iptr~0.offset); VAL [#in~iptr.base=2bv32, #in~iptr.offset=0bv32, #in~x=~NaN~LONGDOUBLE(), #NULL.base=0bv32, #NULL.offset=0bv32, ~one_modf~0=~fp~LONGDOUBLE(0bv1, 127bv8, 0bv23)] [L13-L70] ~x := #in~x; [L13-L70] ~iptr.base, ~iptr.offset := #in~iptr.base, #in~iptr.offset; [L14] havoc ~i0~0; [L14] havoc ~j0~0; [L15] havoc ~i~0; VAL [#in~iptr.base=2bv32, #in~iptr.offset=0bv32, #in~x=~NaN~LONGDOUBLE(), #NULL.base=0bv32, #NULL.offset=0bv32, ~iptr.base=2bv32, ~iptr.offset=0bv32, ~one_modf~0=~fp~LONGDOUBLE(0bv1, 127bv8, 0bv23), ~x=~NaN~LONGDOUBLE()] [L17] call ~#gf_u~0.base, ~#gf_u~0.offset := #Ultimate.alloc(4bv32); [L18] call write~intFLOATTYPE4(~x, ~#gf_u~0.base, ~#gf_u~0.offset, 4bv32); [L19] call #t~mem0 := read~intINTTYPE4(~#gf_u~0.base, ~#gf_u~0.offset, 4bv32); [L19] ~i0~0 := #t~mem0; [L19] call write~intFLOATTYPE4(#t~union1, ~#gf_u~0.base, ~#gf_u~0.offset, 4bv32); [L19] havoc #t~mem0; [L19] havoc #t~union1; [L17] call ULTIMATE.dealloc(~#gf_u~0.base, ~#gf_u~0.offset); [L17] havoc ~#gf_u~0.base, ~#gf_u~0.offset; VAL [#in~iptr.base=2bv32, #in~iptr.offset=0bv32, #in~x=~NaN~LONGDOUBLE(), #NULL.base=0bv32, #NULL.offset=0bv32, ~i0~0=2143289344bv32, ~iptr.base=2bv32, ~iptr.offset=0bv32, ~one_modf~0=~fp~LONGDOUBLE(0bv1, 127bv8, 0bv23), ~x=~NaN~LONGDOUBLE()] [L21] ~j0~0 := ~bvsub32(~bvand32(255bv32, ~bvashr32(~i0~0, 23bv32)), 127bv32); VAL [#in~iptr.base=2bv32, #in~iptr.offset=0bv32, #in~x=~NaN~LONGDOUBLE(), #NULL.base=0bv32, #NULL.offset=0bv32, ~i0~0=2143289344bv32, ~iptr.base=2bv32, ~iptr.offset=0bv32, ~j0~0=128bv32, ~one_modf~0=~fp~LONGDOUBLE(0bv1, 127bv8, 0bv23), ~x=~NaN~LONGDOUBLE()] [L22-L69] assume !~bvslt32(~j0~0, 23bv32); [L56] havoc ~ix~1; [L57] call write~intFLOATTYPE4(~fp.mul~FLOAT(~roundNearestTiesToEven, ~x, ~one_modf~0), ~iptr.base, ~iptr.offset, 4bv32); VAL [#in~iptr.base=2bv32, #in~iptr.offset=0bv32, #in~x=~NaN~LONGDOUBLE(), #NULL.base=0bv32, #NULL.offset=0bv32, ~i0~0=2143289344bv32, ~iptr.base=2bv32, ~iptr.offset=0bv32, ~j0~0=128bv32, ~one_modf~0=~fp~LONGDOUBLE(0bv1, 127bv8, 0bv23), ~x=~NaN~LONGDOUBLE()] [L59] call ~#gf_u~2.base, ~#gf_u~2.offset := #Ultimate.alloc(4bv32); [L60] call write~intFLOATTYPE4(~x, ~#gf_u~2.base, ~#gf_u~2.offset, 4bv32); [L61] call #t~mem9 := read~intINTTYPE4(~#gf_u~2.base, ~#gf_u~2.offset, 4bv32); [L61] ~ix~1 := #t~mem9; [L61] call write~intFLOATTYPE4(#t~union10, ~#gf_u~2.base, ~#gf_u~2.offset, 4bv32); [L61] havoc #t~mem9; [L61] havoc #t~union10; [L59] call ULTIMATE.dealloc(~#gf_u~2.base, ~#gf_u~2.offset); [L59] havoc ~#gf_u~2.base, ~#gf_u~2.offset; VAL [#in~iptr.base=2bv32, #in~iptr.offset=0bv32, #in~x=~NaN~LONGDOUBLE(), #NULL.base=0bv32, #NULL.offset=0bv32, ~i0~0=2143289344bv32, ~iptr.base=2bv32, ~iptr.offset=0bv32, ~ix~1=2143289344bv32, ~j0~0=128bv32, ~one_modf~0=~fp~LONGDOUBLE(0bv1, 127bv8, 0bv23), ~x=~NaN~LONGDOUBLE()] [L64] call ~#sf_u~3.base, ~#sf_u~3.offset := #Ultimate.alloc(4bv32); [L65] call write~intINTTYPE4(~bvand32(2147483648bv32, ~ix~1), ~#sf_u~3.base, ~#sf_u~3.offset, 4bv32); [L66] call #t~mem11 := read~intFLOATTYPE4(~#sf_u~3.base, ~#sf_u~3.offset, 4bv32); [L66] ~x := #t~mem11; [L66] call write~intINTTYPE4(#t~union12, ~#sf_u~3.base, ~#sf_u~3.offset, 4bv32); [L66] havoc #t~mem11; [L66] havoc #t~union12; [L64] call ULTIMATE.dealloc(~#sf_u~3.base, ~#sf_u~3.offset); [L64] havoc ~#sf_u~3.base, ~#sf_u~3.offset; VAL [#in~iptr.base=2bv32, #in~iptr.offset=0bv32, #in~x=~NaN~LONGDOUBLE(), #NULL.base=0bv32, #NULL.offset=0bv32, ~i0~0=2143289344bv32, ~iptr.base=2bv32, ~iptr.offset=0bv32, ~ix~1=2143289344bv32, ~j0~0=128bv32, ~one_modf~0=~fp~LONGDOUBLE(0bv1, 127bv8, 0bv23), ~x=~fp~LONGDOUBLE(0bv1, 0bv8, 0bv23)] [L68] #res := ~x; VAL [#in~iptr.base=2bv32, #in~iptr.offset=0bv32, #in~x=~NaN~LONGDOUBLE(), #NULL.base=0bv32, #NULL.offset=0bv32, #res=~fp~LONGDOUBLE(0bv1, 0bv8, 0bv23), ~i0~0=2143289344bv32, ~iptr.base=2bv32, ~iptr.offset=0bv32, ~ix~1=2143289344bv32, ~j0~0=128bv32, ~one_modf~0=~fp~LONGDOUBLE(0bv1, 127bv8, 0bv23), ~x=~fp~LONGDOUBLE(0bv1, 0bv8, 0bv23)] [L13-L70] ensures true; VAL [#in~iptr.base=2bv32, #in~iptr.offset=0bv32, #in~x=~NaN~LONGDOUBLE(), #NULL.base=0bv32, #NULL.offset=0bv32, #res=~fp~LONGDOUBLE(0bv1, 0bv8, 0bv23), ~i0~0=2143289344bv32, ~iptr.base=2bv32, ~iptr.offset=0bv32, ~ix~1=2143289344bv32, ~j0~0=128bv32, ~one_modf~0=~fp~LONGDOUBLE(0bv1, 127bv8, 0bv23), ~x=~fp~LONGDOUBLE(0bv1, 0bv8, 0bv23)] [L82] RET call #t~ret13 := modf_float(~x~0, ~#iptr~0.base, ~#iptr~0.offset); VAL [#NULL.base=0bv32, #NULL.offset=0bv32, #t~ret13=~fp~LONGDOUBLE(0bv1, 0bv8, 0bv23), ~#iptr~0.base=2bv32, ~#iptr~0.offset=0bv32, ~one_modf~0=~fp~LONGDOUBLE(0bv1, 127bv8, 0bv23), ~x~0=~NaN~LONGDOUBLE()] [L82] ~res~0 := #t~ret13; [L82] havoc #t~ret13; [L85] call #t~mem14 := read~intFLOATTYPE4(~#iptr~0.base, ~#iptr~0.offset, 4bv32); VAL [#NULL.base=0bv32, #NULL.offset=0bv32, #t~mem14=~NaN~LONGDOUBLE(), ~#iptr~0.base=2bv32, ~#iptr~0.offset=0bv32, ~one_modf~0=~fp~LONGDOUBLE(0bv1, 127bv8, 0bv23), ~res~0=~fp~LONGDOUBLE(0bv1, 0bv8, 0bv23), ~x~0=~NaN~LONGDOUBLE()] [L85] CALL call #t~ret15 := isnan_float(#t~mem14); VAL [#in~x=~NaN~LONGDOUBLE(), #NULL.base=0bv32, #NULL.offset=0bv32, ~one_modf~0=~fp~LONGDOUBLE(0bv1, 127bv8, 0bv23)] [L73] ~x := #in~x; [L73] #res := (if !~fp.eq~FLOAT(~x, ~x) then 1bv32 else 0bv32); VAL [#in~x=~NaN~LONGDOUBLE(), #NULL.base=0bv32, #NULL.offset=0bv32, #res=1bv32, ~one_modf~0=~fp~LONGDOUBLE(0bv1, 127bv8, 0bv23), ~x=~NaN~LONGDOUBLE()] [L73] ensures true; VAL [#in~x=~NaN~LONGDOUBLE(), #NULL.base=0bv32, #NULL.offset=0bv32, #res=1bv32, ~one_modf~0=~fp~LONGDOUBLE(0bv1, 127bv8, 0bv23), ~x=~NaN~LONGDOUBLE()] [L85] RET call #t~ret15 := isnan_float(#t~mem14); VAL [#NULL.base=0bv32, #NULL.offset=0bv32, #t~mem14=~NaN~LONGDOUBLE(), #t~ret15=1bv32, ~#iptr~0.base=2bv32, ~#iptr~0.offset=0bv32, ~one_modf~0=~fp~LONGDOUBLE(0bv1, 127bv8, 0bv23), ~res~0=~fp~LONGDOUBLE(0bv1, 0bv8, 0bv23), ~x~0=~NaN~LONGDOUBLE()] [L85] #t~short17 := 0bv32 != #t~ret15; VAL [#NULL.base=0bv32, #NULL.offset=0bv32, #t~mem14=~NaN~LONGDOUBLE(), #t~ret15=1bv32, #t~short17=true, ~#iptr~0.base=2bv32, ~#iptr~0.offset=0bv32, ~one_modf~0=~fp~LONGDOUBLE(0bv1, 127bv8, 0bv23), ~res~0=~fp~LONGDOUBLE(0bv1, 0bv8, 0bv23), ~x~0=~NaN~LONGDOUBLE()] [L85] assume #t~short17; VAL [#NULL.base=0bv32, #NULL.offset=0bv32, #t~mem14=~NaN~LONGDOUBLE(), #t~ret15=1bv32, #t~short17=true, ~#iptr~0.base=2bv32, ~#iptr~0.offset=0bv32, ~one_modf~0=~fp~LONGDOUBLE(0bv1, 127bv8, 0bv23), ~res~0=~fp~LONGDOUBLE(0bv1, 0bv8, 0bv23), ~x~0=~NaN~LONGDOUBLE()] [L85] CALL call #t~ret16 := isnan_float(~res~0); VAL [#in~x=~fp~LONGDOUBLE(0bv1, 0bv8, 0bv23), #NULL.base=0bv32, #NULL.offset=0bv32, ~one_modf~0=~fp~LONGDOUBLE(0bv1, 127bv8, 0bv23)] [L73] ~x := #in~x; [L73] #res := (if !~fp.eq~FLOAT(~x, ~x) then 1bv32 else 0bv32); VAL [#in~x=~fp~LONGDOUBLE(0bv1, 0bv8, 0bv23), #NULL.base=0bv32, #NULL.offset=0bv32, #res=0bv32, ~one_modf~0=~fp~LONGDOUBLE(0bv1, 127bv8, 0bv23), ~x=~fp~LONGDOUBLE(0bv1, 0bv8, 0bv23)] [L73] ensures true; VAL [#in~x=~fp~LONGDOUBLE(0bv1, 0bv8, 0bv23), #NULL.base=0bv32, #NULL.offset=0bv32, #res=0bv32, ~one_modf~0=~fp~LONGDOUBLE(0bv1, 127bv8, 0bv23), ~x=~fp~LONGDOUBLE(0bv1, 0bv8, 0bv23)] [L85] RET call #t~ret16 := isnan_float(~res~0); VAL [#NULL.base=0bv32, #NULL.offset=0bv32, #t~mem14=~NaN~LONGDOUBLE(), #t~ret15=1bv32, #t~ret16=0bv32, #t~short17=true, ~#iptr~0.base=2bv32, ~#iptr~0.offset=0bv32, ~one_modf~0=~fp~LONGDOUBLE(0bv1, 127bv8, 0bv23), ~res~0=~fp~LONGDOUBLE(0bv1, 0bv8, 0bv23), ~x~0=~NaN~LONGDOUBLE()] [L85] #t~short17 := 0bv32 == #t~ret16; VAL [#NULL.base=0bv32, #NULL.offset=0bv32, #t~mem14=~NaN~LONGDOUBLE(), #t~ret15=1bv32, #t~ret16=0bv32, #t~short17=true, ~#iptr~0.base=2bv32, ~#iptr~0.offset=0bv32, ~one_modf~0=~fp~LONGDOUBLE(0bv1, 127bv8, 0bv23), ~res~0=~fp~LONGDOUBLE(0bv1, 0bv8, 0bv23), ~x~0=~NaN~LONGDOUBLE()] [L85-L88] assume #t~short17; [L85] havoc #t~ret15; [L85] havoc #t~ret16; [L85] havoc #t~mem14; [L85] havoc #t~short17; VAL [#NULL.base=0bv32, #NULL.offset=0bv32, ~#iptr~0.base=2bv32, ~#iptr~0.offset=0bv32, ~one_modf~0=~fp~LONGDOUBLE(0bv1, 127bv8, 0bv23), ~res~0=~fp~LONGDOUBLE(0bv1, 0bv8, 0bv23), ~x~0=~NaN~LONGDOUBLE()] [L86] assert false; VAL [#NULL.base=0bv32, #NULL.offset=0bv32, ~#iptr~0.base=2bv32, ~#iptr~0.offset=0bv32, ~one_modf~0=~fp~LONGDOUBLE(0bv1, 127bv8, 0bv23), ~res~0=~fp~LONGDOUBLE(0bv1, 0bv8, 0bv23), ~x~0=~NaN~LONGDOUBLE()] ----- ----- class de.uni_freiburg.informatik.ultimate.boogie.preprocessor.BoogiePreprocessorBacktranslator [?] CALL call ULTIMATE.init(); VAL [#NULL.base=6bv32, #NULL.offset=5bv32, old(#NULL.base)=6bv32, old(#NULL.offset)=5bv32, old(~one_modf~0)=~fp~LONGDOUBLE(0bv1, 0bv8, 5bv23), ~one_modf~0=~fp~LONGDOUBLE(0bv1, 0bv8, 5bv23)] [?] #NULL.base, #NULL.offset := 0bv32, 0bv32; [?] #valid := #valid[0bv32 := 0bv1]; [L11] ~one_modf~0 := ~convertDOUBLEToFLOAT(~roundNearestTiesToEven, ~to_fp~DOUBLE(~roundNearestTiesToEven, 1.0)); VAL [#NULL.base=0bv32, #NULL.offset=0bv32, old(#NULL.base)=6bv32, old(#NULL.offset)=5bv32, old(~one_modf~0)=~fp~LONGDOUBLE(0bv1, 0bv8, 5bv23), ~one_modf~0=~fp~LONGDOUBLE(0bv1, 127bv8, 0bv23)] [?] ensures true; VAL [#NULL.base=0bv32, #NULL.offset=0bv32, old(#NULL.base)=6bv32, old(#NULL.offset)=5bv32, old(~one_modf~0)=~fp~LONGDOUBLE(0bv1, 0bv8, 5bv23), ~one_modf~0=~fp~LONGDOUBLE(0bv1, 127bv8, 0bv23)] [?] RET call ULTIMATE.init(); VAL [#NULL.base=0bv32, #NULL.offset=0bv32, ~one_modf~0=~fp~LONGDOUBLE(0bv1, 127bv8, 0bv23)] [?] CALL call #t~ret18 := main(); VAL [#NULL.base=0bv32, #NULL.offset=0bv32, ~one_modf~0=~fp~LONGDOUBLE(0bv1, 127bv8, 0bv23)] [L80] ~x~0 := ~fp.div~FLOAT(~roundNearestTiesToEven, ~Pluszero~FLOAT(), ~Pluszero~FLOAT()); [L81] call ~#iptr~0.base, ~#iptr~0.offset := #Ultimate.alloc(4bv32); VAL [#NULL.base=0bv32, #NULL.offset=0bv32, ~#iptr~0.base=2bv32, ~#iptr~0.offset=0bv32, ~one_modf~0=~fp~LONGDOUBLE(0bv1, 127bv8, 0bv23), ~x~0=~NaN~LONGDOUBLE()] [L82] CALL call #t~ret13 := modf_float(~x~0, ~#iptr~0.base, ~#iptr~0.offset); VAL [#in~iptr.base=2bv32, #in~iptr.offset=0bv32, #in~x=~NaN~LONGDOUBLE(), #NULL.base=0bv32, #NULL.offset=0bv32, ~one_modf~0=~fp~LONGDOUBLE(0bv1, 127bv8, 0bv23)] [L13-L70] ~x := #in~x; [L13-L70] ~iptr.base, ~iptr.offset := #in~iptr.base, #in~iptr.offset; [L14] havoc ~i0~0; [L14] havoc ~j0~0; [L15] havoc ~i~0; VAL [#in~iptr.base=2bv32, #in~iptr.offset=0bv32, #in~x=~NaN~LONGDOUBLE(), #NULL.base=0bv32, #NULL.offset=0bv32, ~iptr.base=2bv32, ~iptr.offset=0bv32, ~one_modf~0=~fp~LONGDOUBLE(0bv1, 127bv8, 0bv23), ~x=~NaN~LONGDOUBLE()] [L17] call ~#gf_u~0.base, ~#gf_u~0.offset := #Ultimate.alloc(4bv32); [L18] call write~intFLOATTYPE4(~x, ~#gf_u~0.base, ~#gf_u~0.offset, 4bv32); [L19] call #t~mem0 := read~intINTTYPE4(~#gf_u~0.base, ~#gf_u~0.offset, 4bv32); [L19] ~i0~0 := #t~mem0; [L19] call write~intFLOATTYPE4(#t~union1, ~#gf_u~0.base, ~#gf_u~0.offset, 4bv32); [L19] havoc #t~mem0; [L19] havoc #t~union1; [L17] call ULTIMATE.dealloc(~#gf_u~0.base, ~#gf_u~0.offset); [L17] havoc ~#gf_u~0.base, ~#gf_u~0.offset; VAL [#in~iptr.base=2bv32, #in~iptr.offset=0bv32, #in~x=~NaN~LONGDOUBLE(), #NULL.base=0bv32, #NULL.offset=0bv32, ~i0~0=2143289344bv32, ~iptr.base=2bv32, ~iptr.offset=0bv32, ~one_modf~0=~fp~LONGDOUBLE(0bv1, 127bv8, 0bv23), ~x=~NaN~LONGDOUBLE()] [L21] ~j0~0 := ~bvsub32(~bvand32(255bv32, ~bvashr32(~i0~0, 23bv32)), 127bv32); VAL [#in~iptr.base=2bv32, #in~iptr.offset=0bv32, #in~x=~NaN~LONGDOUBLE(), #NULL.base=0bv32, #NULL.offset=0bv32, ~i0~0=2143289344bv32, ~iptr.base=2bv32, ~iptr.offset=0bv32, ~j0~0=128bv32, ~one_modf~0=~fp~LONGDOUBLE(0bv1, 127bv8, 0bv23), ~x=~NaN~LONGDOUBLE()] [L22-L69] assume !~bvslt32(~j0~0, 23bv32); [L56] havoc ~ix~1; [L57] call write~intFLOATTYPE4(~fp.mul~FLOAT(~roundNearestTiesToEven, ~x, ~one_modf~0), ~iptr.base, ~iptr.offset, 4bv32); VAL [#in~iptr.base=2bv32, #in~iptr.offset=0bv32, #in~x=~NaN~LONGDOUBLE(), #NULL.base=0bv32, #NULL.offset=0bv32, ~i0~0=2143289344bv32, ~iptr.base=2bv32, ~iptr.offset=0bv32, ~j0~0=128bv32, ~one_modf~0=~fp~LONGDOUBLE(0bv1, 127bv8, 0bv23), ~x=~NaN~LONGDOUBLE()] [L59] call ~#gf_u~2.base, ~#gf_u~2.offset := #Ultimate.alloc(4bv32); [L60] call write~intFLOATTYPE4(~x, ~#gf_u~2.base, ~#gf_u~2.offset, 4bv32); [L61] call #t~mem9 := read~intINTTYPE4(~#gf_u~2.base, ~#gf_u~2.offset, 4bv32); [L61] ~ix~1 := #t~mem9; [L61] call write~intFLOATTYPE4(#t~union10, ~#gf_u~2.base, ~#gf_u~2.offset, 4bv32); [L61] havoc #t~mem9; [L61] havoc #t~union10; [L59] call ULTIMATE.dealloc(~#gf_u~2.base, ~#gf_u~2.offset); [L59] havoc ~#gf_u~2.base, ~#gf_u~2.offset; VAL [#in~iptr.base=2bv32, #in~iptr.offset=0bv32, #in~x=~NaN~LONGDOUBLE(), #NULL.base=0bv32, #NULL.offset=0bv32, ~i0~0=2143289344bv32, ~iptr.base=2bv32, ~iptr.offset=0bv32, ~ix~1=2143289344bv32, ~j0~0=128bv32, ~one_modf~0=~fp~LONGDOUBLE(0bv1, 127bv8, 0bv23), ~x=~NaN~LONGDOUBLE()] [L64] call ~#sf_u~3.base, ~#sf_u~3.offset := #Ultimate.alloc(4bv32); [L65] call write~intINTTYPE4(~bvand32(2147483648bv32, ~ix~1), ~#sf_u~3.base, ~#sf_u~3.offset, 4bv32); [L66] call #t~mem11 := read~intFLOATTYPE4(~#sf_u~3.base, ~#sf_u~3.offset, 4bv32); [L66] ~x := #t~mem11; [L66] call write~intINTTYPE4(#t~union12, ~#sf_u~3.base, ~#sf_u~3.offset, 4bv32); [L66] havoc #t~mem11; [L66] havoc #t~union12; [L64] call ULTIMATE.dealloc(~#sf_u~3.base, ~#sf_u~3.offset); [L64] havoc ~#sf_u~3.base, ~#sf_u~3.offset; VAL [#in~iptr.base=2bv32, #in~iptr.offset=0bv32, #in~x=~NaN~LONGDOUBLE(), #NULL.base=0bv32, #NULL.offset=0bv32, ~i0~0=2143289344bv32, ~iptr.base=2bv32, ~iptr.offset=0bv32, ~ix~1=2143289344bv32, ~j0~0=128bv32, ~one_modf~0=~fp~LONGDOUBLE(0bv1, 127bv8, 0bv23), ~x=~fp~LONGDOUBLE(0bv1, 0bv8, 0bv23)] [L68] #res := ~x; VAL [#in~iptr.base=2bv32, #in~iptr.offset=0bv32, #in~x=~NaN~LONGDOUBLE(), #NULL.base=0bv32, #NULL.offset=0bv32, #res=~fp~LONGDOUBLE(0bv1, 0bv8, 0bv23), ~i0~0=2143289344bv32, ~iptr.base=2bv32, ~iptr.offset=0bv32, ~ix~1=2143289344bv32, ~j0~0=128bv32, ~one_modf~0=~fp~LONGDOUBLE(0bv1, 127bv8, 0bv23), ~x=~fp~LONGDOUBLE(0bv1, 0bv8, 0bv23)] [L13-L70] ensures true; VAL [#in~iptr.base=2bv32, #in~iptr.offset=0bv32, #in~x=~NaN~LONGDOUBLE(), #NULL.base=0bv32, #NULL.offset=0bv32, #res=~fp~LONGDOUBLE(0bv1, 0bv8, 0bv23), ~i0~0=2143289344bv32, ~iptr.base=2bv32, ~iptr.offset=0bv32, ~ix~1=2143289344bv32, ~j0~0=128bv32, ~one_modf~0=~fp~LONGDOUBLE(0bv1, 127bv8, 0bv23), ~x=~fp~LONGDOUBLE(0bv1, 0bv8, 0bv23)] [L82] RET call #t~ret13 := modf_float(~x~0, ~#iptr~0.base, ~#iptr~0.offset); VAL [#NULL.base=0bv32, #NULL.offset=0bv32, #t~ret13=~fp~LONGDOUBLE(0bv1, 0bv8, 0bv23), ~#iptr~0.base=2bv32, ~#iptr~0.offset=0bv32, ~one_modf~0=~fp~LONGDOUBLE(0bv1, 127bv8, 0bv23), ~x~0=~NaN~LONGDOUBLE()] [L82] ~res~0 := #t~ret13; [L82] havoc #t~ret13; [L85] call #t~mem14 := read~intFLOATTYPE4(~#iptr~0.base, ~#iptr~0.offset, 4bv32); VAL [#NULL.base=0bv32, #NULL.offset=0bv32, #t~mem14=~NaN~LONGDOUBLE(), ~#iptr~0.base=2bv32, ~#iptr~0.offset=0bv32, ~one_modf~0=~fp~LONGDOUBLE(0bv1, 127bv8, 0bv23), ~res~0=~fp~LONGDOUBLE(0bv1, 0bv8, 0bv23), ~x~0=~NaN~LONGDOUBLE()] [L85] CALL call #t~ret15 := isnan_float(#t~mem14); VAL [#in~x=~NaN~LONGDOUBLE(), #NULL.base=0bv32, #NULL.offset=0bv32, ~one_modf~0=~fp~LONGDOUBLE(0bv1, 127bv8, 0bv23)] [L73] ~x := #in~x; [L73] #res := (if !~fp.eq~FLOAT(~x, ~x) then 1bv32 else 0bv32); VAL [#in~x=~NaN~LONGDOUBLE(), #NULL.base=0bv32, #NULL.offset=0bv32, #res=1bv32, ~one_modf~0=~fp~LONGDOUBLE(0bv1, 127bv8, 0bv23), ~x=~NaN~LONGDOUBLE()] [L73] ensures true; VAL [#in~x=~NaN~LONGDOUBLE(), #NULL.base=0bv32, #NULL.offset=0bv32, #res=1bv32, ~one_modf~0=~fp~LONGDOUBLE(0bv1, 127bv8, 0bv23), ~x=~NaN~LONGDOUBLE()] [L85] RET call #t~ret15 := isnan_float(#t~mem14); VAL [#NULL.base=0bv32, #NULL.offset=0bv32, #t~mem14=~NaN~LONGDOUBLE(), #t~ret15=1bv32, ~#iptr~0.base=2bv32, ~#iptr~0.offset=0bv32, ~one_modf~0=~fp~LONGDOUBLE(0bv1, 127bv8, 0bv23), ~res~0=~fp~LONGDOUBLE(0bv1, 0bv8, 0bv23), ~x~0=~NaN~LONGDOUBLE()] [L85] #t~short17 := 0bv32 != #t~ret15; VAL [#NULL.base=0bv32, #NULL.offset=0bv32, #t~mem14=~NaN~LONGDOUBLE(), #t~ret15=1bv32, #t~short17=true, ~#iptr~0.base=2bv32, ~#iptr~0.offset=0bv32, ~one_modf~0=~fp~LONGDOUBLE(0bv1, 127bv8, 0bv23), ~res~0=~fp~LONGDOUBLE(0bv1, 0bv8, 0bv23), ~x~0=~NaN~LONGDOUBLE()] [L85] assume #t~short17; VAL [#NULL.base=0bv32, #NULL.offset=0bv32, #t~mem14=~NaN~LONGDOUBLE(), #t~ret15=1bv32, #t~short17=true, ~#iptr~0.base=2bv32, ~#iptr~0.offset=0bv32, ~one_modf~0=~fp~LONGDOUBLE(0bv1, 127bv8, 0bv23), ~res~0=~fp~LONGDOUBLE(0bv1, 0bv8, 0bv23), ~x~0=~NaN~LONGDOUBLE()] [L85] CALL call #t~ret16 := isnan_float(~res~0); VAL [#in~x=~fp~LONGDOUBLE(0bv1, 0bv8, 0bv23), #NULL.base=0bv32, #NULL.offset=0bv32, ~one_modf~0=~fp~LONGDOUBLE(0bv1, 127bv8, 0bv23)] [L73] ~x := #in~x; [L73] #res := (if !~fp.eq~FLOAT(~x, ~x) then 1bv32 else 0bv32); VAL [#in~x=~fp~LONGDOUBLE(0bv1, 0bv8, 0bv23), #NULL.base=0bv32, #NULL.offset=0bv32, #res=0bv32, ~one_modf~0=~fp~LONGDOUBLE(0bv1, 127bv8, 0bv23), ~x=~fp~LONGDOUBLE(0bv1, 0bv8, 0bv23)] [L73] ensures true; VAL [#in~x=~fp~LONGDOUBLE(0bv1, 0bv8, 0bv23), #NULL.base=0bv32, #NULL.offset=0bv32, #res=0bv32, ~one_modf~0=~fp~LONGDOUBLE(0bv1, 127bv8, 0bv23), ~x=~fp~LONGDOUBLE(0bv1, 0bv8, 0bv23)] [L85] RET call #t~ret16 := isnan_float(~res~0); VAL [#NULL.base=0bv32, #NULL.offset=0bv32, #t~mem14=~NaN~LONGDOUBLE(), #t~ret15=1bv32, #t~ret16=0bv32, #t~short17=true, ~#iptr~0.base=2bv32, ~#iptr~0.offset=0bv32, ~one_modf~0=~fp~LONGDOUBLE(0bv1, 127bv8, 0bv23), ~res~0=~fp~LONGDOUBLE(0bv1, 0bv8, 0bv23), ~x~0=~NaN~LONGDOUBLE()] [L85] #t~short17 := 0bv32 == #t~ret16; VAL [#NULL.base=0bv32, #NULL.offset=0bv32, #t~mem14=~NaN~LONGDOUBLE(), #t~ret15=1bv32, #t~ret16=0bv32, #t~short17=true, ~#iptr~0.base=2bv32, ~#iptr~0.offset=0bv32, ~one_modf~0=~fp~LONGDOUBLE(0bv1, 127bv8, 0bv23), ~res~0=~fp~LONGDOUBLE(0bv1, 0bv8, 0bv23), ~x~0=~NaN~LONGDOUBLE()] [L85-L88] assume #t~short17; [L85] havoc #t~ret15; [L85] havoc #t~ret16; [L85] havoc #t~mem14; [L85] havoc #t~short17; VAL [#NULL.base=0bv32, #NULL.offset=0bv32, ~#iptr~0.base=2bv32, ~#iptr~0.offset=0bv32, ~one_modf~0=~fp~LONGDOUBLE(0bv1, 127bv8, 0bv23), ~res~0=~fp~LONGDOUBLE(0bv1, 0bv8, 0bv23), ~x~0=~NaN~LONGDOUBLE()] [L86] assert false; VAL [#NULL.base=0bv32, #NULL.offset=0bv32, ~#iptr~0.base=2bv32, ~#iptr~0.offset=0bv32, ~one_modf~0=~fp~LONGDOUBLE(0bv1, 127bv8, 0bv23), ~res~0=~fp~LONGDOUBLE(0bv1, 0bv8, 0bv23), ~x~0=~NaN~LONGDOUBLE()] [?] CALL call ULTIMATE.init(); VAL [#NULL!base=6bv32, #NULL!offset=5bv32, old(#NULL!base)=6bv32, old(#NULL!offset)=5bv32, old(~one_modf~0)=~fp~LONGDOUBLE(0bv1, 0bv8, 5bv23), ~one_modf~0=~fp~LONGDOUBLE(0bv1, 0bv8, 5bv23)] [?] #NULL := { base: 0bv32, offset: 0bv32 }; [?] #valid[0bv32] := 0bv1; [L11] ~one_modf~0 := ~convertDOUBLEToFLOAT(~roundNearestTiesToEven, ~to_fp~DOUBLE(~roundNearestTiesToEven, 1.0)); VAL [#NULL!base=0bv32, #NULL!offset=0bv32, old(#NULL!base)=6bv32, old(#NULL!offset)=5bv32, old(~one_modf~0)=~fp~LONGDOUBLE(0bv1, 0bv8, 5bv23), ~one_modf~0=~fp~LONGDOUBLE(0bv1, 127bv8, 0bv23)] [?] RET call ULTIMATE.init(); VAL [#NULL!base=0bv32, #NULL!offset=0bv32, ~one_modf~0=~fp~LONGDOUBLE(0bv1, 127bv8, 0bv23)] [?] CALL call #t~ret18 := main(); VAL [#NULL!base=0bv32, #NULL!offset=0bv32, ~one_modf~0=~fp~LONGDOUBLE(0bv1, 127bv8, 0bv23)] [L80] ~x~0 := ~fp.div~FLOAT(~roundNearestTiesToEven, ~Pluszero~FLOAT(), ~Pluszero~FLOAT()); [L81] FCALL call ~#iptr~0 := #Ultimate.alloc(4bv32); VAL [#NULL!base=0bv32, #NULL!offset=0bv32, ~#iptr~0!base=2bv32, ~#iptr~0!offset=0bv32, ~one_modf~0=~fp~LONGDOUBLE(0bv1, 127bv8, 0bv23), ~x~0=~NaN~LONGDOUBLE()] [L82] CALL call #t~ret13 := modf_float(~x~0, ~#iptr~0); VAL [#in~iptr!base=2bv32, #in~iptr!offset=0bv32, #in~x=~NaN~LONGDOUBLE(), #NULL!base=0bv32, #NULL!offset=0bv32, ~one_modf~0=~fp~LONGDOUBLE(0bv1, 127bv8, 0bv23)] [L13-L70] ~x := #in~x; [L13-L70] ~iptr := #in~iptr; [L14] havoc ~i0~0; [L14] havoc ~j0~0; [L15] havoc ~i~0; VAL [#in~iptr!base=2bv32, #in~iptr!offset=0bv32, #in~x=~NaN~LONGDOUBLE(), #NULL!base=0bv32, #NULL!offset=0bv32, ~iptr!base=2bv32, ~iptr!offset=0bv32, ~one_modf~0=~fp~LONGDOUBLE(0bv1, 127bv8, 0bv23), ~x=~NaN~LONGDOUBLE()] [L17] FCALL call ~#gf_u~0 := #Ultimate.alloc(4bv32); [L18] FCALL call write~intFLOATTYPE4(~x, { base: ~#gf_u~0!base, offset: ~#gf_u~0!offset }, 4bv32); [L19] FCALL call #t~mem0 := read~intINTTYPE4({ base: ~#gf_u~0!base, offset: ~#gf_u~0!offset }, 4bv32); [L19] ~i0~0 := #t~mem0; [L19] FCALL call write~intFLOATTYPE4(#t~union1, { base: ~#gf_u~0!base, offset: ~#gf_u~0!offset }, 4bv32); [L19] havoc #t~mem0; [L19] havoc #t~union1; [L17] FCALL call ULTIMATE.dealloc(~#gf_u~0); [L17] havoc ~#gf_u~0; VAL [#in~iptr!base=2bv32, #in~iptr!offset=0bv32, #in~x=~NaN~LONGDOUBLE(), #NULL!base=0bv32, #NULL!offset=0bv32, ~i0~0=2143289344bv32, ~iptr!base=2bv32, ~iptr!offset=0bv32, ~one_modf~0=~fp~LONGDOUBLE(0bv1, 127bv8, 0bv23), ~x=~NaN~LONGDOUBLE()] [L21] ~j0~0 := ~bvsub32(~bvand32(255bv32, ~bvashr32(~i0~0, 23bv32)), 127bv32); VAL [#in~iptr!base=2bv32, #in~iptr!offset=0bv32, #in~x=~NaN~LONGDOUBLE(), #NULL!base=0bv32, #NULL!offset=0bv32, ~i0~0=2143289344bv32, ~iptr!base=2bv32, ~iptr!offset=0bv32, ~j0~0=128bv32, ~one_modf~0=~fp~LONGDOUBLE(0bv1, 127bv8, 0bv23), ~x=~NaN~LONGDOUBLE()] [L22] COND FALSE !(~bvslt32(~j0~0, 23bv32)) [L56] havoc ~ix~1; [L57] FCALL call write~intFLOATTYPE4(~fp.mul~FLOAT(~roundNearestTiesToEven, ~x, ~one_modf~0), ~iptr, 4bv32); VAL [#in~iptr!base=2bv32, #in~iptr!offset=0bv32, #in~x=~NaN~LONGDOUBLE(), #NULL!base=0bv32, #NULL!offset=0bv32, ~i0~0=2143289344bv32, ~iptr!base=2bv32, ~iptr!offset=0bv32, ~j0~0=128bv32, ~one_modf~0=~fp~LONGDOUBLE(0bv1, 127bv8, 0bv23), ~x=~NaN~LONGDOUBLE()] [L59] FCALL call ~#gf_u~2 := #Ultimate.alloc(4bv32); [L60] FCALL call write~intFLOATTYPE4(~x, { base: ~#gf_u~2!base, offset: ~#gf_u~2!offset }, 4bv32); [L61] FCALL call #t~mem9 := read~intINTTYPE4({ base: ~#gf_u~2!base, offset: ~#gf_u~2!offset }, 4bv32); [L61] ~ix~1 := #t~mem9; [L61] FCALL call write~intFLOATTYPE4(#t~union10, { base: ~#gf_u~2!base, offset: ~#gf_u~2!offset }, 4bv32); [L61] havoc #t~mem9; [L61] havoc #t~union10; [L59] FCALL call ULTIMATE.dealloc(~#gf_u~2); [L59] havoc ~#gf_u~2; VAL [#in~iptr!base=2bv32, #in~iptr!offset=0bv32, #in~x=~NaN~LONGDOUBLE(), #NULL!base=0bv32, #NULL!offset=0bv32, ~i0~0=2143289344bv32, ~iptr!base=2bv32, ~iptr!offset=0bv32, ~ix~1=2143289344bv32, ~j0~0=128bv32, ~one_modf~0=~fp~LONGDOUBLE(0bv1, 127bv8, 0bv23), ~x=~NaN~LONGDOUBLE()] [L64] FCALL call ~#sf_u~3 := #Ultimate.alloc(4bv32); [L65] FCALL call write~intINTTYPE4(~bvand32(2147483648bv32, ~ix~1), { base: ~#sf_u~3!base, offset: ~#sf_u~3!offset }, 4bv32); [L66] FCALL call #t~mem11 := read~intFLOATTYPE4({ base: ~#sf_u~3!base, offset: ~#sf_u~3!offset }, 4bv32); [L66] ~x := #t~mem11; [L66] FCALL call write~intINTTYPE4(#t~union12, { base: ~#sf_u~3!base, offset: ~#sf_u~3!offset }, 4bv32); [L66] havoc #t~mem11; [L66] havoc #t~union12; [L64] FCALL call ULTIMATE.dealloc(~#sf_u~3); [L64] havoc ~#sf_u~3; VAL [#in~iptr!base=2bv32, #in~iptr!offset=0bv32, #in~x=~NaN~LONGDOUBLE(), #NULL!base=0bv32, #NULL!offset=0bv32, ~i0~0=2143289344bv32, ~iptr!base=2bv32, ~iptr!offset=0bv32, ~ix~1=2143289344bv32, ~j0~0=128bv32, ~one_modf~0=~fp~LONGDOUBLE(0bv1, 127bv8, 0bv23), ~x=~fp~LONGDOUBLE(0bv1, 0bv8, 0bv23)] [L68] #res := ~x; VAL [#in~iptr!base=2bv32, #in~iptr!offset=0bv32, #in~x=~NaN~LONGDOUBLE(), #NULL!base=0bv32, #NULL!offset=0bv32, #res=~fp~LONGDOUBLE(0bv1, 0bv8, 0bv23), ~i0~0=2143289344bv32, ~iptr!base=2bv32, ~iptr!offset=0bv32, ~ix~1=2143289344bv32, ~j0~0=128bv32, ~one_modf~0=~fp~LONGDOUBLE(0bv1, 127bv8, 0bv23), ~x=~fp~LONGDOUBLE(0bv1, 0bv8, 0bv23)] [L82] RET call #t~ret13 := modf_float(~x~0, ~#iptr~0); VAL [#NULL!base=0bv32, #NULL!offset=0bv32, #t~ret13=~fp~LONGDOUBLE(0bv1, 0bv8, 0bv23), ~#iptr~0!base=2bv32, ~#iptr~0!offset=0bv32, ~one_modf~0=~fp~LONGDOUBLE(0bv1, 127bv8, 0bv23), ~x~0=~NaN~LONGDOUBLE()] [L82] ~res~0 := #t~ret13; [L82] havoc #t~ret13; [L85] FCALL call #t~mem14 := read~intFLOATTYPE4(~#iptr~0, 4bv32); VAL [#NULL!base=0bv32, #NULL!offset=0bv32, #t~mem14=~NaN~LONGDOUBLE(), ~#iptr~0!base=2bv32, ~#iptr~0!offset=0bv32, ~one_modf~0=~fp~LONGDOUBLE(0bv1, 127bv8, 0bv23), ~res~0=~fp~LONGDOUBLE(0bv1, 0bv8, 0bv23), ~x~0=~NaN~LONGDOUBLE()] [L85] CALL call #t~ret15 := isnan_float(#t~mem14); VAL [#in~x=~NaN~LONGDOUBLE(), #NULL!base=0bv32, #NULL!offset=0bv32, ~one_modf~0=~fp~LONGDOUBLE(0bv1, 127bv8, 0bv23)] [L73] ~x := #in~x; [L73] #res := (if !~fp.eq~FLOAT(~x, ~x) then 1bv32 else 0bv32); VAL [#in~x=~NaN~LONGDOUBLE(), #NULL!base=0bv32, #NULL!offset=0bv32, #res=1bv32, ~one_modf~0=~fp~LONGDOUBLE(0bv1, 127bv8, 0bv23), ~x=~NaN~LONGDOUBLE()] [L85] RET call #t~ret15 := isnan_float(#t~mem14); VAL [#NULL!base=0bv32, #NULL!offset=0bv32, #t~mem14=~NaN~LONGDOUBLE(), #t~ret15=1bv32, ~#iptr~0!base=2bv32, ~#iptr~0!offset=0bv32, ~one_modf~0=~fp~LONGDOUBLE(0bv1, 127bv8, 0bv23), ~res~0=~fp~LONGDOUBLE(0bv1, 0bv8, 0bv23), ~x~0=~NaN~LONGDOUBLE()] [L85] #t~short17 := 0bv32 != #t~ret15; VAL [#NULL!base=0bv32, #NULL!offset=0bv32, #t~mem14=~NaN~LONGDOUBLE(), #t~ret15=1bv32, #t~short17=true, ~#iptr~0!base=2bv32, ~#iptr~0!offset=0bv32, ~one_modf~0=~fp~LONGDOUBLE(0bv1, 127bv8, 0bv23), ~res~0=~fp~LONGDOUBLE(0bv1, 0bv8, 0bv23), ~x~0=~NaN~LONGDOUBLE()] [L85] COND TRUE #t~short17 VAL [#NULL!base=0bv32, #NULL!offset=0bv32, #t~mem14=~NaN~LONGDOUBLE(), #t~ret15=1bv32, #t~short17=true, ~#iptr~0!base=2bv32, ~#iptr~0!offset=0bv32, ~one_modf~0=~fp~LONGDOUBLE(0bv1, 127bv8, 0bv23), ~res~0=~fp~LONGDOUBLE(0bv1, 0bv8, 0bv23), ~x~0=~NaN~LONGDOUBLE()] [L85] CALL call #t~ret16 := isnan_float(~res~0); VAL [#in~x=~fp~LONGDOUBLE(0bv1, 0bv8, 0bv23), #NULL!base=0bv32, #NULL!offset=0bv32, ~one_modf~0=~fp~LONGDOUBLE(0bv1, 127bv8, 0bv23)] [L73] ~x := #in~x; [L73] #res := (if !~fp.eq~FLOAT(~x, ~x) then 1bv32 else 0bv32); VAL [#in~x=~fp~LONGDOUBLE(0bv1, 0bv8, 0bv23), #NULL!base=0bv32, #NULL!offset=0bv32, #res=0bv32, ~one_modf~0=~fp~LONGDOUBLE(0bv1, 127bv8, 0bv23), ~x=~fp~LONGDOUBLE(0bv1, 0bv8, 0bv23)] [L85] RET call #t~ret16 := isnan_float(~res~0); VAL [#NULL!base=0bv32, #NULL!offset=0bv32, #t~mem14=~NaN~LONGDOUBLE(), #t~ret15=1bv32, #t~ret16=0bv32, #t~short17=true, ~#iptr~0!base=2bv32, ~#iptr~0!offset=0bv32, ~one_modf~0=~fp~LONGDOUBLE(0bv1, 127bv8, 0bv23), ~res~0=~fp~LONGDOUBLE(0bv1, 0bv8, 0bv23), ~x~0=~NaN~LONGDOUBLE()] [L85] #t~short17 := 0bv32 == #t~ret16; VAL [#NULL!base=0bv32, #NULL!offset=0bv32, #t~mem14=~NaN~LONGDOUBLE(), #t~ret15=1bv32, #t~ret16=0bv32, #t~short17=true, ~#iptr~0!base=2bv32, ~#iptr~0!offset=0bv32, ~one_modf~0=~fp~LONGDOUBLE(0bv1, 127bv8, 0bv23), ~res~0=~fp~LONGDOUBLE(0bv1, 0bv8, 0bv23), ~x~0=~NaN~LONGDOUBLE()] [L85] COND TRUE #t~short17 [L85] havoc #t~ret15; [L85] havoc #t~ret16; [L85] havoc #t~mem14; [L85] havoc #t~short17; VAL [#NULL!base=0bv32, #NULL!offset=0bv32, ~#iptr~0!base=2bv32, ~#iptr~0!offset=0bv32, ~one_modf~0=~fp~LONGDOUBLE(0bv1, 127bv8, 0bv23), ~res~0=~fp~LONGDOUBLE(0bv1, 0bv8, 0bv23), ~x~0=~NaN~LONGDOUBLE()] [L86] assert false; VAL [#NULL!base=0bv32, #NULL!offset=0bv32, ~#iptr~0!base=2bv32, ~#iptr~0!offset=0bv32, ~one_modf~0=~fp~LONGDOUBLE(0bv1, 127bv8, 0bv23), ~res~0=~fp~LONGDOUBLE(0bv1, 0bv8, 0bv23), ~x~0=~NaN~LONGDOUBLE()] ----- ----- class de.uni_freiburg.informatik.ultimate.boogie.procedureinliner.backtranslation.InlinerBacktranslator [?] CALL call ULTIMATE.init(); VAL [#NULL!base=6bv32, #NULL!offset=5bv32, old(#NULL!base)=6bv32, old(#NULL!offset)=5bv32, old(~one_modf~0)=~fp~LONGDOUBLE(0bv1, 0bv8, 5bv23), ~one_modf~0=~fp~LONGDOUBLE(0bv1, 0bv8, 5bv23)] [?] #NULL := { base: 0bv32, offset: 0bv32 }; [?] #valid[0bv32] := 0bv1; [L11] ~one_modf~0 := ~convertDOUBLEToFLOAT(~roundNearestTiesToEven, ~to_fp~DOUBLE(~roundNearestTiesToEven, 1.0)); VAL [#NULL!base=0bv32, #NULL!offset=0bv32, old(#NULL!base)=6bv32, old(#NULL!offset)=5bv32, old(~one_modf~0)=~fp~LONGDOUBLE(0bv1, 0bv8, 5bv23), ~one_modf~0=~fp~LONGDOUBLE(0bv1, 127bv8, 0bv23)] [?] RET call ULTIMATE.init(); VAL [#NULL!base=0bv32, #NULL!offset=0bv32, ~one_modf~0=~fp~LONGDOUBLE(0bv1, 127bv8, 0bv23)] [?] CALL call #t~ret18 := main(); VAL [#NULL!base=0bv32, #NULL!offset=0bv32, ~one_modf~0=~fp~LONGDOUBLE(0bv1, 127bv8, 0bv23)] [L80] ~x~0 := ~fp.div~FLOAT(~roundNearestTiesToEven, ~Pluszero~FLOAT(), ~Pluszero~FLOAT()); [L81] FCALL call ~#iptr~0 := #Ultimate.alloc(4bv32); VAL [#NULL!base=0bv32, #NULL!offset=0bv32, ~#iptr~0!base=2bv32, ~#iptr~0!offset=0bv32, ~one_modf~0=~fp~LONGDOUBLE(0bv1, 127bv8, 0bv23), ~x~0=~NaN~LONGDOUBLE()] [L82] CALL call #t~ret13 := modf_float(~x~0, ~#iptr~0); VAL [#in~iptr!base=2bv32, #in~iptr!offset=0bv32, #in~x=~NaN~LONGDOUBLE(), #NULL!base=0bv32, #NULL!offset=0bv32, ~one_modf~0=~fp~LONGDOUBLE(0bv1, 127bv8, 0bv23)] [L13-L70] ~x := #in~x; [L13-L70] ~iptr := #in~iptr; [L14] havoc ~i0~0; [L14] havoc ~j0~0; [L15] havoc ~i~0; VAL [#in~iptr!base=2bv32, #in~iptr!offset=0bv32, #in~x=~NaN~LONGDOUBLE(), #NULL!base=0bv32, #NULL!offset=0bv32, ~iptr!base=2bv32, ~iptr!offset=0bv32, ~one_modf~0=~fp~LONGDOUBLE(0bv1, 127bv8, 0bv23), ~x=~NaN~LONGDOUBLE()] [L17] FCALL call ~#gf_u~0 := #Ultimate.alloc(4bv32); [L18] FCALL call write~intFLOATTYPE4(~x, { base: ~#gf_u~0!base, offset: ~#gf_u~0!offset }, 4bv32); [L19] FCALL call #t~mem0 := read~intINTTYPE4({ base: ~#gf_u~0!base, offset: ~#gf_u~0!offset }, 4bv32); [L19] ~i0~0 := #t~mem0; [L19] FCALL call write~intFLOATTYPE4(#t~union1, { base: ~#gf_u~0!base, offset: ~#gf_u~0!offset }, 4bv32); [L19] havoc #t~mem0; [L19] havoc #t~union1; [L17] FCALL call ULTIMATE.dealloc(~#gf_u~0); [L17] havoc ~#gf_u~0; VAL [#in~iptr!base=2bv32, #in~iptr!offset=0bv32, #in~x=~NaN~LONGDOUBLE(), #NULL!base=0bv32, #NULL!offset=0bv32, ~i0~0=2143289344bv32, ~iptr!base=2bv32, ~iptr!offset=0bv32, ~one_modf~0=~fp~LONGDOUBLE(0bv1, 127bv8, 0bv23), ~x=~NaN~LONGDOUBLE()] [L21] ~j0~0 := ~bvsub32(~bvand32(255bv32, ~bvashr32(~i0~0, 23bv32)), 127bv32); VAL [#in~iptr!base=2bv32, #in~iptr!offset=0bv32, #in~x=~NaN~LONGDOUBLE(), #NULL!base=0bv32, #NULL!offset=0bv32, ~i0~0=2143289344bv32, ~iptr!base=2bv32, ~iptr!offset=0bv32, ~j0~0=128bv32, ~one_modf~0=~fp~LONGDOUBLE(0bv1, 127bv8, 0bv23), ~x=~NaN~LONGDOUBLE()] [L22] COND FALSE !(~bvslt32(~j0~0, 23bv32)) [L56] havoc ~ix~1; [L57] FCALL call write~intFLOATTYPE4(~fp.mul~FLOAT(~roundNearestTiesToEven, ~x, ~one_modf~0), ~iptr, 4bv32); VAL [#in~iptr!base=2bv32, #in~iptr!offset=0bv32, #in~x=~NaN~LONGDOUBLE(), #NULL!base=0bv32, #NULL!offset=0bv32, ~i0~0=2143289344bv32, ~iptr!base=2bv32, ~iptr!offset=0bv32, ~j0~0=128bv32, ~one_modf~0=~fp~LONGDOUBLE(0bv1, 127bv8, 0bv23), ~x=~NaN~LONGDOUBLE()] [L59] FCALL call ~#gf_u~2 := #Ultimate.alloc(4bv32); [L60] FCALL call write~intFLOATTYPE4(~x, { base: ~#gf_u~2!base, offset: ~#gf_u~2!offset }, 4bv32); [L61] FCALL call #t~mem9 := read~intINTTYPE4({ base: ~#gf_u~2!base, offset: ~#gf_u~2!offset }, 4bv32); [L61] ~ix~1 := #t~mem9; [L61] FCALL call write~intFLOATTYPE4(#t~union10, { base: ~#gf_u~2!base, offset: ~#gf_u~2!offset }, 4bv32); [L61] havoc #t~mem9; [L61] havoc #t~union10; [L59] FCALL call ULTIMATE.dealloc(~#gf_u~2); [L59] havoc ~#gf_u~2; VAL [#in~iptr!base=2bv32, #in~iptr!offset=0bv32, #in~x=~NaN~LONGDOUBLE(), #NULL!base=0bv32, #NULL!offset=0bv32, ~i0~0=2143289344bv32, ~iptr!base=2bv32, ~iptr!offset=0bv32, ~ix~1=2143289344bv32, ~j0~0=128bv32, ~one_modf~0=~fp~LONGDOUBLE(0bv1, 127bv8, 0bv23), ~x=~NaN~LONGDOUBLE()] [L64] FCALL call ~#sf_u~3 := #Ultimate.alloc(4bv32); [L65] FCALL call write~intINTTYPE4(~bvand32(2147483648bv32, ~ix~1), { base: ~#sf_u~3!base, offset: ~#sf_u~3!offset }, 4bv32); [L66] FCALL call #t~mem11 := read~intFLOATTYPE4({ base: ~#sf_u~3!base, offset: ~#sf_u~3!offset }, 4bv32); [L66] ~x := #t~mem11; [L66] FCALL call write~intINTTYPE4(#t~union12, { base: ~#sf_u~3!base, offset: ~#sf_u~3!offset }, 4bv32); [L66] havoc #t~mem11; [L66] havoc #t~union12; [L64] FCALL call ULTIMATE.dealloc(~#sf_u~3); [L64] havoc ~#sf_u~3; VAL [#in~iptr!base=2bv32, #in~iptr!offset=0bv32, #in~x=~NaN~LONGDOUBLE(), #NULL!base=0bv32, #NULL!offset=0bv32, ~i0~0=2143289344bv32, ~iptr!base=2bv32, ~iptr!offset=0bv32, ~ix~1=2143289344bv32, ~j0~0=128bv32, ~one_modf~0=~fp~LONGDOUBLE(0bv1, 127bv8, 0bv23), ~x=~fp~LONGDOUBLE(0bv1, 0bv8, 0bv23)] [L68] #res := ~x; VAL [#in~iptr!base=2bv32, #in~iptr!offset=0bv32, #in~x=~NaN~LONGDOUBLE(), #NULL!base=0bv32, #NULL!offset=0bv32, #res=~fp~LONGDOUBLE(0bv1, 0bv8, 0bv23), ~i0~0=2143289344bv32, ~iptr!base=2bv32, ~iptr!offset=0bv32, ~ix~1=2143289344bv32, ~j0~0=128bv32, ~one_modf~0=~fp~LONGDOUBLE(0bv1, 127bv8, 0bv23), ~x=~fp~LONGDOUBLE(0bv1, 0bv8, 0bv23)] [L82] RET call #t~ret13 := modf_float(~x~0, ~#iptr~0); VAL [#NULL!base=0bv32, #NULL!offset=0bv32, #t~ret13=~fp~LONGDOUBLE(0bv1, 0bv8, 0bv23), ~#iptr~0!base=2bv32, ~#iptr~0!offset=0bv32, ~one_modf~0=~fp~LONGDOUBLE(0bv1, 127bv8, 0bv23), ~x~0=~NaN~LONGDOUBLE()] [L82] ~res~0 := #t~ret13; [L82] havoc #t~ret13; [L85] FCALL call #t~mem14 := read~intFLOATTYPE4(~#iptr~0, 4bv32); VAL [#NULL!base=0bv32, #NULL!offset=0bv32, #t~mem14=~NaN~LONGDOUBLE(), ~#iptr~0!base=2bv32, ~#iptr~0!offset=0bv32, ~one_modf~0=~fp~LONGDOUBLE(0bv1, 127bv8, 0bv23), ~res~0=~fp~LONGDOUBLE(0bv1, 0bv8, 0bv23), ~x~0=~NaN~LONGDOUBLE()] [L85] CALL call #t~ret15 := isnan_float(#t~mem14); VAL [#in~x=~NaN~LONGDOUBLE(), #NULL!base=0bv32, #NULL!offset=0bv32, ~one_modf~0=~fp~LONGDOUBLE(0bv1, 127bv8, 0bv23)] [L73] ~x := #in~x; [L73] #res := (if !~fp.eq~FLOAT(~x, ~x) then 1bv32 else 0bv32); VAL [#in~x=~NaN~LONGDOUBLE(), #NULL!base=0bv32, #NULL!offset=0bv32, #res=1bv32, ~one_modf~0=~fp~LONGDOUBLE(0bv1, 127bv8, 0bv23), ~x=~NaN~LONGDOUBLE()] [L85] RET call #t~ret15 := isnan_float(#t~mem14); VAL [#NULL!base=0bv32, #NULL!offset=0bv32, #t~mem14=~NaN~LONGDOUBLE(), #t~ret15=1bv32, ~#iptr~0!base=2bv32, ~#iptr~0!offset=0bv32, ~one_modf~0=~fp~LONGDOUBLE(0bv1, 127bv8, 0bv23), ~res~0=~fp~LONGDOUBLE(0bv1, 0bv8, 0bv23), ~x~0=~NaN~LONGDOUBLE()] [L85] #t~short17 := 0bv32 != #t~ret15; VAL [#NULL!base=0bv32, #NULL!offset=0bv32, #t~mem14=~NaN~LONGDOUBLE(), #t~ret15=1bv32, #t~short17=true, ~#iptr~0!base=2bv32, ~#iptr~0!offset=0bv32, ~one_modf~0=~fp~LONGDOUBLE(0bv1, 127bv8, 0bv23), ~res~0=~fp~LONGDOUBLE(0bv1, 0bv8, 0bv23), ~x~0=~NaN~LONGDOUBLE()] [L85] COND TRUE #t~short17 VAL [#NULL!base=0bv32, #NULL!offset=0bv32, #t~mem14=~NaN~LONGDOUBLE(), #t~ret15=1bv32, #t~short17=true, ~#iptr~0!base=2bv32, ~#iptr~0!offset=0bv32, ~one_modf~0=~fp~LONGDOUBLE(0bv1, 127bv8, 0bv23), ~res~0=~fp~LONGDOUBLE(0bv1, 0bv8, 0bv23), ~x~0=~NaN~LONGDOUBLE()] [L85] CALL call #t~ret16 := isnan_float(~res~0); VAL [#in~x=~fp~LONGDOUBLE(0bv1, 0bv8, 0bv23), #NULL!base=0bv32, #NULL!offset=0bv32, ~one_modf~0=~fp~LONGDOUBLE(0bv1, 127bv8, 0bv23)] [L73] ~x := #in~x; [L73] #res := (if !~fp.eq~FLOAT(~x, ~x) then 1bv32 else 0bv32); VAL [#in~x=~fp~LONGDOUBLE(0bv1, 0bv8, 0bv23), #NULL!base=0bv32, #NULL!offset=0bv32, #res=0bv32, ~one_modf~0=~fp~LONGDOUBLE(0bv1, 127bv8, 0bv23), ~x=~fp~LONGDOUBLE(0bv1, 0bv8, 0bv23)] [L85] RET call #t~ret16 := isnan_float(~res~0); VAL [#NULL!base=0bv32, #NULL!offset=0bv32, #t~mem14=~NaN~LONGDOUBLE(), #t~ret15=1bv32, #t~ret16=0bv32, #t~short17=true, ~#iptr~0!base=2bv32, ~#iptr~0!offset=0bv32, ~one_modf~0=~fp~LONGDOUBLE(0bv1, 127bv8, 0bv23), ~res~0=~fp~LONGDOUBLE(0bv1, 0bv8, 0bv23), ~x~0=~NaN~LONGDOUBLE()] [L85] #t~short17 := 0bv32 == #t~ret16; VAL [#NULL!base=0bv32, #NULL!offset=0bv32, #t~mem14=~NaN~LONGDOUBLE(), #t~ret15=1bv32, #t~ret16=0bv32, #t~short17=true, ~#iptr~0!base=2bv32, ~#iptr~0!offset=0bv32, ~one_modf~0=~fp~LONGDOUBLE(0bv1, 127bv8, 0bv23), ~res~0=~fp~LONGDOUBLE(0bv1, 0bv8, 0bv23), ~x~0=~NaN~LONGDOUBLE()] [L85] COND TRUE #t~short17 [L85] havoc #t~ret15; [L85] havoc #t~ret16; [L85] havoc #t~mem14; [L85] havoc #t~short17; VAL [#NULL!base=0bv32, #NULL!offset=0bv32, ~#iptr~0!base=2bv32, ~#iptr~0!offset=0bv32, ~one_modf~0=~fp~LONGDOUBLE(0bv1, 127bv8, 0bv23), ~res~0=~fp~LONGDOUBLE(0bv1, 0bv8, 0bv23), ~x~0=~NaN~LONGDOUBLE()] [L86] assert false; VAL [#NULL!base=0bv32, #NULL!offset=0bv32, ~#iptr~0!base=2bv32, ~#iptr~0!offset=0bv32, ~one_modf~0=~fp~LONGDOUBLE(0bv1, 127bv8, 0bv23), ~res~0=~fp~LONGDOUBLE(0bv1, 0bv8, 0bv23), ~x~0=~NaN~LONGDOUBLE()] [?] CALL call ULTIMATE.init(); VAL [#NULL!base=6bv32, #NULL!offset=5bv32, old(#NULL!base)=6bv32, old(#NULL!offset)=5bv32, old(~one_modf~0)=~fp~LONGDOUBLE(0bv1, 0bv8, 5bv23), ~one_modf~0=~fp~LONGDOUBLE(0bv1, 0bv8, 5bv23)] [?] #NULL := { base: 0bv32, offset: 0bv32 }; [?] #valid[0bv32] := 0bv1; [L11] ~one_modf~0 := ~convertDOUBLEToFLOAT(~roundNearestTiesToEven, ~to_fp~DOUBLE(~roundNearestTiesToEven, 1.0)); VAL [#NULL!base=0bv32, #NULL!offset=0bv32, old(#NULL!base)=6bv32, old(#NULL!offset)=5bv32, old(~one_modf~0)=~fp~LONGDOUBLE(0bv1, 0bv8, 5bv23), ~one_modf~0=~fp~LONGDOUBLE(0bv1, 127bv8, 0bv23)] [?] RET call ULTIMATE.init(); VAL [#NULL!base=0bv32, #NULL!offset=0bv32, ~one_modf~0=~fp~LONGDOUBLE(0bv1, 127bv8, 0bv23)] [?] CALL call #t~ret18 := main(); VAL [#NULL!base=0bv32, #NULL!offset=0bv32, ~one_modf~0=~fp~LONGDOUBLE(0bv1, 127bv8, 0bv23)] [L80] ~x~0 := ~fp.div~FLOAT(~roundNearestTiesToEven, ~Pluszero~FLOAT(), ~Pluszero~FLOAT()); [L81] FCALL call ~#iptr~0 := #Ultimate.alloc(4bv32); VAL [#NULL!base=0bv32, #NULL!offset=0bv32, ~#iptr~0!base=2bv32, ~#iptr~0!offset=0bv32, ~one_modf~0=~fp~LONGDOUBLE(0bv1, 127bv8, 0bv23), ~x~0=~NaN~LONGDOUBLE()] [L82] CALL call #t~ret13 := modf_float(~x~0, ~#iptr~0); VAL [#in~iptr!base=2bv32, #in~iptr!offset=0bv32, #in~x=~NaN~LONGDOUBLE(), #NULL!base=0bv32, #NULL!offset=0bv32, ~one_modf~0=~fp~LONGDOUBLE(0bv1, 127bv8, 0bv23)] [L13-L70] ~x := #in~x; [L13-L70] ~iptr := #in~iptr; [L14] havoc ~i0~0; [L14] havoc ~j0~0; [L15] havoc ~i~0; VAL [#in~iptr!base=2bv32, #in~iptr!offset=0bv32, #in~x=~NaN~LONGDOUBLE(), #NULL!base=0bv32, #NULL!offset=0bv32, ~iptr!base=2bv32, ~iptr!offset=0bv32, ~one_modf~0=~fp~LONGDOUBLE(0bv1, 127bv8, 0bv23), ~x=~NaN~LONGDOUBLE()] [L17] FCALL call ~#gf_u~0 := #Ultimate.alloc(4bv32); [L18] FCALL call write~intFLOATTYPE4(~x, { base: ~#gf_u~0!base, offset: ~#gf_u~0!offset }, 4bv32); [L19] FCALL call #t~mem0 := read~intINTTYPE4({ base: ~#gf_u~0!base, offset: ~#gf_u~0!offset }, 4bv32); [L19] ~i0~0 := #t~mem0; [L19] FCALL call write~intFLOATTYPE4(#t~union1, { base: ~#gf_u~0!base, offset: ~#gf_u~0!offset }, 4bv32); [L19] havoc #t~mem0; [L19] havoc #t~union1; [L17] FCALL call ULTIMATE.dealloc(~#gf_u~0); [L17] havoc ~#gf_u~0; VAL [#in~iptr!base=2bv32, #in~iptr!offset=0bv32, #in~x=~NaN~LONGDOUBLE(), #NULL!base=0bv32, #NULL!offset=0bv32, ~i0~0=2143289344bv32, ~iptr!base=2bv32, ~iptr!offset=0bv32, ~one_modf~0=~fp~LONGDOUBLE(0bv1, 127bv8, 0bv23), ~x=~NaN~LONGDOUBLE()] [L21] ~j0~0 := ~bvsub32(~bvand32(255bv32, ~bvashr32(~i0~0, 23bv32)), 127bv32); VAL [#in~iptr!base=2bv32, #in~iptr!offset=0bv32, #in~x=~NaN~LONGDOUBLE(), #NULL!base=0bv32, #NULL!offset=0bv32, ~i0~0=2143289344bv32, ~iptr!base=2bv32, ~iptr!offset=0bv32, ~j0~0=128bv32, ~one_modf~0=~fp~LONGDOUBLE(0bv1, 127bv8, 0bv23), ~x=~NaN~LONGDOUBLE()] [L22] COND FALSE !(~bvslt32(~j0~0, 23bv32)) [L56] havoc ~ix~1; [L57] FCALL call write~intFLOATTYPE4(~fp.mul~FLOAT(~roundNearestTiesToEven, ~x, ~one_modf~0), ~iptr, 4bv32); VAL [#in~iptr!base=2bv32, #in~iptr!offset=0bv32, #in~x=~NaN~LONGDOUBLE(), #NULL!base=0bv32, #NULL!offset=0bv32, ~i0~0=2143289344bv32, ~iptr!base=2bv32, ~iptr!offset=0bv32, ~j0~0=128bv32, ~one_modf~0=~fp~LONGDOUBLE(0bv1, 127bv8, 0bv23), ~x=~NaN~LONGDOUBLE()] [L59] FCALL call ~#gf_u~2 := #Ultimate.alloc(4bv32); [L60] FCALL call write~intFLOATTYPE4(~x, { base: ~#gf_u~2!base, offset: ~#gf_u~2!offset }, 4bv32); [L61] FCALL call #t~mem9 := read~intINTTYPE4({ base: ~#gf_u~2!base, offset: ~#gf_u~2!offset }, 4bv32); [L61] ~ix~1 := #t~mem9; [L61] FCALL call write~intFLOATTYPE4(#t~union10, { base: ~#gf_u~2!base, offset: ~#gf_u~2!offset }, 4bv32); [L61] havoc #t~mem9; [L61] havoc #t~union10; [L59] FCALL call ULTIMATE.dealloc(~#gf_u~2); [L59] havoc ~#gf_u~2; VAL [#in~iptr!base=2bv32, #in~iptr!offset=0bv32, #in~x=~NaN~LONGDOUBLE(), #NULL!base=0bv32, #NULL!offset=0bv32, ~i0~0=2143289344bv32, ~iptr!base=2bv32, ~iptr!offset=0bv32, ~ix~1=2143289344bv32, ~j0~0=128bv32, ~one_modf~0=~fp~LONGDOUBLE(0bv1, 127bv8, 0bv23), ~x=~NaN~LONGDOUBLE()] [L64] FCALL call ~#sf_u~3 := #Ultimate.alloc(4bv32); [L65] FCALL call write~intINTTYPE4(~bvand32(2147483648bv32, ~ix~1), { base: ~#sf_u~3!base, offset: ~#sf_u~3!offset }, 4bv32); [L66] FCALL call #t~mem11 := read~intFLOATTYPE4({ base: ~#sf_u~3!base, offset: ~#sf_u~3!offset }, 4bv32); [L66] ~x := #t~mem11; [L66] FCALL call write~intINTTYPE4(#t~union12, { base: ~#sf_u~3!base, offset: ~#sf_u~3!offset }, 4bv32); [L66] havoc #t~mem11; [L66] havoc #t~union12; [L64] FCALL call ULTIMATE.dealloc(~#sf_u~3); [L64] havoc ~#sf_u~3; VAL [#in~iptr!base=2bv32, #in~iptr!offset=0bv32, #in~x=~NaN~LONGDOUBLE(), #NULL!base=0bv32, #NULL!offset=0bv32, ~i0~0=2143289344bv32, ~iptr!base=2bv32, ~iptr!offset=0bv32, ~ix~1=2143289344bv32, ~j0~0=128bv32, ~one_modf~0=~fp~LONGDOUBLE(0bv1, 127bv8, 0bv23), ~x=~fp~LONGDOUBLE(0bv1, 0bv8, 0bv23)] [L68] #res := ~x; VAL [#in~iptr!base=2bv32, #in~iptr!offset=0bv32, #in~x=~NaN~LONGDOUBLE(), #NULL!base=0bv32, #NULL!offset=0bv32, #res=~fp~LONGDOUBLE(0bv1, 0bv8, 0bv23), ~i0~0=2143289344bv32, ~iptr!base=2bv32, ~iptr!offset=0bv32, ~ix~1=2143289344bv32, ~j0~0=128bv32, ~one_modf~0=~fp~LONGDOUBLE(0bv1, 127bv8, 0bv23), ~x=~fp~LONGDOUBLE(0bv1, 0bv8, 0bv23)] [L82] RET call #t~ret13 := modf_float(~x~0, ~#iptr~0); VAL [#NULL!base=0bv32, #NULL!offset=0bv32, #t~ret13=~fp~LONGDOUBLE(0bv1, 0bv8, 0bv23), ~#iptr~0!base=2bv32, ~#iptr~0!offset=0bv32, ~one_modf~0=~fp~LONGDOUBLE(0bv1, 127bv8, 0bv23), ~x~0=~NaN~LONGDOUBLE()] [L82] ~res~0 := #t~ret13; [L82] havoc #t~ret13; [L85] FCALL call #t~mem14 := read~intFLOATTYPE4(~#iptr~0, 4bv32); VAL [#NULL!base=0bv32, #NULL!offset=0bv32, #t~mem14=~NaN~LONGDOUBLE(), ~#iptr~0!base=2bv32, ~#iptr~0!offset=0bv32, ~one_modf~0=~fp~LONGDOUBLE(0bv1, 127bv8, 0bv23), ~res~0=~fp~LONGDOUBLE(0bv1, 0bv8, 0bv23), ~x~0=~NaN~LONGDOUBLE()] [L85] CALL call #t~ret15 := isnan_float(#t~mem14); VAL [#in~x=~NaN~LONGDOUBLE(), #NULL!base=0bv32, #NULL!offset=0bv32, ~one_modf~0=~fp~LONGDOUBLE(0bv1, 127bv8, 0bv23)] [L73] ~x := #in~x; [L73] #res := (if !~fp.eq~FLOAT(~x, ~x) then 1bv32 else 0bv32); VAL [#in~x=~NaN~LONGDOUBLE(), #NULL!base=0bv32, #NULL!offset=0bv32, #res=1bv32, ~one_modf~0=~fp~LONGDOUBLE(0bv1, 127bv8, 0bv23), ~x=~NaN~LONGDOUBLE()] [L85] RET call #t~ret15 := isnan_float(#t~mem14); VAL [#NULL!base=0bv32, #NULL!offset=0bv32, #t~mem14=~NaN~LONGDOUBLE(), #t~ret15=1bv32, ~#iptr~0!base=2bv32, ~#iptr~0!offset=0bv32, ~one_modf~0=~fp~LONGDOUBLE(0bv1, 127bv8, 0bv23), ~res~0=~fp~LONGDOUBLE(0bv1, 0bv8, 0bv23), ~x~0=~NaN~LONGDOUBLE()] [L85] #t~short17 := 0bv32 != #t~ret15; VAL [#NULL!base=0bv32, #NULL!offset=0bv32, #t~mem14=~NaN~LONGDOUBLE(), #t~ret15=1bv32, #t~short17=true, ~#iptr~0!base=2bv32, ~#iptr~0!offset=0bv32, ~one_modf~0=~fp~LONGDOUBLE(0bv1, 127bv8, 0bv23), ~res~0=~fp~LONGDOUBLE(0bv1, 0bv8, 0bv23), ~x~0=~NaN~LONGDOUBLE()] [L85] COND TRUE #t~short17 VAL [#NULL!base=0bv32, #NULL!offset=0bv32, #t~mem14=~NaN~LONGDOUBLE(), #t~ret15=1bv32, #t~short17=true, ~#iptr~0!base=2bv32, ~#iptr~0!offset=0bv32, ~one_modf~0=~fp~LONGDOUBLE(0bv1, 127bv8, 0bv23), ~res~0=~fp~LONGDOUBLE(0bv1, 0bv8, 0bv23), ~x~0=~NaN~LONGDOUBLE()] [L85] CALL call #t~ret16 := isnan_float(~res~0); VAL [#in~x=~fp~LONGDOUBLE(0bv1, 0bv8, 0bv23), #NULL!base=0bv32, #NULL!offset=0bv32, ~one_modf~0=~fp~LONGDOUBLE(0bv1, 127bv8, 0bv23)] [L73] ~x := #in~x; [L73] #res := (if !~fp.eq~FLOAT(~x, ~x) then 1bv32 else 0bv32); VAL [#in~x=~fp~LONGDOUBLE(0bv1, 0bv8, 0bv23), #NULL!base=0bv32, #NULL!offset=0bv32, #res=0bv32, ~one_modf~0=~fp~LONGDOUBLE(0bv1, 127bv8, 0bv23), ~x=~fp~LONGDOUBLE(0bv1, 0bv8, 0bv23)] [L85] RET call #t~ret16 := isnan_float(~res~0); VAL [#NULL!base=0bv32, #NULL!offset=0bv32, #t~mem14=~NaN~LONGDOUBLE(), #t~ret15=1bv32, #t~ret16=0bv32, #t~short17=true, ~#iptr~0!base=2bv32, ~#iptr~0!offset=0bv32, ~one_modf~0=~fp~LONGDOUBLE(0bv1, 127bv8, 0bv23), ~res~0=~fp~LONGDOUBLE(0bv1, 0bv8, 0bv23), ~x~0=~NaN~LONGDOUBLE()] [L85] #t~short17 := 0bv32 == #t~ret16; VAL [#NULL!base=0bv32, #NULL!offset=0bv32, #t~mem14=~NaN~LONGDOUBLE(), #t~ret15=1bv32, #t~ret16=0bv32, #t~short17=true, ~#iptr~0!base=2bv32, ~#iptr~0!offset=0bv32, ~one_modf~0=~fp~LONGDOUBLE(0bv1, 127bv8, 0bv23), ~res~0=~fp~LONGDOUBLE(0bv1, 0bv8, 0bv23), ~x~0=~NaN~LONGDOUBLE()] [L85] COND TRUE #t~short17 [L85] havoc #t~ret15; [L85] havoc #t~ret16; [L85] havoc #t~mem14; [L85] havoc #t~short17; VAL [#NULL!base=0bv32, #NULL!offset=0bv32, ~#iptr~0!base=2bv32, ~#iptr~0!offset=0bv32, ~one_modf~0=~fp~LONGDOUBLE(0bv1, 127bv8, 0bv23), ~res~0=~fp~LONGDOUBLE(0bv1, 0bv8, 0bv23), ~x~0=~NaN~LONGDOUBLE()] [L86] assert false; VAL [#NULL!base=0bv32, #NULL!offset=0bv32, ~#iptr~0!base=2bv32, ~#iptr~0!offset=0bv32, ~one_modf~0=~fp~LONGDOUBLE(0bv1, 127bv8, 0bv23), ~res~0=~fp~LONGDOUBLE(0bv1, 0bv8, 0bv23), ~x~0=~NaN~LONGDOUBLE()] ----- ----- class de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator.CACSL2BoogieBacktranslator [?] CALL call ULTIMATE.init(); VAL [#NULL!base=6bv32, #NULL!offset=5bv32, old(#NULL!base)=6bv32, old(#NULL!offset)=5bv32, old(~one_modf~0)=~fp~LONGDOUBLE(0bv1, 0bv8, 5bv23), ~one_modf~0=~fp~LONGDOUBLE(0bv1, 0bv8, 5bv23)] [?] #NULL := { base: 0bv32, offset: 0bv32 }; [?] #valid[0bv32] := 0bv1; [L11] ~one_modf~0 := ~convertDOUBLEToFLOAT(~roundNearestTiesToEven, ~to_fp~DOUBLE(~roundNearestTiesToEven, 1.0)); VAL [#NULL!base=0bv32, #NULL!offset=0bv32, old(#NULL!base)=6bv32, old(#NULL!offset)=5bv32, old(~one_modf~0)=~fp~LONGDOUBLE(0bv1, 0bv8, 5bv23), ~one_modf~0=~fp~LONGDOUBLE(0bv1, 127bv8, 0bv23)] [?] RET call ULTIMATE.init(); VAL [#NULL!base=0bv32, #NULL!offset=0bv32, ~one_modf~0=~fp~LONGDOUBLE(0bv1, 127bv8, 0bv23)] [?] CALL call #t~ret18 := main(); VAL [#NULL!base=0bv32, #NULL!offset=0bv32, ~one_modf~0=~fp~LONGDOUBLE(0bv1, 127bv8, 0bv23)] [L80] ~x~0 := ~fp.div~FLOAT(~roundNearestTiesToEven, ~Pluszero~FLOAT(), ~Pluszero~FLOAT()); [L81] FCALL call ~#iptr~0 := #Ultimate.alloc(4bv32); VAL [#NULL!base=0bv32, #NULL!offset=0bv32, ~#iptr~0!base=2bv32, ~#iptr~0!offset=0bv32, ~one_modf~0=~fp~LONGDOUBLE(0bv1, 127bv8, 0bv23), ~x~0=~NaN~LONGDOUBLE()] [L82] CALL call #t~ret13 := modf_float(~x~0, ~#iptr~0); VAL [#in~iptr!base=2bv32, #in~iptr!offset=0bv32, #in~x=~NaN~LONGDOUBLE(), #NULL!base=0bv32, #NULL!offset=0bv32, ~one_modf~0=~fp~LONGDOUBLE(0bv1, 127bv8, 0bv23)] [L13-L70] ~x := #in~x; [L13-L70] ~iptr := #in~iptr; [L14] havoc ~i0~0; [L14] havoc ~j0~0; [L15] havoc ~i~0; VAL [#in~iptr!base=2bv32, #in~iptr!offset=0bv32, #in~x=~NaN~LONGDOUBLE(), #NULL!base=0bv32, #NULL!offset=0bv32, ~iptr!base=2bv32, ~iptr!offset=0bv32, ~one_modf~0=~fp~LONGDOUBLE(0bv1, 127bv8, 0bv23), ~x=~NaN~LONGDOUBLE()] [L17] FCALL call ~#gf_u~0 := #Ultimate.alloc(4bv32); [L18] FCALL call write~intFLOATTYPE4(~x, { base: ~#gf_u~0!base, offset: ~#gf_u~0!offset }, 4bv32); [L19] FCALL call #t~mem0 := read~intINTTYPE4({ base: ~#gf_u~0!base, offset: ~#gf_u~0!offset }, 4bv32); [L19] ~i0~0 := #t~mem0; [L19] FCALL call write~intFLOATTYPE4(#t~union1, { base: ~#gf_u~0!base, offset: ~#gf_u~0!offset }, 4bv32); [L19] havoc #t~mem0; [L19] havoc #t~union1; [L17] FCALL call ULTIMATE.dealloc(~#gf_u~0); [L17] havoc ~#gf_u~0; VAL [#in~iptr!base=2bv32, #in~iptr!offset=0bv32, #in~x=~NaN~LONGDOUBLE(), #NULL!base=0bv32, #NULL!offset=0bv32, ~i0~0=2143289344bv32, ~iptr!base=2bv32, ~iptr!offset=0bv32, ~one_modf~0=~fp~LONGDOUBLE(0bv1, 127bv8, 0bv23), ~x=~NaN~LONGDOUBLE()] [L21] ~j0~0 := ~bvsub32(~bvand32(255bv32, ~bvashr32(~i0~0, 23bv32)), 127bv32); VAL [#in~iptr!base=2bv32, #in~iptr!offset=0bv32, #in~x=~NaN~LONGDOUBLE(), #NULL!base=0bv32, #NULL!offset=0bv32, ~i0~0=2143289344bv32, ~iptr!base=2bv32, ~iptr!offset=0bv32, ~j0~0=128bv32, ~one_modf~0=~fp~LONGDOUBLE(0bv1, 127bv8, 0bv23), ~x=~NaN~LONGDOUBLE()] [L22] COND FALSE !(~bvslt32(~j0~0, 23bv32)) [L56] havoc ~ix~1; [L57] FCALL call write~intFLOATTYPE4(~fp.mul~FLOAT(~roundNearestTiesToEven, ~x, ~one_modf~0), ~iptr, 4bv32); VAL [#in~iptr!base=2bv32, #in~iptr!offset=0bv32, #in~x=~NaN~LONGDOUBLE(), #NULL!base=0bv32, #NULL!offset=0bv32, ~i0~0=2143289344bv32, ~iptr!base=2bv32, ~iptr!offset=0bv32, ~j0~0=128bv32, ~one_modf~0=~fp~LONGDOUBLE(0bv1, 127bv8, 0bv23), ~x=~NaN~LONGDOUBLE()] [L59] FCALL call ~#gf_u~2 := #Ultimate.alloc(4bv32); [L60] FCALL call write~intFLOATTYPE4(~x, { base: ~#gf_u~2!base, offset: ~#gf_u~2!offset }, 4bv32); [L61] FCALL call #t~mem9 := read~intINTTYPE4({ base: ~#gf_u~2!base, offset: ~#gf_u~2!offset }, 4bv32); [L61] ~ix~1 := #t~mem9; [L61] FCALL call write~intFLOATTYPE4(#t~union10, { base: ~#gf_u~2!base, offset: ~#gf_u~2!offset }, 4bv32); [L61] havoc #t~mem9; [L61] havoc #t~union10; [L59] FCALL call ULTIMATE.dealloc(~#gf_u~2); [L59] havoc ~#gf_u~2; VAL [#in~iptr!base=2bv32, #in~iptr!offset=0bv32, #in~x=~NaN~LONGDOUBLE(), #NULL!base=0bv32, #NULL!offset=0bv32, ~i0~0=2143289344bv32, ~iptr!base=2bv32, ~iptr!offset=0bv32, ~ix~1=2143289344bv32, ~j0~0=128bv32, ~one_modf~0=~fp~LONGDOUBLE(0bv1, 127bv8, 0bv23), ~x=~NaN~LONGDOUBLE()] [L64] FCALL call ~#sf_u~3 := #Ultimate.alloc(4bv32); [L65] FCALL call write~intINTTYPE4(~bvand32(2147483648bv32, ~ix~1), { base: ~#sf_u~3!base, offset: ~#sf_u~3!offset }, 4bv32); [L66] FCALL call #t~mem11 := read~intFLOATTYPE4({ base: ~#sf_u~3!base, offset: ~#sf_u~3!offset }, 4bv32); [L66] ~x := #t~mem11; [L66] FCALL call write~intINTTYPE4(#t~union12, { base: ~#sf_u~3!base, offset: ~#sf_u~3!offset }, 4bv32); [L66] havoc #t~mem11; [L66] havoc #t~union12; [L64] FCALL call ULTIMATE.dealloc(~#sf_u~3); [L64] havoc ~#sf_u~3; VAL [#in~iptr!base=2bv32, #in~iptr!offset=0bv32, #in~x=~NaN~LONGDOUBLE(), #NULL!base=0bv32, #NULL!offset=0bv32, ~i0~0=2143289344bv32, ~iptr!base=2bv32, ~iptr!offset=0bv32, ~ix~1=2143289344bv32, ~j0~0=128bv32, ~one_modf~0=~fp~LONGDOUBLE(0bv1, 127bv8, 0bv23), ~x=~fp~LONGDOUBLE(0bv1, 0bv8, 0bv23)] [L68] #res := ~x; VAL [#in~iptr!base=2bv32, #in~iptr!offset=0bv32, #in~x=~NaN~LONGDOUBLE(), #NULL!base=0bv32, #NULL!offset=0bv32, #res=~fp~LONGDOUBLE(0bv1, 0bv8, 0bv23), ~i0~0=2143289344bv32, ~iptr!base=2bv32, ~iptr!offset=0bv32, ~ix~1=2143289344bv32, ~j0~0=128bv32, ~one_modf~0=~fp~LONGDOUBLE(0bv1, 127bv8, 0bv23), ~x=~fp~LONGDOUBLE(0bv1, 0bv8, 0bv23)] [L82] RET call #t~ret13 := modf_float(~x~0, ~#iptr~0); VAL [#NULL!base=0bv32, #NULL!offset=0bv32, #t~ret13=~fp~LONGDOUBLE(0bv1, 0bv8, 0bv23), ~#iptr~0!base=2bv32, ~#iptr~0!offset=0bv32, ~one_modf~0=~fp~LONGDOUBLE(0bv1, 127bv8, 0bv23), ~x~0=~NaN~LONGDOUBLE()] [L82] ~res~0 := #t~ret13; [L82] havoc #t~ret13; [L85] FCALL call #t~mem14 := read~intFLOATTYPE4(~#iptr~0, 4bv32); VAL [#NULL!base=0bv32, #NULL!offset=0bv32, #t~mem14=~NaN~LONGDOUBLE(), ~#iptr~0!base=2bv32, ~#iptr~0!offset=0bv32, ~one_modf~0=~fp~LONGDOUBLE(0bv1, 127bv8, 0bv23), ~res~0=~fp~LONGDOUBLE(0bv1, 0bv8, 0bv23), ~x~0=~NaN~LONGDOUBLE()] [L85] CALL call #t~ret15 := isnan_float(#t~mem14); VAL [#in~x=~NaN~LONGDOUBLE(), #NULL!base=0bv32, #NULL!offset=0bv32, ~one_modf~0=~fp~LONGDOUBLE(0bv1, 127bv8, 0bv23)] [L73] ~x := #in~x; [L73] #res := (if !~fp.eq~FLOAT(~x, ~x) then 1bv32 else 0bv32); VAL [#in~x=~NaN~LONGDOUBLE(), #NULL!base=0bv32, #NULL!offset=0bv32, #res=1bv32, ~one_modf~0=~fp~LONGDOUBLE(0bv1, 127bv8, 0bv23), ~x=~NaN~LONGDOUBLE()] [L85] RET call #t~ret15 := isnan_float(#t~mem14); VAL [#NULL!base=0bv32, #NULL!offset=0bv32, #t~mem14=~NaN~LONGDOUBLE(), #t~ret15=1bv32, ~#iptr~0!base=2bv32, ~#iptr~0!offset=0bv32, ~one_modf~0=~fp~LONGDOUBLE(0bv1, 127bv8, 0bv23), ~res~0=~fp~LONGDOUBLE(0bv1, 0bv8, 0bv23), ~x~0=~NaN~LONGDOUBLE()] [L85] #t~short17 := 0bv32 != #t~ret15; VAL [#NULL!base=0bv32, #NULL!offset=0bv32, #t~mem14=~NaN~LONGDOUBLE(), #t~ret15=1bv32, #t~short17=true, ~#iptr~0!base=2bv32, ~#iptr~0!offset=0bv32, ~one_modf~0=~fp~LONGDOUBLE(0bv1, 127bv8, 0bv23), ~res~0=~fp~LONGDOUBLE(0bv1, 0bv8, 0bv23), ~x~0=~NaN~LONGDOUBLE()] [L85] COND TRUE #t~short17 VAL [#NULL!base=0bv32, #NULL!offset=0bv32, #t~mem14=~NaN~LONGDOUBLE(), #t~ret15=1bv32, #t~short17=true, ~#iptr~0!base=2bv32, ~#iptr~0!offset=0bv32, ~one_modf~0=~fp~LONGDOUBLE(0bv1, 127bv8, 0bv23), ~res~0=~fp~LONGDOUBLE(0bv1, 0bv8, 0bv23), ~x~0=~NaN~LONGDOUBLE()] [L85] CALL call #t~ret16 := isnan_float(~res~0); VAL [#in~x=~fp~LONGDOUBLE(0bv1, 0bv8, 0bv23), #NULL!base=0bv32, #NULL!offset=0bv32, ~one_modf~0=~fp~LONGDOUBLE(0bv1, 127bv8, 0bv23)] [L73] ~x := #in~x; [L73] #res := (if !~fp.eq~FLOAT(~x, ~x) then 1bv32 else 0bv32); VAL [#in~x=~fp~LONGDOUBLE(0bv1, 0bv8, 0bv23), #NULL!base=0bv32, #NULL!offset=0bv32, #res=0bv32, ~one_modf~0=~fp~LONGDOUBLE(0bv1, 127bv8, 0bv23), ~x=~fp~LONGDOUBLE(0bv1, 0bv8, 0bv23)] [L85] RET call #t~ret16 := isnan_float(~res~0); VAL [#NULL!base=0bv32, #NULL!offset=0bv32, #t~mem14=~NaN~LONGDOUBLE(), #t~ret15=1bv32, #t~ret16=0bv32, #t~short17=true, ~#iptr~0!base=2bv32, ~#iptr~0!offset=0bv32, ~one_modf~0=~fp~LONGDOUBLE(0bv1, 127bv8, 0bv23), ~res~0=~fp~LONGDOUBLE(0bv1, 0bv8, 0bv23), ~x~0=~NaN~LONGDOUBLE()] [L85] #t~short17 := 0bv32 == #t~ret16; VAL [#NULL!base=0bv32, #NULL!offset=0bv32, #t~mem14=~NaN~LONGDOUBLE(), #t~ret15=1bv32, #t~ret16=0bv32, #t~short17=true, ~#iptr~0!base=2bv32, ~#iptr~0!offset=0bv32, ~one_modf~0=~fp~LONGDOUBLE(0bv1, 127bv8, 0bv23), ~res~0=~fp~LONGDOUBLE(0bv1, 0bv8, 0bv23), ~x~0=~NaN~LONGDOUBLE()] [L85] COND TRUE #t~short17 [L85] havoc #t~ret15; [L85] havoc #t~ret16; [L85] havoc #t~mem14; [L85] havoc #t~short17; VAL [#NULL!base=0bv32, #NULL!offset=0bv32, ~#iptr~0!base=2bv32, ~#iptr~0!offset=0bv32, ~one_modf~0=~fp~LONGDOUBLE(0bv1, 127bv8, 0bv23), ~res~0=~fp~LONGDOUBLE(0bv1, 0bv8, 0bv23), ~x~0=~NaN~LONGDOUBLE()] [L86] assert false; VAL [#NULL!base=0bv32, #NULL!offset=0bv32, ~#iptr~0!base=2bv32, ~#iptr~0!offset=0bv32, ~one_modf~0=~fp~LONGDOUBLE(0bv1, 127bv8, 0bv23), ~res~0=~fp~LONGDOUBLE(0bv1, 0bv8, 0bv23), ~x~0=~NaN~LONGDOUBLE()] [L11] static const float one_modf = 1.0; VAL [\old(one_modf)=0.000000000000000000000000000000000000000000007006492321624085, one_modf=1.0] [L80] float x = 0.0f / 0.0f; [L81] float iptr; VAL [iptr={2:0}, one_modf=1.0, x=NaN] [L82] CALL, EXPR modf_float(x, &iptr) VAL [\old(x)=NaN, iptr={2:0}, one_modf=1.0] [L14] __int32_t i0, j0; [L15] __uint32_t i; VAL [\old(x)=NaN, iptr={2:0}, iptr={2:0}, one_modf=1.0, x=NaN] [L17] ieee_float_shape_type gf_u; [L18] gf_u.value = (x) [L19] EXPR gf_u.word [L19] (i0) = gf_u.word [L21] j0 = ((i0 >> 23) & 0xff) - 0x7f VAL [\old(x)=NaN, i0=2143289344, iptr={2:0}, iptr={2:0}, j0=128, one_modf=1.0, x=NaN] [L22] COND FALSE !(j0 < 23) [L56] __uint32_t ix; [L57] *iptr = x * one_modf VAL [\old(x)=NaN, i0=2143289344, iptr={2:0}, iptr={2:0}, j0=128, one_modf=1.0, x=NaN] [L59] ieee_float_shape_type gf_u; [L60] gf_u.value = (x) [L61] EXPR gf_u.word [L61] (ix) = gf_u.word [L64] ieee_float_shape_type sf_u; [L65] sf_u.word = (ix & 0x80000000) [L66] EXPR sf_u.value [L66] (x) = sf_u.value [L68] return x; VAL [\old(x)=NaN, \result=0.0, i0=2143289344, iptr={2:0}, iptr={2:0}, ix=2143289344, j0=128, one_modf=1.0, x=0.0] [L82] RET, EXPR modf_float(x, &iptr) VAL [iptr={2:0}, modf_float(x, &iptr)=0.0, one_modf=1.0, x=NaN] [L82] float res = modf_float(x, &iptr); [L85] EXPR \read(iptr) VAL [\read(iptr)=NaN, iptr={2:0}, one_modf=1.0, res=0.0, x=NaN] [L85] CALL, EXPR isnan_float(iptr) VAL [\old(x)=NaN, one_modf=1.0] [L73] return x != x; VAL [\old(x)=NaN, \result=1, one_modf=1.0, x=NaN] [L85] RET, EXPR isnan_float(iptr) VAL [\read(iptr)=NaN, iptr={2:0}, isnan_float(iptr)=1, one_modf=1.0, res=0.0, x=NaN] [L85] isnan_float(iptr) && !isnan_float(res) VAL [\read(iptr)=NaN, iptr={2:0}, isnan_float(iptr)=1, isnan_float(iptr) && !isnan_float(res)=1, one_modf=1.0, res=0.0, x=NaN] [L85] CALL, EXPR isnan_float(res) VAL [\old(x)=0.0, one_modf=1.0] [L73] return x != x; VAL [\old(x)=0.0, \result=0, one_modf=1.0, x=0.0] [L85] RET, EXPR isnan_float(res) VAL [\read(iptr)=NaN, iptr={2:0}, isnan_float(iptr)=1, isnan_float(iptr) && !isnan_float(res)=1, isnan_float(res)=0, one_modf=1.0, res=0.0, x=NaN] [L85] isnan_float(iptr) && !isnan_float(res) VAL [\read(iptr)=NaN, iptr={2:0}, isnan_float(iptr)=1, isnan_float(iptr) && !isnan_float(res)=1, isnan_float(res)=0, one_modf=1.0, res=0.0, x=NaN] [L85] COND TRUE isnan_float(iptr) && !isnan_float(res) [L86] __VERIFIER_error() VAL [iptr={2:0}, one_modf=1.0, res=0.0, x=NaN] ----- [2018-11-23 13:11:42,693 INFO L202 PluginConnector]: Adding new model de.uni_freiburg.informatik.ultimate.plugins.generator.traceabstraction CFG 23.11 01:11:42 BoogieIcfgContainer [2018-11-23 13:11:42,694 INFO L132 PluginConnector]: ------------------------ END TraceAbstraction---------------------------- [2018-11-23 13:11:42,694 INFO L113 PluginConnector]: ------------------------Witness Printer---------------------------- [2018-11-23 13:11:42,694 INFO L271 PluginConnector]: Initializing Witness Printer... [2018-11-23 13:11:42,694 INFO L276 PluginConnector]: Witness Printer initialized [2018-11-23 13:11:42,695 INFO L185 PluginConnector]: Executing the observer RCFGCatcher from plugin Witness Printer for "de.uni_freiburg.informatik.ultimate.plugins.generator.rcfgbuilder CFG 23.11 01:11:41" (3/4) ... [2018-11-23 13:11:42,697 INFO L138 WitnessPrinter]: Generating witness for reachability counterexample ----- class de.uni_freiburg.informatik.ultimate.plugins.generator.rcfgbuilder.RCFGBacktranslator [?] CALL call ULTIMATE.init(); VAL [|#NULL.base|=(_ bv6 32), |#NULL.offset|=(_ bv5 32), |old(#NULL.base)|=(_ bv6 32), |old(#NULL.offset)|=(_ bv5 32), |old(~one_modf~0)|=(fp #b0 #b00000000 #b00000000000000000000101), ~one_modf~0=(fp #b0 #b00000000 #b00000000000000000000101)] [?] #NULL.base, #NULL.offset := 0bv32, 0bv32;#valid := #valid[0bv32 := 0bv1];~one_modf~0 := ~convertDOUBLEToFLOAT(~roundNearestTiesToEven, ~to_fp~DOUBLE(~roundNearestTiesToEven, 1.0)); VAL [|#NULL.base|=(_ bv0 32), |#NULL.offset|=(_ bv0 32), |old(#NULL.base)|=(_ bv6 32), |old(#NULL.offset)|=(_ bv5 32), |old(~one_modf~0)|=(fp #b0 #b00000000 #b00000000000000000000101), ~one_modf~0=(fp #b0 #b01111111 #b00000000000000000000000)] [?] assume true; VAL [|#NULL.base|=(_ bv0 32), |#NULL.offset|=(_ bv0 32), |old(#NULL.base)|=(_ bv6 32), |old(#NULL.offset)|=(_ bv5 32), |old(~one_modf~0)|=(fp #b0 #b00000000 #b00000000000000000000101), ~one_modf~0=(fp #b0 #b01111111 #b00000000000000000000000)] [?] RET #129#return; VAL [|#NULL.base|=(_ bv0 32), |#NULL.offset|=(_ bv0 32), ~one_modf~0=(fp #b0 #b01111111 #b00000000000000000000000)] [?] CALL call #t~ret18 := main(); VAL [|#NULL.base|=(_ bv0 32), |#NULL.offset|=(_ bv0 32), ~one_modf~0=(fp #b0 #b01111111 #b00000000000000000000000)] [?] ~x~0 := ~fp.div~FLOAT(~roundNearestTiesToEven, ~Pluszero~FLOAT(), ~Pluszero~FLOAT());call ~#iptr~0.base, ~#iptr~0.offset := #Ultimate.alloc(4bv32); VAL [main_~x~0=(_ NaN 8 24), |#NULL.base|=(_ bv0 32), |#NULL.offset|=(_ bv0 32), |main_~#iptr~0.base|=(_ bv2 32), |main_~#iptr~0.offset|=(_ bv0 32), ~one_modf~0=(fp #b0 #b01111111 #b00000000000000000000000)] [?] CALL call #t~ret13 := modf_float(~x~0, ~#iptr~0.base, ~#iptr~0.offset); VAL [|#NULL.base|=(_ bv0 32), |#NULL.offset|=(_ bv0 32), |modf_float_#in~iptr.base|=(_ bv2 32), |modf_float_#in~iptr.offset|=(_ bv0 32), |modf_float_#in~x|=(_ NaN 8 24), ~one_modf~0=(fp #b0 #b01111111 #b00000000000000000000000)] [?] ~x := #in~x;~iptr.base, ~iptr.offset := #in~iptr.base, #in~iptr.offset;havoc ~i0~0;havoc ~j0~0;havoc ~i~0; VAL [modf_float_~iptr.base=(_ bv2 32), modf_float_~iptr.offset=(_ bv0 32), modf_float_~x=(_ NaN 8 24), |#NULL.base|=(_ bv0 32), |#NULL.offset|=(_ bv0 32), |modf_float_#in~iptr.base|=(_ bv2 32), |modf_float_#in~iptr.offset|=(_ bv0 32), |modf_float_#in~x|=(_ NaN 8 24), ~one_modf~0=(fp #b0 #b01111111 #b00000000000000000000000)] [?] call ~#gf_u~0.base, ~#gf_u~0.offset := #Ultimate.alloc(4bv32);call write~intFLOATTYPE4(~x, ~#gf_u~0.base, ~#gf_u~0.offset, 4bv32);call #t~mem0 := read~intINTTYPE4(~#gf_u~0.base, ~#gf_u~0.offset, 4bv32);~i0~0 := #t~mem0;call write~intFLOATTYPE4(#t~union1, ~#gf_u~0.base, ~#gf_u~0.offset, 4bv32);havoc #t~mem0;havoc #t~union1;call ULTIMATE.dealloc(~#gf_u~0.base, ~#gf_u~0.offset);havoc ~#gf_u~0.base, ~#gf_u~0.offset; VAL [modf_float_~i0~0=(_ bv2143289344 32), modf_float_~iptr.base=(_ bv2 32), modf_float_~iptr.offset=(_ bv0 32), modf_float_~x=(_ NaN 8 24), |#NULL.base|=(_ bv0 32), |#NULL.offset|=(_ bv0 32), |modf_float_#in~iptr.base|=(_ bv2 32), |modf_float_#in~iptr.offset|=(_ bv0 32), |modf_float_#in~x|=(_ NaN 8 24), ~one_modf~0=(fp #b0 #b01111111 #b00000000000000000000000)] [?] goto; VAL [modf_float_~i0~0=(_ bv2143289344 32), modf_float_~iptr.base=(_ bv2 32), modf_float_~iptr.offset=(_ bv0 32), modf_float_~x=(_ NaN 8 24), |#NULL.base|=(_ bv0 32), |#NULL.offset|=(_ bv0 32), |modf_float_#in~iptr.base|=(_ bv2 32), |modf_float_#in~iptr.offset|=(_ bv0 32), |modf_float_#in~x|=(_ NaN 8 24), ~one_modf~0=(fp #b0 #b01111111 #b00000000000000000000000)] [?] ~j0~0 := ~bvsub32(~bvand32(255bv32, ~bvashr32(~i0~0, 23bv32)), 127bv32); VAL [modf_float_~i0~0=(_ bv2143289344 32), modf_float_~iptr.base=(_ bv2 32), modf_float_~iptr.offset=(_ bv0 32), modf_float_~j0~0=(_ bv128 32), modf_float_~x=(_ NaN 8 24), |#NULL.base|=(_ bv0 32), |#NULL.offset|=(_ bv0 32), |modf_float_#in~iptr.base|=(_ bv2 32), |modf_float_#in~iptr.offset|=(_ bv0 32), |modf_float_#in~x|=(_ NaN 8 24), ~one_modf~0=(fp #b0 #b01111111 #b00000000000000000000000)] [?] assume !~bvslt32(~j0~0, 23bv32);havoc ~ix~1;call write~intFLOATTYPE4(~fp.mul~FLOAT(~roundNearestTiesToEven, ~x, ~one_modf~0), ~iptr.base, ~iptr.offset, 4bv32); VAL [modf_float_~i0~0=(_ bv2143289344 32), modf_float_~iptr.base=(_ bv2 32), modf_float_~iptr.offset=(_ bv0 32), modf_float_~j0~0=(_ bv128 32), modf_float_~x=(_ NaN 8 24), |#NULL.base|=(_ bv0 32), |#NULL.offset|=(_ bv0 32), |modf_float_#in~iptr.base|=(_ bv2 32), |modf_float_#in~iptr.offset|=(_ bv0 32), |modf_float_#in~x|=(_ NaN 8 24), ~one_modf~0=(fp #b0 #b01111111 #b00000000000000000000000)] [?] call ~#gf_u~2.base, ~#gf_u~2.offset := #Ultimate.alloc(4bv32);call write~intFLOATTYPE4(~x, ~#gf_u~2.base, ~#gf_u~2.offset, 4bv32);call #t~mem9 := read~intINTTYPE4(~#gf_u~2.base, ~#gf_u~2.offset, 4bv32);~ix~1 := #t~mem9;call write~intFLOATTYPE4(#t~union10, ~#gf_u~2.base, ~#gf_u~2.offset, 4bv32);havoc #t~mem9;havoc #t~union10;call ULTIMATE.dealloc(~#gf_u~2.base, ~#gf_u~2.offset);havoc ~#gf_u~2.base, ~#gf_u~2.offset; VAL [modf_float_~i0~0=(_ bv2143289344 32), modf_float_~iptr.base=(_ bv2 32), modf_float_~iptr.offset=(_ bv0 32), modf_float_~ix~1=(_ bv2143289344 32), modf_float_~j0~0=(_ bv128 32), modf_float_~x=(_ NaN 8 24), |#NULL.base|=(_ bv0 32), |#NULL.offset|=(_ bv0 32), |modf_float_#in~iptr.base|=(_ bv2 32), |modf_float_#in~iptr.offset|=(_ bv0 32), |modf_float_#in~x|=(_ NaN 8 24), ~one_modf~0=(fp #b0 #b01111111 #b00000000000000000000000)] [?] goto; VAL [modf_float_~i0~0=(_ bv2143289344 32), modf_float_~iptr.base=(_ bv2 32), modf_float_~iptr.offset=(_ bv0 32), modf_float_~ix~1=(_ bv2143289344 32), modf_float_~j0~0=(_ bv128 32), modf_float_~x=(_ NaN 8 24), |#NULL.base|=(_ bv0 32), |#NULL.offset|=(_ bv0 32), |modf_float_#in~iptr.base|=(_ bv2 32), |modf_float_#in~iptr.offset|=(_ bv0 32), |modf_float_#in~x|=(_ NaN 8 24), ~one_modf~0=(fp #b0 #b01111111 #b00000000000000000000000)] [?] call ~#sf_u~3.base, ~#sf_u~3.offset := #Ultimate.alloc(4bv32);call write~intINTTYPE4(~bvand32(2147483648bv32, ~ix~1), ~#sf_u~3.base, ~#sf_u~3.offset, 4bv32);call #t~mem11 := read~intFLOATTYPE4(~#sf_u~3.base, ~#sf_u~3.offset, 4bv32);~x := #t~mem11;call write~intINTTYPE4(#t~union12, ~#sf_u~3.base, ~#sf_u~3.offset, 4bv32);havoc #t~mem11;havoc #t~union12;call ULTIMATE.dealloc(~#sf_u~3.base, ~#sf_u~3.offset);havoc ~#sf_u~3.base, ~#sf_u~3.offset; VAL [modf_float_~i0~0=(_ bv2143289344 32), modf_float_~iptr.base=(_ bv2 32), modf_float_~iptr.offset=(_ bv0 32), modf_float_~ix~1=(_ bv2143289344 32), modf_float_~j0~0=(_ bv128 32), modf_float_~x=(fp #b0 #b00000000 #b00000000000000000000000), |#NULL.base|=(_ bv0 32), |#NULL.offset|=(_ bv0 32), |modf_float_#in~iptr.base|=(_ bv2 32), |modf_float_#in~iptr.offset|=(_ bv0 32), |modf_float_#in~x|=(_ NaN 8 24), ~one_modf~0=(fp #b0 #b01111111 #b00000000000000000000000)] [?] goto; VAL [modf_float_~i0~0=(_ bv2143289344 32), modf_float_~iptr.base=(_ bv2 32), modf_float_~iptr.offset=(_ bv0 32), modf_float_~ix~1=(_ bv2143289344 32), modf_float_~j0~0=(_ bv128 32), modf_float_~x=(fp #b0 #b00000000 #b00000000000000000000000), |#NULL.base|=(_ bv0 32), |#NULL.offset|=(_ bv0 32), |modf_float_#in~iptr.base|=(_ bv2 32), |modf_float_#in~iptr.offset|=(_ bv0 32), |modf_float_#in~x|=(_ NaN 8 24), ~one_modf~0=(fp #b0 #b01111111 #b00000000000000000000000)] [?] #res := ~x; VAL [modf_float_~i0~0=(_ bv2143289344 32), modf_float_~iptr.base=(_ bv2 32), modf_float_~iptr.offset=(_ bv0 32), modf_float_~ix~1=(_ bv2143289344 32), modf_float_~j0~0=(_ bv128 32), modf_float_~x=(fp #b0 #b00000000 #b00000000000000000000000), |#NULL.base|=(_ bv0 32), |#NULL.offset|=(_ bv0 32), |modf_float_#in~iptr.base|=(_ bv2 32), |modf_float_#in~iptr.offset|=(_ bv0 32), |modf_float_#in~x|=(_ NaN 8 24), |modf_float_#res|=(fp #b0 #b00000000 #b00000000000000000000000), ~one_modf~0=(fp #b0 #b01111111 #b00000000000000000000000)] [?] assume true; VAL [modf_float_~i0~0=(_ bv2143289344 32), modf_float_~iptr.base=(_ bv2 32), modf_float_~iptr.offset=(_ bv0 32), modf_float_~ix~1=(_ bv2143289344 32), modf_float_~j0~0=(_ bv128 32), modf_float_~x=(fp #b0 #b00000000 #b00000000000000000000000), |#NULL.base|=(_ bv0 32), |#NULL.offset|=(_ bv0 32), |modf_float_#in~iptr.base|=(_ bv2 32), |modf_float_#in~iptr.offset|=(_ bv0 32), |modf_float_#in~x|=(_ NaN 8 24), |modf_float_#res|=(fp #b0 #b00000000 #b00000000000000000000000), ~one_modf~0=(fp #b0 #b01111111 #b00000000000000000000000)] [?] RET #133#return; VAL [main_~x~0=(_ NaN 8 24), |#NULL.base|=(_ bv0 32), |#NULL.offset|=(_ bv0 32), |main_#t~ret13|=(fp #b0 #b00000000 #b00000000000000000000000), |main_~#iptr~0.base|=(_ bv2 32), |main_~#iptr~0.offset|=(_ bv0 32), ~one_modf~0=(fp #b0 #b01111111 #b00000000000000000000000)] [?] ~res~0 := #t~ret13;havoc #t~ret13;call #t~mem14 := read~intFLOATTYPE4(~#iptr~0.base, ~#iptr~0.offset, 4bv32); VAL [main_~res~0=(fp #b0 #b00000000 #b00000000000000000000000), main_~x~0=(_ NaN 8 24), |#NULL.base|=(_ bv0 32), |#NULL.offset|=(_ bv0 32), |main_#t~mem14|=(_ NaN 8 24), |main_~#iptr~0.base|=(_ bv2 32), |main_~#iptr~0.offset|=(_ bv0 32), ~one_modf~0=(fp #b0 #b01111111 #b00000000000000000000000)] [?] CALL call #t~ret15 := isnan_float(#t~mem14); VAL [|#NULL.base|=(_ bv0 32), |#NULL.offset|=(_ bv0 32), |isnan_float_#in~x|=(_ NaN 8 24), ~one_modf~0=(fp #b0 #b01111111 #b00000000000000000000000)] [?] ~x := #in~x;#res := (if !~fp.eq~FLOAT(~x, ~x) then 1bv32 else 0bv32); VAL [isnan_float_~x=(_ NaN 8 24), |#NULL.base|=(_ bv0 32), |#NULL.offset|=(_ bv0 32), |isnan_float_#in~x|=(_ NaN 8 24), |isnan_float_#res|=(_ bv1 32), ~one_modf~0=(fp #b0 #b01111111 #b00000000000000000000000)] [?] assume true; VAL [isnan_float_~x=(_ NaN 8 24), |#NULL.base|=(_ bv0 32), |#NULL.offset|=(_ bv0 32), |isnan_float_#in~x|=(_ NaN 8 24), |isnan_float_#res|=(_ bv1 32), ~one_modf~0=(fp #b0 #b01111111 #b00000000000000000000000)] [?] RET #135#return; VAL [main_~res~0=(fp #b0 #b00000000 #b00000000000000000000000), main_~x~0=(_ NaN 8 24), |#NULL.base|=(_ bv0 32), |#NULL.offset|=(_ bv0 32), |main_#t~mem14|=(_ NaN 8 24), |main_#t~ret15|=(_ bv1 32), |main_~#iptr~0.base|=(_ bv2 32), |main_~#iptr~0.offset|=(_ bv0 32), ~one_modf~0=(fp #b0 #b01111111 #b00000000000000000000000)] [?] #t~short17 := 0bv32 != #t~ret15; VAL [main_~res~0=(fp #b0 #b00000000 #b00000000000000000000000), main_~x~0=(_ NaN 8 24), |#NULL.base|=(_ bv0 32), |#NULL.offset|=(_ bv0 32), |main_#t~mem14|=(_ NaN 8 24), |main_#t~ret15|=(_ bv1 32), |main_#t~short17|=true, |main_~#iptr~0.base|=(_ bv2 32), |main_~#iptr~0.offset|=(_ bv0 32), ~one_modf~0=(fp #b0 #b01111111 #b00000000000000000000000)] [?] assume #t~short17; VAL [main_~res~0=(fp #b0 #b00000000 #b00000000000000000000000), main_~x~0=(_ NaN 8 24), |#NULL.base|=(_ bv0 32), |#NULL.offset|=(_ bv0 32), |main_#t~mem14|=(_ NaN 8 24), |main_#t~ret15|=(_ bv1 32), |main_#t~short17|=true, |main_~#iptr~0.base|=(_ bv2 32), |main_~#iptr~0.offset|=(_ bv0 32), ~one_modf~0=(fp #b0 #b01111111 #b00000000000000000000000)] [?] CALL call #t~ret16 := isnan_float(~res~0); VAL [|#NULL.base|=(_ bv0 32), |#NULL.offset|=(_ bv0 32), |isnan_float_#in~x|=(fp #b0 #b00000000 #b00000000000000000000000), ~one_modf~0=(fp #b0 #b01111111 #b00000000000000000000000)] [?] ~x := #in~x;#res := (if !~fp.eq~FLOAT(~x, ~x) then 1bv32 else 0bv32); VAL [isnan_float_~x=(fp #b0 #b00000000 #b00000000000000000000000), |#NULL.base|=(_ bv0 32), |#NULL.offset|=(_ bv0 32), |isnan_float_#in~x|=(fp #b0 #b00000000 #b00000000000000000000000), |isnan_float_#res|=(_ bv0 32), ~one_modf~0=(fp #b0 #b01111111 #b00000000000000000000000)] [?] assume true; VAL [isnan_float_~x=(fp #b0 #b00000000 #b00000000000000000000000), |#NULL.base|=(_ bv0 32), |#NULL.offset|=(_ bv0 32), |isnan_float_#in~x|=(fp #b0 #b00000000 #b00000000000000000000000), |isnan_float_#res|=(_ bv0 32), ~one_modf~0=(fp #b0 #b01111111 #b00000000000000000000000)] [?] RET #137#return; VAL [main_~res~0=(fp #b0 #b00000000 #b00000000000000000000000), main_~x~0=(_ NaN 8 24), |#NULL.base|=(_ bv0 32), |#NULL.offset|=(_ bv0 32), |main_#t~mem14|=(_ NaN 8 24), |main_#t~ret15|=(_ bv1 32), |main_#t~ret16|=(_ bv0 32), |main_#t~short17|=true, |main_~#iptr~0.base|=(_ bv2 32), |main_~#iptr~0.offset|=(_ bv0 32), ~one_modf~0=(fp #b0 #b01111111 #b00000000000000000000000)] [?] #t~short17 := 0bv32 == #t~ret16; VAL [main_~res~0=(fp #b0 #b00000000 #b00000000000000000000000), main_~x~0=(_ NaN 8 24), |#NULL.base|=(_ bv0 32), |#NULL.offset|=(_ bv0 32), |main_#t~mem14|=(_ NaN 8 24), |main_#t~ret15|=(_ bv1 32), |main_#t~ret16|=(_ bv0 32), |main_#t~short17|=true, |main_~#iptr~0.base|=(_ bv2 32), |main_~#iptr~0.offset|=(_ bv0 32), ~one_modf~0=(fp #b0 #b01111111 #b00000000000000000000000)] [?] assume #t~short17;havoc #t~ret15;havoc #t~ret16;havoc #t~mem14;havoc #t~short17; VAL [main_~res~0=(fp #b0 #b00000000 #b00000000000000000000000), main_~x~0=(_ NaN 8 24), |#NULL.base|=(_ bv0 32), |#NULL.offset|=(_ bv0 32), |main_~#iptr~0.base|=(_ bv2 32), |main_~#iptr~0.offset|=(_ bv0 32), ~one_modf~0=(fp #b0 #b01111111 #b00000000000000000000000)] [?] assume !false; VAL [main_~res~0=(fp #b0 #b00000000 #b00000000000000000000000), main_~x~0=(_ NaN 8 24), |#NULL.base|=(_ bv0 32), |#NULL.offset|=(_ bv0 32), |main_~#iptr~0.base|=(_ bv2 32), |main_~#iptr~0.offset|=(_ bv0 32), ~one_modf~0=(fp #b0 #b01111111 #b00000000000000000000000)] [?] CALL call ULTIMATE.init(); VAL [#NULL.base=6bv32, #NULL.offset=5bv32, old(#NULL.base)=6bv32, old(#NULL.offset)=5bv32, old(~one_modf~0)=~fp~LONGDOUBLE(0bv1, 0bv8, 5bv23), ~one_modf~0=~fp~LONGDOUBLE(0bv1, 0bv8, 5bv23)] [?] #NULL.base, #NULL.offset := 0bv32, 0bv32; [?] #valid := #valid[0bv32 := 0bv1]; [L11] ~one_modf~0 := ~convertDOUBLEToFLOAT(~roundNearestTiesToEven, ~to_fp~DOUBLE(~roundNearestTiesToEven, 1.0)); VAL [#NULL.base=0bv32, #NULL.offset=0bv32, old(#NULL.base)=6bv32, old(#NULL.offset)=5bv32, old(~one_modf~0)=~fp~LONGDOUBLE(0bv1, 0bv8, 5bv23), ~one_modf~0=~fp~LONGDOUBLE(0bv1, 127bv8, 0bv23)] [?] ensures true; VAL [#NULL.base=0bv32, #NULL.offset=0bv32, old(#NULL.base)=6bv32, old(#NULL.offset)=5bv32, old(~one_modf~0)=~fp~LONGDOUBLE(0bv1, 0bv8, 5bv23), ~one_modf~0=~fp~LONGDOUBLE(0bv1, 127bv8, 0bv23)] [?] RET call ULTIMATE.init(); VAL [#NULL.base=0bv32, #NULL.offset=0bv32, ~one_modf~0=~fp~LONGDOUBLE(0bv1, 127bv8, 0bv23)] [?] CALL call #t~ret18 := main(); VAL [#NULL.base=0bv32, #NULL.offset=0bv32, ~one_modf~0=~fp~LONGDOUBLE(0bv1, 127bv8, 0bv23)] [L80] ~x~0 := ~fp.div~FLOAT(~roundNearestTiesToEven, ~Pluszero~FLOAT(), ~Pluszero~FLOAT()); [L81] call ~#iptr~0.base, ~#iptr~0.offset := #Ultimate.alloc(4bv32); VAL [#NULL.base=0bv32, #NULL.offset=0bv32, ~#iptr~0.base=2bv32, ~#iptr~0.offset=0bv32, ~one_modf~0=~fp~LONGDOUBLE(0bv1, 127bv8, 0bv23), ~x~0=~NaN~LONGDOUBLE()] [L82] CALL call #t~ret13 := modf_float(~x~0, ~#iptr~0.base, ~#iptr~0.offset); VAL [#in~iptr.base=2bv32, #in~iptr.offset=0bv32, #in~x=~NaN~LONGDOUBLE(), #NULL.base=0bv32, #NULL.offset=0bv32, ~one_modf~0=~fp~LONGDOUBLE(0bv1, 127bv8, 0bv23)] [L13-L70] ~x := #in~x; [L13-L70] ~iptr.base, ~iptr.offset := #in~iptr.base, #in~iptr.offset; [L14] havoc ~i0~0; [L14] havoc ~j0~0; [L15] havoc ~i~0; VAL [#in~iptr.base=2bv32, #in~iptr.offset=0bv32, #in~x=~NaN~LONGDOUBLE(), #NULL.base=0bv32, #NULL.offset=0bv32, ~iptr.base=2bv32, ~iptr.offset=0bv32, ~one_modf~0=~fp~LONGDOUBLE(0bv1, 127bv8, 0bv23), ~x=~NaN~LONGDOUBLE()] [L17] call ~#gf_u~0.base, ~#gf_u~0.offset := #Ultimate.alloc(4bv32); [L18] call write~intFLOATTYPE4(~x, ~#gf_u~0.base, ~#gf_u~0.offset, 4bv32); [L19] call #t~mem0 := read~intINTTYPE4(~#gf_u~0.base, ~#gf_u~0.offset, 4bv32); [L19] ~i0~0 := #t~mem0; [L19] call write~intFLOATTYPE4(#t~union1, ~#gf_u~0.base, ~#gf_u~0.offset, 4bv32); [L19] havoc #t~mem0; [L19] havoc #t~union1; [L17] call ULTIMATE.dealloc(~#gf_u~0.base, ~#gf_u~0.offset); [L17] havoc ~#gf_u~0.base, ~#gf_u~0.offset; VAL [#in~iptr.base=2bv32, #in~iptr.offset=0bv32, #in~x=~NaN~LONGDOUBLE(), #NULL.base=0bv32, #NULL.offset=0bv32, ~i0~0=2143289344bv32, ~iptr.base=2bv32, ~iptr.offset=0bv32, ~one_modf~0=~fp~LONGDOUBLE(0bv1, 127bv8, 0bv23), ~x=~NaN~LONGDOUBLE()] [L21] ~j0~0 := ~bvsub32(~bvand32(255bv32, ~bvashr32(~i0~0, 23bv32)), 127bv32); VAL [#in~iptr.base=2bv32, #in~iptr.offset=0bv32, #in~x=~NaN~LONGDOUBLE(), #NULL.base=0bv32, #NULL.offset=0bv32, ~i0~0=2143289344bv32, ~iptr.base=2bv32, ~iptr.offset=0bv32, ~j0~0=128bv32, ~one_modf~0=~fp~LONGDOUBLE(0bv1, 127bv8, 0bv23), ~x=~NaN~LONGDOUBLE()] [L22-L69] assume !~bvslt32(~j0~0, 23bv32); [L56] havoc ~ix~1; [L57] call write~intFLOATTYPE4(~fp.mul~FLOAT(~roundNearestTiesToEven, ~x, ~one_modf~0), ~iptr.base, ~iptr.offset, 4bv32); VAL [#in~iptr.base=2bv32, #in~iptr.offset=0bv32, #in~x=~NaN~LONGDOUBLE(), #NULL.base=0bv32, #NULL.offset=0bv32, ~i0~0=2143289344bv32, ~iptr.base=2bv32, ~iptr.offset=0bv32, ~j0~0=128bv32, ~one_modf~0=~fp~LONGDOUBLE(0bv1, 127bv8, 0bv23), ~x=~NaN~LONGDOUBLE()] [L59] call ~#gf_u~2.base, ~#gf_u~2.offset := #Ultimate.alloc(4bv32); [L60] call write~intFLOATTYPE4(~x, ~#gf_u~2.base, ~#gf_u~2.offset, 4bv32); [L61] call #t~mem9 := read~intINTTYPE4(~#gf_u~2.base, ~#gf_u~2.offset, 4bv32); [L61] ~ix~1 := #t~mem9; [L61] call write~intFLOATTYPE4(#t~union10, ~#gf_u~2.base, ~#gf_u~2.offset, 4bv32); [L61] havoc #t~mem9; [L61] havoc #t~union10; [L59] call ULTIMATE.dealloc(~#gf_u~2.base, ~#gf_u~2.offset); [L59] havoc ~#gf_u~2.base, ~#gf_u~2.offset; VAL [#in~iptr.base=2bv32, #in~iptr.offset=0bv32, #in~x=~NaN~LONGDOUBLE(), #NULL.base=0bv32, #NULL.offset=0bv32, ~i0~0=2143289344bv32, ~iptr.base=2bv32, ~iptr.offset=0bv32, ~ix~1=2143289344bv32, ~j0~0=128bv32, ~one_modf~0=~fp~LONGDOUBLE(0bv1, 127bv8, 0bv23), ~x=~NaN~LONGDOUBLE()] [L64] call ~#sf_u~3.base, ~#sf_u~3.offset := #Ultimate.alloc(4bv32); [L65] call write~intINTTYPE4(~bvand32(2147483648bv32, ~ix~1), ~#sf_u~3.base, ~#sf_u~3.offset, 4bv32); [L66] call #t~mem11 := read~intFLOATTYPE4(~#sf_u~3.base, ~#sf_u~3.offset, 4bv32); [L66] ~x := #t~mem11; [L66] call write~intINTTYPE4(#t~union12, ~#sf_u~3.base, ~#sf_u~3.offset, 4bv32); [L66] havoc #t~mem11; [L66] havoc #t~union12; [L64] call ULTIMATE.dealloc(~#sf_u~3.base, ~#sf_u~3.offset); [L64] havoc ~#sf_u~3.base, ~#sf_u~3.offset; VAL [#in~iptr.base=2bv32, #in~iptr.offset=0bv32, #in~x=~NaN~LONGDOUBLE(), #NULL.base=0bv32, #NULL.offset=0bv32, ~i0~0=2143289344bv32, ~iptr.base=2bv32, ~iptr.offset=0bv32, ~ix~1=2143289344bv32, ~j0~0=128bv32, ~one_modf~0=~fp~LONGDOUBLE(0bv1, 127bv8, 0bv23), ~x=~fp~LONGDOUBLE(0bv1, 0bv8, 0bv23)] [L68] #res := ~x; VAL [#in~iptr.base=2bv32, #in~iptr.offset=0bv32, #in~x=~NaN~LONGDOUBLE(), #NULL.base=0bv32, #NULL.offset=0bv32, #res=~fp~LONGDOUBLE(0bv1, 0bv8, 0bv23), ~i0~0=2143289344bv32, ~iptr.base=2bv32, ~iptr.offset=0bv32, ~ix~1=2143289344bv32, ~j0~0=128bv32, ~one_modf~0=~fp~LONGDOUBLE(0bv1, 127bv8, 0bv23), ~x=~fp~LONGDOUBLE(0bv1, 0bv8, 0bv23)] [L13-L70] ensures true; VAL [#in~iptr.base=2bv32, #in~iptr.offset=0bv32, #in~x=~NaN~LONGDOUBLE(), #NULL.base=0bv32, #NULL.offset=0bv32, #res=~fp~LONGDOUBLE(0bv1, 0bv8, 0bv23), ~i0~0=2143289344bv32, ~iptr.base=2bv32, ~iptr.offset=0bv32, ~ix~1=2143289344bv32, ~j0~0=128bv32, ~one_modf~0=~fp~LONGDOUBLE(0bv1, 127bv8, 0bv23), ~x=~fp~LONGDOUBLE(0bv1, 0bv8, 0bv23)] [L82] RET call #t~ret13 := modf_float(~x~0, ~#iptr~0.base, ~#iptr~0.offset); VAL [#NULL.base=0bv32, #NULL.offset=0bv32, #t~ret13=~fp~LONGDOUBLE(0bv1, 0bv8, 0bv23), ~#iptr~0.base=2bv32, ~#iptr~0.offset=0bv32, ~one_modf~0=~fp~LONGDOUBLE(0bv1, 127bv8, 0bv23), ~x~0=~NaN~LONGDOUBLE()] [L82] ~res~0 := #t~ret13; [L82] havoc #t~ret13; [L85] call #t~mem14 := read~intFLOATTYPE4(~#iptr~0.base, ~#iptr~0.offset, 4bv32); VAL [#NULL.base=0bv32, #NULL.offset=0bv32, #t~mem14=~NaN~LONGDOUBLE(), ~#iptr~0.base=2bv32, ~#iptr~0.offset=0bv32, ~one_modf~0=~fp~LONGDOUBLE(0bv1, 127bv8, 0bv23), ~res~0=~fp~LONGDOUBLE(0bv1, 0bv8, 0bv23), ~x~0=~NaN~LONGDOUBLE()] [L85] CALL call #t~ret15 := isnan_float(#t~mem14); VAL [#in~x=~NaN~LONGDOUBLE(), #NULL.base=0bv32, #NULL.offset=0bv32, ~one_modf~0=~fp~LONGDOUBLE(0bv1, 127bv8, 0bv23)] [L73] ~x := #in~x; [L73] #res := (if !~fp.eq~FLOAT(~x, ~x) then 1bv32 else 0bv32); VAL [#in~x=~NaN~LONGDOUBLE(), #NULL.base=0bv32, #NULL.offset=0bv32, #res=1bv32, ~one_modf~0=~fp~LONGDOUBLE(0bv1, 127bv8, 0bv23), ~x=~NaN~LONGDOUBLE()] [L73] ensures true; VAL [#in~x=~NaN~LONGDOUBLE(), #NULL.base=0bv32, #NULL.offset=0bv32, #res=1bv32, ~one_modf~0=~fp~LONGDOUBLE(0bv1, 127bv8, 0bv23), ~x=~NaN~LONGDOUBLE()] [L85] RET call #t~ret15 := isnan_float(#t~mem14); VAL [#NULL.base=0bv32, #NULL.offset=0bv32, #t~mem14=~NaN~LONGDOUBLE(), #t~ret15=1bv32, ~#iptr~0.base=2bv32, ~#iptr~0.offset=0bv32, ~one_modf~0=~fp~LONGDOUBLE(0bv1, 127bv8, 0bv23), ~res~0=~fp~LONGDOUBLE(0bv1, 0bv8, 0bv23), ~x~0=~NaN~LONGDOUBLE()] [L85] #t~short17 := 0bv32 != #t~ret15; VAL [#NULL.base=0bv32, #NULL.offset=0bv32, #t~mem14=~NaN~LONGDOUBLE(), #t~ret15=1bv32, #t~short17=true, ~#iptr~0.base=2bv32, ~#iptr~0.offset=0bv32, ~one_modf~0=~fp~LONGDOUBLE(0bv1, 127bv8, 0bv23), ~res~0=~fp~LONGDOUBLE(0bv1, 0bv8, 0bv23), ~x~0=~NaN~LONGDOUBLE()] [L85] assume #t~short17; VAL [#NULL.base=0bv32, #NULL.offset=0bv32, #t~mem14=~NaN~LONGDOUBLE(), #t~ret15=1bv32, #t~short17=true, ~#iptr~0.base=2bv32, ~#iptr~0.offset=0bv32, ~one_modf~0=~fp~LONGDOUBLE(0bv1, 127bv8, 0bv23), ~res~0=~fp~LONGDOUBLE(0bv1, 0bv8, 0bv23), ~x~0=~NaN~LONGDOUBLE()] [L85] CALL call #t~ret16 := isnan_float(~res~0); VAL [#in~x=~fp~LONGDOUBLE(0bv1, 0bv8, 0bv23), #NULL.base=0bv32, #NULL.offset=0bv32, ~one_modf~0=~fp~LONGDOUBLE(0bv1, 127bv8, 0bv23)] [L73] ~x := #in~x; [L73] #res := (if !~fp.eq~FLOAT(~x, ~x) then 1bv32 else 0bv32); VAL [#in~x=~fp~LONGDOUBLE(0bv1, 0bv8, 0bv23), #NULL.base=0bv32, #NULL.offset=0bv32, #res=0bv32, ~one_modf~0=~fp~LONGDOUBLE(0bv1, 127bv8, 0bv23), ~x=~fp~LONGDOUBLE(0bv1, 0bv8, 0bv23)] [L73] ensures true; VAL [#in~x=~fp~LONGDOUBLE(0bv1, 0bv8, 0bv23), #NULL.base=0bv32, #NULL.offset=0bv32, #res=0bv32, ~one_modf~0=~fp~LONGDOUBLE(0bv1, 127bv8, 0bv23), ~x=~fp~LONGDOUBLE(0bv1, 0bv8, 0bv23)] [L85] RET call #t~ret16 := isnan_float(~res~0); VAL [#NULL.base=0bv32, #NULL.offset=0bv32, #t~mem14=~NaN~LONGDOUBLE(), #t~ret15=1bv32, #t~ret16=0bv32, #t~short17=true, ~#iptr~0.base=2bv32, ~#iptr~0.offset=0bv32, ~one_modf~0=~fp~LONGDOUBLE(0bv1, 127bv8, 0bv23), ~res~0=~fp~LONGDOUBLE(0bv1, 0bv8, 0bv23), ~x~0=~NaN~LONGDOUBLE()] [L85] #t~short17 := 0bv32 == #t~ret16; VAL [#NULL.base=0bv32, #NULL.offset=0bv32, #t~mem14=~NaN~LONGDOUBLE(), #t~ret15=1bv32, #t~ret16=0bv32, #t~short17=true, ~#iptr~0.base=2bv32, ~#iptr~0.offset=0bv32, ~one_modf~0=~fp~LONGDOUBLE(0bv1, 127bv8, 0bv23), ~res~0=~fp~LONGDOUBLE(0bv1, 0bv8, 0bv23), ~x~0=~NaN~LONGDOUBLE()] [L85-L88] assume #t~short17; [L85] havoc #t~ret15; [L85] havoc #t~ret16; [L85] havoc #t~mem14; [L85] havoc #t~short17; VAL [#NULL.base=0bv32, #NULL.offset=0bv32, ~#iptr~0.base=2bv32, ~#iptr~0.offset=0bv32, ~one_modf~0=~fp~LONGDOUBLE(0bv1, 127bv8, 0bv23), ~res~0=~fp~LONGDOUBLE(0bv1, 0bv8, 0bv23), ~x~0=~NaN~LONGDOUBLE()] [L86] assert false; VAL [#NULL.base=0bv32, #NULL.offset=0bv32, ~#iptr~0.base=2bv32, ~#iptr~0.offset=0bv32, ~one_modf~0=~fp~LONGDOUBLE(0bv1, 127bv8, 0bv23), ~res~0=~fp~LONGDOUBLE(0bv1, 0bv8, 0bv23), ~x~0=~NaN~LONGDOUBLE()] ----- ----- class de.uni_freiburg.informatik.ultimate.boogie.preprocessor.BoogiePreprocessorBacktranslator [?] CALL call ULTIMATE.init(); VAL [#NULL.base=6bv32, #NULL.offset=5bv32, old(#NULL.base)=6bv32, old(#NULL.offset)=5bv32, old(~one_modf~0)=~fp~LONGDOUBLE(0bv1, 0bv8, 5bv23), ~one_modf~0=~fp~LONGDOUBLE(0bv1, 0bv8, 5bv23)] [?] #NULL.base, #NULL.offset := 0bv32, 0bv32; [?] #valid := #valid[0bv32 := 0bv1]; [L11] ~one_modf~0 := ~convertDOUBLEToFLOAT(~roundNearestTiesToEven, ~to_fp~DOUBLE(~roundNearestTiesToEven, 1.0)); VAL [#NULL.base=0bv32, #NULL.offset=0bv32, old(#NULL.base)=6bv32, old(#NULL.offset)=5bv32, old(~one_modf~0)=~fp~LONGDOUBLE(0bv1, 0bv8, 5bv23), ~one_modf~0=~fp~LONGDOUBLE(0bv1, 127bv8, 0bv23)] [?] ensures true; VAL [#NULL.base=0bv32, #NULL.offset=0bv32, old(#NULL.base)=6bv32, old(#NULL.offset)=5bv32, old(~one_modf~0)=~fp~LONGDOUBLE(0bv1, 0bv8, 5bv23), ~one_modf~0=~fp~LONGDOUBLE(0bv1, 127bv8, 0bv23)] [?] RET call ULTIMATE.init(); VAL [#NULL.base=0bv32, #NULL.offset=0bv32, ~one_modf~0=~fp~LONGDOUBLE(0bv1, 127bv8, 0bv23)] [?] CALL call #t~ret18 := main(); VAL [#NULL.base=0bv32, #NULL.offset=0bv32, ~one_modf~0=~fp~LONGDOUBLE(0bv1, 127bv8, 0bv23)] [L80] ~x~0 := ~fp.div~FLOAT(~roundNearestTiesToEven, ~Pluszero~FLOAT(), ~Pluszero~FLOAT()); [L81] call ~#iptr~0.base, ~#iptr~0.offset := #Ultimate.alloc(4bv32); VAL [#NULL.base=0bv32, #NULL.offset=0bv32, ~#iptr~0.base=2bv32, ~#iptr~0.offset=0bv32, ~one_modf~0=~fp~LONGDOUBLE(0bv1, 127bv8, 0bv23), ~x~0=~NaN~LONGDOUBLE()] [L82] CALL call #t~ret13 := modf_float(~x~0, ~#iptr~0.base, ~#iptr~0.offset); VAL [#in~iptr.base=2bv32, #in~iptr.offset=0bv32, #in~x=~NaN~LONGDOUBLE(), #NULL.base=0bv32, #NULL.offset=0bv32, ~one_modf~0=~fp~LONGDOUBLE(0bv1, 127bv8, 0bv23)] [L13-L70] ~x := #in~x; [L13-L70] ~iptr.base, ~iptr.offset := #in~iptr.base, #in~iptr.offset; [L14] havoc ~i0~0; [L14] havoc ~j0~0; [L15] havoc ~i~0; VAL [#in~iptr.base=2bv32, #in~iptr.offset=0bv32, #in~x=~NaN~LONGDOUBLE(), #NULL.base=0bv32, #NULL.offset=0bv32, ~iptr.base=2bv32, ~iptr.offset=0bv32, ~one_modf~0=~fp~LONGDOUBLE(0bv1, 127bv8, 0bv23), ~x=~NaN~LONGDOUBLE()] [L17] call ~#gf_u~0.base, ~#gf_u~0.offset := #Ultimate.alloc(4bv32); [L18] call write~intFLOATTYPE4(~x, ~#gf_u~0.base, ~#gf_u~0.offset, 4bv32); [L19] call #t~mem0 := read~intINTTYPE4(~#gf_u~0.base, ~#gf_u~0.offset, 4bv32); [L19] ~i0~0 := #t~mem0; [L19] call write~intFLOATTYPE4(#t~union1, ~#gf_u~0.base, ~#gf_u~0.offset, 4bv32); [L19] havoc #t~mem0; [L19] havoc #t~union1; [L17] call ULTIMATE.dealloc(~#gf_u~0.base, ~#gf_u~0.offset); [L17] havoc ~#gf_u~0.base, ~#gf_u~0.offset; VAL [#in~iptr.base=2bv32, #in~iptr.offset=0bv32, #in~x=~NaN~LONGDOUBLE(), #NULL.base=0bv32, #NULL.offset=0bv32, ~i0~0=2143289344bv32, ~iptr.base=2bv32, ~iptr.offset=0bv32, ~one_modf~0=~fp~LONGDOUBLE(0bv1, 127bv8, 0bv23), ~x=~NaN~LONGDOUBLE()] [L21] ~j0~0 := ~bvsub32(~bvand32(255bv32, ~bvashr32(~i0~0, 23bv32)), 127bv32); VAL [#in~iptr.base=2bv32, #in~iptr.offset=0bv32, #in~x=~NaN~LONGDOUBLE(), #NULL.base=0bv32, #NULL.offset=0bv32, ~i0~0=2143289344bv32, ~iptr.base=2bv32, ~iptr.offset=0bv32, ~j0~0=128bv32, ~one_modf~0=~fp~LONGDOUBLE(0bv1, 127bv8, 0bv23), ~x=~NaN~LONGDOUBLE()] [L22-L69] assume !~bvslt32(~j0~0, 23bv32); [L56] havoc ~ix~1; [L57] call write~intFLOATTYPE4(~fp.mul~FLOAT(~roundNearestTiesToEven, ~x, ~one_modf~0), ~iptr.base, ~iptr.offset, 4bv32); VAL [#in~iptr.base=2bv32, #in~iptr.offset=0bv32, #in~x=~NaN~LONGDOUBLE(), #NULL.base=0bv32, #NULL.offset=0bv32, ~i0~0=2143289344bv32, ~iptr.base=2bv32, ~iptr.offset=0bv32, ~j0~0=128bv32, ~one_modf~0=~fp~LONGDOUBLE(0bv1, 127bv8, 0bv23), ~x=~NaN~LONGDOUBLE()] [L59] call ~#gf_u~2.base, ~#gf_u~2.offset := #Ultimate.alloc(4bv32); [L60] call write~intFLOATTYPE4(~x, ~#gf_u~2.base, ~#gf_u~2.offset, 4bv32); [L61] call #t~mem9 := read~intINTTYPE4(~#gf_u~2.base, ~#gf_u~2.offset, 4bv32); [L61] ~ix~1 := #t~mem9; [L61] call write~intFLOATTYPE4(#t~union10, ~#gf_u~2.base, ~#gf_u~2.offset, 4bv32); [L61] havoc #t~mem9; [L61] havoc #t~union10; [L59] call ULTIMATE.dealloc(~#gf_u~2.base, ~#gf_u~2.offset); [L59] havoc ~#gf_u~2.base, ~#gf_u~2.offset; VAL [#in~iptr.base=2bv32, #in~iptr.offset=0bv32, #in~x=~NaN~LONGDOUBLE(), #NULL.base=0bv32, #NULL.offset=0bv32, ~i0~0=2143289344bv32, ~iptr.base=2bv32, ~iptr.offset=0bv32, ~ix~1=2143289344bv32, ~j0~0=128bv32, ~one_modf~0=~fp~LONGDOUBLE(0bv1, 127bv8, 0bv23), ~x=~NaN~LONGDOUBLE()] [L64] call ~#sf_u~3.base, ~#sf_u~3.offset := #Ultimate.alloc(4bv32); [L65] call write~intINTTYPE4(~bvand32(2147483648bv32, ~ix~1), ~#sf_u~3.base, ~#sf_u~3.offset, 4bv32); [L66] call #t~mem11 := read~intFLOATTYPE4(~#sf_u~3.base, ~#sf_u~3.offset, 4bv32); [L66] ~x := #t~mem11; [L66] call write~intINTTYPE4(#t~union12, ~#sf_u~3.base, ~#sf_u~3.offset, 4bv32); [L66] havoc #t~mem11; [L66] havoc #t~union12; [L64] call ULTIMATE.dealloc(~#sf_u~3.base, ~#sf_u~3.offset); [L64] havoc ~#sf_u~3.base, ~#sf_u~3.offset; VAL [#in~iptr.base=2bv32, #in~iptr.offset=0bv32, #in~x=~NaN~LONGDOUBLE(), #NULL.base=0bv32, #NULL.offset=0bv32, ~i0~0=2143289344bv32, ~iptr.base=2bv32, ~iptr.offset=0bv32, ~ix~1=2143289344bv32, ~j0~0=128bv32, ~one_modf~0=~fp~LONGDOUBLE(0bv1, 127bv8, 0bv23), ~x=~fp~LONGDOUBLE(0bv1, 0bv8, 0bv23)] [L68] #res := ~x; VAL [#in~iptr.base=2bv32, #in~iptr.offset=0bv32, #in~x=~NaN~LONGDOUBLE(), #NULL.base=0bv32, #NULL.offset=0bv32, #res=~fp~LONGDOUBLE(0bv1, 0bv8, 0bv23), ~i0~0=2143289344bv32, ~iptr.base=2bv32, ~iptr.offset=0bv32, ~ix~1=2143289344bv32, ~j0~0=128bv32, ~one_modf~0=~fp~LONGDOUBLE(0bv1, 127bv8, 0bv23), ~x=~fp~LONGDOUBLE(0bv1, 0bv8, 0bv23)] [L13-L70] ensures true; VAL [#in~iptr.base=2bv32, #in~iptr.offset=0bv32, #in~x=~NaN~LONGDOUBLE(), #NULL.base=0bv32, #NULL.offset=0bv32, #res=~fp~LONGDOUBLE(0bv1, 0bv8, 0bv23), ~i0~0=2143289344bv32, ~iptr.base=2bv32, ~iptr.offset=0bv32, ~ix~1=2143289344bv32, ~j0~0=128bv32, ~one_modf~0=~fp~LONGDOUBLE(0bv1, 127bv8, 0bv23), ~x=~fp~LONGDOUBLE(0bv1, 0bv8, 0bv23)] [L82] RET call #t~ret13 := modf_float(~x~0, ~#iptr~0.base, ~#iptr~0.offset); VAL [#NULL.base=0bv32, #NULL.offset=0bv32, #t~ret13=~fp~LONGDOUBLE(0bv1, 0bv8, 0bv23), ~#iptr~0.base=2bv32, ~#iptr~0.offset=0bv32, ~one_modf~0=~fp~LONGDOUBLE(0bv1, 127bv8, 0bv23), ~x~0=~NaN~LONGDOUBLE()] [L82] ~res~0 := #t~ret13; [L82] havoc #t~ret13; [L85] call #t~mem14 := read~intFLOATTYPE4(~#iptr~0.base, ~#iptr~0.offset, 4bv32); VAL [#NULL.base=0bv32, #NULL.offset=0bv32, #t~mem14=~NaN~LONGDOUBLE(), ~#iptr~0.base=2bv32, ~#iptr~0.offset=0bv32, ~one_modf~0=~fp~LONGDOUBLE(0bv1, 127bv8, 0bv23), ~res~0=~fp~LONGDOUBLE(0bv1, 0bv8, 0bv23), ~x~0=~NaN~LONGDOUBLE()] [L85] CALL call #t~ret15 := isnan_float(#t~mem14); VAL [#in~x=~NaN~LONGDOUBLE(), #NULL.base=0bv32, #NULL.offset=0bv32, ~one_modf~0=~fp~LONGDOUBLE(0bv1, 127bv8, 0bv23)] [L73] ~x := #in~x; [L73] #res := (if !~fp.eq~FLOAT(~x, ~x) then 1bv32 else 0bv32); VAL [#in~x=~NaN~LONGDOUBLE(), #NULL.base=0bv32, #NULL.offset=0bv32, #res=1bv32, ~one_modf~0=~fp~LONGDOUBLE(0bv1, 127bv8, 0bv23), ~x=~NaN~LONGDOUBLE()] [L73] ensures true; VAL [#in~x=~NaN~LONGDOUBLE(), #NULL.base=0bv32, #NULL.offset=0bv32, #res=1bv32, ~one_modf~0=~fp~LONGDOUBLE(0bv1, 127bv8, 0bv23), ~x=~NaN~LONGDOUBLE()] [L85] RET call #t~ret15 := isnan_float(#t~mem14); VAL [#NULL.base=0bv32, #NULL.offset=0bv32, #t~mem14=~NaN~LONGDOUBLE(), #t~ret15=1bv32, ~#iptr~0.base=2bv32, ~#iptr~0.offset=0bv32, ~one_modf~0=~fp~LONGDOUBLE(0bv1, 127bv8, 0bv23), ~res~0=~fp~LONGDOUBLE(0bv1, 0bv8, 0bv23), ~x~0=~NaN~LONGDOUBLE()] [L85] #t~short17 := 0bv32 != #t~ret15; VAL [#NULL.base=0bv32, #NULL.offset=0bv32, #t~mem14=~NaN~LONGDOUBLE(), #t~ret15=1bv32, #t~short17=true, ~#iptr~0.base=2bv32, ~#iptr~0.offset=0bv32, ~one_modf~0=~fp~LONGDOUBLE(0bv1, 127bv8, 0bv23), ~res~0=~fp~LONGDOUBLE(0bv1, 0bv8, 0bv23), ~x~0=~NaN~LONGDOUBLE()] [L85] assume #t~short17; VAL [#NULL.base=0bv32, #NULL.offset=0bv32, #t~mem14=~NaN~LONGDOUBLE(), #t~ret15=1bv32, #t~short17=true, ~#iptr~0.base=2bv32, ~#iptr~0.offset=0bv32, ~one_modf~0=~fp~LONGDOUBLE(0bv1, 127bv8, 0bv23), ~res~0=~fp~LONGDOUBLE(0bv1, 0bv8, 0bv23), ~x~0=~NaN~LONGDOUBLE()] [L85] CALL call #t~ret16 := isnan_float(~res~0); VAL [#in~x=~fp~LONGDOUBLE(0bv1, 0bv8, 0bv23), #NULL.base=0bv32, #NULL.offset=0bv32, ~one_modf~0=~fp~LONGDOUBLE(0bv1, 127bv8, 0bv23)] [L73] ~x := #in~x; [L73] #res := (if !~fp.eq~FLOAT(~x, ~x) then 1bv32 else 0bv32); VAL [#in~x=~fp~LONGDOUBLE(0bv1, 0bv8, 0bv23), #NULL.base=0bv32, #NULL.offset=0bv32, #res=0bv32, ~one_modf~0=~fp~LONGDOUBLE(0bv1, 127bv8, 0bv23), ~x=~fp~LONGDOUBLE(0bv1, 0bv8, 0bv23)] [L73] ensures true; VAL [#in~x=~fp~LONGDOUBLE(0bv1, 0bv8, 0bv23), #NULL.base=0bv32, #NULL.offset=0bv32, #res=0bv32, ~one_modf~0=~fp~LONGDOUBLE(0bv1, 127bv8, 0bv23), ~x=~fp~LONGDOUBLE(0bv1, 0bv8, 0bv23)] [L85] RET call #t~ret16 := isnan_float(~res~0); VAL [#NULL.base=0bv32, #NULL.offset=0bv32, #t~mem14=~NaN~LONGDOUBLE(), #t~ret15=1bv32, #t~ret16=0bv32, #t~short17=true, ~#iptr~0.base=2bv32, ~#iptr~0.offset=0bv32, ~one_modf~0=~fp~LONGDOUBLE(0bv1, 127bv8, 0bv23), ~res~0=~fp~LONGDOUBLE(0bv1, 0bv8, 0bv23), ~x~0=~NaN~LONGDOUBLE()] [L85] #t~short17 := 0bv32 == #t~ret16; VAL [#NULL.base=0bv32, #NULL.offset=0bv32, #t~mem14=~NaN~LONGDOUBLE(), #t~ret15=1bv32, #t~ret16=0bv32, #t~short17=true, ~#iptr~0.base=2bv32, ~#iptr~0.offset=0bv32, ~one_modf~0=~fp~LONGDOUBLE(0bv1, 127bv8, 0bv23), ~res~0=~fp~LONGDOUBLE(0bv1, 0bv8, 0bv23), ~x~0=~NaN~LONGDOUBLE()] [L85-L88] assume #t~short17; [L85] havoc #t~ret15; [L85] havoc #t~ret16; [L85] havoc #t~mem14; [L85] havoc #t~short17; VAL [#NULL.base=0bv32, #NULL.offset=0bv32, ~#iptr~0.base=2bv32, ~#iptr~0.offset=0bv32, ~one_modf~0=~fp~LONGDOUBLE(0bv1, 127bv8, 0bv23), ~res~0=~fp~LONGDOUBLE(0bv1, 0bv8, 0bv23), ~x~0=~NaN~LONGDOUBLE()] [L86] assert false; VAL [#NULL.base=0bv32, #NULL.offset=0bv32, ~#iptr~0.base=2bv32, ~#iptr~0.offset=0bv32, ~one_modf~0=~fp~LONGDOUBLE(0bv1, 127bv8, 0bv23), ~res~0=~fp~LONGDOUBLE(0bv1, 0bv8, 0bv23), ~x~0=~NaN~LONGDOUBLE()] [?] CALL call ULTIMATE.init(); VAL [#NULL!base=6bv32, #NULL!offset=5bv32, old(#NULL!base)=6bv32, old(#NULL!offset)=5bv32, old(~one_modf~0)=~fp~LONGDOUBLE(0bv1, 0bv8, 5bv23), ~one_modf~0=~fp~LONGDOUBLE(0bv1, 0bv8, 5bv23)] [?] #NULL := { base: 0bv32, offset: 0bv32 }; [?] #valid[0bv32] := 0bv1; [L11] ~one_modf~0 := ~convertDOUBLEToFLOAT(~roundNearestTiesToEven, ~to_fp~DOUBLE(~roundNearestTiesToEven, 1.0)); VAL [#NULL!base=0bv32, #NULL!offset=0bv32, old(#NULL!base)=6bv32, old(#NULL!offset)=5bv32, old(~one_modf~0)=~fp~LONGDOUBLE(0bv1, 0bv8, 5bv23), ~one_modf~0=~fp~LONGDOUBLE(0bv1, 127bv8, 0bv23)] [?] RET call ULTIMATE.init(); VAL [#NULL!base=0bv32, #NULL!offset=0bv32, ~one_modf~0=~fp~LONGDOUBLE(0bv1, 127bv8, 0bv23)] [?] CALL call #t~ret18 := main(); VAL [#NULL!base=0bv32, #NULL!offset=0bv32, ~one_modf~0=~fp~LONGDOUBLE(0bv1, 127bv8, 0bv23)] [L80] ~x~0 := ~fp.div~FLOAT(~roundNearestTiesToEven, ~Pluszero~FLOAT(), ~Pluszero~FLOAT()); [L81] FCALL call ~#iptr~0 := #Ultimate.alloc(4bv32); VAL [#NULL!base=0bv32, #NULL!offset=0bv32, ~#iptr~0!base=2bv32, ~#iptr~0!offset=0bv32, ~one_modf~0=~fp~LONGDOUBLE(0bv1, 127bv8, 0bv23), ~x~0=~NaN~LONGDOUBLE()] [L82] CALL call #t~ret13 := modf_float(~x~0, ~#iptr~0); VAL [#in~iptr!base=2bv32, #in~iptr!offset=0bv32, #in~x=~NaN~LONGDOUBLE(), #NULL!base=0bv32, #NULL!offset=0bv32, ~one_modf~0=~fp~LONGDOUBLE(0bv1, 127bv8, 0bv23)] [L13-L70] ~x := #in~x; [L13-L70] ~iptr := #in~iptr; [L14] havoc ~i0~0; [L14] havoc ~j0~0; [L15] havoc ~i~0; VAL [#in~iptr!base=2bv32, #in~iptr!offset=0bv32, #in~x=~NaN~LONGDOUBLE(), #NULL!base=0bv32, #NULL!offset=0bv32, ~iptr!base=2bv32, ~iptr!offset=0bv32, ~one_modf~0=~fp~LONGDOUBLE(0bv1, 127bv8, 0bv23), ~x=~NaN~LONGDOUBLE()] [L17] FCALL call ~#gf_u~0 := #Ultimate.alloc(4bv32); [L18] FCALL call write~intFLOATTYPE4(~x, { base: ~#gf_u~0!base, offset: ~#gf_u~0!offset }, 4bv32); [L19] FCALL call #t~mem0 := read~intINTTYPE4({ base: ~#gf_u~0!base, offset: ~#gf_u~0!offset }, 4bv32); [L19] ~i0~0 := #t~mem0; [L19] FCALL call write~intFLOATTYPE4(#t~union1, { base: ~#gf_u~0!base, offset: ~#gf_u~0!offset }, 4bv32); [L19] havoc #t~mem0; [L19] havoc #t~union1; [L17] FCALL call ULTIMATE.dealloc(~#gf_u~0); [L17] havoc ~#gf_u~0; VAL [#in~iptr!base=2bv32, #in~iptr!offset=0bv32, #in~x=~NaN~LONGDOUBLE(), #NULL!base=0bv32, #NULL!offset=0bv32, ~i0~0=2143289344bv32, ~iptr!base=2bv32, ~iptr!offset=0bv32, ~one_modf~0=~fp~LONGDOUBLE(0bv1, 127bv8, 0bv23), ~x=~NaN~LONGDOUBLE()] [L21] ~j0~0 := ~bvsub32(~bvand32(255bv32, ~bvashr32(~i0~0, 23bv32)), 127bv32); VAL [#in~iptr!base=2bv32, #in~iptr!offset=0bv32, #in~x=~NaN~LONGDOUBLE(), #NULL!base=0bv32, #NULL!offset=0bv32, ~i0~0=2143289344bv32, ~iptr!base=2bv32, ~iptr!offset=0bv32, ~j0~0=128bv32, ~one_modf~0=~fp~LONGDOUBLE(0bv1, 127bv8, 0bv23), ~x=~NaN~LONGDOUBLE()] [L22] COND FALSE !(~bvslt32(~j0~0, 23bv32)) [L56] havoc ~ix~1; [L57] FCALL call write~intFLOATTYPE4(~fp.mul~FLOAT(~roundNearestTiesToEven, ~x, ~one_modf~0), ~iptr, 4bv32); VAL [#in~iptr!base=2bv32, #in~iptr!offset=0bv32, #in~x=~NaN~LONGDOUBLE(), #NULL!base=0bv32, #NULL!offset=0bv32, ~i0~0=2143289344bv32, ~iptr!base=2bv32, ~iptr!offset=0bv32, ~j0~0=128bv32, ~one_modf~0=~fp~LONGDOUBLE(0bv1, 127bv8, 0bv23), ~x=~NaN~LONGDOUBLE()] [L59] FCALL call ~#gf_u~2 := #Ultimate.alloc(4bv32); [L60] FCALL call write~intFLOATTYPE4(~x, { base: ~#gf_u~2!base, offset: ~#gf_u~2!offset }, 4bv32); [L61] FCALL call #t~mem9 := read~intINTTYPE4({ base: ~#gf_u~2!base, offset: ~#gf_u~2!offset }, 4bv32); [L61] ~ix~1 := #t~mem9; [L61] FCALL call write~intFLOATTYPE4(#t~union10, { base: ~#gf_u~2!base, offset: ~#gf_u~2!offset }, 4bv32); [L61] havoc #t~mem9; [L61] havoc #t~union10; [L59] FCALL call ULTIMATE.dealloc(~#gf_u~2); [L59] havoc ~#gf_u~2; VAL [#in~iptr!base=2bv32, #in~iptr!offset=0bv32, #in~x=~NaN~LONGDOUBLE(), #NULL!base=0bv32, #NULL!offset=0bv32, ~i0~0=2143289344bv32, ~iptr!base=2bv32, ~iptr!offset=0bv32, ~ix~1=2143289344bv32, ~j0~0=128bv32, ~one_modf~0=~fp~LONGDOUBLE(0bv1, 127bv8, 0bv23), ~x=~NaN~LONGDOUBLE()] [L64] FCALL call ~#sf_u~3 := #Ultimate.alloc(4bv32); [L65] FCALL call write~intINTTYPE4(~bvand32(2147483648bv32, ~ix~1), { base: ~#sf_u~3!base, offset: ~#sf_u~3!offset }, 4bv32); [L66] FCALL call #t~mem11 := read~intFLOATTYPE4({ base: ~#sf_u~3!base, offset: ~#sf_u~3!offset }, 4bv32); [L66] ~x := #t~mem11; [L66] FCALL call write~intINTTYPE4(#t~union12, { base: ~#sf_u~3!base, offset: ~#sf_u~3!offset }, 4bv32); [L66] havoc #t~mem11; [L66] havoc #t~union12; [L64] FCALL call ULTIMATE.dealloc(~#sf_u~3); [L64] havoc ~#sf_u~3; VAL [#in~iptr!base=2bv32, #in~iptr!offset=0bv32, #in~x=~NaN~LONGDOUBLE(), #NULL!base=0bv32, #NULL!offset=0bv32, ~i0~0=2143289344bv32, ~iptr!base=2bv32, ~iptr!offset=0bv32, ~ix~1=2143289344bv32, ~j0~0=128bv32, ~one_modf~0=~fp~LONGDOUBLE(0bv1, 127bv8, 0bv23), ~x=~fp~LONGDOUBLE(0bv1, 0bv8, 0bv23)] [L68] #res := ~x; VAL [#in~iptr!base=2bv32, #in~iptr!offset=0bv32, #in~x=~NaN~LONGDOUBLE(), #NULL!base=0bv32, #NULL!offset=0bv32, #res=~fp~LONGDOUBLE(0bv1, 0bv8, 0bv23), ~i0~0=2143289344bv32, ~iptr!base=2bv32, ~iptr!offset=0bv32, ~ix~1=2143289344bv32, ~j0~0=128bv32, ~one_modf~0=~fp~LONGDOUBLE(0bv1, 127bv8, 0bv23), ~x=~fp~LONGDOUBLE(0bv1, 0bv8, 0bv23)] [L82] RET call #t~ret13 := modf_float(~x~0, ~#iptr~0); VAL [#NULL!base=0bv32, #NULL!offset=0bv32, #t~ret13=~fp~LONGDOUBLE(0bv1, 0bv8, 0bv23), ~#iptr~0!base=2bv32, ~#iptr~0!offset=0bv32, ~one_modf~0=~fp~LONGDOUBLE(0bv1, 127bv8, 0bv23), ~x~0=~NaN~LONGDOUBLE()] [L82] ~res~0 := #t~ret13; [L82] havoc #t~ret13; [L85] FCALL call #t~mem14 := read~intFLOATTYPE4(~#iptr~0, 4bv32); VAL [#NULL!base=0bv32, #NULL!offset=0bv32, #t~mem14=~NaN~LONGDOUBLE(), ~#iptr~0!base=2bv32, ~#iptr~0!offset=0bv32, ~one_modf~0=~fp~LONGDOUBLE(0bv1, 127bv8, 0bv23), ~res~0=~fp~LONGDOUBLE(0bv1, 0bv8, 0bv23), ~x~0=~NaN~LONGDOUBLE()] [L85] CALL call #t~ret15 := isnan_float(#t~mem14); VAL [#in~x=~NaN~LONGDOUBLE(), #NULL!base=0bv32, #NULL!offset=0bv32, ~one_modf~0=~fp~LONGDOUBLE(0bv1, 127bv8, 0bv23)] [L73] ~x := #in~x; [L73] #res := (if !~fp.eq~FLOAT(~x, ~x) then 1bv32 else 0bv32); VAL [#in~x=~NaN~LONGDOUBLE(), #NULL!base=0bv32, #NULL!offset=0bv32, #res=1bv32, ~one_modf~0=~fp~LONGDOUBLE(0bv1, 127bv8, 0bv23), ~x=~NaN~LONGDOUBLE()] [L85] RET call #t~ret15 := isnan_float(#t~mem14); VAL [#NULL!base=0bv32, #NULL!offset=0bv32, #t~mem14=~NaN~LONGDOUBLE(), #t~ret15=1bv32, ~#iptr~0!base=2bv32, ~#iptr~0!offset=0bv32, ~one_modf~0=~fp~LONGDOUBLE(0bv1, 127bv8, 0bv23), ~res~0=~fp~LONGDOUBLE(0bv1, 0bv8, 0bv23), ~x~0=~NaN~LONGDOUBLE()] [L85] #t~short17 := 0bv32 != #t~ret15; VAL [#NULL!base=0bv32, #NULL!offset=0bv32, #t~mem14=~NaN~LONGDOUBLE(), #t~ret15=1bv32, #t~short17=true, ~#iptr~0!base=2bv32, ~#iptr~0!offset=0bv32, ~one_modf~0=~fp~LONGDOUBLE(0bv1, 127bv8, 0bv23), ~res~0=~fp~LONGDOUBLE(0bv1, 0bv8, 0bv23), ~x~0=~NaN~LONGDOUBLE()] [L85] COND TRUE #t~short17 VAL [#NULL!base=0bv32, #NULL!offset=0bv32, #t~mem14=~NaN~LONGDOUBLE(), #t~ret15=1bv32, #t~short17=true, ~#iptr~0!base=2bv32, ~#iptr~0!offset=0bv32, ~one_modf~0=~fp~LONGDOUBLE(0bv1, 127bv8, 0bv23), ~res~0=~fp~LONGDOUBLE(0bv1, 0bv8, 0bv23), ~x~0=~NaN~LONGDOUBLE()] [L85] CALL call #t~ret16 := isnan_float(~res~0); VAL [#in~x=~fp~LONGDOUBLE(0bv1, 0bv8, 0bv23), #NULL!base=0bv32, #NULL!offset=0bv32, ~one_modf~0=~fp~LONGDOUBLE(0bv1, 127bv8, 0bv23)] [L73] ~x := #in~x; [L73] #res := (if !~fp.eq~FLOAT(~x, ~x) then 1bv32 else 0bv32); VAL [#in~x=~fp~LONGDOUBLE(0bv1, 0bv8, 0bv23), #NULL!base=0bv32, #NULL!offset=0bv32, #res=0bv32, ~one_modf~0=~fp~LONGDOUBLE(0bv1, 127bv8, 0bv23), ~x=~fp~LONGDOUBLE(0bv1, 0bv8, 0bv23)] [L85] RET call #t~ret16 := isnan_float(~res~0); VAL [#NULL!base=0bv32, #NULL!offset=0bv32, #t~mem14=~NaN~LONGDOUBLE(), #t~ret15=1bv32, #t~ret16=0bv32, #t~short17=true, ~#iptr~0!base=2bv32, ~#iptr~0!offset=0bv32, ~one_modf~0=~fp~LONGDOUBLE(0bv1, 127bv8, 0bv23), ~res~0=~fp~LONGDOUBLE(0bv1, 0bv8, 0bv23), ~x~0=~NaN~LONGDOUBLE()] [L85] #t~short17 := 0bv32 == #t~ret16; VAL [#NULL!base=0bv32, #NULL!offset=0bv32, #t~mem14=~NaN~LONGDOUBLE(), #t~ret15=1bv32, #t~ret16=0bv32, #t~short17=true, ~#iptr~0!base=2bv32, ~#iptr~0!offset=0bv32, ~one_modf~0=~fp~LONGDOUBLE(0bv1, 127bv8, 0bv23), ~res~0=~fp~LONGDOUBLE(0bv1, 0bv8, 0bv23), ~x~0=~NaN~LONGDOUBLE()] [L85] COND TRUE #t~short17 [L85] havoc #t~ret15; [L85] havoc #t~ret16; [L85] havoc #t~mem14; [L85] havoc #t~short17; VAL [#NULL!base=0bv32, #NULL!offset=0bv32, ~#iptr~0!base=2bv32, ~#iptr~0!offset=0bv32, ~one_modf~0=~fp~LONGDOUBLE(0bv1, 127bv8, 0bv23), ~res~0=~fp~LONGDOUBLE(0bv1, 0bv8, 0bv23), ~x~0=~NaN~LONGDOUBLE()] [L86] assert false; VAL [#NULL!base=0bv32, #NULL!offset=0bv32, ~#iptr~0!base=2bv32, ~#iptr~0!offset=0bv32, ~one_modf~0=~fp~LONGDOUBLE(0bv1, 127bv8, 0bv23), ~res~0=~fp~LONGDOUBLE(0bv1, 0bv8, 0bv23), ~x~0=~NaN~LONGDOUBLE()] ----- ----- class de.uni_freiburg.informatik.ultimate.boogie.procedureinliner.backtranslation.InlinerBacktranslator [?] CALL call ULTIMATE.init(); VAL [#NULL!base=6bv32, #NULL!offset=5bv32, old(#NULL!base)=6bv32, old(#NULL!offset)=5bv32, old(~one_modf~0)=~fp~LONGDOUBLE(0bv1, 0bv8, 5bv23), ~one_modf~0=~fp~LONGDOUBLE(0bv1, 0bv8, 5bv23)] [?] #NULL := { base: 0bv32, offset: 0bv32 }; [?] #valid[0bv32] := 0bv1; [L11] ~one_modf~0 := ~convertDOUBLEToFLOAT(~roundNearestTiesToEven, ~to_fp~DOUBLE(~roundNearestTiesToEven, 1.0)); VAL [#NULL!base=0bv32, #NULL!offset=0bv32, old(#NULL!base)=6bv32, old(#NULL!offset)=5bv32, old(~one_modf~0)=~fp~LONGDOUBLE(0bv1, 0bv8, 5bv23), ~one_modf~0=~fp~LONGDOUBLE(0bv1, 127bv8, 0bv23)] [?] RET call ULTIMATE.init(); VAL [#NULL!base=0bv32, #NULL!offset=0bv32, ~one_modf~0=~fp~LONGDOUBLE(0bv1, 127bv8, 0bv23)] [?] CALL call #t~ret18 := main(); VAL [#NULL!base=0bv32, #NULL!offset=0bv32, ~one_modf~0=~fp~LONGDOUBLE(0bv1, 127bv8, 0bv23)] [L80] ~x~0 := ~fp.div~FLOAT(~roundNearestTiesToEven, ~Pluszero~FLOAT(), ~Pluszero~FLOAT()); [L81] FCALL call ~#iptr~0 := #Ultimate.alloc(4bv32); VAL [#NULL!base=0bv32, #NULL!offset=0bv32, ~#iptr~0!base=2bv32, ~#iptr~0!offset=0bv32, ~one_modf~0=~fp~LONGDOUBLE(0bv1, 127bv8, 0bv23), ~x~0=~NaN~LONGDOUBLE()] [L82] CALL call #t~ret13 := modf_float(~x~0, ~#iptr~0); VAL [#in~iptr!base=2bv32, #in~iptr!offset=0bv32, #in~x=~NaN~LONGDOUBLE(), #NULL!base=0bv32, #NULL!offset=0bv32, ~one_modf~0=~fp~LONGDOUBLE(0bv1, 127bv8, 0bv23)] [L13-L70] ~x := #in~x; [L13-L70] ~iptr := #in~iptr; [L14] havoc ~i0~0; [L14] havoc ~j0~0; [L15] havoc ~i~0; VAL [#in~iptr!base=2bv32, #in~iptr!offset=0bv32, #in~x=~NaN~LONGDOUBLE(), #NULL!base=0bv32, #NULL!offset=0bv32, ~iptr!base=2bv32, ~iptr!offset=0bv32, ~one_modf~0=~fp~LONGDOUBLE(0bv1, 127bv8, 0bv23), ~x=~NaN~LONGDOUBLE()] [L17] FCALL call ~#gf_u~0 := #Ultimate.alloc(4bv32); [L18] FCALL call write~intFLOATTYPE4(~x, { base: ~#gf_u~0!base, offset: ~#gf_u~0!offset }, 4bv32); [L19] FCALL call #t~mem0 := read~intINTTYPE4({ base: ~#gf_u~0!base, offset: ~#gf_u~0!offset }, 4bv32); [L19] ~i0~0 := #t~mem0; [L19] FCALL call write~intFLOATTYPE4(#t~union1, { base: ~#gf_u~0!base, offset: ~#gf_u~0!offset }, 4bv32); [L19] havoc #t~mem0; [L19] havoc #t~union1; [L17] FCALL call ULTIMATE.dealloc(~#gf_u~0); [L17] havoc ~#gf_u~0; VAL [#in~iptr!base=2bv32, #in~iptr!offset=0bv32, #in~x=~NaN~LONGDOUBLE(), #NULL!base=0bv32, #NULL!offset=0bv32, ~i0~0=2143289344bv32, ~iptr!base=2bv32, ~iptr!offset=0bv32, ~one_modf~0=~fp~LONGDOUBLE(0bv1, 127bv8, 0bv23), ~x=~NaN~LONGDOUBLE()] [L21] ~j0~0 := ~bvsub32(~bvand32(255bv32, ~bvashr32(~i0~0, 23bv32)), 127bv32); VAL [#in~iptr!base=2bv32, #in~iptr!offset=0bv32, #in~x=~NaN~LONGDOUBLE(), #NULL!base=0bv32, #NULL!offset=0bv32, ~i0~0=2143289344bv32, ~iptr!base=2bv32, ~iptr!offset=0bv32, ~j0~0=128bv32, ~one_modf~0=~fp~LONGDOUBLE(0bv1, 127bv8, 0bv23), ~x=~NaN~LONGDOUBLE()] [L22] COND FALSE !(~bvslt32(~j0~0, 23bv32)) [L56] havoc ~ix~1; [L57] FCALL call write~intFLOATTYPE4(~fp.mul~FLOAT(~roundNearestTiesToEven, ~x, ~one_modf~0), ~iptr, 4bv32); VAL [#in~iptr!base=2bv32, #in~iptr!offset=0bv32, #in~x=~NaN~LONGDOUBLE(), #NULL!base=0bv32, #NULL!offset=0bv32, ~i0~0=2143289344bv32, ~iptr!base=2bv32, ~iptr!offset=0bv32, ~j0~0=128bv32, ~one_modf~0=~fp~LONGDOUBLE(0bv1, 127bv8, 0bv23), ~x=~NaN~LONGDOUBLE()] [L59] FCALL call ~#gf_u~2 := #Ultimate.alloc(4bv32); [L60] FCALL call write~intFLOATTYPE4(~x, { base: ~#gf_u~2!base, offset: ~#gf_u~2!offset }, 4bv32); [L61] FCALL call #t~mem9 := read~intINTTYPE4({ base: ~#gf_u~2!base, offset: ~#gf_u~2!offset }, 4bv32); [L61] ~ix~1 := #t~mem9; [L61] FCALL call write~intFLOATTYPE4(#t~union10, { base: ~#gf_u~2!base, offset: ~#gf_u~2!offset }, 4bv32); [L61] havoc #t~mem9; [L61] havoc #t~union10; [L59] FCALL call ULTIMATE.dealloc(~#gf_u~2); [L59] havoc ~#gf_u~2; VAL [#in~iptr!base=2bv32, #in~iptr!offset=0bv32, #in~x=~NaN~LONGDOUBLE(), #NULL!base=0bv32, #NULL!offset=0bv32, ~i0~0=2143289344bv32, ~iptr!base=2bv32, ~iptr!offset=0bv32, ~ix~1=2143289344bv32, ~j0~0=128bv32, ~one_modf~0=~fp~LONGDOUBLE(0bv1, 127bv8, 0bv23), ~x=~NaN~LONGDOUBLE()] [L64] FCALL call ~#sf_u~3 := #Ultimate.alloc(4bv32); [L65] FCALL call write~intINTTYPE4(~bvand32(2147483648bv32, ~ix~1), { base: ~#sf_u~3!base, offset: ~#sf_u~3!offset }, 4bv32); [L66] FCALL call #t~mem11 := read~intFLOATTYPE4({ base: ~#sf_u~3!base, offset: ~#sf_u~3!offset }, 4bv32); [L66] ~x := #t~mem11; [L66] FCALL call write~intINTTYPE4(#t~union12, { base: ~#sf_u~3!base, offset: ~#sf_u~3!offset }, 4bv32); [L66] havoc #t~mem11; [L66] havoc #t~union12; [L64] FCALL call ULTIMATE.dealloc(~#sf_u~3); [L64] havoc ~#sf_u~3; VAL [#in~iptr!base=2bv32, #in~iptr!offset=0bv32, #in~x=~NaN~LONGDOUBLE(), #NULL!base=0bv32, #NULL!offset=0bv32, ~i0~0=2143289344bv32, ~iptr!base=2bv32, ~iptr!offset=0bv32, ~ix~1=2143289344bv32, ~j0~0=128bv32, ~one_modf~0=~fp~LONGDOUBLE(0bv1, 127bv8, 0bv23), ~x=~fp~LONGDOUBLE(0bv1, 0bv8, 0bv23)] [L68] #res := ~x; VAL [#in~iptr!base=2bv32, #in~iptr!offset=0bv32, #in~x=~NaN~LONGDOUBLE(), #NULL!base=0bv32, #NULL!offset=0bv32, #res=~fp~LONGDOUBLE(0bv1, 0bv8, 0bv23), ~i0~0=2143289344bv32, ~iptr!base=2bv32, ~iptr!offset=0bv32, ~ix~1=2143289344bv32, ~j0~0=128bv32, ~one_modf~0=~fp~LONGDOUBLE(0bv1, 127bv8, 0bv23), ~x=~fp~LONGDOUBLE(0bv1, 0bv8, 0bv23)] [L82] RET call #t~ret13 := modf_float(~x~0, ~#iptr~0); VAL [#NULL!base=0bv32, #NULL!offset=0bv32, #t~ret13=~fp~LONGDOUBLE(0bv1, 0bv8, 0bv23), ~#iptr~0!base=2bv32, ~#iptr~0!offset=0bv32, ~one_modf~0=~fp~LONGDOUBLE(0bv1, 127bv8, 0bv23), ~x~0=~NaN~LONGDOUBLE()] [L82] ~res~0 := #t~ret13; [L82] havoc #t~ret13; [L85] FCALL call #t~mem14 := read~intFLOATTYPE4(~#iptr~0, 4bv32); VAL [#NULL!base=0bv32, #NULL!offset=0bv32, #t~mem14=~NaN~LONGDOUBLE(), ~#iptr~0!base=2bv32, ~#iptr~0!offset=0bv32, ~one_modf~0=~fp~LONGDOUBLE(0bv1, 127bv8, 0bv23), ~res~0=~fp~LONGDOUBLE(0bv1, 0bv8, 0bv23), ~x~0=~NaN~LONGDOUBLE()] [L85] CALL call #t~ret15 := isnan_float(#t~mem14); VAL [#in~x=~NaN~LONGDOUBLE(), #NULL!base=0bv32, #NULL!offset=0bv32, ~one_modf~0=~fp~LONGDOUBLE(0bv1, 127bv8, 0bv23)] [L73] ~x := #in~x; [L73] #res := (if !~fp.eq~FLOAT(~x, ~x) then 1bv32 else 0bv32); VAL [#in~x=~NaN~LONGDOUBLE(), #NULL!base=0bv32, #NULL!offset=0bv32, #res=1bv32, ~one_modf~0=~fp~LONGDOUBLE(0bv1, 127bv8, 0bv23), ~x=~NaN~LONGDOUBLE()] [L85] RET call #t~ret15 := isnan_float(#t~mem14); VAL [#NULL!base=0bv32, #NULL!offset=0bv32, #t~mem14=~NaN~LONGDOUBLE(), #t~ret15=1bv32, ~#iptr~0!base=2bv32, ~#iptr~0!offset=0bv32, ~one_modf~0=~fp~LONGDOUBLE(0bv1, 127bv8, 0bv23), ~res~0=~fp~LONGDOUBLE(0bv1, 0bv8, 0bv23), ~x~0=~NaN~LONGDOUBLE()] [L85] #t~short17 := 0bv32 != #t~ret15; VAL [#NULL!base=0bv32, #NULL!offset=0bv32, #t~mem14=~NaN~LONGDOUBLE(), #t~ret15=1bv32, #t~short17=true, ~#iptr~0!base=2bv32, ~#iptr~0!offset=0bv32, ~one_modf~0=~fp~LONGDOUBLE(0bv1, 127bv8, 0bv23), ~res~0=~fp~LONGDOUBLE(0bv1, 0bv8, 0bv23), ~x~0=~NaN~LONGDOUBLE()] [L85] COND TRUE #t~short17 VAL [#NULL!base=0bv32, #NULL!offset=0bv32, #t~mem14=~NaN~LONGDOUBLE(), #t~ret15=1bv32, #t~short17=true, ~#iptr~0!base=2bv32, ~#iptr~0!offset=0bv32, ~one_modf~0=~fp~LONGDOUBLE(0bv1, 127bv8, 0bv23), ~res~0=~fp~LONGDOUBLE(0bv1, 0bv8, 0bv23), ~x~0=~NaN~LONGDOUBLE()] [L85] CALL call #t~ret16 := isnan_float(~res~0); VAL [#in~x=~fp~LONGDOUBLE(0bv1, 0bv8, 0bv23), #NULL!base=0bv32, #NULL!offset=0bv32, ~one_modf~0=~fp~LONGDOUBLE(0bv1, 127bv8, 0bv23)] [L73] ~x := #in~x; [L73] #res := (if !~fp.eq~FLOAT(~x, ~x) then 1bv32 else 0bv32); VAL [#in~x=~fp~LONGDOUBLE(0bv1, 0bv8, 0bv23), #NULL!base=0bv32, #NULL!offset=0bv32, #res=0bv32, ~one_modf~0=~fp~LONGDOUBLE(0bv1, 127bv8, 0bv23), ~x=~fp~LONGDOUBLE(0bv1, 0bv8, 0bv23)] [L85] RET call #t~ret16 := isnan_float(~res~0); VAL [#NULL!base=0bv32, #NULL!offset=0bv32, #t~mem14=~NaN~LONGDOUBLE(), #t~ret15=1bv32, #t~ret16=0bv32, #t~short17=true, ~#iptr~0!base=2bv32, ~#iptr~0!offset=0bv32, ~one_modf~0=~fp~LONGDOUBLE(0bv1, 127bv8, 0bv23), ~res~0=~fp~LONGDOUBLE(0bv1, 0bv8, 0bv23), ~x~0=~NaN~LONGDOUBLE()] [L85] #t~short17 := 0bv32 == #t~ret16; VAL [#NULL!base=0bv32, #NULL!offset=0bv32, #t~mem14=~NaN~LONGDOUBLE(), #t~ret15=1bv32, #t~ret16=0bv32, #t~short17=true, ~#iptr~0!base=2bv32, ~#iptr~0!offset=0bv32, ~one_modf~0=~fp~LONGDOUBLE(0bv1, 127bv8, 0bv23), ~res~0=~fp~LONGDOUBLE(0bv1, 0bv8, 0bv23), ~x~0=~NaN~LONGDOUBLE()] [L85] COND TRUE #t~short17 [L85] havoc #t~ret15; [L85] havoc #t~ret16; [L85] havoc #t~mem14; [L85] havoc #t~short17; VAL [#NULL!base=0bv32, #NULL!offset=0bv32, ~#iptr~0!base=2bv32, ~#iptr~0!offset=0bv32, ~one_modf~0=~fp~LONGDOUBLE(0bv1, 127bv8, 0bv23), ~res~0=~fp~LONGDOUBLE(0bv1, 0bv8, 0bv23), ~x~0=~NaN~LONGDOUBLE()] [L86] assert false; VAL [#NULL!base=0bv32, #NULL!offset=0bv32, ~#iptr~0!base=2bv32, ~#iptr~0!offset=0bv32, ~one_modf~0=~fp~LONGDOUBLE(0bv1, 127bv8, 0bv23), ~res~0=~fp~LONGDOUBLE(0bv1, 0bv8, 0bv23), ~x~0=~NaN~LONGDOUBLE()] [?] CALL call ULTIMATE.init(); VAL [#NULL!base=6bv32, #NULL!offset=5bv32, old(#NULL!base)=6bv32, old(#NULL!offset)=5bv32, old(~one_modf~0)=~fp~LONGDOUBLE(0bv1, 0bv8, 5bv23), ~one_modf~0=~fp~LONGDOUBLE(0bv1, 0bv8, 5bv23)] [?] #NULL := { base: 0bv32, offset: 0bv32 }; [?] #valid[0bv32] := 0bv1; [L11] ~one_modf~0 := ~convertDOUBLEToFLOAT(~roundNearestTiesToEven, ~to_fp~DOUBLE(~roundNearestTiesToEven, 1.0)); VAL [#NULL!base=0bv32, #NULL!offset=0bv32, old(#NULL!base)=6bv32, old(#NULL!offset)=5bv32, old(~one_modf~0)=~fp~LONGDOUBLE(0bv1, 0bv8, 5bv23), ~one_modf~0=~fp~LONGDOUBLE(0bv1, 127bv8, 0bv23)] [?] RET call ULTIMATE.init(); VAL [#NULL!base=0bv32, #NULL!offset=0bv32, ~one_modf~0=~fp~LONGDOUBLE(0bv1, 127bv8, 0bv23)] [?] CALL call #t~ret18 := main(); VAL [#NULL!base=0bv32, #NULL!offset=0bv32, ~one_modf~0=~fp~LONGDOUBLE(0bv1, 127bv8, 0bv23)] [L80] ~x~0 := ~fp.div~FLOAT(~roundNearestTiesToEven, ~Pluszero~FLOAT(), ~Pluszero~FLOAT()); [L81] FCALL call ~#iptr~0 := #Ultimate.alloc(4bv32); VAL [#NULL!base=0bv32, #NULL!offset=0bv32, ~#iptr~0!base=2bv32, ~#iptr~0!offset=0bv32, ~one_modf~0=~fp~LONGDOUBLE(0bv1, 127bv8, 0bv23), ~x~0=~NaN~LONGDOUBLE()] [L82] CALL call #t~ret13 := modf_float(~x~0, ~#iptr~0); VAL [#in~iptr!base=2bv32, #in~iptr!offset=0bv32, #in~x=~NaN~LONGDOUBLE(), #NULL!base=0bv32, #NULL!offset=0bv32, ~one_modf~0=~fp~LONGDOUBLE(0bv1, 127bv8, 0bv23)] [L13-L70] ~x := #in~x; [L13-L70] ~iptr := #in~iptr; [L14] havoc ~i0~0; [L14] havoc ~j0~0; [L15] havoc ~i~0; VAL [#in~iptr!base=2bv32, #in~iptr!offset=0bv32, #in~x=~NaN~LONGDOUBLE(), #NULL!base=0bv32, #NULL!offset=0bv32, ~iptr!base=2bv32, ~iptr!offset=0bv32, ~one_modf~0=~fp~LONGDOUBLE(0bv1, 127bv8, 0bv23), ~x=~NaN~LONGDOUBLE()] [L17] FCALL call ~#gf_u~0 := #Ultimate.alloc(4bv32); [L18] FCALL call write~intFLOATTYPE4(~x, { base: ~#gf_u~0!base, offset: ~#gf_u~0!offset }, 4bv32); [L19] FCALL call #t~mem0 := read~intINTTYPE4({ base: ~#gf_u~0!base, offset: ~#gf_u~0!offset }, 4bv32); [L19] ~i0~0 := #t~mem0; [L19] FCALL call write~intFLOATTYPE4(#t~union1, { base: ~#gf_u~0!base, offset: ~#gf_u~0!offset }, 4bv32); [L19] havoc #t~mem0; [L19] havoc #t~union1; [L17] FCALL call ULTIMATE.dealloc(~#gf_u~0); [L17] havoc ~#gf_u~0; VAL [#in~iptr!base=2bv32, #in~iptr!offset=0bv32, #in~x=~NaN~LONGDOUBLE(), #NULL!base=0bv32, #NULL!offset=0bv32, ~i0~0=2143289344bv32, ~iptr!base=2bv32, ~iptr!offset=0bv32, ~one_modf~0=~fp~LONGDOUBLE(0bv1, 127bv8, 0bv23), ~x=~NaN~LONGDOUBLE()] [L21] ~j0~0 := ~bvsub32(~bvand32(255bv32, ~bvashr32(~i0~0, 23bv32)), 127bv32); VAL [#in~iptr!base=2bv32, #in~iptr!offset=0bv32, #in~x=~NaN~LONGDOUBLE(), #NULL!base=0bv32, #NULL!offset=0bv32, ~i0~0=2143289344bv32, ~iptr!base=2bv32, ~iptr!offset=0bv32, ~j0~0=128bv32, ~one_modf~0=~fp~LONGDOUBLE(0bv1, 127bv8, 0bv23), ~x=~NaN~LONGDOUBLE()] [L22] COND FALSE !(~bvslt32(~j0~0, 23bv32)) [L56] havoc ~ix~1; [L57] FCALL call write~intFLOATTYPE4(~fp.mul~FLOAT(~roundNearestTiesToEven, ~x, ~one_modf~0), ~iptr, 4bv32); VAL [#in~iptr!base=2bv32, #in~iptr!offset=0bv32, #in~x=~NaN~LONGDOUBLE(), #NULL!base=0bv32, #NULL!offset=0bv32, ~i0~0=2143289344bv32, ~iptr!base=2bv32, ~iptr!offset=0bv32, ~j0~0=128bv32, ~one_modf~0=~fp~LONGDOUBLE(0bv1, 127bv8, 0bv23), ~x=~NaN~LONGDOUBLE()] [L59] FCALL call ~#gf_u~2 := #Ultimate.alloc(4bv32); [L60] FCALL call write~intFLOATTYPE4(~x, { base: ~#gf_u~2!base, offset: ~#gf_u~2!offset }, 4bv32); [L61] FCALL call #t~mem9 := read~intINTTYPE4({ base: ~#gf_u~2!base, offset: ~#gf_u~2!offset }, 4bv32); [L61] ~ix~1 := #t~mem9; [L61] FCALL call write~intFLOATTYPE4(#t~union10, { base: ~#gf_u~2!base, offset: ~#gf_u~2!offset }, 4bv32); [L61] havoc #t~mem9; [L61] havoc #t~union10; [L59] FCALL call ULTIMATE.dealloc(~#gf_u~2); [L59] havoc ~#gf_u~2; VAL [#in~iptr!base=2bv32, #in~iptr!offset=0bv32, #in~x=~NaN~LONGDOUBLE(), #NULL!base=0bv32, #NULL!offset=0bv32, ~i0~0=2143289344bv32, ~iptr!base=2bv32, ~iptr!offset=0bv32, ~ix~1=2143289344bv32, ~j0~0=128bv32, ~one_modf~0=~fp~LONGDOUBLE(0bv1, 127bv8, 0bv23), ~x=~NaN~LONGDOUBLE()] [L64] FCALL call ~#sf_u~3 := #Ultimate.alloc(4bv32); [L65] FCALL call write~intINTTYPE4(~bvand32(2147483648bv32, ~ix~1), { base: ~#sf_u~3!base, offset: ~#sf_u~3!offset }, 4bv32); [L66] FCALL call #t~mem11 := read~intFLOATTYPE4({ base: ~#sf_u~3!base, offset: ~#sf_u~3!offset }, 4bv32); [L66] ~x := #t~mem11; [L66] FCALL call write~intINTTYPE4(#t~union12, { base: ~#sf_u~3!base, offset: ~#sf_u~3!offset }, 4bv32); [L66] havoc #t~mem11; [L66] havoc #t~union12; [L64] FCALL call ULTIMATE.dealloc(~#sf_u~3); [L64] havoc ~#sf_u~3; VAL [#in~iptr!base=2bv32, #in~iptr!offset=0bv32, #in~x=~NaN~LONGDOUBLE(), #NULL!base=0bv32, #NULL!offset=0bv32, ~i0~0=2143289344bv32, ~iptr!base=2bv32, ~iptr!offset=0bv32, ~ix~1=2143289344bv32, ~j0~0=128bv32, ~one_modf~0=~fp~LONGDOUBLE(0bv1, 127bv8, 0bv23), ~x=~fp~LONGDOUBLE(0bv1, 0bv8, 0bv23)] [L68] #res := ~x; VAL [#in~iptr!base=2bv32, #in~iptr!offset=0bv32, #in~x=~NaN~LONGDOUBLE(), #NULL!base=0bv32, #NULL!offset=0bv32, #res=~fp~LONGDOUBLE(0bv1, 0bv8, 0bv23), ~i0~0=2143289344bv32, ~iptr!base=2bv32, ~iptr!offset=0bv32, ~ix~1=2143289344bv32, ~j0~0=128bv32, ~one_modf~0=~fp~LONGDOUBLE(0bv1, 127bv8, 0bv23), ~x=~fp~LONGDOUBLE(0bv1, 0bv8, 0bv23)] [L82] RET call #t~ret13 := modf_float(~x~0, ~#iptr~0); VAL [#NULL!base=0bv32, #NULL!offset=0bv32, #t~ret13=~fp~LONGDOUBLE(0bv1, 0bv8, 0bv23), ~#iptr~0!base=2bv32, ~#iptr~0!offset=0bv32, ~one_modf~0=~fp~LONGDOUBLE(0bv1, 127bv8, 0bv23), ~x~0=~NaN~LONGDOUBLE()] [L82] ~res~0 := #t~ret13; [L82] havoc #t~ret13; [L85] FCALL call #t~mem14 := read~intFLOATTYPE4(~#iptr~0, 4bv32); VAL [#NULL!base=0bv32, #NULL!offset=0bv32, #t~mem14=~NaN~LONGDOUBLE(), ~#iptr~0!base=2bv32, ~#iptr~0!offset=0bv32, ~one_modf~0=~fp~LONGDOUBLE(0bv1, 127bv8, 0bv23), ~res~0=~fp~LONGDOUBLE(0bv1, 0bv8, 0bv23), ~x~0=~NaN~LONGDOUBLE()] [L85] CALL call #t~ret15 := isnan_float(#t~mem14); VAL [#in~x=~NaN~LONGDOUBLE(), #NULL!base=0bv32, #NULL!offset=0bv32, ~one_modf~0=~fp~LONGDOUBLE(0bv1, 127bv8, 0bv23)] [L73] ~x := #in~x; [L73] #res := (if !~fp.eq~FLOAT(~x, ~x) then 1bv32 else 0bv32); VAL [#in~x=~NaN~LONGDOUBLE(), #NULL!base=0bv32, #NULL!offset=0bv32, #res=1bv32, ~one_modf~0=~fp~LONGDOUBLE(0bv1, 127bv8, 0bv23), ~x=~NaN~LONGDOUBLE()] [L85] RET call #t~ret15 := isnan_float(#t~mem14); VAL [#NULL!base=0bv32, #NULL!offset=0bv32, #t~mem14=~NaN~LONGDOUBLE(), #t~ret15=1bv32, ~#iptr~0!base=2bv32, ~#iptr~0!offset=0bv32, ~one_modf~0=~fp~LONGDOUBLE(0bv1, 127bv8, 0bv23), ~res~0=~fp~LONGDOUBLE(0bv1, 0bv8, 0bv23), ~x~0=~NaN~LONGDOUBLE()] [L85] #t~short17 := 0bv32 != #t~ret15; VAL [#NULL!base=0bv32, #NULL!offset=0bv32, #t~mem14=~NaN~LONGDOUBLE(), #t~ret15=1bv32, #t~short17=true, ~#iptr~0!base=2bv32, ~#iptr~0!offset=0bv32, ~one_modf~0=~fp~LONGDOUBLE(0bv1, 127bv8, 0bv23), ~res~0=~fp~LONGDOUBLE(0bv1, 0bv8, 0bv23), ~x~0=~NaN~LONGDOUBLE()] [L85] COND TRUE #t~short17 VAL [#NULL!base=0bv32, #NULL!offset=0bv32, #t~mem14=~NaN~LONGDOUBLE(), #t~ret15=1bv32, #t~short17=true, ~#iptr~0!base=2bv32, ~#iptr~0!offset=0bv32, ~one_modf~0=~fp~LONGDOUBLE(0bv1, 127bv8, 0bv23), ~res~0=~fp~LONGDOUBLE(0bv1, 0bv8, 0bv23), ~x~0=~NaN~LONGDOUBLE()] [L85] CALL call #t~ret16 := isnan_float(~res~0); VAL [#in~x=~fp~LONGDOUBLE(0bv1, 0bv8, 0bv23), #NULL!base=0bv32, #NULL!offset=0bv32, ~one_modf~0=~fp~LONGDOUBLE(0bv1, 127bv8, 0bv23)] [L73] ~x := #in~x; [L73] #res := (if !~fp.eq~FLOAT(~x, ~x) then 1bv32 else 0bv32); VAL [#in~x=~fp~LONGDOUBLE(0bv1, 0bv8, 0bv23), #NULL!base=0bv32, #NULL!offset=0bv32, #res=0bv32, ~one_modf~0=~fp~LONGDOUBLE(0bv1, 127bv8, 0bv23), ~x=~fp~LONGDOUBLE(0bv1, 0bv8, 0bv23)] [L85] RET call #t~ret16 := isnan_float(~res~0); VAL [#NULL!base=0bv32, #NULL!offset=0bv32, #t~mem14=~NaN~LONGDOUBLE(), #t~ret15=1bv32, #t~ret16=0bv32, #t~short17=true, ~#iptr~0!base=2bv32, ~#iptr~0!offset=0bv32, ~one_modf~0=~fp~LONGDOUBLE(0bv1, 127bv8, 0bv23), ~res~0=~fp~LONGDOUBLE(0bv1, 0bv8, 0bv23), ~x~0=~NaN~LONGDOUBLE()] [L85] #t~short17 := 0bv32 == #t~ret16; VAL [#NULL!base=0bv32, #NULL!offset=0bv32, #t~mem14=~NaN~LONGDOUBLE(), #t~ret15=1bv32, #t~ret16=0bv32, #t~short17=true, ~#iptr~0!base=2bv32, ~#iptr~0!offset=0bv32, ~one_modf~0=~fp~LONGDOUBLE(0bv1, 127bv8, 0bv23), ~res~0=~fp~LONGDOUBLE(0bv1, 0bv8, 0bv23), ~x~0=~NaN~LONGDOUBLE()] [L85] COND TRUE #t~short17 [L85] havoc #t~ret15; [L85] havoc #t~ret16; [L85] havoc #t~mem14; [L85] havoc #t~short17; VAL [#NULL!base=0bv32, #NULL!offset=0bv32, ~#iptr~0!base=2bv32, ~#iptr~0!offset=0bv32, ~one_modf~0=~fp~LONGDOUBLE(0bv1, 127bv8, 0bv23), ~res~0=~fp~LONGDOUBLE(0bv1, 0bv8, 0bv23), ~x~0=~NaN~LONGDOUBLE()] [L86] assert false; VAL [#NULL!base=0bv32, #NULL!offset=0bv32, ~#iptr~0!base=2bv32, ~#iptr~0!offset=0bv32, ~one_modf~0=~fp~LONGDOUBLE(0bv1, 127bv8, 0bv23), ~res~0=~fp~LONGDOUBLE(0bv1, 0bv8, 0bv23), ~x~0=~NaN~LONGDOUBLE()] ----- ----- class de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator.CACSL2BoogieBacktranslator [?] CALL call ULTIMATE.init(); VAL [#NULL!base=6bv32, #NULL!offset=5bv32, old(#NULL!base)=6bv32, old(#NULL!offset)=5bv32, old(~one_modf~0)=~fp~LONGDOUBLE(0bv1, 0bv8, 5bv23), ~one_modf~0=~fp~LONGDOUBLE(0bv1, 0bv8, 5bv23)] [?] #NULL := { base: 0bv32, offset: 0bv32 }; [?] #valid[0bv32] := 0bv1; [L11] ~one_modf~0 := ~convertDOUBLEToFLOAT(~roundNearestTiesToEven, ~to_fp~DOUBLE(~roundNearestTiesToEven, 1.0)); VAL [#NULL!base=0bv32, #NULL!offset=0bv32, old(#NULL!base)=6bv32, old(#NULL!offset)=5bv32, old(~one_modf~0)=~fp~LONGDOUBLE(0bv1, 0bv8, 5bv23), ~one_modf~0=~fp~LONGDOUBLE(0bv1, 127bv8, 0bv23)] [?] RET call ULTIMATE.init(); VAL [#NULL!base=0bv32, #NULL!offset=0bv32, ~one_modf~0=~fp~LONGDOUBLE(0bv1, 127bv8, 0bv23)] [?] CALL call #t~ret18 := main(); VAL [#NULL!base=0bv32, #NULL!offset=0bv32, ~one_modf~0=~fp~LONGDOUBLE(0bv1, 127bv8, 0bv23)] [L80] ~x~0 := ~fp.div~FLOAT(~roundNearestTiesToEven, ~Pluszero~FLOAT(), ~Pluszero~FLOAT()); [L81] FCALL call ~#iptr~0 := #Ultimate.alloc(4bv32); VAL [#NULL!base=0bv32, #NULL!offset=0bv32, ~#iptr~0!base=2bv32, ~#iptr~0!offset=0bv32, ~one_modf~0=~fp~LONGDOUBLE(0bv1, 127bv8, 0bv23), ~x~0=~NaN~LONGDOUBLE()] [L82] CALL call #t~ret13 := modf_float(~x~0, ~#iptr~0); VAL [#in~iptr!base=2bv32, #in~iptr!offset=0bv32, #in~x=~NaN~LONGDOUBLE(), #NULL!base=0bv32, #NULL!offset=0bv32, ~one_modf~0=~fp~LONGDOUBLE(0bv1, 127bv8, 0bv23)] [L13-L70] ~x := #in~x; [L13-L70] ~iptr := #in~iptr; [L14] havoc ~i0~0; [L14] havoc ~j0~0; [L15] havoc ~i~0; VAL [#in~iptr!base=2bv32, #in~iptr!offset=0bv32, #in~x=~NaN~LONGDOUBLE(), #NULL!base=0bv32, #NULL!offset=0bv32, ~iptr!base=2bv32, ~iptr!offset=0bv32, ~one_modf~0=~fp~LONGDOUBLE(0bv1, 127bv8, 0bv23), ~x=~NaN~LONGDOUBLE()] [L17] FCALL call ~#gf_u~0 := #Ultimate.alloc(4bv32); [L18] FCALL call write~intFLOATTYPE4(~x, { base: ~#gf_u~0!base, offset: ~#gf_u~0!offset }, 4bv32); [L19] FCALL call #t~mem0 := read~intINTTYPE4({ base: ~#gf_u~0!base, offset: ~#gf_u~0!offset }, 4bv32); [L19] ~i0~0 := #t~mem0; [L19] FCALL call write~intFLOATTYPE4(#t~union1, { base: ~#gf_u~0!base, offset: ~#gf_u~0!offset }, 4bv32); [L19] havoc #t~mem0; [L19] havoc #t~union1; [L17] FCALL call ULTIMATE.dealloc(~#gf_u~0); [L17] havoc ~#gf_u~0; VAL [#in~iptr!base=2bv32, #in~iptr!offset=0bv32, #in~x=~NaN~LONGDOUBLE(), #NULL!base=0bv32, #NULL!offset=0bv32, ~i0~0=2143289344bv32, ~iptr!base=2bv32, ~iptr!offset=0bv32, ~one_modf~0=~fp~LONGDOUBLE(0bv1, 127bv8, 0bv23), ~x=~NaN~LONGDOUBLE()] [L21] ~j0~0 := ~bvsub32(~bvand32(255bv32, ~bvashr32(~i0~0, 23bv32)), 127bv32); VAL [#in~iptr!base=2bv32, #in~iptr!offset=0bv32, #in~x=~NaN~LONGDOUBLE(), #NULL!base=0bv32, #NULL!offset=0bv32, ~i0~0=2143289344bv32, ~iptr!base=2bv32, ~iptr!offset=0bv32, ~j0~0=128bv32, ~one_modf~0=~fp~LONGDOUBLE(0bv1, 127bv8, 0bv23), ~x=~NaN~LONGDOUBLE()] [L22] COND FALSE !(~bvslt32(~j0~0, 23bv32)) [L56] havoc ~ix~1; [L57] FCALL call write~intFLOATTYPE4(~fp.mul~FLOAT(~roundNearestTiesToEven, ~x, ~one_modf~0), ~iptr, 4bv32); VAL [#in~iptr!base=2bv32, #in~iptr!offset=0bv32, #in~x=~NaN~LONGDOUBLE(), #NULL!base=0bv32, #NULL!offset=0bv32, ~i0~0=2143289344bv32, ~iptr!base=2bv32, ~iptr!offset=0bv32, ~j0~0=128bv32, ~one_modf~0=~fp~LONGDOUBLE(0bv1, 127bv8, 0bv23), ~x=~NaN~LONGDOUBLE()] [L59] FCALL call ~#gf_u~2 := #Ultimate.alloc(4bv32); [L60] FCALL call write~intFLOATTYPE4(~x, { base: ~#gf_u~2!base, offset: ~#gf_u~2!offset }, 4bv32); [L61] FCALL call #t~mem9 := read~intINTTYPE4({ base: ~#gf_u~2!base, offset: ~#gf_u~2!offset }, 4bv32); [L61] ~ix~1 := #t~mem9; [L61] FCALL call write~intFLOATTYPE4(#t~union10, { base: ~#gf_u~2!base, offset: ~#gf_u~2!offset }, 4bv32); [L61] havoc #t~mem9; [L61] havoc #t~union10; [L59] FCALL call ULTIMATE.dealloc(~#gf_u~2); [L59] havoc ~#gf_u~2; VAL [#in~iptr!base=2bv32, #in~iptr!offset=0bv32, #in~x=~NaN~LONGDOUBLE(), #NULL!base=0bv32, #NULL!offset=0bv32, ~i0~0=2143289344bv32, ~iptr!base=2bv32, ~iptr!offset=0bv32, ~ix~1=2143289344bv32, ~j0~0=128bv32, ~one_modf~0=~fp~LONGDOUBLE(0bv1, 127bv8, 0bv23), ~x=~NaN~LONGDOUBLE()] [L64] FCALL call ~#sf_u~3 := #Ultimate.alloc(4bv32); [L65] FCALL call write~intINTTYPE4(~bvand32(2147483648bv32, ~ix~1), { base: ~#sf_u~3!base, offset: ~#sf_u~3!offset }, 4bv32); [L66] FCALL call #t~mem11 := read~intFLOATTYPE4({ base: ~#sf_u~3!base, offset: ~#sf_u~3!offset }, 4bv32); [L66] ~x := #t~mem11; [L66] FCALL call write~intINTTYPE4(#t~union12, { base: ~#sf_u~3!base, offset: ~#sf_u~3!offset }, 4bv32); [L66] havoc #t~mem11; [L66] havoc #t~union12; [L64] FCALL call ULTIMATE.dealloc(~#sf_u~3); [L64] havoc ~#sf_u~3; VAL [#in~iptr!base=2bv32, #in~iptr!offset=0bv32, #in~x=~NaN~LONGDOUBLE(), #NULL!base=0bv32, #NULL!offset=0bv32, ~i0~0=2143289344bv32, ~iptr!base=2bv32, ~iptr!offset=0bv32, ~ix~1=2143289344bv32, ~j0~0=128bv32, ~one_modf~0=~fp~LONGDOUBLE(0bv1, 127bv8, 0bv23), ~x=~fp~LONGDOUBLE(0bv1, 0bv8, 0bv23)] [L68] #res := ~x; VAL [#in~iptr!base=2bv32, #in~iptr!offset=0bv32, #in~x=~NaN~LONGDOUBLE(), #NULL!base=0bv32, #NULL!offset=0bv32, #res=~fp~LONGDOUBLE(0bv1, 0bv8, 0bv23), ~i0~0=2143289344bv32, ~iptr!base=2bv32, ~iptr!offset=0bv32, ~ix~1=2143289344bv32, ~j0~0=128bv32, ~one_modf~0=~fp~LONGDOUBLE(0bv1, 127bv8, 0bv23), ~x=~fp~LONGDOUBLE(0bv1, 0bv8, 0bv23)] [L82] RET call #t~ret13 := modf_float(~x~0, ~#iptr~0); VAL [#NULL!base=0bv32, #NULL!offset=0bv32, #t~ret13=~fp~LONGDOUBLE(0bv1, 0bv8, 0bv23), ~#iptr~0!base=2bv32, ~#iptr~0!offset=0bv32, ~one_modf~0=~fp~LONGDOUBLE(0bv1, 127bv8, 0bv23), ~x~0=~NaN~LONGDOUBLE()] [L82] ~res~0 := #t~ret13; [L82] havoc #t~ret13; [L85] FCALL call #t~mem14 := read~intFLOATTYPE4(~#iptr~0, 4bv32); VAL [#NULL!base=0bv32, #NULL!offset=0bv32, #t~mem14=~NaN~LONGDOUBLE(), ~#iptr~0!base=2bv32, ~#iptr~0!offset=0bv32, ~one_modf~0=~fp~LONGDOUBLE(0bv1, 127bv8, 0bv23), ~res~0=~fp~LONGDOUBLE(0bv1, 0bv8, 0bv23), ~x~0=~NaN~LONGDOUBLE()] [L85] CALL call #t~ret15 := isnan_float(#t~mem14); VAL [#in~x=~NaN~LONGDOUBLE(), #NULL!base=0bv32, #NULL!offset=0bv32, ~one_modf~0=~fp~LONGDOUBLE(0bv1, 127bv8, 0bv23)] [L73] ~x := #in~x; [L73] #res := (if !~fp.eq~FLOAT(~x, ~x) then 1bv32 else 0bv32); VAL [#in~x=~NaN~LONGDOUBLE(), #NULL!base=0bv32, #NULL!offset=0bv32, #res=1bv32, ~one_modf~0=~fp~LONGDOUBLE(0bv1, 127bv8, 0bv23), ~x=~NaN~LONGDOUBLE()] [L85] RET call #t~ret15 := isnan_float(#t~mem14); VAL [#NULL!base=0bv32, #NULL!offset=0bv32, #t~mem14=~NaN~LONGDOUBLE(), #t~ret15=1bv32, ~#iptr~0!base=2bv32, ~#iptr~0!offset=0bv32, ~one_modf~0=~fp~LONGDOUBLE(0bv1, 127bv8, 0bv23), ~res~0=~fp~LONGDOUBLE(0bv1, 0bv8, 0bv23), ~x~0=~NaN~LONGDOUBLE()] [L85] #t~short17 := 0bv32 != #t~ret15; VAL [#NULL!base=0bv32, #NULL!offset=0bv32, #t~mem14=~NaN~LONGDOUBLE(), #t~ret15=1bv32, #t~short17=true, ~#iptr~0!base=2bv32, ~#iptr~0!offset=0bv32, ~one_modf~0=~fp~LONGDOUBLE(0bv1, 127bv8, 0bv23), ~res~0=~fp~LONGDOUBLE(0bv1, 0bv8, 0bv23), ~x~0=~NaN~LONGDOUBLE()] [L85] COND TRUE #t~short17 VAL [#NULL!base=0bv32, #NULL!offset=0bv32, #t~mem14=~NaN~LONGDOUBLE(), #t~ret15=1bv32, #t~short17=true, ~#iptr~0!base=2bv32, ~#iptr~0!offset=0bv32, ~one_modf~0=~fp~LONGDOUBLE(0bv1, 127bv8, 0bv23), ~res~0=~fp~LONGDOUBLE(0bv1, 0bv8, 0bv23), ~x~0=~NaN~LONGDOUBLE()] [L85] CALL call #t~ret16 := isnan_float(~res~0); VAL [#in~x=~fp~LONGDOUBLE(0bv1, 0bv8, 0bv23), #NULL!base=0bv32, #NULL!offset=0bv32, ~one_modf~0=~fp~LONGDOUBLE(0bv1, 127bv8, 0bv23)] [L73] ~x := #in~x; [L73] #res := (if !~fp.eq~FLOAT(~x, ~x) then 1bv32 else 0bv32); VAL [#in~x=~fp~LONGDOUBLE(0bv1, 0bv8, 0bv23), #NULL!base=0bv32, #NULL!offset=0bv32, #res=0bv32, ~one_modf~0=~fp~LONGDOUBLE(0bv1, 127bv8, 0bv23), ~x=~fp~LONGDOUBLE(0bv1, 0bv8, 0bv23)] [L85] RET call #t~ret16 := isnan_float(~res~0); VAL [#NULL!base=0bv32, #NULL!offset=0bv32, #t~mem14=~NaN~LONGDOUBLE(), #t~ret15=1bv32, #t~ret16=0bv32, #t~short17=true, ~#iptr~0!base=2bv32, ~#iptr~0!offset=0bv32, ~one_modf~0=~fp~LONGDOUBLE(0bv1, 127bv8, 0bv23), ~res~0=~fp~LONGDOUBLE(0bv1, 0bv8, 0bv23), ~x~0=~NaN~LONGDOUBLE()] [L85] #t~short17 := 0bv32 == #t~ret16; VAL [#NULL!base=0bv32, #NULL!offset=0bv32, #t~mem14=~NaN~LONGDOUBLE(), #t~ret15=1bv32, #t~ret16=0bv32, #t~short17=true, ~#iptr~0!base=2bv32, ~#iptr~0!offset=0bv32, ~one_modf~0=~fp~LONGDOUBLE(0bv1, 127bv8, 0bv23), ~res~0=~fp~LONGDOUBLE(0bv1, 0bv8, 0bv23), ~x~0=~NaN~LONGDOUBLE()] [L85] COND TRUE #t~short17 [L85] havoc #t~ret15; [L85] havoc #t~ret16; [L85] havoc #t~mem14; [L85] havoc #t~short17; VAL [#NULL!base=0bv32, #NULL!offset=0bv32, ~#iptr~0!base=2bv32, ~#iptr~0!offset=0bv32, ~one_modf~0=~fp~LONGDOUBLE(0bv1, 127bv8, 0bv23), ~res~0=~fp~LONGDOUBLE(0bv1, 0bv8, 0bv23), ~x~0=~NaN~LONGDOUBLE()] [L86] assert false; VAL [#NULL!base=0bv32, #NULL!offset=0bv32, ~#iptr~0!base=2bv32, ~#iptr~0!offset=0bv32, ~one_modf~0=~fp~LONGDOUBLE(0bv1, 127bv8, 0bv23), ~res~0=~fp~LONGDOUBLE(0bv1, 0bv8, 0bv23), ~x~0=~NaN~LONGDOUBLE()] [L11] static const float one_modf = 1.0; VAL [\old(one_modf)=0.000000000000000000000000000000000000000000007006492321624085, one_modf=1.0] [L80] float x = 0.0f / 0.0f; [L81] float iptr; VAL [iptr={2:0}, one_modf=1.0, x=NaN] [L82] CALL, EXPR modf_float(x, &iptr) VAL [\old(x)=NaN, iptr={2:0}, one_modf=1.0] [L14] __int32_t i0, j0; [L15] __uint32_t i; VAL [\old(x)=NaN, iptr={2:0}, iptr={2:0}, one_modf=1.0, x=NaN] [L17] ieee_float_shape_type gf_u; [L18] gf_u.value = (x) [L19] EXPR gf_u.word [L19] (i0) = gf_u.word [L21] j0 = ((i0 >> 23) & 0xff) - 0x7f VAL [\old(x)=NaN, i0=2143289344, iptr={2:0}, iptr={2:0}, j0=128, one_modf=1.0, x=NaN] [L22] COND FALSE !(j0 < 23) [L56] __uint32_t ix; [L57] *iptr = x * one_modf VAL [\old(x)=NaN, i0=2143289344, iptr={2:0}, iptr={2:0}, j0=128, one_modf=1.0, x=NaN] [L59] ieee_float_shape_type gf_u; [L60] gf_u.value = (x) [L61] EXPR gf_u.word [L61] (ix) = gf_u.word [L64] ieee_float_shape_type sf_u; [L65] sf_u.word = (ix & 0x80000000) [L66] EXPR sf_u.value [L66] (x) = sf_u.value [L68] return x; VAL [\old(x)=NaN, \result=0.0, i0=2143289344, iptr={2:0}, iptr={2:0}, ix=2143289344, j0=128, one_modf=1.0, x=0.0] [L82] RET, EXPR modf_float(x, &iptr) VAL [iptr={2:0}, modf_float(x, &iptr)=0.0, one_modf=1.0, x=NaN] [L82] float res = modf_float(x, &iptr); [L85] EXPR \read(iptr) VAL [\read(iptr)=NaN, iptr={2:0}, one_modf=1.0, res=0.0, x=NaN] [L85] CALL, EXPR isnan_float(iptr) VAL [\old(x)=NaN, one_modf=1.0] [L73] return x != x; VAL [\old(x)=NaN, \result=1, one_modf=1.0, x=NaN] [L85] RET, EXPR isnan_float(iptr) VAL [\read(iptr)=NaN, iptr={2:0}, isnan_float(iptr)=1, one_modf=1.0, res=0.0, x=NaN] [L85] isnan_float(iptr) && !isnan_float(res) VAL [\read(iptr)=NaN, iptr={2:0}, isnan_float(iptr)=1, isnan_float(iptr) && !isnan_float(res)=1, one_modf=1.0, res=0.0, x=NaN] [L85] CALL, EXPR isnan_float(res) VAL [\old(x)=0.0, one_modf=1.0] [L73] return x != x; VAL [\old(x)=0.0, \result=0, one_modf=1.0, x=0.0] [L85] RET, EXPR isnan_float(res) VAL [\read(iptr)=NaN, iptr={2:0}, isnan_float(iptr)=1, isnan_float(iptr) && !isnan_float(res)=1, isnan_float(res)=0, one_modf=1.0, res=0.0, x=NaN] [L85] isnan_float(iptr) && !isnan_float(res) VAL [\read(iptr)=NaN, iptr={2:0}, isnan_float(iptr)=1, isnan_float(iptr) && !isnan_float(res)=1, isnan_float(res)=0, one_modf=1.0, res=0.0, x=NaN] [L85] COND TRUE isnan_float(iptr) && !isnan_float(res) [L86] __VERIFIER_error() VAL [iptr={2:0}, one_modf=1.0, res=0.0, x=NaN] ----- [2018-11-23 13:11:42,826 INFO L145 WitnessManager]: Wrote witness to /tmp/vcloud-vcloud-master/worker/working_dir_29e88f00-00cd-4d32-ae8c-90917fa1d949/bin-2019/uautomizer/witness.graphml [2018-11-23 13:11:42,826 INFO L132 PluginConnector]: ------------------------ END Witness Printer---------------------------- [2018-11-23 13:11:42,826 INFO L168 Benchmark]: Toolchain (without parser) took 2213.20 ms. Allocated memory was 1.0 GB in the beginning and 1.2 GB in the end (delta: 136.8 MB). Free memory was 950.8 MB in the beginning and 975.3 MB in the end (delta: -24.5 MB). Peak memory consumption was 112.3 MB. Max. memory is 11.5 GB. [2018-11-23 13:11:42,827 INFO L168 Benchmark]: CDTParser took 0.13 ms. Allocated memory is still 1.0 GB. Free memory is still 978.7 MB. There was no memory consumed. Max. memory is 11.5 GB. [2018-11-23 13:11:42,827 INFO L168 Benchmark]: CACSL2BoogieTranslator took 192.70 ms. Allocated memory is still 1.0 GB. Free memory was 950.8 MB in the beginning and 934.7 MB in the end (delta: 16.1 MB). Peak memory consumption was 16.1 MB. Max. memory is 11.5 GB. [2018-11-23 13:11:42,828 INFO L168 Benchmark]: Boogie Procedure Inliner took 17.43 ms. Allocated memory is still 1.0 GB. Free memory is still 934.7 MB. There was no memory consumed. Max. memory is 11.5 GB. [2018-11-23 13:11:42,828 INFO L168 Benchmark]: Boogie Preprocessor took 25.23 ms. Allocated memory is still 1.0 GB. Free memory is still 934.7 MB. There was no memory consumed. Max. memory is 11.5 GB. [2018-11-23 13:11:42,828 INFO L168 Benchmark]: RCFGBuilder took 411.15 ms. Allocated memory was 1.0 GB in the beginning and 1.2 GB in the end (delta: 136.8 MB). Free memory was 934.7 MB in the beginning and 1.1 GB in the end (delta: -162.8 MB). Peak memory consumption was 15.8 MB. Max. memory is 11.5 GB. [2018-11-23 13:11:42,828 INFO L168 Benchmark]: TraceAbstraction took 1431.75 ms. Allocated memory is still 1.2 GB. Free memory was 1.1 GB in the beginning and 982.2 MB in the end (delta: 115.3 MB). Peak memory consumption was 115.3 MB. Max. memory is 11.5 GB. [2018-11-23 13:11:42,829 INFO L168 Benchmark]: Witness Printer took 131.96 ms. Allocated memory is still 1.2 GB. Free memory was 982.2 MB in the beginning and 975.3 MB in the end (delta: 6.8 MB). Peak memory consumption was 6.8 MB. Max. memory is 11.5 GB. [2018-11-23 13:11:42,831 INFO L336 ainManager$Toolchain]: ####################### End [Toolchain 1] ####################### --- Results --- * Results from de.uni_freiburg.informatik.ultimate.core: - StatisticsResult: Toolchain Benchmarks Benchmark results are: * CDTParser took 0.13 ms. Allocated memory is still 1.0 GB. Free memory is still 978.7 MB. There was no memory consumed. Max. memory is 11.5 GB. * CACSL2BoogieTranslator took 192.70 ms. Allocated memory is still 1.0 GB. Free memory was 950.8 MB in the beginning and 934.7 MB in the end (delta: 16.1 MB). Peak memory consumption was 16.1 MB. Max. memory is 11.5 GB. * Boogie Procedure Inliner took 17.43 ms. Allocated memory is still 1.0 GB. Free memory is still 934.7 MB. There was no memory consumed. Max. memory is 11.5 GB. * Boogie Preprocessor took 25.23 ms. Allocated memory is still 1.0 GB. Free memory is still 934.7 MB. There was no memory consumed. Max. memory is 11.5 GB. * RCFGBuilder took 411.15 ms. Allocated memory was 1.0 GB in the beginning and 1.2 GB in the end (delta: 136.8 MB). Free memory was 934.7 MB in the beginning and 1.1 GB in the end (delta: -162.8 MB). Peak memory consumption was 15.8 MB. Max. memory is 11.5 GB. * TraceAbstraction took 1431.75 ms. Allocated memory is still 1.2 GB. Free memory was 1.1 GB in the beginning and 982.2 MB in the end (delta: 115.3 MB). Peak memory consumption was 115.3 MB. Max. memory is 11.5 GB. * Witness Printer took 131.96 ms. Allocated memory is still 1.2 GB. Free memory was 982.2 MB in the beginning and 975.3 MB in the end (delta: 6.8 MB). Peak memory consumption was 6.8 MB. Max. memory is 11.5 GB. * Results from de.uni_freiburg.informatik.ultimate.plugins.generator.traceabstraction: - CounterExampleResult [Line: 86]: a call of __VERIFIER_error() is reachable a call of __VERIFIER_error() is reachable We found a FailurePath: [L11] static const float one_modf = 1.0; VAL [\old(one_modf)=0.000000000000000000000000000000000000000000007006492321624085, one_modf=1.0] [L80] float x = 0.0f / 0.0f; [L81] float iptr; VAL [iptr={2:0}, one_modf=1.0, x=NaN] [L82] CALL, EXPR modf_float(x, &iptr) VAL [\old(x)=NaN, iptr={2:0}, one_modf=1.0] [L14] __int32_t i0, j0; [L15] __uint32_t i; VAL [\old(x)=NaN, iptr={2:0}, iptr={2:0}, one_modf=1.0, x=NaN] [L17] ieee_float_shape_type gf_u; [L18] gf_u.value = (x) [L19] EXPR gf_u.word [L19] (i0) = gf_u.word [L21] j0 = ((i0 >> 23) & 0xff) - 0x7f VAL [\old(x)=NaN, i0=2143289344, iptr={2:0}, iptr={2:0}, j0=128, one_modf=1.0, x=NaN] [L22] COND FALSE !(j0 < 23) [L56] __uint32_t ix; [L57] *iptr = x * one_modf VAL [\old(x)=NaN, i0=2143289344, iptr={2:0}, iptr={2:0}, j0=128, one_modf=1.0, x=NaN] [L59] ieee_float_shape_type gf_u; [L60] gf_u.value = (x) [L61] EXPR gf_u.word [L61] (ix) = gf_u.word [L64] ieee_float_shape_type sf_u; [L65] sf_u.word = (ix & 0x80000000) [L66] EXPR sf_u.value [L66] (x) = sf_u.value [L68] return x; VAL [\old(x)=NaN, \result=0.0, i0=2143289344, iptr={2:0}, iptr={2:0}, ix=2143289344, j0=128, one_modf=1.0, x=0.0] [L82] RET, EXPR modf_float(x, &iptr) VAL [iptr={2:0}, modf_float(x, &iptr)=0.0, one_modf=1.0, x=NaN] [L82] float res = modf_float(x, &iptr); [L85] EXPR \read(iptr) VAL [\read(iptr)=NaN, iptr={2:0}, one_modf=1.0, res=0.0, x=NaN] [L85] CALL, EXPR isnan_float(iptr) VAL [\old(x)=NaN, one_modf=1.0] [L73] return x != x; VAL [\old(x)=NaN, \result=1, one_modf=1.0, x=NaN] [L85] RET, EXPR isnan_float(iptr) VAL [\read(iptr)=NaN, iptr={2:0}, isnan_float(iptr)=1, one_modf=1.0, res=0.0, x=NaN] [L85] isnan_float(iptr) && !isnan_float(res) VAL [\read(iptr)=NaN, iptr={2:0}, isnan_float(iptr)=1, isnan_float(iptr) && !isnan_float(res)=1, one_modf=1.0, res=0.0, x=NaN] [L85] CALL, EXPR isnan_float(res) VAL [\old(x)=0.0, one_modf=1.0] [L73] return x != x; VAL [\old(x)=0.0, \result=0, one_modf=1.0, x=0.0] [L85] RET, EXPR isnan_float(res) VAL [\read(iptr)=NaN, iptr={2:0}, isnan_float(iptr)=1, isnan_float(iptr) && !isnan_float(res)=1, isnan_float(res)=0, one_modf=1.0, res=0.0, x=NaN] [L85] isnan_float(iptr) && !isnan_float(res) VAL [\read(iptr)=NaN, iptr={2:0}, isnan_float(iptr)=1, isnan_float(iptr) && !isnan_float(res)=1, isnan_float(res)=0, one_modf=1.0, res=0.0, x=NaN] [L85] COND TRUE isnan_float(iptr) && !isnan_float(res) [L86] __VERIFIER_error() VAL [iptr={2:0}, one_modf=1.0, res=0.0, x=NaN] - StatisticsResult: Ultimate Automizer benchmark data CFG has 5 procedures, 48 locations, 1 error locations. UNSAFE Result, 1.3s OverallTime, 4 OverallIterations, 2 TraceHistogramMax, 0.6s AutomataDifference, 0.0s DeadEndRemovalTime, 0.0s HoareAnnotationTime, HoareTripleCheckerStatistics: 117 SDtfs, 87 SDslu, 137 SDs, 0 SdLazy, 53 SolverSat, 0 SolverUnsat, 0 SolverUnknown, 0 SolverNotchecked, 0.3s Time, PredicateUnifierStatistics: 0 DeclaredPredicates, 82 GetRequests, 71 SyntacticMatches, 0 SemanticMatches, 11 ConstructedPredicates, 0 IntricatePredicates, 0 DeprecatedPredicates, 7 ImplicationChecksByTransitivity, 0.2s Time, 0.0s BasicInterpolantAutomatonTime, BiggestAbstraction: size=48occurred in iteration=0, traceCheckStatistics: No data available, InterpolantConsolidationStatistics: No data available, PathInvariantsStatistics: No data available, 0/0 InterpolantCoveringCapability, TotalInterpolationStatistics: No data available, 0.0s AbstIntTime, 0 AbstIntIterations, 0 AbstIntStrong, NaN AbsIntWeakeningRatio, NaN AbsIntAvgWeakeningVarsNumRemoved, NaN AbsIntAvgWeakenedConjuncts, 0.0s DumpTime, AutomataMinimizationStatistics: 0.0s AutomataMinimizationTime, 3 MinimizatonAttempts, 0 StatesRemovedByMinimization, 0 NontrivialMinimizations, HoareAnnotationStatistics: No data available, RefinementEngineStatistics: TraceCheckStatistics: 0.0s SsaConstructionTime, 0.2s SatisfiabilityAnalysisTime, 0.1s InterpolantComputationTime, 113 NumberOfCodeBlocks, 113 NumberOfCodeBlocksAsserted, 4 NumberOfCheckSat, 77 ConstructedInterpolants, 7 QuantifiedInterpolants, 6064 SizeOfPredicates, 4 NumberOfNonLiveVariables, 226 ConjunctsInSsa, 9 ConjunctsInUnsatCore, 3 InterpolantComputations, 3 PerfectInterpolantSequences, 0/0 InterpolantCoveringCapability, InvariantSynthesisStatistics: No data available, InterpolantConsolidationStatistics: No data available, ReuseStatistics: No data available RESULT: Ultimate proved your program to be incorrect! Received shutdown request...