./Ultimate.py --spec ../sv-benchmarks/c/properties/unreach-call.prp --file ../sv-benchmarks/c/nla-digbench/fermat2-ll.c --full-output --witness-type correctness_witness --validate ../results/automizer-verification-files/SV-COMP24_unreach-call/fermat2-ll.yml/witness-2.1.yml --architecture 32bit -------------------------------------------------------------------------------- Checking for ERROR reachability Using default analysis Version 6908dde5 Calling Ultimate with: /root/.sdkman/candidates/java/11.0.12-open/bin/java -Dosgi.configuration.area=/storage/repos/certificate-witnesses-artifact/referee/data/config -Xmx15G -Xms4m -jar /storage/repos/certificate-witnesses-artifact/referee/plugins/org.eclipse.equinox.launcher_1.5.800.v20200727-1323.jar -data @noDefault -ultimatedata /storage/repos/certificate-witnesses-artifact/referee/data -tc /storage/repos/certificate-witnesses-artifact/referee/config/RefereeReachWitnessValidation.xml -i ../sv-benchmarks/c/nla-digbench/fermat2-ll.c ../results/automizer-verification-files/SV-COMP24_unreach-call/fermat2-ll.yml/witness-2.1.yml -s /storage/repos/certificate-witnesses-artifact/referee/config/svcomp-Reach-32bit-Referee_Default.epf --cacsl2boogietranslator.entry.function main --traceabstraction.positions.where.we.compute.the.hoare.annotation None --- Real Ultimate output --- This is Ultimate 0.2.4-tmp.dk.referee-eval-6908dde-m [2024-09-25 00:28:15,284 INFO L188 SettingsManager]: Resetting all preferences to default values... [2024-09-25 00:28:15,355 INFO L114 SettingsManager]: Loading settings from /storage/repos/certificate-witnesses-artifact/referee/config/svcomp-Reach-32bit-Referee_Default.epf [2024-09-25 00:28:15,361 WARN L101 SettingsManager]: Preference file contains the following unknown settings: [2024-09-25 00:28:15,363 WARN L103 SettingsManager]: * de.uni_freiburg.informatik.ultimate.core.Log level for class [2024-09-25 00:28:15,396 INFO L130 SettingsManager]: Preferences different from defaults after loading the file: [2024-09-25 00:28:15,399 INFO L151 SettingsManager]: Preferences of UltimateCore differ from their defaults: [2024-09-25 00:28:15,399 INFO L153 SettingsManager]: * Log level for class=de.uni_freiburg.informatik.ultimate.lib.smtlibutils.quantifier.QuantifierPusher=ERROR; [2024-09-25 00:28:15,400 INFO L151 SettingsManager]: Preferences of Boogie Preprocessor differ from their defaults: [2024-09-25 00:28:15,400 INFO L153 SettingsManager]: * Use memory slicer=true [2024-09-25 00:28:15,401 INFO L151 SettingsManager]: Preferences of Boogie Procedure Inliner differ from their defaults: [2024-09-25 00:28:15,401 INFO L153 SettingsManager]: * Ignore calls to procedures called more than once=ONLY_FOR_SEQUENTIAL_PROGRAMS [2024-09-25 00:28:15,401 INFO L151 SettingsManager]: Preferences of BlockEncodingV2 differ from their defaults: [2024-09-25 00:28:15,404 INFO L153 SettingsManager]: * Create parallel compositions if possible=false [2024-09-25 00:28:15,404 INFO L153 SettingsManager]: * Use SBE=true [2024-09-25 00:28:15,405 INFO L151 SettingsManager]: Preferences of CACSL2BoogieTranslator differ from their defaults: [2024-09-25 00:28:15,405 INFO L153 SettingsManager]: * Pointer base address is valid at dereference=IGNORE [2024-09-25 00:28:15,405 INFO L153 SettingsManager]: * sizeof long=4 [2024-09-25 00:28:15,406 INFO L153 SettingsManager]: * Overapproximate operations on floating types=true [2024-09-25 00:28:15,406 INFO L153 SettingsManager]: * sizeof POINTER=4 [2024-09-25 00:28:15,406 INFO L153 SettingsManager]: * Check division by zero=IGNORE [2024-09-25 00:28:15,410 INFO L153 SettingsManager]: * Pointer to allocated memory at dereference=IGNORE [2024-09-25 00:28:15,411 INFO L153 SettingsManager]: * If two pointers are subtracted or compared they have the same base address=IGNORE [2024-09-25 00:28:15,411 INFO L153 SettingsManager]: * Check array bounds for arrays that are off heap=IGNORE [2024-09-25 00:28:15,411 INFO L153 SettingsManager]: * Allow undefined functions=false [2024-09-25 00:28:15,411 INFO L153 SettingsManager]: * sizeof long double=12 [2024-09-25 00:28:15,412 INFO L153 SettingsManager]: * Check if freed pointer was valid=false [2024-09-25 00:28:15,412 INFO L153 SettingsManager]: * Use constant arrays=true [2024-09-25 00:28:15,412 INFO L151 SettingsManager]: Preferences of RCFGBuilder differ from their defaults: [2024-09-25 00:28:15,412 INFO L153 SettingsManager]: * Size of a code block=SequenceOfStatements [2024-09-25 00:28:15,413 INFO L153 SettingsManager]: * Future-live optimization=false [2024-09-25 00:28:15,413 INFO L153 SettingsManager]: * Only consider context switches at boundaries of atomic blocks=true [2024-09-25 00:28:15,413 INFO L153 SettingsManager]: * SMT solver=External_DefaultMode [2024-09-25 00:28:15,413 INFO L153 SettingsManager]: * Command for external solver=z3 SMTLIB2_COMPLIANT=true -memory:2024 -smt2 -in -t:4000 [2024-09-25 00:28:15,414 INFO L151 SettingsManager]: Preferences of TraceAbstraction differ from their defaults: [2024-09-25 00:28:15,414 INFO L153 SettingsManager]: * Compute Interpolants along a Counterexample=FPandBP [2024-09-25 00:28:15,414 INFO L153 SettingsManager]: * Positions where we compute the Hoare Annotation=LoopHeads [2024-09-25 00:28:15,418 INFO L153 SettingsManager]: * Trace refinement strategy=CAMEL [2024-09-25 00:28:15,418 INFO L153 SettingsManager]: * Command for external solver=z3 SMTLIB2_COMPLIANT=true -memory:2024 -smt2 -in [2024-09-25 00:28:15,418 INFO L153 SettingsManager]: * Apply one-shot large block encoding in concurrent analysis=false [2024-09-25 00:28:15,418 INFO L153 SettingsManager]: * Automaton type used in concurrency analysis=PETRI_NET [2024-09-25 00:28:15,419 INFO L153 SettingsManager]: * Order on configurations for Petri net unfoldings=DBO [2024-09-25 00:28:15,419 INFO L153 SettingsManager]: * SMT solver=External_ModelsAndUnsatCoreMode [2024-09-25 00:28:15,419 INFO L153 SettingsManager]: * Looper check in Petri net analysis=SEMANTIC WARNING: An illegal reflective access operation has occurred WARNING: Illegal reflective access by com.sun.xml.bind.v2.runtime.reflect.opt.Injector$1 (file:/storage/repos/certificate-witnesses-artifact/referee/plugins/com.sun.xml.bind_2.2.0.v201505121915.jar) to method java.lang.ClassLoader.defineClass(java.lang.String,byte[],int,int) WARNING: Please consider reporting this to the maintainers of com.sun.xml.bind.v2.runtime.reflect.opt.Injector$1 WARNING: Use --illegal-access=warn to enable warnings of further illegal reflective access operations WARNING: All illegal access operations will be denied in a future release Applying setting for plugin de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator: Entry function -> main Applying setting for plugin de.uni_freiburg.informatik.ultimate.plugins.generator.traceabstraction: Positions where we compute the Hoare Annotation -> None [2024-09-25 00:28:15,676 INFO L75 nceAwareModelManager]: Repository-Root is: /tmp [2024-09-25 00:28:15,709 INFO L261 ainManager$Toolchain]: [Toolchain 1]: Applicable parser(s) successfully (re)initialized [2024-09-25 00:28:15,712 INFO L217 ainManager$Toolchain]: [Toolchain 1]: Toolchain selected. [2024-09-25 00:28:15,713 INFO L270 PluginConnector]: Initializing CDTParser... [2024-09-25 00:28:15,717 INFO L274 PluginConnector]: CDTParser initialized [2024-09-25 00:28:15,719 INFO L431 ainManager$Toolchain]: [Toolchain 1]: Parsing single file: /storage/repos/certificate-witnesses-artifact/referee/../sv-benchmarks/c/nla-digbench/fermat2-ll.c [2024-09-25 00:28:17,321 INFO L533 CDTParser]: Created temporary CDT project at NULL [2024-09-25 00:28:17,567 INFO L384 CDTParser]: Found 1 translation units. [2024-09-25 00:28:17,569 INFO L180 CDTParser]: Scanning /storage/repos/certificate-witnesses-artifact/sv-benchmarks/c/nla-digbench/fermat2-ll.c [2024-09-25 00:28:17,589 INFO L427 CDTParser]: About to delete temporary CDT project at /storage/repos/certificate-witnesses-artifact/referee/data/6d282d79d/495e8694c3c54159810deaa3c613ed76/FLAGe2c01d30f [2024-09-25 00:28:17,611 INFO L435 CDTParser]: Successfully deleted /storage/repos/certificate-witnesses-artifact/referee/data/6d282d79d/495e8694c3c54159810deaa3c613ed76 [2024-09-25 00:28:17,615 INFO L270 PluginConnector]: Initializing Witness Parser... [2024-09-25 00:28:17,616 INFO L274 PluginConnector]: Witness Parser initialized [2024-09-25 00:28:17,617 INFO L431 ainManager$Toolchain]: [Toolchain 1]: Parsing single file: /storage/repos/certificate-witnesses-artifact/referee/../results/automizer-verification-files/SV-COMP24_unreach-call/fermat2-ll.yml/witness-2.1.yml [2024-09-25 00:28:17,680 INFO L299 ainManager$Toolchain]: ####################### [Toolchain 1] ####################### [2024-09-25 00:28:17,683 INFO L133 ToolchainWalker]: Walking toolchain with 4 elements. [2024-09-25 00:28:17,684 INFO L112 PluginConnector]: ------------------------CACSL2BoogieTranslator---------------------------- [2024-09-25 00:28:17,684 INFO L270 PluginConnector]: Initializing CACSL2BoogieTranslator... [2024-09-25 00:28:17,689 INFO L274 PluginConnector]: CACSL2BoogieTranslator initialized [2024-09-25 00:28:17,690 INFO L184 PluginConnector]: Executing the observer ACSLObjectContainerObserver from plugin CACSL2BoogieTranslator for "CDTParser AST 25.09 12:28:17" (1/2) ... [2024-09-25 00:28:17,691 INFO L204 PluginConnector]: Invalid model from CACSL2BoogieTranslator for observer de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator.ACSLObjectContainerObserver@3d3a2345 and model type de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 25.09 12:28:17, skipping insertion in model container [2024-09-25 00:28:17,692 INFO L184 PluginConnector]: Executing the observer CACSL2BoogieTranslatorObserver from plugin CACSL2BoogieTranslator for "CDTParser AST 25.09 12:28:17" (1/2) ... [2024-09-25 00:28:17,694 INFO L204 PluginConnector]: Invalid model from CACSL2BoogieTranslator for observer de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator.CACSL2BoogieTranslatorObserver@57c1747c and model type de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 25.09 12:28:17, skipping insertion in model container [2024-09-25 00:28:17,694 INFO L184 PluginConnector]: Executing the observer ACSLObjectContainerObserver from plugin CACSL2BoogieTranslator for "witness-2.1.yml de.uni_freiburg.informatik.ultimate.witnessparser CORRECTNESS_WITNESS 25.09 12:28:17" (2/2) ... [2024-09-25 00:28:17,695 INFO L204 PluginConnector]: Invalid model from CACSL2BoogieTranslator for observer de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator.ACSLObjectContainerObserver@3d3a2345 and model type witness-2.1.yml de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator CORRECTNESS_WITNESS 25.09 12:28:17, skipping insertion in model container [2024-09-25 00:28:17,695 INFO L184 PluginConnector]: Executing the observer CACSL2BoogieTranslatorObserver from plugin CACSL2BoogieTranslator for "witness-2.1.yml de.uni_freiburg.informatik.ultimate.witnessparser CORRECTNESS_WITNESS 25.09 12:28:17" (2/2) ... [2024-09-25 00:28:17,705 INFO L93 nessWitnessExtractor]: Found the following entries in the witness: [2024-09-25 00:28:17,706 INFO L1541 ArrayList]: Loop invariant at [L33-L44] ((((__int128) v * 2) + ((__int128) u * u)) == (((((__int128) v * v) + ((__int128) u * 2)) + ((long long) A * 4)) + ((__int128) r * 4))) [2024-09-25 00:28:17,706 INFO L1541 ArrayList]: Function contract at [L11]: requires (1 <= cond), ensures (1 <= cond) [2024-09-25 00:28:17,727 INFO L175 MainTranslator]: Built tables and reachable declarations [2024-09-25 00:28:17,885 WARN L248 ndardFunctionHandler]: Function reach_error is already implemented but we override the implementation for the call at /storage/repos/certificate-witnesses-artifact/sv-benchmarks/c/nla-digbench/fermat2-ll.c[524,537] [2024-09-25 00:28:17,919 INFO L210 PostProcessor]: Analyzing one entry point: main [2024-09-25 00:28:17,930 INFO L200 MainTranslator]: Completed pre-run Start Parsing Global Start Parsing Global [2024-09-25 00:28:17,975 WARN L248 ndardFunctionHandler]: Function reach_error is already implemented but we override the implementation for the call at /storage/repos/certificate-witnesses-artifact/sv-benchmarks/c/nla-digbench/fermat2-ll.c[524,537] Start Parsing Local [2024-09-25 00:28:17,988 INFO L210 PostProcessor]: Analyzing one entry point: main [2024-09-25 00:28:18,003 INFO L204 MainTranslator]: Completed translation [2024-09-25 00:28:18,004 INFO L201 PluginConnector]: Adding new model witness-2.1.yml de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator CORRECTNESS_WITNESS 25.09 12:28:18 WrapperNode [2024-09-25 00:28:18,004 INFO L131 PluginConnector]: ------------------------ END CACSL2BoogieTranslator---------------------------- [2024-09-25 00:28:18,005 INFO L112 PluginConnector]: ------------------------Boogie Preprocessor---------------------------- [2024-09-25 00:28:18,005 INFO L270 PluginConnector]: Initializing Boogie Preprocessor... [2024-09-25 00:28:18,006 INFO L274 PluginConnector]: Boogie Preprocessor initialized [2024-09-25 00:28:18,067 INFO L184 PluginConnector]: Executing the observer EnsureBoogieModelObserver from plugin Boogie Preprocessor for "witness-2.1.yml de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator CORRECTNESS_WITNESS 25.09 12:28:18" (1/1) ... [2024-09-25 00:28:18,067 INFO L184 PluginConnector]: Executing the observer TypeChecker from plugin Boogie Preprocessor for "witness-2.1.yml de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator CORRECTNESS_WITNESS 25.09 12:28:18" (1/1) ... [2024-09-25 00:28:18,079 INFO L184 PluginConnector]: Executing the observer MemorySlicer from plugin Boogie Preprocessor for "witness-2.1.yml de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator CORRECTNESS_WITNESS 25.09 12:28:18" (1/1) ... [2024-09-25 00:28:18,088 WARN L109 MemorySlicer]: Omit memory slicing because it failed with the following exception: Unsupported: Procedure __VERIFIER_assert is not part of the Ultimate memory model but has specification other that is not a ModifiesSpecification [2024-09-25 00:28:18,088 INFO L184 PluginConnector]: Executing the observer ConstExpander from plugin Boogie Preprocessor for "witness-2.1.yml de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator CORRECTNESS_WITNESS 25.09 12:28:18" (1/1) ... [2024-09-25 00:28:18,088 INFO L184 PluginConnector]: Executing the observer StructExpander from plugin Boogie Preprocessor for "witness-2.1.yml de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator CORRECTNESS_WITNESS 25.09 12:28:18" (1/1) ... [2024-09-25 00:28:18,094 INFO L184 PluginConnector]: Executing the observer UnstructureCode from plugin Boogie Preprocessor for "witness-2.1.yml de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator CORRECTNESS_WITNESS 25.09 12:28:18" (1/1) ... [2024-09-25 00:28:18,118 INFO L184 PluginConnector]: Executing the observer FunctionInliner from plugin Boogie Preprocessor for "witness-2.1.yml de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator CORRECTNESS_WITNESS 25.09 12:28:18" (1/1) ... [2024-09-25 00:28:18,119 INFO L184 PluginConnector]: Executing the observer LTLStepAnnotator from plugin Boogie Preprocessor for "witness-2.1.yml de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator CORRECTNESS_WITNESS 25.09 12:28:18" (1/1) ... [2024-09-25 00:28:18,120 INFO L184 PluginConnector]: Executing the observer BoogieSymbolTableConstructor from plugin Boogie Preprocessor for "witness-2.1.yml de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator CORRECTNESS_WITNESS 25.09 12:28:18" (1/1) ... [2024-09-25 00:28:18,123 INFO L131 PluginConnector]: ------------------------ END Boogie Preprocessor---------------------------- [2024-09-25 00:28:18,125 INFO L112 PluginConnector]: ------------------------RCFGBuilder---------------------------- [2024-09-25 00:28:18,127 INFO L270 PluginConnector]: Initializing RCFGBuilder... [2024-09-25 00:28:18,127 INFO L274 PluginConnector]: RCFGBuilder initialized [2024-09-25 00:28:18,128 INFO L184 PluginConnector]: Executing the observer RCFGBuilderObserver from plugin RCFGBuilder for "witness-2.1.yml de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator CORRECTNESS_WITNESS 25.09 12:28:18" (1/1) ... [2024-09-25 00:28:18,133 INFO L173 SolverBuilder]: Constructing external solver with command: z3 SMTLIB2_COMPLIANT=true -memory:2024 -smt2 -in -t:4000 [2024-09-25 00:28:18,144 INFO L189 MonitoredProcess]: No working directory specified, using /storage/repos/certificate-witnesses-artifact/referee/z3 [2024-09-25 00:28:18,162 INFO L229 MonitoredProcess]: Starting monitored process 1 with /storage/repos/certificate-witnesses-artifact/referee/z3 SMTLIB2_COMPLIANT=true -memory:2024 -smt2 -in -t:4000 (exit command is (exit), workingDir is null) [2024-09-25 00:28:18,165 INFO L327 MonitoredProcess]: [MP /storage/repos/certificate-witnesses-artifact/referee/z3 SMTLIB2_COMPLIANT=true -memory:2024 -smt2 -in -t:4000 (1)] Waiting until timeout for monitored process [2024-09-25 00:28:18,201 INFO L138 BoogieDeclarations]: Found implementation of procedure ULTIMATE.init [2024-09-25 00:28:18,201 INFO L138 BoogieDeclarations]: Found implementation of procedure ULTIMATE.start [2024-09-25 00:28:18,201 INFO L138 BoogieDeclarations]: Found implementation of procedure reach_error [2024-09-25 00:28:18,201 INFO L138 BoogieDeclarations]: Found implementation of procedure assume_abort_if_not [2024-09-25 00:28:18,202 INFO L138 BoogieDeclarations]: Found implementation of procedure __VERIFIER_assert [2024-09-25 00:28:18,202 INFO L138 BoogieDeclarations]: Found implementation of procedure main [2024-09-25 00:28:18,202 INFO L130 BoogieDeclarations]: Found specification of procedure abort [2024-09-25 00:28:18,202 INFO L130 BoogieDeclarations]: Found specification of procedure __assert_fail [2024-09-25 00:28:18,202 INFO L130 BoogieDeclarations]: Found specification of procedure reach_error [2024-09-25 00:28:18,202 INFO L130 BoogieDeclarations]: Found specification of procedure #Ultimate.allocInit [2024-09-25 00:28:18,202 INFO L130 BoogieDeclarations]: Found specification of procedure __VERIFIER_nondet_int [2024-09-25 00:28:18,202 INFO L130 BoogieDeclarations]: Found specification of procedure assume_abort_if_not [2024-09-25 00:28:18,203 INFO L130 BoogieDeclarations]: Found specification of procedure __VERIFIER_assert [2024-09-25 00:28:18,203 INFO L130 BoogieDeclarations]: Found specification of procedure main [2024-09-25 00:28:18,203 INFO L130 BoogieDeclarations]: Found specification of procedure ULTIMATE.init [2024-09-25 00:28:18,203 INFO L130 BoogieDeclarations]: Found specification of procedure write~init~int [2024-09-25 00:28:18,203 INFO L130 BoogieDeclarations]: Found specification of procedure ULTIMATE.start [2024-09-25 00:28:18,203 INFO L130 BoogieDeclarations]: Found specification of procedure write~int [2024-09-25 00:28:18,203 INFO L130 BoogieDeclarations]: Found specification of procedure read~int [2024-09-25 00:28:18,203 INFO L130 BoogieDeclarations]: Found specification of procedure ULTIMATE.dealloc [2024-09-25 00:28:18,254 INFO L241 CfgBuilder]: Building ICFG [2024-09-25 00:28:18,256 INFO L267 CfgBuilder]: Building CFG for each procedure with an implementation [2024-09-25 00:28:18,356 WARN L782 $ProcedureCfgBuilder]: Label in the middle of a codeblock. [2024-09-25 00:28:18,381 INFO L290 CfgBuilder]: Performing block encoding [2024-09-25 00:28:18,418 INFO L312 CfgBuilder]: Using the 1 location(s) as analysis (start of procedure ULTIMATE.start) [2024-09-25 00:28:18,419 INFO L317 CfgBuilder]: Removed 1 assume(true) statements. [2024-09-25 00:28:18,422 INFO L201 PluginConnector]: Adding new model witness-2.1.yml de.uni_freiburg.informatik.ultimate.plugins.generator.rcfgbuilder CFG 25.09 12:28:18 BoogieIcfgContainer [2024-09-25 00:28:18,422 INFO L131 PluginConnector]: ------------------------ END RCFGBuilder---------------------------- [2024-09-25 00:28:18,423 INFO L112 PluginConnector]: ------------------------Referee---------------------------- [2024-09-25 00:28:18,423 INFO L270 PluginConnector]: Initializing Referee... [2024-09-25 00:28:18,424 INFO L274 PluginConnector]: Referee initialized [2024-09-25 00:28:18,424 INFO L184 PluginConnector]: Executing the observer RefereeObserver from plugin Referee for "CDTParser AST 25.09 12:28:17" (1/4) ... [2024-09-25 00:28:18,425 INFO L204 PluginConnector]: Invalid model from Referee for observer de.uni_freiburg.informatik.ultimate.plugins.generator.referee.RefereeObserver@30abfeb2 and model type de.uni_freiburg.informatik.ultimate.plugins.generator.referee AST 25.09 12:28:18, skipping insertion in model container [2024-09-25 00:28:18,425 INFO L184 PluginConnector]: Executing the observer RefereeObserver from plugin Referee for "witness-2.1.yml de.uni_freiburg.informatik.ultimate.witnessparser CORRECTNESS_WITNESS 25.09 12:28:17" (2/4) ... [2024-09-25 00:28:18,428 INFO L204 PluginConnector]: Invalid model from Referee for observer de.uni_freiburg.informatik.ultimate.plugins.generator.referee.RefereeObserver@30abfeb2 and model type witness-2.1.yml de.uni_freiburg.informatik.ultimate.plugins.generator.referee CORRECTNESS_WITNESS 25.09 12:28:18, skipping insertion in model container [2024-09-25 00:28:18,429 INFO L184 PluginConnector]: Executing the observer RefereeObserver from plugin Referee for "witness-2.1.yml de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator CORRECTNESS_WITNESS 25.09 12:28:18" (3/4) ... [2024-09-25 00:28:18,429 INFO L204 PluginConnector]: Invalid model from Referee for observer de.uni_freiburg.informatik.ultimate.plugins.generator.referee.RefereeObserver@30abfeb2 and model type witness-2.1.yml de.uni_freiburg.informatik.ultimate.plugins.generator.referee CORRECTNESS_WITNESS 25.09 12:28:18, skipping insertion in model container [2024-09-25 00:28:18,429 INFO L184 PluginConnector]: Executing the observer RefereeObserver from plugin Referee for "witness-2.1.yml de.uni_freiburg.informatik.ultimate.plugins.generator.rcfgbuilder CFG 25.09 12:28:18" (4/4) ... [2024-09-25 00:28:18,430 INFO L79 RefereeObserver]: Analyzing ICFG fermat2-ll.c [2024-09-25 00:28:18,435 INFO L113 InvariantChecker]: Found 1 loops. [2024-09-25 00:28:18,436 INFO L373 InvariantChecker]: Will check inductivity from LOOP_HEAD L37-2 to ERROR_LOC mainErr2REQUIRES_VIOLATIONPRE_CONDITION. Corresponding subgraph has 7 edges. [2024-09-25 00:28:18,436 INFO L373 InvariantChecker]: Will check inductivity from LOOP_HEAD L37-2 to ERROR_LOC mainErr1REQUIRES_VIOLATIONPRE_CONDITION. Corresponding subgraph has 3 edges. [2024-09-25 00:28:18,437 INFO L373 InvariantChecker]: Will check inductivity from ENTRY $Ultimate##0 to LOOP_INVARIANT_ERROR_LOC mainErr0ASSERT_VIOLATIONWITNESS_INVARIANT. Corresponding subgraph has 5 edges. [2024-09-25 00:28:18,437 INFO L373 InvariantChecker]: Will check inductivity from LOOP_HEAD L37-2 to LOOP_INVARIANT_ERROR_LOC mainErr0ASSERT_VIOLATIONWITNESS_INVARIANT. Corresponding subgraph has 7 edges. [2024-09-25 00:28:18,437 INFO L373 InvariantChecker]: Will check inductivity from ENTRY __VERIFIER_assertENTRY to ERROR_LOC __VERIFIER_assertErr1ENSURES_VIOLATIONPOST_CONDITION. Corresponding subgraph has 5 edges. [2024-09-25 00:28:18,437 INFO L373 InvariantChecker]: Will check inductivity from ENTRY __VERIFIER_assertENTRY to ERROR_LOC __VERIFIER_assertErr0ASSERT_VIOLATIONERROR_FUNCTION. Corresponding subgraph has 3 edges. [2024-09-25 00:28:18,438 INFO L131 InvariantChecker]: Will check 1 loop-free subgraphs from procedure entry to loop head, 2 loop-free subgraphs from procedure entry to error location, 1 loop-free subgraphs from loop head to loop head, 2 loop-free subgraphs from loop head to error location [2024-09-25 00:28:18,496 INFO L314 BlockEncoder]: Initial Icfg 6 locations, 7 edges [2024-09-25 00:28:18,498 INFO L264 BlockEncoder]: Using Maximize final states [2024-09-25 00:28:18,498 INFO L271 BlockEncoder]: Using Minimize states even if more edges are added than removed.=true [2024-09-25 00:28:18,499 INFO L277 BlockEncoder]: Using Minimize states using LBE with the strategy=MULTI [2024-09-25 00:28:18,501 INFO L172 BlockEncoder]: Using Apply optimizations until nothing changes=true [2024-09-25 00:28:18,503 INFO L71 MaximizeFinalStates]: 0 new accepting states [2024-09-25 00:28:18,542 INFO L101 BaseMinimizeStates]: Removed 12 edges and 4 locations by large block encoding [2024-09-25 00:28:18,544 INFO L71 MaximizeFinalStates]: 0 new accepting states [2024-09-25 00:28:18,544 INFO L101 BaseMinimizeStates]: Removed 0 edges and 0 locations by large block encoding [2024-09-25 00:28:18,545 INFO L238 BlockEncoder]: Using Create parallel compositions if possible [2024-09-25 00:28:18,545 INFO L68 ParallelComposer]: Creating parallel compositions [2024-09-25 00:28:18,557 INFO L314 BlockEncoder]: Encoded RCFG 2 locations, 1 edges [2024-09-25 00:28:18,574 INFO L520 InvariantChecker]: The annotation(s) from loop head L37-2 to error location mainErr2REQUIRES_VIOLATIONPRE_CONDITION is inductive. [2024-09-25 00:28:18,603 INFO L314 BlockEncoder]: Initial Icfg 4 locations, 3 edges [2024-09-25 00:28:18,607 INFO L264 BlockEncoder]: Using Maximize final states [2024-09-25 00:28:18,607 INFO L271 BlockEncoder]: Using Minimize states even if more edges are added than removed.=true [2024-09-25 00:28:18,608 INFO L277 BlockEncoder]: Using Minimize states using LBE with the strategy=MULTI [2024-09-25 00:28:18,608 INFO L172 BlockEncoder]: Using Apply optimizations until nothing changes=true [2024-09-25 00:28:18,608 INFO L71 MaximizeFinalStates]: 0 new accepting states [2024-09-25 00:28:18,612 INFO L101 BaseMinimizeStates]: Removed 4 edges and 2 locations by large block encoding [2024-09-25 00:28:18,616 INFO L71 MaximizeFinalStates]: 0 new accepting states [2024-09-25 00:28:18,617 INFO L101 BaseMinimizeStates]: Removed 0 edges and 0 locations by large block encoding [2024-09-25 00:28:18,617 INFO L238 BlockEncoder]: Using Create parallel compositions if possible [2024-09-25 00:28:18,620 INFO L68 ParallelComposer]: Creating parallel compositions [2024-09-25 00:28:18,620 INFO L314 BlockEncoder]: Encoded RCFG 2 locations, 1 edges [2024-09-25 00:28:18,623 INFO L520 InvariantChecker]: The annotation(s) from loop head L37-2 to error location mainErr1REQUIRES_VIOLATIONPRE_CONDITION is inductive. [2024-09-25 00:28:18,644 INFO L314 BlockEncoder]: Initial Icfg 6 locations, 5 edges [2024-09-25 00:28:18,646 INFO L264 BlockEncoder]: Using Maximize final states [2024-09-25 00:28:18,647 INFO L271 BlockEncoder]: Using Minimize states even if more edges are added than removed.=true [2024-09-25 00:28:18,647 INFO L277 BlockEncoder]: Using Minimize states using LBE with the strategy=MULTI [2024-09-25 00:28:18,647 INFO L172 BlockEncoder]: Using Apply optimizations until nothing changes=true [2024-09-25 00:28:18,648 INFO L71 MaximizeFinalStates]: 0 new accepting states [2024-09-25 00:28:18,658 INFO L101 BaseMinimizeStates]: Removed 8 edges and 4 locations by large block encoding [2024-09-25 00:28:18,658 INFO L71 MaximizeFinalStates]: 0 new accepting states [2024-09-25 00:28:18,659 INFO L101 BaseMinimizeStates]: Removed 0 edges and 0 locations by large block encoding [2024-09-25 00:28:18,659 INFO L238 BlockEncoder]: Using Create parallel compositions if possible [2024-09-25 00:28:18,659 INFO L68 ParallelComposer]: Creating parallel compositions [2024-09-25 00:28:18,659 INFO L314 BlockEncoder]: Encoded RCFG 2 locations, 1 edges [2024-09-25 00:28:18,668 INFO L520 InvariantChecker]: The annotation(s) from entry $Ultimate##0 to loop head mainErr0ASSERT_VIOLATIONWITNESS_INVARIANT is inductive. [2024-09-25 00:28:18,688 INFO L314 BlockEncoder]: Initial Icfg 7 locations, 7 edges [2024-09-25 00:28:18,689 INFO L264 BlockEncoder]: Using Maximize final states [2024-09-25 00:28:18,690 INFO L271 BlockEncoder]: Using Minimize states even if more edges are added than removed.=true [2024-09-25 00:28:18,690 INFO L277 BlockEncoder]: Using Minimize states using LBE with the strategy=MULTI [2024-09-25 00:28:18,690 INFO L172 BlockEncoder]: Using Apply optimizations until nothing changes=true [2024-09-25 00:28:18,691 INFO L71 MaximizeFinalStates]: 0 new accepting states [2024-09-25 00:28:18,711 INFO L101 BaseMinimizeStates]: Removed 12 edges and 5 locations by large block encoding [2024-09-25 00:28:18,711 INFO L71 MaximizeFinalStates]: 0 new accepting states [2024-09-25 00:28:18,711 INFO L101 BaseMinimizeStates]: Removed 0 edges and 0 locations by large block encoding [2024-09-25 00:28:18,712 INFO L238 BlockEncoder]: Using Create parallel compositions if possible [2024-09-25 00:28:18,712 INFO L68 ParallelComposer]: Creating parallel compositions [2024-09-25 00:28:18,722 INFO L314 BlockEncoder]: Encoded RCFG 2 locations, 1 edges [2024-09-25 00:28:18,726 INFO L520 InvariantChecker]: The annotation(s) from loop head L37-2 to loop head mainErr0ASSERT_VIOLATIONWITNESS_INVARIANT is inductive. [2024-09-25 00:28:18,743 INFO L314 BlockEncoder]: Initial Icfg 5 locations, 5 edges [2024-09-25 00:28:18,744 INFO L264 BlockEncoder]: Using Maximize final states [2024-09-25 00:28:18,744 INFO L271 BlockEncoder]: Using Minimize states even if more edges are added than removed.=true [2024-09-25 00:28:18,744 INFO L277 BlockEncoder]: Using Minimize states using LBE with the strategy=MULTI [2024-09-25 00:28:18,744 INFO L172 BlockEncoder]: Using Apply optimizations until nothing changes=true [2024-09-25 00:28:18,744 INFO L71 MaximizeFinalStates]: 0 new accepting states [2024-09-25 00:28:18,748 INFO L101 BaseMinimizeStates]: Removed 8 edges and 3 locations by large block encoding [2024-09-25 00:28:18,749 INFO L71 MaximizeFinalStates]: 0 new accepting states [2024-09-25 00:28:18,749 INFO L101 BaseMinimizeStates]: Removed 0 edges and 0 locations by large block encoding [2024-09-25 00:28:18,750 INFO L238 BlockEncoder]: Using Create parallel compositions if possible [2024-09-25 00:28:18,750 INFO L68 ParallelComposer]: Creating parallel compositions [2024-09-25 00:28:18,751 INFO L314 BlockEncoder]: Encoded RCFG 2 locations, 1 edges [2024-09-25 00:28:18,755 INFO L520 InvariantChecker]: The annotation(s) from entry __VERIFIER_assertENTRY to error location __VERIFIER_assertErr1ENSURES_VIOLATIONPOST_CONDITION is inductive. [2024-09-25 00:28:18,765 INFO L314 BlockEncoder]: Initial Icfg 4 locations, 3 edges [2024-09-25 00:28:18,765 INFO L264 BlockEncoder]: Using Maximize final states [2024-09-25 00:28:18,766 INFO L271 BlockEncoder]: Using Minimize states even if more edges are added than removed.=true [2024-09-25 00:28:18,766 INFO L277 BlockEncoder]: Using Minimize states using LBE with the strategy=MULTI [2024-09-25 00:28:18,766 INFO L172 BlockEncoder]: Using Apply optimizations until nothing changes=true [2024-09-25 00:28:18,766 INFO L71 MaximizeFinalStates]: 0 new accepting states [2024-09-25 00:28:18,767 INFO L101 BaseMinimizeStates]: Removed 4 edges and 2 locations by large block encoding [2024-09-25 00:28:18,768 INFO L71 MaximizeFinalStates]: 0 new accepting states [2024-09-25 00:28:18,768 INFO L101 BaseMinimizeStates]: Removed 0 edges and 0 locations by large block encoding [2024-09-25 00:28:18,768 INFO L238 BlockEncoder]: Using Create parallel compositions if possible [2024-09-25 00:28:18,768 INFO L68 ParallelComposer]: Creating parallel compositions [2024-09-25 00:28:18,768 INFO L314 BlockEncoder]: Encoded RCFG 2 locations, 1 edges [2024-09-25 00:28:18,770 INFO L520 InvariantChecker]: The annotation(s) from entry __VERIFIER_assertENTRY to error location __VERIFIER_assertErr0ASSERT_VIOLATIONERROR_FUNCTION is inductive. [2024-09-25 00:28:18,773 INFO L58 RefereeStarter]: Annotation is a valid proof of correctness. [2024-09-25 00:28:18,774 INFO L204 PluginConnector]: Invalid model from Referee for observer de.uni_freiburg.informatik.ultimate.plugins.generator.referee.RefereeObserver@30abfeb2 and model type witness-2.1.yml de.uni_freiburg.informatik.ultimate.plugins.generator.referee CFG 25.09 12:28:18, skipping insertion in model container [2024-09-25 00:28:18,774 INFO L131 PluginConnector]: ------------------------ END Referee---------------------------- [2024-09-25 00:28:18,776 INFO L158 Benchmark]: Toolchain (without parser) took 1092.52ms. Allocated memory is still 167.8MB. Free memory was 96.3MB in the beginning and 99.5MB in the end (delta: -3.2MB). There was no memory consumed. Max. memory is 16.1GB. [2024-09-25 00:28:18,776 INFO L158 Benchmark]: CDTParser took 0.12ms. Allocated memory is still 167.8MB. Free memory is still 123.4MB. There was no memory consumed. Max. memory is 16.1GB. [2024-09-25 00:28:18,776 INFO L158 Benchmark]: Witness Parser took 0.19ms. Allocated memory is still 167.8MB. Free memory is still 98.2MB. There was no memory consumed. Max. memory is 16.1GB. [2024-09-25 00:28:18,777 INFO L158 Benchmark]: CACSL2BoogieTranslator took 320.69ms. Allocated memory is still 167.8MB. Free memory was 96.1MB in the beginning and 82.7MB in the end (delta: 13.4MB). Peak memory consumption was 12.6MB. Max. memory is 16.1GB. [2024-09-25 00:28:18,777 INFO L158 Benchmark]: Boogie Preprocessor took 118.84ms. Allocated memory is still 167.8MB. Free memory was 82.6MB in the beginning and 138.5MB in the end (delta: -55.9MB). Peak memory consumption was 4.5MB. Max. memory is 16.1GB. [2024-09-25 00:28:18,778 INFO L158 Benchmark]: RCFGBuilder took 297.53ms. Allocated memory is still 167.8MB. Free memory was 138.5MB in the beginning and 124.7MB in the end (delta: 13.9MB). Peak memory consumption was 12.6MB. Max. memory is 16.1GB. [2024-09-25 00:28:18,779 INFO L158 Benchmark]: Referee took 350.60ms. Allocated memory is still 167.8MB. Free memory was 124.7MB in the beginning and 99.5MB in the end (delta: 25.2MB). Peak memory consumption was 25.2MB. Max. memory is 16.1GB. [2024-09-25 00:28:18,781 INFO L338 ainManager$Toolchain]: ####################### End [Toolchain 1] ####################### --- Results --- * Results from de.uni_freiburg.informatik.ultimate.plugins.generator.referee: - AnnotationCheckResult: Annotation is a valid proof of correctness. Annotation is a valid proof of correctness. Annotation is valid for all loop-free paths from loop head at line 33 to check that procedure precondition always holds at line 34. Annotation is valid for all loop-free paths from entry of procedure main to loop head at line 33. Annotation is valid for all loop-free paths from loop head at line 33 to loop head at line 33. Annotation is valid for all loop-free paths from entry of procedure __VERIFIER_assert to check that a call to reach_error is unreachable at line 13. Annotation is valid for all loop-free paths from entry of procedure __VERIFIER_assert to exit of procedure __VERIFIER_assert. Annotation is valid for all loop-free paths from loop head at line 33 to check that procedure precondition always holds at line 33. * Results from de.uni_freiburg.informatik.ultimate.core: - StatisticsResult: Toolchain Benchmarks Benchmark results are: * CDTParser took 0.12ms. Allocated memory is still 167.8MB. Free memory is still 123.4MB. There was no memory consumed. Max. memory is 16.1GB. * Witness Parser took 0.19ms. Allocated memory is still 167.8MB. Free memory is still 98.2MB. There was no memory consumed. Max. memory is 16.1GB. * CACSL2BoogieTranslator took 320.69ms. Allocated memory is still 167.8MB. Free memory was 96.1MB in the beginning and 82.7MB in the end (delta: 13.4MB). Peak memory consumption was 12.6MB. Max. memory is 16.1GB. * Boogie Preprocessor took 118.84ms. Allocated memory is still 167.8MB. Free memory was 82.6MB in the beginning and 138.5MB in the end (delta: -55.9MB). Peak memory consumption was 4.5MB. Max. memory is 16.1GB. * RCFGBuilder took 297.53ms. Allocated memory is still 167.8MB. Free memory was 138.5MB in the beginning and 124.7MB in the end (delta: 13.9MB). Peak memory consumption was 12.6MB. Max. memory is 16.1GB. * Referee took 350.60ms. Allocated memory is still 167.8MB. Free memory was 124.7MB in the beginning and 99.5MB in the end (delta: 25.2MB). Peak memory consumption was 25.2MB. Max. memory is 16.1GB. RESULT: Ultimate proved your program to be correct! [2024-09-25 00:28:18,818 INFO L552 MonitoredProcess]: [MP /storage/repos/certificate-witnesses-artifact/referee/z3 SMTLIB2_COMPLIANT=true -memory:2024 -smt2 -in -t:4000 (1)] Ended with exit code 0 Received shutdown request... --- End real Ultimate output --- Execution finished normally Writing output log to file Ultimate.log Result: TRUE